]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/mac/ogl_wrap.cpp
fixes for rotated text
[wxWidgets.git] / wxPython / contrib / ogl / mac / ogl_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
2dbef272 3 * Version 1.3.22
44127b65
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
44127b65
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
44127b65 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
44127b65
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
44127b65 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
44127b65
RD
91#endif
92
44127b65
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
44127b65
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
44127b65
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
44127b65
RD
120
121
122#ifdef __cplusplus
123}
44127b65
RD
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
44127b65
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
44127b65
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 173
44127b65
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
44127b65
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
44127b65 187
0f774bef
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
44127b65 196
44127b65
RD
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
44127b65
RD
202#ifdef __cplusplus
203}
204#endif
205
206
44127b65
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxOGLConstraint swig_types[0]
210#define SWIGTYPE_p_wxBrush swig_types[1]
211#define SWIGTYPE_p_wxColour swig_types[2]
212#define SWIGTYPE_p_wxShapeRegion swig_types[3]
213#define SWIGTYPE_p_wxDC swig_types[4]
214#define SWIGTYPE_p_wxRealPoint swig_types[5]
215#define SWIGTYPE_p_wxPyControlPoint swig_types[6]
216#define SWIGTYPE_p_wxArrowHead swig_types[7]
8edf1c75
RD
217#define SWIGTYPE_p_char swig_types[8]
218#define SWIGTYPE_p_wxStringList swig_types[9]
219#define SWIGTYPE_p_wxPanel swig_types[10]
220#define SWIGTYPE_p_bool swig_types[11]
221#define SWIGTYPE_p_wxList swig_types[12]
222#define SWIGTYPE_p_wxFont swig_types[13]
223#define SWIGTYPE_p_wxScrolledWindow swig_types[14]
224#define SWIGTYPE_p_wxWindow swig_types[15]
225#define SWIGTYPE_p_double swig_types[16]
02a34c4c
RD
226#define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
227#define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
8edf1c75
RD
228#define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
229#define SWIGTYPE_p_wxBitmap swig_types[20]
230#define SWIGTYPE_p_wxObject swig_types[21]
231#define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
02a34c4c
RD
232#define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
233#define SWIGTYPE_p_wxEvtHandler swig_types[24]
234#define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
235#define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
236#define SWIGTYPE_p_wxPoint swig_types[27]
237#define SWIGTYPE_p_wxDiagram swig_types[28]
238#define SWIGTYPE_p_wxPyShape swig_types[29]
239#define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
240#define SWIGTYPE_p_wxClassInfo swig_types[31]
241#define SWIGTYPE_p_wxPyLineShape swig_types[32]
242#define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
243#define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
244#define SWIGTYPE_p_wxPyCircleShape swig_types[35]
245#define SWIGTYPE_p_wxPen swig_types[36]
246#define SWIGTYPE_p_int swig_types[37]
247#define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
248#define SWIGTYPE_p_wxPyTextShape swig_types[39]
249#define SWIGTYPE_p_wxPyDividedShape swig_types[40]
250static swig_type_info *swig_types[42];
44127b65
RD
251
252/* -------- TYPES TABLE (END) -------- */
253
254
255/*-----------------------------------------------
256 @(target):= _ogl.so
257 ------------------------------------------------*/
258#define SWIG_init init_ogl
259
260#define SWIG_name "_ogl"
261
2f4c0a16 262/* Auxiliar swig macros */
8edf1c75 263
8edf1c75 264#ifdef __cplusplus
2f4c0a16 265#define SWIGSTATICINLINE(a) static inline a
8edf1c75 266#define SWIGSTATIC(a) static a
2f4c0a16
RD
267#define swig_new_array(type, size) (new type[(size)])
268#define swig_delete_array(cptr) delete[] cptr
269#define swig_const_cast(type,a) const_cast<type>(a)
270#define swig_static_cast(type,a) static_cast<type>(a)
271#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 272
8edf1c75 273#ifdef HAVE_NUMERIC_CAST
2f4c0a16 274#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 275#else
2f4c0a16 276#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
277#endif
278
2f4c0a16
RD
279#else /* C case */
280
281#define SWIGSTATICINLINE(a) static a
282#define SWIGSTATIC(a) static a
283#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
284#define swig_delete_array(cptr) free((char*)cptr)
285#define swig_const_cast(type,a) (type)(a)
286#define swig_static_cast(type,a) (type)(a)
287#define swig_reinterpret_cast(type,a) (type)(a)
288#define swig_numeric_cast(type,a) (type)(a)
289
290#endif /* __cplusplus */
8edf1c75
RD
291
292
2f4c0a16
RD
293#define SWIG_FromSignedChar PyInt_FromLong
294#define SWIG_FromUnsignedChar PyInt_FromLong
295#define SWIG_FromShort PyInt_FromLong
296#define SWIG_FromUnsignedShort PyInt_FromLong
297#define SWIG_FromInt PyInt_FromLong
298#define SWIG_FromLong PyInt_FromLong
299#define SWIG_FromFloat PyFloat_FromDouble
300#define SWIG_FromDouble PyFloat_FromDouble
301#define SWIG_FromFloat PyFloat_FromDouble
302#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
303
304
44127b65
RD
305#include "wx/wxPython/wxPython.h"
306#include "wx/wxPython/pyclasses.h"
307#include "oglhelpers.h"
308
309
cbd72d4f 310 static const wxString wxPyEmptyString(wxEmptyString);
44127b65 311
2f4c0a16
RD
312SWIGSTATICINLINE(double)
313SWIG_AsDouble(PyObject *obj)
8edf1c75 314{
69223c70
RD
315 if (PyNumber_Check(obj))
316 return PyFloat_AsDouble(obj);
317 else {
318 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
319 obj->ob_type->tp_name);
320 PyErr_SetObject(PyExc_TypeError, errmsg);
321 Py_DECREF(errmsg);
322 return 0;
323 }
2f4c0a16
RD
324}
325
326
327SWIGSTATICINLINE(int)
328SWIG_CheckDouble(PyObject* obj)
329{
330 SWIG_AsDouble(obj);
331 if (PyErr_Occurred()) {
332 PyErr_Clear();
333 return 0;
334 } else {
335 return 1;
336 }
337}
338
339
340#include <limits.h>
341
342
343SWIGSTATICINLINE(long)
344SWIG_CheckLongInRange(long value, const char* type,
345 long min_value, long max_value)
346{
347 if (!PyErr_Occurred()) {
348 if (value < min_value) {
349 PyObject *err =
350 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
351 value, type, min_value);
352
353 PyErr_SetObject(PyExc_OverflowError, err);
354 Py_DECREF(err);
355 } else if (value > max_value) {
356 PyObject *err =
357 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
358 value, type, max_value);
359 PyErr_SetObject(PyExc_OverflowError, err);
360 Py_DECREF(err);
361 }
362 }
363 return value;
8edf1c75
RD
364}
365
366
2f4c0a16
RD
367SWIGSTATICINLINE(long)
368SWIG_AsLong(PyObject * obj)
369{
69223c70
RD
370 if (PyNumber_Check(obj))
371 return PyInt_AsLong(obj);
372 else {
373 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
374 obj->ob_type->tp_name);
375 PyErr_SetObject(PyExc_TypeError, errmsg);
376 Py_DECREF(errmsg);
377 return 0;
378 }
2f4c0a16
RD
379}
380
381
382#if INT_MAX != LONG_MAX
383SWIGSTATICINLINE(int)
384SWIG_AsInt(PyObject *obj)
8edf1c75 385{
2f4c0a16
RD
386 return swig_numeric_cast(int,
387 SWIG_CheckLongInRange(SWIG_AsLong(obj),
388 "int", INT_MIN, INT_MAX));
389}
390#else
391#define SWIG_AsInt SWIG_AsLong
392#endif
393
394
395SWIGSTATICINLINE(int)
396SWIG_CheckInt(PyObject* obj)
397{
398 SWIG_AsInt(obj);
399 if (PyErr_Occurred()) {
400 PyErr_Clear();
401 return 0;
402 } else {
403 return 1;
404 }
8edf1c75
RD
405}
406
407
44127b65
RD
408static PyObject* t_output_helper(PyObject* target, PyObject* o) {
409 PyObject* o2;
410 PyObject* o3;
411
412 if (!target) {
413 target = o;
414 } else if (target == Py_None) {
415 Py_DECREF(Py_None);
416 target = o;
417 } else {
418 if (!PyTuple_Check(target)) {
419 o2 = target;
420 target = PyTuple_New(1);
421 PyTuple_SetItem(target, 0, o2);
422 }
423 o3 = PyTuple_New(1);
424 PyTuple_SetItem(o3, 0, o);
425
426 o2 = target;
427 target = PySequence_Concat(o2, o3);
428 Py_DECREF(o2);
429 Py_DECREF(o3);
430 }
431 return target;
432}
433
434
435 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
436
437void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
438 self->SetClientObject(new wxPyOORClientData(_self));
439 }
440
2f4c0a16
RD
441SWIGSTATICINLINE(bool)
442SWIG_AsBool(PyObject *obj)
8edf1c75
RD
443{
444 return PyObject_IsTrue(obj) ? true : false;
445}
446
447
2f4c0a16
RD
448SWIGSTATICINLINE(int)
449SWIG_CheckBool(PyObject* obj)
450{
451 SWIG_AsBool(obj);
452 if (PyErr_Occurred()) {
453 PyErr_Clear();
454 return 0;
455 } else {
456 return 1;
457 }
458}
459
460
44127b65
RD
461 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
462
463PyObject *wxPyShape_GetChildren(wxPyShape *self){
464 wxList& list = self->GetChildren();
465 return wxPy_ConvertShapeList(&list);
466 }
467PyObject *wxPyShape_GetLines(wxPyShape *self){
468 wxList& list = self->GetLines();
469 return wxPy_ConvertShapeList(&list);
470 }
8edf1c75 471
2f4c0a16
RD
472SWIGSTATICINLINE(int)
473SWIG_CheckLong(PyObject* obj)
8edf1c75 474{
2f4c0a16
RD
475 SWIG_AsLong(obj);
476 if (PyErr_Occurred()) {
477 PyErr_Clear();
478 return 0;
479 } else {
480 return 1;
481 }
8edf1c75
RD
482}
483
44127b65
RD
484PyObject *wxPyShape_GetRegions(wxPyShape *self){
485 wxList& list = self->GetRegions();
486 return wxPy_ConvertList(&list);
487 }
7a0a63ae
RD
488PyObject *wxPyShape_GetAttachments(wxPyShape *self){
489 wxList& list = self->GetAttachments();
490 return wxPy_ConvertList(&list);
491 }
44127b65
RD
492void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
493 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
494 self->ApplyAttachmentOrdering(*list);
495 delete list;
496 }
497
498// Using this macro can sometimes provoke an Internal Compiler Error in MSVC
499// 6, so instead I'l just expand it out by hand...
500// WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
501
502 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
504 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
505 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
506 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
507 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
508 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
509 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
510 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
513 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
514 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
515 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
516 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
517 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
518 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
519 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
520 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
521 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
522 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
523 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
524 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
525 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
526 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
527 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
528 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
529 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
530 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
531
532
533
534 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
535
536
537 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
538
539
540 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
541
542wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
543 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
544 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
545 delete list;
546 return rv;
547 }
548
549 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
550
551wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
552 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
553 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
554 delete list;
555 return rv;
556 }
557PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
558 wxList& list = self->GetConstraints();
559 return wxPy_ConvertList(&list);
560 }
561PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
562 wxList& list = self->GetDivisions();
563 return wxPy_ConvertShapeList(&list);
564 }
565
566 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
567
568
569 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
570
571
572 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
573
574
575 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
576
577
578 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
579
580void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
581 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
582 self->AddArrowOrdered(arrow, *list, end);
583 delete list;
584 }
585PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
586 wxList* list = self->GetLineControlPoints();
0346c964
RD
587 return wxPy_ConvertRealPointList(list);
588 }
589void wxPyLineShape_SetLineControlPoints(wxPyLineShape *self,PyObject *list){
590 wxList* real_point_list = wxPy_wxRealPoint_ListHelper(list);
591 self->MakeLineControlPoints((int)(real_point_list->GetCount()));
592 wxList* old_control_points = self->GetLineControlPoints();
593 wxNode* old_node = old_control_points->GetFirst();
594 wxNode* real_node = real_point_list->GetFirst();
595 while(old_node)
596 {
597 wxRealPoint* old_point = (wxRealPoint*)old_node->GetData();
598 wxRealPoint* new_point = (wxRealPoint*)real_node->GetData();
599 old_point->x = new_point->x;
600 old_point->y = new_point->y;
601 old_node = old_node->GetNext();
602 real_node = real_node->GetNext();
603 }
604 self->ClearPointList(*real_point_list);
605 delete real_point_list;
44127b65
RD
606 }
607
608 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
609
610PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
611 wxList* list = wxPy_wxRealPoint_ListHelper(points);
612 if (list) {
613 self->Create(list);
614 Py_INCREF(Py_None);
615 return Py_None;
616 }
617 else return NULL;
618 }
619PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
620 wxList* list = self->GetPoints();
0346c964 621 return wxPy_ConvertRealPointList(list);
7a0a63ae
RD
622 }
623PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
624 wxList* list = self->GetOriginalPoints();
625 PyObject* pyList;
626 PyObject* pyObj;
627 wxObject* wxObj;
628 wxNode* node = list->GetFirst();
629
fbc46b20 630 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
631 pyList = PyList_New(0);
632 while (node) {
633 wxObj = node->GetData();
634 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
635 PyList_Append(pyList, pyObj);
636 node = node->GetNext();
637 }
fbc46b20 638 wxPyEndBlockThreads(blocked);
44127b65
RD
639 return pyList;
640 }
641
642 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
643
644
645 // Put some wx default wxChar* values into wxStrings.
646 DECLARE_DEF_STRING(ShapeCanvasNameStr);
647
648PyObject *wxDiagram_GetShapeList(wxDiagram *self){
649 wxList* list = self->GetShapeList();
650 return wxPy_ConvertShapeList(list);
651 }
652
653 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
654 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
655 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
656 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
657 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
658 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
659 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
660 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
661
662
663//---------------------------------------------------------------------------
664
665// Convert from a Python list to a list of className objects. This one will
666// work for any class for the VERY generic cases, but beyond that the helper
667// needs to know more about the type.
668wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
fbc46b20 669 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
670 if (!PyList_Check(pyList)) {
671 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
fbc46b20 672 wxPyEndBlockThreads(blocked);
44127b65
RD
673 return NULL;
674 }
675 int count = PyList_Size(pyList);
676 wxList* list = new wxList;
677 if (! list) {
678 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
fbc46b20 679 wxPyEndBlockThreads(blocked);
44127b65
RD
680 return NULL;
681 }
682 for (int x=0; x<count; x++) {
683 PyObject* pyo = PyList_GetItem(pyList, x);
684 wxObject* wxo = NULL;
685
686 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
687 wxString errmsg;
688 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
689 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
fbc46b20 690 wxPyEndBlockThreads(blocked);
44127b65
RD
691 return NULL;
692 }
693 list->Append(wxo);
694 }
fbc46b20 695 wxPyEndBlockThreads(blocked);
44127b65
RD
696 return list;
697}
698
699//---------------------------------------------------------------------------
700
701wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
fbc46b20 702 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
703 if (!PyList_Check(pyList)) {
704 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
fbc46b20 705 wxPyEndBlockThreads(blocked);
44127b65
RD
706 return NULL;
707 }
708 int count = PyList_Size(pyList);
709 wxList* list = new wxList;
710 if (! list) {
711 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
fbc46b20 712 wxPyEndBlockThreads(blocked);
44127b65
RD
713 return NULL;
714 }
715 for (int x=0; x<count; x++) {
716 PyObject* pyo = PyList_GetItem(pyList, x);
717
718 if (PyTuple_Check(pyo)) {
719 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
720 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
721
722 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
723 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
724
725 list->Append((wxObject*) new wxRealPoint(val1, val2));
726
727 } else {
728 wxRealPoint* wxo = NULL;
729 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
730 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
fbc46b20 731 wxPyEndBlockThreads(blocked);
44127b65
RD
732 return NULL;
733 }
734 list->Append((wxObject*) new wxRealPoint(*wxo));
735 }
736 }
fbc46b20 737 wxPyEndBlockThreads(blocked);
44127b65
RD
738 return list;
739}
740
741//---------------------------------------------------------------------------
742
743PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
744 PyObject* target = NULL;
745
746 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
747 // If it's derived from wxShapeEvtHandler then there may
748 // already be a pointer to a Python object that we can use
749 // in the OOR data.
750 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
751 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
752 if (data) {
753 target = data->m_obj;
754 Py_INCREF(target);
755 }
756 }
757 if (! target) {
758 target = wxPyMake_wxObject2(source, FALSE);
759 if (target != Py_None)
760 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
761 }
762 return target;
763}
764
765//---------------------------------------------------------------------------
766
0346c964
RD
767PyObject* wxPy_ConvertRealPointList(wxListBase* listbase) {
768 wxList* list = (wxList*)listbase;
769 PyObject* pyList;
770 PyObject* pyObj;
771 wxObject* wxObj;
772 wxNode* node = list->GetFirst();
773
774 bool blocked = wxPyBeginBlockThreads();
775 pyList = PyList_New(0);
776 while (node) {
777 wxObj = node->GetData();
778 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
779 PyList_Append(pyList, pyObj);
780 node = node->GetNext();
781 }
782 wxPyEndBlockThreads(blocked);
783 return pyList;
784}
785
786//---------------------------------------------------------------------------
787
44127b65
RD
788PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
789 wxList* list = (wxList*)listbase;
790 PyObject* pyList;
791 PyObject* pyObj;
792 wxObject* wxObj;
793 wxNode* node = list->GetFirst();
794
fbc46b20 795 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
796 pyList = PyList_New(0);
797 while (node) {
798 wxObj = node->GetData();
799 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
800 PyList_Append(pyList, pyObj);
801 node = node->GetNext();
802 }
fbc46b20 803 wxPyEndBlockThreads(blocked);
44127b65
RD
804 return pyList;
805}
806
807
808//---------------------------------------------------------------------------
809
810IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
811IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
812IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
813IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
814IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
815IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
816IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
817IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
818IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
819IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
820IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
821IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
822IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
823IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
824IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
825
826//---------------------------------------------------------------------------
827
828// extern "C" SWIGEXPORT(void) initoglbasicc();
829// extern "C" SWIGEXPORT(void) initoglshapesc();
830// extern "C" SWIGEXPORT(void) initoglshapes2c();
831// extern "C" SWIGEXPORT(void) initoglcanvasc();
832
833#ifdef __cplusplus
834extern "C" {
835#endif
a95a7133 836static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
837 PyObject *resultobj;
838 wxShapeRegion *result;
839 char *kwnames[] = {
840 NULL
841 };
842
843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
844 {
845 PyThreadState* __tstate = wxPyBeginAllowThreads();
846 result = (wxShapeRegion *)new wxShapeRegion();
847
848 wxPyEndAllowThreads(__tstate);
849 if (PyErr_Occurred()) SWIG_fail;
850 }
2f4c0a16 851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShapeRegion, 1);
44127b65
RD
852 return resultobj;
853 fail:
854 return NULL;
855}
856
857
a95a7133 858static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
859 PyObject *resultobj;
860 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
861 wxString *arg2 = 0 ;
862 bool temp2 = False ;
863 PyObject * obj0 = 0 ;
864 PyObject * obj1 = 0 ;
865 char *kwnames[] = {
866 (char *) "self",(char *) "s", NULL
867 };
868
869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
872 {
873 arg2 = wxString_in_helper(obj1);
874 if (arg2 == NULL) SWIG_fail;
875 temp2 = True;
876 }
877 {
878 PyThreadState* __tstate = wxPyBeginAllowThreads();
879 (arg1)->SetText((wxString const &)*arg2);
880
881 wxPyEndAllowThreads(__tstate);
882 if (PyErr_Occurred()) SWIG_fail;
883 }
884 Py_INCREF(Py_None); resultobj = Py_None;
885 {
886 if (temp2)
887 delete arg2;
888 }
889 return resultobj;
890 fail:
891 {
892 if (temp2)
893 delete arg2;
894 }
895 return NULL;
896}
897
898
a95a7133 899static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
900 PyObject *resultobj;
901 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
902 wxFont *arg2 = (wxFont *) 0 ;
903 PyObject * obj0 = 0 ;
904 PyObject * obj1 = 0 ;
905 char *kwnames[] = {
906 (char *) "self",(char *) "f", NULL
907 };
908
909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
912 {
913 wxFont* temp;
914 if (obj1) {
915 if (obj1 == Py_None) {
916 temp = NULL;
917 }
918 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
919 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
920 return NULL;
921 }
922 }
923 if (temp)
924 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
925 temp->GetFamily(),
926 temp->GetStyle(),
927 temp->GetWeight(),
928 temp->GetUnderlined(),
929 temp->GetFaceName(),
930 temp->GetEncoding());
931 else
932 arg2 = NULL;
933 }
934 {
935 PyThreadState* __tstate = wxPyBeginAllowThreads();
936 (arg1)->SetFont(arg2);
937
938 wxPyEndAllowThreads(__tstate);
939 if (PyErr_Occurred()) SWIG_fail;
940 }
941 Py_INCREF(Py_None); resultobj = Py_None;
942 return resultobj;
943 fail:
944 return NULL;
945}
946
947
a95a7133 948static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
949 PyObject *resultobj;
950 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
951 double arg2 ;
952 double arg3 ;
953 PyObject * obj0 = 0 ;
8edf1c75
RD
954 PyObject * obj1 = 0 ;
955 PyObject * obj2 = 0 ;
44127b65
RD
956 char *kwnames[] = {
957 (char *) "self",(char *) "w",(char *) "h", NULL
958 };
959
8edf1c75 960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
963 arg2 = (double) SWIG_AsDouble(obj1);
964 if (PyErr_Occurred()) SWIG_fail;
965 arg3 = (double) SWIG_AsDouble(obj2);
966 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
967 {
968 PyThreadState* __tstate = wxPyBeginAllowThreads();
969 (arg1)->SetMinSize(arg2,arg3);
970
971 wxPyEndAllowThreads(__tstate);
972 if (PyErr_Occurred()) SWIG_fail;
973 }
974 Py_INCREF(Py_None); resultobj = Py_None;
975 return resultobj;
976 fail:
977 return NULL;
978}
979
980
a95a7133 981static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
982 PyObject *resultobj;
983 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
984 double arg2 ;
985 double arg3 ;
986 PyObject * obj0 = 0 ;
8edf1c75
RD
987 PyObject * obj1 = 0 ;
988 PyObject * obj2 = 0 ;
44127b65
RD
989 char *kwnames[] = {
990 (char *) "self",(char *) "w",(char *) "h", NULL
991 };
992
8edf1c75 993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
996 arg2 = (double) SWIG_AsDouble(obj1);
997 if (PyErr_Occurred()) SWIG_fail;
998 arg3 = (double) SWIG_AsDouble(obj2);
999 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1000 {
1001 PyThreadState* __tstate = wxPyBeginAllowThreads();
1002 (arg1)->SetSize(arg2,arg3);
1003
1004 wxPyEndAllowThreads(__tstate);
1005 if (PyErr_Occurred()) SWIG_fail;
1006 }
1007 Py_INCREF(Py_None); resultobj = Py_None;
1008 return resultobj;
1009 fail:
1010 return NULL;
1011}
1012
1013
a95a7133 1014static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1015 PyObject *resultobj;
1016 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1017 double arg2 ;
1018 double arg3 ;
1019 PyObject * obj0 = 0 ;
8edf1c75
RD
1020 PyObject * obj1 = 0 ;
1021 PyObject * obj2 = 0 ;
44127b65
RD
1022 char *kwnames[] = {
1023 (char *) "self",(char *) "x",(char *) "y", NULL
1024 };
1025
8edf1c75 1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1029 arg2 = (double) SWIG_AsDouble(obj1);
1030 if (PyErr_Occurred()) SWIG_fail;
1031 arg3 = (double) SWIG_AsDouble(obj2);
1032 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 (arg1)->SetPosition(arg2,arg3);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) SWIG_fail;
1039 }
1040 Py_INCREF(Py_None); resultobj = Py_None;
1041 return resultobj;
1042 fail:
1043 return NULL;
1044}
1045
1046
a95a7133 1047static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1048 PyObject *resultobj;
1049 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1050 double arg2 ;
1051 double arg3 ;
1052 PyObject * obj0 = 0 ;
8edf1c75
RD
1053 PyObject * obj1 = 0 ;
1054 PyObject * obj2 = 0 ;
44127b65
RD
1055 char *kwnames[] = {
1056 (char *) "self",(char *) "x",(char *) "y", NULL
1057 };
1058
8edf1c75 1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1062 arg2 = (double) SWIG_AsDouble(obj1);
1063 if (PyErr_Occurred()) SWIG_fail;
1064 arg3 = (double) SWIG_AsDouble(obj2);
1065 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1066 {
1067 PyThreadState* __tstate = wxPyBeginAllowThreads();
1068 (arg1)->SetProportions(arg2,arg3);
1069
1070 wxPyEndAllowThreads(__tstate);
1071 if (PyErr_Occurred()) SWIG_fail;
1072 }
1073 Py_INCREF(Py_None); resultobj = Py_None;
1074 return resultobj;
1075 fail:
1076 return NULL;
1077}
1078
1079
a95a7133 1080static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1081 PyObject *resultobj;
1082 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1083 int arg2 ;
1084 PyObject * obj0 = 0 ;
8edf1c75 1085 PyObject * obj1 = 0 ;
44127b65
RD
1086 char *kwnames[] = {
1087 (char *) "self",(char *) "mode", NULL
1088 };
1089
8edf1c75 1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1093 arg2 = (int) SWIG_AsInt(obj1);
1094 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1095 {
1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
1097 (arg1)->SetFormatMode(arg2);
1098
1099 wxPyEndAllowThreads(__tstate);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 Py_INCREF(Py_None); resultobj = Py_None;
1103 return resultobj;
1104 fail:
1105 return NULL;
1106}
1107
1108
a95a7133 1109static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1110 PyObject *resultobj;
1111 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1112 wxString *arg2 = 0 ;
1113 bool temp2 = False ;
1114 PyObject * obj0 = 0 ;
1115 PyObject * obj1 = 0 ;
1116 char *kwnames[] = {
1117 (char *) "self",(char *) "s", NULL
1118 };
1119
1120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1123 {
1124 arg2 = wxString_in_helper(obj1);
1125 if (arg2 == NULL) SWIG_fail;
1126 temp2 = True;
1127 }
1128 {
1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
1130 (arg1)->SetName((wxString const &)*arg2);
1131
1132 wxPyEndAllowThreads(__tstate);
1133 if (PyErr_Occurred()) SWIG_fail;
1134 }
1135 Py_INCREF(Py_None); resultobj = Py_None;
1136 {
1137 if (temp2)
1138 delete arg2;
1139 }
1140 return resultobj;
1141 fail:
1142 {
1143 if (temp2)
1144 delete arg2;
1145 }
1146 return NULL;
1147}
1148
1149
a95a7133 1150static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1151 PyObject *resultobj;
1152 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1153 wxString *arg2 = 0 ;
1154 bool temp2 = False ;
1155 PyObject * obj0 = 0 ;
1156 PyObject * obj1 = 0 ;
1157 char *kwnames[] = {
1158 (char *) "self",(char *) "col", NULL
1159 };
1160
1161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1164 {
1165 arg2 = wxString_in_helper(obj1);
1166 if (arg2 == NULL) SWIG_fail;
1167 temp2 = True;
1168 }
1169 {
1170 PyThreadState* __tstate = wxPyBeginAllowThreads();
1171 (arg1)->SetColour((wxString const &)*arg2);
1172
1173 wxPyEndAllowThreads(__tstate);
1174 if (PyErr_Occurred()) SWIG_fail;
1175 }
1176 Py_INCREF(Py_None); resultobj = Py_None;
1177 {
1178 if (temp2)
1179 delete arg2;
1180 }
1181 return resultobj;
1182 fail:
1183 {
1184 if (temp2)
1185 delete arg2;
1186 }
1187 return NULL;
1188}
1189
1190
a95a7133 1191static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1192 PyObject *resultobj;
1193 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1194 wxString result;
1195 PyObject * obj0 = 0 ;
1196 char *kwnames[] = {
1197 (char *) "self", NULL
1198 };
1199
1200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1203 {
1204 PyThreadState* __tstate = wxPyBeginAllowThreads();
1205 result = (arg1)->GetText();
1206
1207 wxPyEndAllowThreads(__tstate);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 }
1210 {
1211#if wxUSE_UNICODE
1212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1213#else
1214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1215#endif
1216 }
1217 return resultobj;
1218 fail:
1219 return NULL;
1220}
1221
1222
a95a7133 1223static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1224 PyObject *resultobj;
1225 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1226 wxFont *result;
1227 PyObject * obj0 = 0 ;
1228 char *kwnames[] = {
1229 (char *) "self", NULL
1230 };
1231
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1235 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 result = (wxFont *)(arg1)->GetFont();
1238
1239 wxPyEndAllowThreads(__tstate);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
2f4c0a16 1242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
44127b65
RD
1243 return resultobj;
1244 fail:
1245 return NULL;
1246}
1247
1248
a95a7133 1249static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1250 PyObject *resultobj;
1251 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1252 double *arg2 = (double *) 0 ;
1253 double *arg3 = (double *) 0 ;
1254 double temp2 ;
1255 double temp3 ;
1256 PyObject * obj0 = 0 ;
1257 char *kwnames[] = {
1258 (char *) "self", NULL
1259 };
1260
1261 arg2 = &temp2;
1262 arg3 = &temp3;
1263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1266 {
1267 PyThreadState* __tstate = wxPyBeginAllowThreads();
1268 (arg1)->GetMinSize(arg2,arg3);
1269
1270 wxPyEndAllowThreads(__tstate);
1271 if (PyErr_Occurred()) SWIG_fail;
1272 }
1273 Py_INCREF(Py_None); resultobj = Py_None;
1274 {
1275 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1276 resultobj = t_output_helper(resultobj,o);
1277 }
1278 {
1279 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1280 resultobj = t_output_helper(resultobj,o);
1281 }
1282 return resultobj;
1283 fail:
1284 return NULL;
1285}
1286
1287
a95a7133 1288static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1289 PyObject *resultobj;
1290 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1291 double *arg2 = (double *) 0 ;
1292 double *arg3 = (double *) 0 ;
1293 double temp2 ;
1294 double temp3 ;
1295 PyObject * obj0 = 0 ;
1296 char *kwnames[] = {
1297 (char *) "self", NULL
1298 };
1299
1300 arg2 = &temp2;
1301 arg3 = &temp3;
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1305 {
1306 PyThreadState* __tstate = wxPyBeginAllowThreads();
1307 (arg1)->GetProportion(arg2,arg3);
1308
1309 wxPyEndAllowThreads(__tstate);
1310 if (PyErr_Occurred()) SWIG_fail;
1311 }
1312 Py_INCREF(Py_None); resultobj = Py_None;
1313 {
1314 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1315 resultobj = t_output_helper(resultobj,o);
1316 }
1317 {
1318 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1319 resultobj = t_output_helper(resultobj,o);
1320 }
1321 return resultobj;
1322 fail:
1323 return NULL;
1324}
1325
1326
a95a7133 1327static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1328 PyObject *resultobj;
1329 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1330 double *arg2 = (double *) 0 ;
1331 double *arg3 = (double *) 0 ;
1332 double temp2 ;
1333 double temp3 ;
1334 PyObject * obj0 = 0 ;
1335 char *kwnames[] = {
1336 (char *) "self", NULL
1337 };
1338
1339 arg2 = &temp2;
1340 arg3 = &temp3;
1341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 (arg1)->GetSize(arg2,arg3);
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 Py_INCREF(Py_None); resultobj = Py_None;
1352 {
1353 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1354 resultobj = t_output_helper(resultobj,o);
1355 }
1356 {
1357 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1358 resultobj = t_output_helper(resultobj,o);
1359 }
1360 return resultobj;
1361 fail:
1362 return NULL;
1363}
1364
1365
a95a7133 1366static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1367 PyObject *resultobj;
1368 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1369 double *arg2 = (double *) 0 ;
1370 double *arg3 = (double *) 0 ;
1371 double temp2 ;
1372 double temp3 ;
1373 PyObject * obj0 = 0 ;
1374 char *kwnames[] = {
1375 (char *) "self", NULL
1376 };
1377
1378 arg2 = &temp2;
1379 arg3 = &temp3;
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 (arg1)->GetPosition(arg2,arg3);
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 Py_INCREF(Py_None); resultobj = Py_None;
1391 {
1392 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1393 resultobj = t_output_helper(resultobj,o);
1394 }
1395 {
1396 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1397 resultobj = t_output_helper(resultobj,o);
1398 }
1399 return resultobj;
1400 fail:
1401 return NULL;
1402}
1403
1404
a95a7133 1405static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1406 PyObject *resultobj;
1407 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1408 int result;
1409 PyObject * obj0 = 0 ;
1410 char *kwnames[] = {
1411 (char *) "self", NULL
1412 };
1413
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1417 {
1418 PyThreadState* __tstate = wxPyBeginAllowThreads();
1419 result = (int)(arg1)->GetFormatMode();
1420
1421 wxPyEndAllowThreads(__tstate);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
2f4c0a16 1424 resultobj = SWIG_FromInt((int)result);
44127b65
RD
1425 return resultobj;
1426 fail:
1427 return NULL;
1428}
1429
1430
a95a7133 1431static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1432 PyObject *resultobj;
1433 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1434 wxString result;
1435 PyObject * obj0 = 0 ;
1436 char *kwnames[] = {
1437 (char *) "self", NULL
1438 };
1439
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 result = (arg1)->GetName();
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 {
1451#if wxUSE_UNICODE
1452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1453#else
1454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1455#endif
1456 }
1457 return resultobj;
1458 fail:
1459 return NULL;
1460}
1461
1462
a95a7133 1463static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1464 PyObject *resultobj;
1465 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1466 wxString result;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1475 {
1476 PyThreadState* __tstate = wxPyBeginAllowThreads();
1477 result = (arg1)->GetColour();
1478
1479 wxPyEndAllowThreads(__tstate);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
1482 {
1483#if wxUSE_UNICODE
1484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1485#else
1486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1487#endif
1488 }
1489 return resultobj;
1490 fail:
1491 return NULL;
1492}
1493
1494
a95a7133 1495static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1496 PyObject *resultobj;
1497 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
d896a793 1498 wxColour result;
44127b65
RD
1499 PyObject * obj0 = 0 ;
1500 char *kwnames[] = {
1501 (char *) "self", NULL
1502 };
1503
1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
d896a793 1509 result = (arg1)->GetActualColourObject();
44127b65
RD
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) SWIG_fail;
1513 }
d896a793
RD
1514 {
1515 wxColour * resultptr;
1516 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d896a793 1518 }
44127b65
RD
1519 return resultobj;
1520 fail:
1521 return NULL;
1522}
1523
1524
a95a7133 1525static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1526 PyObject *resultobj;
1527 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1528 wxList *result;
1529 PyObject * obj0 = 0 ;
1530 char *kwnames[] = {
1531 (char *) "self", NULL
1532 };
1533
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1537 {
1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
1539 {
1540 wxList &_result_ref = (arg1)->GetFormattedText();
1541 result = (wxList *) &_result_ref;
1542 }
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
2f4c0a16 1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxList, 0);
44127b65
RD
1548 return resultobj;
1549 fail:
1550 return NULL;
1551}
1552
1553
a95a7133 1554static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1555 PyObject *resultobj;
1556 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1557 wxString result;
1558 PyObject * obj0 = 0 ;
1559 char *kwnames[] = {
1560 (char *) "self", NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1566 {
1567 PyThreadState* __tstate = wxPyBeginAllowThreads();
1568 result = (arg1)->GetPenColour();
1569
1570 wxPyEndAllowThreads(__tstate);
1571 if (PyErr_Occurred()) SWIG_fail;
1572 }
1573 {
1574#if wxUSE_UNICODE
1575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1576#else
1577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1578#endif
1579 }
1580 return resultobj;
1581 fail:
1582 return NULL;
1583}
1584
1585
a95a7133 1586static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1587 PyObject *resultobj;
1588 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1589 int result;
1590 PyObject * obj0 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "self", NULL
1593 };
1594
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1598 {
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 result = (int)(arg1)->GetPenStyle();
1601
1602 wxPyEndAllowThreads(__tstate);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
2f4c0a16 1605 resultobj = SWIG_FromInt((int)result);
44127b65
RD
1606 return resultobj;
1607 fail:
1608 return NULL;
1609}
1610
1611
a95a7133 1612static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1613 PyObject *resultobj;
1614 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1615 int arg2 ;
1616 PyObject * obj0 = 0 ;
8edf1c75 1617 PyObject * obj1 = 0 ;
44127b65
RD
1618 char *kwnames[] = {
1619 (char *) "self",(char *) "style", NULL
1620 };
1621
8edf1c75 1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1625 arg2 = (int) SWIG_AsInt(obj1);
1626 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 (arg1)->SetPenStyle(arg2);
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
1634 Py_INCREF(Py_None); resultobj = Py_None;
1635 return resultobj;
1636 fail:
1637 return NULL;
1638}
1639
1640
a95a7133 1641static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1642 PyObject *resultobj;
1643 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1644 wxString *arg2 = 0 ;
1645 bool temp2 = False ;
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self",(char *) "col", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1655 {
1656 arg2 = wxString_in_helper(obj1);
1657 if (arg2 == NULL) SWIG_fail;
1658 temp2 = True;
1659 }
1660 {
1661 PyThreadState* __tstate = wxPyBeginAllowThreads();
1662 (arg1)->SetPenColour((wxString const &)*arg2);
1663
1664 wxPyEndAllowThreads(__tstate);
1665 if (PyErr_Occurred()) SWIG_fail;
1666 }
1667 Py_INCREF(Py_None); resultobj = Py_None;
1668 {
1669 if (temp2)
1670 delete arg2;
1671 }
1672 return resultobj;
1673 fail:
1674 {
1675 if (temp2)
1676 delete arg2;
1677 }
1678 return NULL;
1679}
1680
1681
a95a7133 1682static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1683 PyObject *resultobj;
1684 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1685 wxPen *result;
1686 PyObject * obj0 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 result = (wxPen *)(arg1)->GetActualPen();
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
2f4c0a16 1701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
1702 return resultobj;
1703 fail:
1704 return NULL;
1705}
1706
1707
a95a7133 1708static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1709 PyObject *resultobj;
1710 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1711 double result;
1712 PyObject * obj0 = 0 ;
1713 char *kwnames[] = {
1714 (char *) "self", NULL
1715 };
1716
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 result = (double)(arg1)->GetWidth();
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
2f4c0a16 1727 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
1728 return resultobj;
1729 fail:
1730 return NULL;
1731}
1732
1733
a95a7133 1734static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1735 PyObject *resultobj;
1736 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1737 double result;
1738 PyObject * obj0 = 0 ;
1739 char *kwnames[] = {
1740 (char *) "self", NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 result = (double)(arg1)->GetHeight();
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
2f4c0a16 1753 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
1754 return resultobj;
1755 fail:
1756 return NULL;
1757}
1758
1759
a95a7133 1760static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1761 PyObject *resultobj;
1762 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1763 PyObject * obj0 = 0 ;
1764 char *kwnames[] = {
1765 (char *) "self", NULL
1766 };
1767
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 (arg1)->ClearText();
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 Py_INCREF(Py_None); resultobj = Py_None;
1779 return resultobj;
1780 fail:
1781 return NULL;
1782}
1783
1784
a95a7133 1785static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
1786 PyObject *obj;
1787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1789 Py_INCREF(obj);
1790 return Py_BuildValue((char *)"");
1791}
a95a7133 1792static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1793 PyObject *resultobj;
1794 int arg1 = (int) 0 ;
1795 double arg2 = (double) 0.0 ;
1796 double arg3 = (double) 0.0 ;
1797 wxAttachmentPoint *result;
8edf1c75
RD
1798 PyObject * obj0 = 0 ;
1799 PyObject * obj1 = 0 ;
1800 PyObject * obj2 = 0 ;
7a0a63ae
RD
1801 char *kwnames[] = {
1802 (char *) "id",(char *) "x",(char *) "y", NULL
1803 };
1804
8edf1c75
RD
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
1806 if (obj0) {
2f4c0a16
RD
1807 arg1 = (int) SWIG_AsInt(obj0);
1808 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1809 }
1810 if (obj1) {
2f4c0a16
RD
1811 arg2 = (double) SWIG_AsDouble(obj1);
1812 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1813 }
1814 if (obj2) {
2f4c0a16
RD
1815 arg3 = (double) SWIG_AsDouble(obj2);
1816 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1817 }
7a0a63ae
RD
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
2f4c0a16 1825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAttachmentPoint, 1);
7a0a63ae
RD
1826 return resultobj;
1827 fail:
1828 return NULL;
1829}
1830
1831
a95a7133 1832static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1833 PyObject *resultobj;
1834 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1835 int arg2 ;
1836 PyObject * obj0 = 0 ;
8edf1c75 1837 PyObject * obj1 = 0 ;
7a0a63ae
RD
1838 char *kwnames[] = {
1839 (char *) "self",(char *) "m_id", NULL
1840 };
1841
8edf1c75 1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1845 arg2 = (int) SWIG_AsInt(obj1);
1846 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
1847 if (arg1) (arg1)->m_id = arg2;
1848
1849 Py_INCREF(Py_None); resultobj = Py_None;
1850 return resultobj;
1851 fail:
1852 return NULL;
1853}
1854
1855
a95a7133 1856static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1857 PyObject *resultobj;
1858 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1859 int result;
1860 PyObject * obj0 = 0 ;
1861 char *kwnames[] = {
1862 (char *) "self", NULL
1863 };
1864
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
1868 result = (int) ((arg1)->m_id);
1869
2f4c0a16 1870 resultobj = SWIG_FromInt((int)result);
7a0a63ae
RD
1871 return resultobj;
1872 fail:
1873 return NULL;
1874}
1875
1876
a95a7133 1877static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1878 PyObject *resultobj;
1879 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1880 double arg2 ;
1881 PyObject * obj0 = 0 ;
8edf1c75 1882 PyObject * obj1 = 0 ;
7a0a63ae
RD
1883 char *kwnames[] = {
1884 (char *) "self",(char *) "m_x", NULL
1885 };
1886
8edf1c75 1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1890 arg2 = (double) SWIG_AsDouble(obj1);
1891 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
1892 if (arg1) (arg1)->m_x = arg2;
1893
1894 Py_INCREF(Py_None); resultobj = Py_None;
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
a95a7133 1901static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1902 PyObject *resultobj;
1903 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1904 double result;
1905 PyObject * obj0 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
1913 result = (double) ((arg1)->m_x);
1914
2f4c0a16 1915 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
1916 return resultobj;
1917 fail:
1918 return NULL;
1919}
1920
1921
a95a7133 1922static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1923 PyObject *resultobj;
1924 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1925 double arg2 ;
1926 PyObject * obj0 = 0 ;
8edf1c75 1927 PyObject * obj1 = 0 ;
7a0a63ae
RD
1928 char *kwnames[] = {
1929 (char *) "self",(char *) "m_y", NULL
1930 };
1931
8edf1c75 1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1935 arg2 = (double) SWIG_AsDouble(obj1);
1936 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
1937 if (arg1) (arg1)->m_y = arg2;
1938
1939 Py_INCREF(Py_None); resultobj = Py_None;
1940 return resultobj;
1941 fail:
1942 return NULL;
1943}
1944
1945
a95a7133 1946static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1947 PyObject *resultobj;
1948 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1949 double result;
1950 PyObject * obj0 = 0 ;
1951 char *kwnames[] = {
1952 (char *) "self", NULL
1953 };
1954
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
1958 result = (double) ((arg1)->m_y);
1959
2f4c0a16 1960 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
1961 return resultobj;
1962 fail:
1963 return NULL;
1964}
1965
1966
a95a7133 1967static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
7a0a63ae
RD
1968 PyObject *obj;
1969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1970 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1971 Py_INCREF(obj);
1972 return Py_BuildValue((char *)"");
1973}
a95a7133 1974static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1975 PyObject *resultobj;
1976 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1977 wxPyShape *arg2 = (wxPyShape *) NULL ;
1978 wxPyShapeEvtHandler *result;
1979 PyObject * obj0 = 0 ;
1980 PyObject * obj1 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "prev",(char *) "shape", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1986 if (obj0) {
2f4c0a16
RD
1987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
1988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1989 }
1990 if (obj1) {
2f4c0a16
RD
1991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
1992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1993 }
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 {
2002 resultobj = wxPyMake_wxShapeEvtHandler(result);
2003 }
2004 return resultobj;
2005 fail:
2006 return NULL;
2007}
2008
2009
a95a7133 2010static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2011 PyObject *resultobj;
2012 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2013 PyObject *arg2 = (PyObject *) 0 ;
2014 PyObject *arg3 = (PyObject *) 0 ;
2015 PyObject * obj0 = 0 ;
2016 PyObject * obj1 = 0 ;
2017 PyObject * obj2 = 0 ;
2018 char *kwnames[] = {
2019 (char *) "self",(char *) "self",(char *) "_class", NULL
2020 };
2021
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2025 arg2 = obj1;
2026 arg3 = obj2;
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 (arg1)->_setCallbackInfo(arg2,arg3);
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 Py_INCREF(Py_None); resultobj = Py_None;
2035 return resultobj;
2036 fail:
2037 return NULL;
2038}
2039
2040
a95a7133 2041static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2042 PyObject *resultobj;
2043 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2044 PyObject *arg2 = (PyObject *) 0 ;
2045 PyObject * obj0 = 0 ;
2046 PyObject * obj1 = 0 ;
2047 char *kwnames[] = {
2048 (char *) "self",(char *) "_self", NULL
2049 };
2050
2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2054 arg2 = obj1;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066}
2067
2068
a95a7133 2069static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2070 PyObject *resultobj;
2071 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2072 wxPyShape *arg2 = (wxPyShape *) 0 ;
2073 PyObject * obj0 = 0 ;
2074 PyObject * obj1 = 0 ;
2075 char *kwnames[] = {
2076 (char *) "self",(char *) "sh", NULL
2077 };
2078
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
2083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2084 {
2085 PyThreadState* __tstate = wxPyBeginAllowThreads();
2086 (arg1)->SetShape(arg2);
2087
2088 wxPyEndAllowThreads(__tstate);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 }
2091 Py_INCREF(Py_None); resultobj = Py_None;
2092 return resultobj;
2093 fail:
2094 return NULL;
2095}
2096
2097
a95a7133 2098static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2099 PyObject *resultobj;
2100 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2101 wxPyShape *result;
2102 PyObject * obj0 = 0 ;
2103 char *kwnames[] = {
2104 (char *) "self", NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2110 {
2111 PyThreadState* __tstate = wxPyBeginAllowThreads();
2112 result = (wxPyShape *)(arg1)->GetShape();
2113
2114 wxPyEndAllowThreads(__tstate);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 {
2118 resultobj = wxPyMake_wxShapeEvtHandler(result);
2119 }
2120 return resultobj;
2121 fail:
2122 return NULL;
2123}
2124
2125
a95a7133 2126static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2127 PyObject *resultobj;
2128 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2129 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2130 PyObject * obj0 = 0 ;
2131 PyObject * obj1 = 0 ;
2132 char *kwnames[] = {
2133 (char *) "self",(char *) "handler", NULL
2134 };
2135
2136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
2140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 (arg1)->SetPreviousHandler(arg2);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 Py_INCREF(Py_None); resultobj = Py_None;
2149 return resultobj;
2150 fail:
2151 return NULL;
2152}
2153
2154
a95a7133 2155static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2156 PyObject *resultobj;
2157 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2158 wxPyShapeEvtHandler *result;
2159 PyObject * obj0 = 0 ;
2160 char *kwnames[] = {
2161 (char *) "self", NULL
2162 };
2163
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 {
2175 resultobj = wxPyMake_wxShapeEvtHandler(result);
2176 }
2177 return resultobj;
2178 fail:
2179 return NULL;
2180}
2181
2182
a95a7133 2183static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2184 PyObject *resultobj;
2185 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2186 wxPyShapeEvtHandler *result;
2187 PyObject * obj0 = 0 ;
2188 char *kwnames[] = {
2189 (char *) "self", NULL
2190 };
2191
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 {
2203 resultobj = wxPyMake_wxShapeEvtHandler(result);
2204 }
2205 return resultobj;
2206 fail:
2207 return NULL;
2208}
2209
2210
a95a7133 2211static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2212 PyObject *resultobj;
2213 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2214 PyObject * obj0 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2222 {
2223 PyThreadState* __tstate = wxPyBeginAllowThreads();
2224 (arg1)->base_OnDelete();
2225
2226 wxPyEndAllowThreads(__tstate);
2227 if (PyErr_Occurred()) SWIG_fail;
2228 }
2229 Py_INCREF(Py_None); resultobj = Py_None;
2230 return resultobj;
2231 fail:
2232 return NULL;
2233}
2234
2235
a95a7133 2236static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2237 PyObject *resultobj;
2238 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2239 wxDC *arg2 = 0 ;
2240 PyObject * obj0 = 0 ;
2241 PyObject * obj1 = 0 ;
2242 char *kwnames[] = {
2243 (char *) "self",(char *) "dc", NULL
2244 };
2245
2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2250 SWIG_POINTER_EXCEPTION | 0)) == -1)
2251 SWIG_fail;
44127b65 2252 if (arg2 == NULL) {
2f4c0a16
RD
2253 PyErr_SetString(PyExc_TypeError,"null reference");
2254 SWIG_fail;
44127b65
RD
2255 }
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 (arg1)->base_OnDraw(*arg2);
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 Py_INCREF(Py_None); resultobj = Py_None;
2264 return resultobj;
2265 fail:
2266 return NULL;
2267}
2268
2269
a95a7133 2270static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2271 PyObject *resultobj;
2272 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2273 wxDC *arg2 = 0 ;
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
2276 char *kwnames[] = {
2277 (char *) "self",(char *) "dc", NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2284 SWIG_POINTER_EXCEPTION | 0)) == -1)
2285 SWIG_fail;
44127b65 2286 if (arg2 == NULL) {
2f4c0a16
RD
2287 PyErr_SetString(PyExc_TypeError,"null reference");
2288 SWIG_fail;
44127b65
RD
2289 }
2290 {
2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
2292 (arg1)->base_OnDrawContents(*arg2);
2293
2294 wxPyEndAllowThreads(__tstate);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 }
2297 Py_INCREF(Py_None); resultobj = Py_None;
2298 return resultobj;
2299 fail:
2300 return NULL;
2301}
2302
2303
a95a7133 2304static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2305 PyObject *resultobj;
2306 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2307 wxDC *arg2 = 0 ;
2308 bool arg3 = (bool) False ;
2309 PyObject * obj0 = 0 ;
2310 PyObject * obj1 = 0 ;
2311 PyObject * obj2 = 0 ;
2312 char *kwnames[] = {
2313 (char *) "self",(char *) "dc",(char *) "erase", NULL
2314 };
2315
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2320 SWIG_POINTER_EXCEPTION | 0)) == -1)
2321 SWIG_fail;
44127b65 2322 if (arg2 == NULL) {
2f4c0a16
RD
2323 PyErr_SetString(PyExc_TypeError,"null reference");
2324 SWIG_fail;
44127b65
RD
2325 }
2326 if (obj2) {
2f4c0a16
RD
2327 arg3 = (bool) SWIG_AsBool(obj2);
2328 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2329 }
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 (arg1)->base_OnDrawBranches(*arg2,arg3);
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341}
2342
2343
a95a7133 2344static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2345 PyObject *resultobj;
2346 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2347 wxDC *arg2 = 0 ;
2348 PyObject * obj0 = 0 ;
2349 PyObject * obj1 = 0 ;
2350 char *kwnames[] = {
2351 (char *) "self",(char *) "dc", NULL
2352 };
2353
2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2358 SWIG_POINTER_EXCEPTION | 0)) == -1)
2359 SWIG_fail;
44127b65 2360 if (arg2 == NULL) {
2f4c0a16
RD
2361 PyErr_SetString(PyExc_TypeError,"null reference");
2362 SWIG_fail;
44127b65
RD
2363 }
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 (arg1)->base_OnMoveLinks(*arg2);
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 Py_INCREF(Py_None); resultobj = Py_None;
2372 return resultobj;
2373 fail:
2374 return NULL;
2375}
2376
2377
a95a7133 2378static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2379 PyObject *resultobj;
2380 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2381 wxDC *arg2 = 0 ;
2382 PyObject * obj0 = 0 ;
2383 PyObject * obj1 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self",(char *) "dc", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2392 SWIG_POINTER_EXCEPTION | 0)) == -1)
2393 SWIG_fail;
44127b65 2394 if (arg2 == NULL) {
2f4c0a16
RD
2395 PyErr_SetString(PyExc_TypeError,"null reference");
2396 SWIG_fail;
44127b65
RD
2397 }
2398 {
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 (arg1)->base_OnErase(*arg2);
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 Py_INCREF(Py_None); resultobj = Py_None;
2406 return resultobj;
2407 fail:
2408 return NULL;
2409}
2410
2411
a95a7133 2412static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2413 PyObject *resultobj;
2414 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2415 wxDC *arg2 = 0 ;
2416 PyObject * obj0 = 0 ;
2417 PyObject * obj1 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self",(char *) "dc", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2426 SWIG_POINTER_EXCEPTION | 0)) == -1)
2427 SWIG_fail;
44127b65 2428 if (arg2 == NULL) {
2f4c0a16
RD
2429 PyErr_SetString(PyExc_TypeError,"null reference");
2430 SWIG_fail;
44127b65
RD
2431 }
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 (arg1)->base_OnEraseContents(*arg2);
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
2439 Py_INCREF(Py_None); resultobj = Py_None;
2440 return resultobj;
2441 fail:
2442 return NULL;
2443}
2444
2445
a95a7133 2446static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2447 PyObject *resultobj;
2448 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2449 wxDC *arg2 = 0 ;
2450 PyObject * obj0 = 0 ;
2451 PyObject * obj1 = 0 ;
2452 char *kwnames[] = {
2453 (char *) "self",(char *) "dc", NULL
2454 };
2455
2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2460 SWIG_POINTER_EXCEPTION | 0)) == -1)
2461 SWIG_fail;
44127b65 2462 if (arg2 == NULL) {
2f4c0a16
RD
2463 PyErr_SetString(PyExc_TypeError,"null reference");
2464 SWIG_fail;
44127b65
RD
2465 }
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 (arg1)->base_OnHighlight(*arg2);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 Py_INCREF(Py_None); resultobj = Py_None;
2474 return resultobj;
2475 fail:
2476 return NULL;
2477}
2478
2479
a95a7133 2480static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2481 PyObject *resultobj;
2482 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2483 double arg2 ;
2484 double arg3 ;
2485 int arg4 = (int) 0 ;
2486 int arg5 = (int) 0 ;
2487 PyObject * obj0 = 0 ;
8edf1c75
RD
2488 PyObject * obj1 = 0 ;
2489 PyObject * obj2 = 0 ;
2490 PyObject * obj3 = 0 ;
2491 PyObject * obj4 = 0 ;
44127b65
RD
2492 char *kwnames[] = {
2493 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2494 };
2495
8edf1c75 2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2499 arg2 = (double) SWIG_AsDouble(obj1);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 arg3 = (double) SWIG_AsDouble(obj2);
2502 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2503 if (obj3) {
2f4c0a16
RD
2504 arg4 = (int) SWIG_AsInt(obj3);
2505 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2506 }
2507 if (obj4) {
2f4c0a16
RD
2508 arg5 = (int) SWIG_AsInt(obj4);
2509 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2510 }
44127b65
RD
2511 {
2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
2513 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2514
2515 wxPyEndAllowThreads(__tstate);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 Py_INCREF(Py_None); resultobj = Py_None;
2519 return resultobj;
2520 fail:
2521 return NULL;
2522}
2523
2524
a95a7133 2525static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2526 PyObject *resultobj;
2527 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2528 double arg2 ;
2529 double arg3 ;
2530 int arg4 = (int) 0 ;
2531 int arg5 = (int) 0 ;
2532 PyObject * obj0 = 0 ;
8edf1c75
RD
2533 PyObject * obj1 = 0 ;
2534 PyObject * obj2 = 0 ;
2535 PyObject * obj3 = 0 ;
2536 PyObject * obj4 = 0 ;
44127b65
RD
2537 char *kwnames[] = {
2538 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2539 };
2540
8edf1c75 2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2544 arg2 = (double) SWIG_AsDouble(obj1);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 arg3 = (double) SWIG_AsDouble(obj2);
2547 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2548 if (obj3) {
2f4c0a16
RD
2549 arg4 = (int) SWIG_AsInt(obj3);
2550 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2551 }
2552 if (obj4) {
2f4c0a16
RD
2553 arg5 = (int) SWIG_AsInt(obj4);
2554 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2555 }
44127b65
RD
2556 {
2557 PyThreadState* __tstate = wxPyBeginAllowThreads();
2558 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2559
2560 wxPyEndAllowThreads(__tstate);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 }
2563 Py_INCREF(Py_None); resultobj = Py_None;
2564 return resultobj;
2565 fail:
2566 return NULL;
2567}
2568
2569
a95a7133 2570static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2571 PyObject *resultobj;
2572 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2573 double arg2 ;
2574 double arg3 ;
2575 int arg4 = (int) 0 ;
2576 int arg5 = (int) 0 ;
2577 PyObject * obj0 = 0 ;
8edf1c75
RD
2578 PyObject * obj1 = 0 ;
2579 PyObject * obj2 = 0 ;
2580 PyObject * obj3 = 0 ;
2581 PyObject * obj4 = 0 ;
44127b65
RD
2582 char *kwnames[] = {
2583 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2584 };
2585
8edf1c75 2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2589 arg2 = (double) SWIG_AsDouble(obj1);
2590 if (PyErr_Occurred()) SWIG_fail;
2591 arg3 = (double) SWIG_AsDouble(obj2);
2592 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2593 if (obj3) {
2f4c0a16
RD
2594 arg4 = (int) SWIG_AsInt(obj3);
2595 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2596 }
2597 if (obj4) {
2f4c0a16
RD
2598 arg5 = (int) SWIG_AsInt(obj4);
2599 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2600 }
44127b65
RD
2601 {
2602 PyThreadState* __tstate = wxPyBeginAllowThreads();
2603 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2604
2605 wxPyEndAllowThreads(__tstate);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 Py_INCREF(Py_None); resultobj = Py_None;
2609 return resultobj;
2610 fail:
2611 return NULL;
2612}
2613
2614
a95a7133 2615static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2616 PyObject *resultobj;
2617 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2618 double arg2 ;
2619 double arg3 ;
2620 PyObject * obj0 = 0 ;
8edf1c75
RD
2621 PyObject * obj1 = 0 ;
2622 PyObject * obj2 = 0 ;
44127b65
RD
2623 char *kwnames[] = {
2624 (char *) "self",(char *) "x",(char *) "y", NULL
2625 };
2626
8edf1c75 2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2630 arg2 = (double) SWIG_AsDouble(obj1);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 arg3 = (double) SWIG_AsDouble(obj2);
2633 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 (arg1)->base_OnSize(arg2,arg3);
2637
2638 wxPyEndAllowThreads(__tstate);
44127b65
RD
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 Py_INCREF(Py_None); resultobj = Py_None;
2642 return resultobj;
2643 fail:
2644 return NULL;
2645}
2646
2647
a95a7133 2648static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2649 PyObject *resultobj;
2650 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2651 wxDC *arg2 = 0 ;
2652 double arg3 ;
2653 double arg4 ;
2654 double arg5 ;
2655 double arg6 ;
2656 bool arg7 = (bool) True ;
2657 bool result;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
8edf1c75
RD
2660 PyObject * obj2 = 0 ;
2661 PyObject * obj3 = 0 ;
2662 PyObject * obj4 = 0 ;
2663 PyObject * obj5 = 0 ;
44127b65
RD
2664 PyObject * obj6 = 0 ;
2665 char *kwnames[] = {
2666 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2667 };
2668
8edf1c75 2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
2670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2673 SWIG_POINTER_EXCEPTION | 0)) == -1)
2674 SWIG_fail;
44127b65 2675 if (arg2 == NULL) {
2f4c0a16
RD
2676 PyErr_SetString(PyExc_TypeError,"null reference");
2677 SWIG_fail;
2678 }
2679 arg3 = (double) SWIG_AsDouble(obj2);
2680 if (PyErr_Occurred()) SWIG_fail;
2681 arg4 = (double) SWIG_AsDouble(obj3);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 arg5 = (double) SWIG_AsDouble(obj4);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 arg6 = (double) SWIG_AsDouble(obj5);
2686 if (PyErr_Occurred()) SWIG_fail;
44127b65 2687 if (obj6) {
2f4c0a16
RD
2688 arg7 = (bool) SWIG_AsBool(obj6);
2689 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2690 }
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
fbc46b20
RD
2698 {
2699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2700 }
44127b65
RD
2701 return resultobj;
2702 fail:
2703 return NULL;
2704}
2705
2706
a95a7133 2707static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2708 PyObject *resultobj;
2709 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2710 wxDC *arg2 = 0 ;
2711 double arg3 ;
2712 double arg4 ;
2713 double arg5 ;
2714 double arg6 ;
2715 bool arg7 = (bool) True ;
2716 PyObject * obj0 = 0 ;
2717 PyObject * obj1 = 0 ;
8edf1c75
RD
2718 PyObject * obj2 = 0 ;
2719 PyObject * obj3 = 0 ;
2720 PyObject * obj4 = 0 ;
2721 PyObject * obj5 = 0 ;
44127b65
RD
2722 PyObject * obj6 = 0 ;
2723 char *kwnames[] = {
2724 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2725 };
2726
8edf1c75 2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
2728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2731 SWIG_POINTER_EXCEPTION | 0)) == -1)
2732 SWIG_fail;
44127b65 2733 if (arg2 == NULL) {
2f4c0a16
RD
2734 PyErr_SetString(PyExc_TypeError,"null reference");
2735 SWIG_fail;
2736 }
2737 arg3 = (double) SWIG_AsDouble(obj2);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 arg4 = (double) SWIG_AsDouble(obj3);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 arg5 = (double) SWIG_AsDouble(obj4);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 arg6 = (double) SWIG_AsDouble(obj5);
2744 if (PyErr_Occurred()) SWIG_fail;
44127b65 2745 if (obj6) {
2f4c0a16
RD
2746 arg7 = (bool) SWIG_AsBool(obj6);
2747 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2748 }
2749 {
2750 PyThreadState* __tstate = wxPyBeginAllowThreads();
2751 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2752
2753 wxPyEndAllowThreads(__tstate);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
2756 Py_INCREF(Py_None); resultobj = Py_None;
2757 return resultobj;
2758 fail:
2759 return NULL;
2760}
2761
2762
a95a7133 2763static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2764 PyObject *resultobj;
2765 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2766 bool arg2 ;
2767 double arg3 ;
2768 double arg4 ;
2769 int arg5 = (int) 0 ;
2770 int arg6 = (int) 0 ;
2771 PyObject * obj0 = 0 ;
2772 PyObject * obj1 = 0 ;
8edf1c75
RD
2773 PyObject * obj2 = 0 ;
2774 PyObject * obj3 = 0 ;
2775 PyObject * obj4 = 0 ;
2776 PyObject * obj5 = 0 ;
44127b65
RD
2777 char *kwnames[] = {
2778 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2779 };
2780
8edf1c75 2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
2782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2784 arg2 = (bool) SWIG_AsBool(obj1);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 arg3 = (double) SWIG_AsDouble(obj2);
2787 if (PyErr_Occurred()) SWIG_fail;
2788 arg4 = (double) SWIG_AsDouble(obj3);
2789 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2790 if (obj4) {
2f4c0a16
RD
2791 arg5 = (int) SWIG_AsInt(obj4);
2792 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2793 }
2794 if (obj5) {
2f4c0a16
RD
2795 arg6 = (int) SWIG_AsInt(obj5);
2796 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2797 }
44127b65
RD
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 Py_INCREF(Py_None); resultobj = Py_None;
2806 return resultobj;
2807 fail:
2808 return NULL;
2809}
2810
2811
a95a7133 2812static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2813 PyObject *resultobj;
2814 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2815 double arg2 ;
2816 double arg3 ;
2817 int arg4 = (int) 0 ;
2818 int arg5 = (int) 0 ;
2819 PyObject * obj0 = 0 ;
8edf1c75
RD
2820 PyObject * obj1 = 0 ;
2821 PyObject * obj2 = 0 ;
2822 PyObject * obj3 = 0 ;
2823 PyObject * obj4 = 0 ;
44127b65
RD
2824 char *kwnames[] = {
2825 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2826 };
2827
8edf1c75 2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2831 arg2 = (double) SWIG_AsDouble(obj1);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 arg3 = (double) SWIG_AsDouble(obj2);
2834 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2835 if (obj3) {
2f4c0a16
RD
2836 arg4 = (int) SWIG_AsInt(obj3);
2837 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2838 }
2839 if (obj4) {
2f4c0a16
RD
2840 arg5 = (int) SWIG_AsInt(obj4);
2841 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2842 }
44127b65
RD
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 Py_INCREF(Py_None); resultobj = Py_None;
2851 return resultobj;
2852 fail:
2853 return NULL;
2854}
2855
2856
a95a7133 2857static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2858 PyObject *resultobj;
2859 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2860 double arg2 ;
2861 double arg3 ;
2862 int arg4 = (int) 0 ;
2863 int arg5 = (int) 0 ;
2864 PyObject * obj0 = 0 ;
8edf1c75
RD
2865 PyObject * obj1 = 0 ;
2866 PyObject * obj2 = 0 ;
2867 PyObject * obj3 = 0 ;
2868 PyObject * obj4 = 0 ;
44127b65
RD
2869 char *kwnames[] = {
2870 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2871 };
2872
8edf1c75 2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2876 arg2 = (double) SWIG_AsDouble(obj1);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 arg3 = (double) SWIG_AsDouble(obj2);
2879 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2880 if (obj3) {
2f4c0a16
RD
2881 arg4 = (int) SWIG_AsInt(obj3);
2882 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2883 }
2884 if (obj4) {
2f4c0a16
RD
2885 arg5 = (int) SWIG_AsInt(obj4);
2886 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2887 }
44127b65
RD
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 Py_INCREF(Py_None); resultobj = Py_None;
2896 return resultobj;
2897 fail:
2898 return NULL;
2899}
2900
2901
a95a7133 2902static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2903 PyObject *resultobj;
2904 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2905 bool arg2 ;
2906 double arg3 ;
2907 double arg4 ;
2908 int arg5 = (int) 0 ;
2909 int arg6 = (int) 0 ;
2910 PyObject * obj0 = 0 ;
2911 PyObject * obj1 = 0 ;
8edf1c75
RD
2912 PyObject * obj2 = 0 ;
2913 PyObject * obj3 = 0 ;
2914 PyObject * obj4 = 0 ;
2915 PyObject * obj5 = 0 ;
44127b65
RD
2916 char *kwnames[] = {
2917 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2918 };
2919
8edf1c75 2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
2921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2923 arg2 = (bool) SWIG_AsBool(obj1);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 arg3 = (double) SWIG_AsDouble(obj2);
2926 if (PyErr_Occurred()) SWIG_fail;
2927 arg4 = (double) SWIG_AsDouble(obj3);
2928 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2929 if (obj4) {
2f4c0a16
RD
2930 arg5 = (int) SWIG_AsInt(obj4);
2931 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2932 }
2933 if (obj5) {
2f4c0a16
RD
2934 arg6 = (int) SWIG_AsInt(obj5);
2935 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2936 }
44127b65
RD
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 Py_INCREF(Py_None); resultobj = Py_None;
2945 return resultobj;
2946 fail:
2947 return NULL;
2948}
2949
2950
a95a7133 2951static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2952 PyObject *resultobj;
2953 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2954 double arg2 ;
2955 double arg3 ;
2956 int arg4 = (int) 0 ;
2957 int arg5 = (int) 0 ;
2958 PyObject * obj0 = 0 ;
8edf1c75
RD
2959 PyObject * obj1 = 0 ;
2960 PyObject * obj2 = 0 ;
2961 PyObject * obj3 = 0 ;
2962 PyObject * obj4 = 0 ;
44127b65
RD
2963 char *kwnames[] = {
2964 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2965 };
2966
8edf1c75 2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2970 arg2 = (double) SWIG_AsDouble(obj1);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 arg3 = (double) SWIG_AsDouble(obj2);
2973 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2974 if (obj3) {
2f4c0a16
RD
2975 arg4 = (int) SWIG_AsInt(obj3);
2976 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2977 }
2978 if (obj4) {
2f4c0a16
RD
2979 arg5 = (int) SWIG_AsInt(obj4);
2980 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2981 }
44127b65
RD
2982 {
2983 PyThreadState* __tstate = wxPyBeginAllowThreads();
2984 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2985
2986 wxPyEndAllowThreads(__tstate);
2987 if (PyErr_Occurred()) SWIG_fail;
2988 }
2989 Py_INCREF(Py_None); resultobj = Py_None;
2990 return resultobj;
2991 fail:
2992 return NULL;
2993}
2994
2995
a95a7133 2996static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2997 PyObject *resultobj;
2998 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2999 double arg2 ;
3000 double arg3 ;
3001 int arg4 = (int) 0 ;
3002 int arg5 = (int) 0 ;
3003 PyObject * obj0 = 0 ;
8edf1c75
RD
3004 PyObject * obj1 = 0 ;
3005 PyObject * obj2 = 0 ;
3006 PyObject * obj3 = 0 ;
3007 PyObject * obj4 = 0 ;
44127b65
RD
3008 char *kwnames[] = {
3009 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3010 };
3011
8edf1c75 3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3015 arg2 = (double) SWIG_AsDouble(obj1);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 arg3 = (double) SWIG_AsDouble(obj2);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 if (obj3) {
3020 arg4 = (int) SWIG_AsInt(obj3);
8edf1c75
RD
3021 if (PyErr_Occurred()) SWIG_fail;
3022 }
2f4c0a16
RD
3023 if (obj4) {
3024 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
44127b65
RD
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 Py_INCREF(Py_None); resultobj = Py_None;
3035 return resultobj;
3036 fail:
3037 return NULL;
3038}
3039
3040
a95a7133 3041static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3042 PyObject *resultobj;
3043 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3044 wxDC *arg2 = 0 ;
3045 double arg3 ;
3046 double arg4 ;
3047 double arg5 ;
3048 double arg6 ;
3049 PyObject * obj0 = 0 ;
3050 PyObject * obj1 = 0 ;
8edf1c75
RD
3051 PyObject * obj2 = 0 ;
3052 PyObject * obj3 = 0 ;
3053 PyObject * obj4 = 0 ;
3054 PyObject * obj5 = 0 ;
44127b65
RD
3055 char *kwnames[] = {
3056 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3057 };
3058
8edf1c75 3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3063 SWIG_POINTER_EXCEPTION | 0)) == -1)
3064 SWIG_fail;
44127b65 3065 if (arg2 == NULL) {
2f4c0a16
RD
3066 PyErr_SetString(PyExc_TypeError,"null reference");
3067 SWIG_fail;
8edf1c75 3068 }
2f4c0a16
RD
3069 arg3 = (double) SWIG_AsDouble(obj2);
3070 if (PyErr_Occurred()) SWIG_fail;
3071 arg4 = (double) SWIG_AsDouble(obj3);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 arg5 = (double) SWIG_AsDouble(obj4);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 arg6 = (double) SWIG_AsDouble(obj5);
3076 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 Py_INCREF(Py_None); resultobj = Py_None;
3085 return resultobj;
3086 fail:
3087 return NULL;
3088}
3089
3090
a95a7133 3091static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3092 PyObject *resultobj;
3093 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3094 wxDC *arg2 = 0 ;
3095 PyObject * obj0 = 0 ;
3096 PyObject * obj1 = 0 ;
3097 char *kwnames[] = {
3098 (char *) "self",(char *) "dc", NULL
3099 };
3100
3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3105 SWIG_POINTER_EXCEPTION | 0)) == -1)
3106 SWIG_fail;
44127b65 3107 if (arg2 == NULL) {
2f4c0a16
RD
3108 PyErr_SetString(PyExc_TypeError,"null reference");
3109 SWIG_fail;
44127b65
RD
3110 }
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 (arg1)->base_OnDrawControlPoints(*arg2);
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 Py_INCREF(Py_None); resultobj = Py_None;
3119 return resultobj;
3120 fail:
3121 return NULL;
3122}
3123
3124
a95a7133 3125static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3126 PyObject *resultobj;
3127 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3128 wxDC *arg2 = 0 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self",(char *) "dc", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3139 SWIG_POINTER_EXCEPTION | 0)) == -1)
3140 SWIG_fail;
44127b65 3141 if (arg2 == NULL) {
2f4c0a16
RD
3142 PyErr_SetString(PyExc_TypeError,"null reference");
3143 SWIG_fail;
44127b65
RD
3144 }
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 (arg1)->base_OnEraseControlPoints(*arg2);
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 Py_INCREF(Py_None); resultobj = Py_None;
3153 return resultobj;
3154 fail:
3155 return NULL;
3156}
3157
3158
a95a7133 3159static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3160 PyObject *resultobj;
3161 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3162 wxDC *arg2 = 0 ;
3163 bool arg3 = (bool) True ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 PyObject * obj2 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3175 SWIG_POINTER_EXCEPTION | 0)) == -1)
3176 SWIG_fail;
44127b65 3177 if (arg2 == NULL) {
2f4c0a16
RD
3178 PyErr_SetString(PyExc_TypeError,"null reference");
3179 SWIG_fail;
44127b65
RD
3180 }
3181 if (obj2) {
2f4c0a16
RD
3182 arg3 = (bool) SWIG_AsBool(obj2);
3183 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 (arg1)->base_OnMoveLink(*arg2,arg3);
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 Py_INCREF(Py_None); resultobj = Py_None;
3193 return resultobj;
3194 fail:
3195 return NULL;
3196}
3197
3198
a95a7133 3199static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3200 PyObject *resultobj;
3201 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3202 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3203 bool arg3 ;
3204 double arg4 ;
3205 double arg5 ;
3206 int arg6 = (int) 0 ;
3207 int arg7 = (int) 0 ;
3208 PyObject * obj0 = 0 ;
3209 PyObject * obj1 = 0 ;
3210 PyObject * obj2 = 0 ;
8edf1c75
RD
3211 PyObject * obj3 = 0 ;
3212 PyObject * obj4 = 0 ;
3213 PyObject * obj5 = 0 ;
3214 PyObject * obj6 = 0 ;
44127b65
RD
3215 char *kwnames[] = {
3216 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3217 };
3218
8edf1c75 3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
3220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3224 arg3 = (bool) SWIG_AsBool(obj2);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 arg4 = (double) SWIG_AsDouble(obj3);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 arg5 = (double) SWIG_AsDouble(obj4);
3229 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3230 if (obj5) {
2f4c0a16
RD
3231 arg6 = (int) SWIG_AsInt(obj5);
3232 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3233 }
3234 if (obj6) {
2f4c0a16
RD
3235 arg7 = (int) SWIG_AsInt(obj6);
3236 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3237 }
44127b65
RD
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 Py_INCREF(Py_None); resultobj = Py_None;
3246 return resultobj;
3247 fail:
3248 return NULL;
3249}
3250
3251
a95a7133 3252static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3253 PyObject *resultobj;
3254 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3255 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3256 double arg3 ;
3257 double arg4 ;
3258 int arg5 = (int) 0 ;
3259 int arg6 = (int) 0 ;
3260 PyObject * obj0 = 0 ;
3261 PyObject * obj1 = 0 ;
8edf1c75
RD
3262 PyObject * obj2 = 0 ;
3263 PyObject * obj3 = 0 ;
3264 PyObject * obj4 = 0 ;
3265 PyObject * obj5 = 0 ;
44127b65
RD
3266 char *kwnames[] = {
3267 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3268 };
3269
8edf1c75 3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3275 arg3 = (double) SWIG_AsDouble(obj2);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 arg4 = (double) SWIG_AsDouble(obj3);
3278 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3279 if (obj4) {
2f4c0a16
RD
3280 arg5 = (int) SWIG_AsInt(obj4);
3281 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3282 }
3283 if (obj5) {
2f4c0a16
RD
3284 arg6 = (int) SWIG_AsInt(obj5);
3285 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3286 }
44127b65
RD
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 Py_INCREF(Py_None); resultobj = Py_None;
3295 return resultobj;
3296 fail:
3297 return NULL;
3298}
3299
3300
a95a7133 3301static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3302 PyObject *resultobj;
3303 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3304 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3305 double arg3 ;
3306 double arg4 ;
3307 int arg5 = (int) 0 ;
3308 int arg6 = (int) 0 ;
3309 PyObject * obj0 = 0 ;
3310 PyObject * obj1 = 0 ;
8edf1c75
RD
3311 PyObject * obj2 = 0 ;
3312 PyObject * obj3 = 0 ;
3313 PyObject * obj4 = 0 ;
3314 PyObject * obj5 = 0 ;
44127b65
RD
3315 char *kwnames[] = {
3316 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3317 };
3318
8edf1c75 3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3324 arg3 = (double) SWIG_AsDouble(obj2);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 arg4 = (double) SWIG_AsDouble(obj3);
3327 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3328 if (obj4) {
2f4c0a16
RD
3329 arg5 = (int) SWIG_AsInt(obj4);
3330 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3331 }
3332 if (obj5) {
2f4c0a16
RD
3333 arg6 = (int) SWIG_AsInt(obj5);
3334 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3335 }
44127b65
RD
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 Py_INCREF(Py_None); resultobj = Py_None;
3344 return resultobj;
3345 fail:
3346 return NULL;
3347}
3348
3349
a95a7133 3350static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3351 PyObject *resultobj;
3352 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3353 double arg2 ;
3354 double arg3 ;
3355 PyObject * obj0 = 0 ;
8edf1c75
RD
3356 PyObject * obj1 = 0 ;
3357 PyObject * obj2 = 0 ;
44127b65
RD
3358 char *kwnames[] = {
3359 (char *) "self",(char *) "w",(char *) "h", NULL
3360 };
3361
8edf1c75 3362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3365 arg2 = (double) SWIG_AsDouble(obj1);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 arg3 = (double) SWIG_AsDouble(obj2);
3368 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 (arg1)->base_OnBeginSize(arg2,arg3);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 Py_INCREF(Py_None); resultobj = Py_None;
3377 return resultobj;
3378 fail:
3379 return NULL;
3380}
3381
3382
a95a7133 3383static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3384 PyObject *resultobj;
3385 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3386 double arg2 ;
3387 double arg3 ;
3388 PyObject * obj0 = 0 ;
8edf1c75
RD
3389 PyObject * obj1 = 0 ;
3390 PyObject * obj2 = 0 ;
44127b65
RD
3391 char *kwnames[] = {
3392 (char *) "self",(char *) "w",(char *) "h", NULL
3393 };
3394
8edf1c75 3395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3398 arg2 = (double) SWIG_AsDouble(obj1);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 arg3 = (double) SWIG_AsDouble(obj2);
3401 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 (arg1)->base_OnEndSize(arg2,arg3);
3405
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 Py_INCREF(Py_None); resultobj = Py_None;
3410 return resultobj;
3411 fail:
3412 return NULL;
3413}
3414
3415
a95a7133 3416static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
3417 PyObject *obj;
3418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3419 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3420 Py_INCREF(obj);
3421 return Py_BuildValue((char *)"");
3422}
a95a7133 3423static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3424 PyObject *resultobj;
3425 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3426 wxPyShape *result;
3427 PyObject * obj0 = 0 ;
3428 char *kwnames[] = {
3429 (char *) "can", NULL
3430 };
3431
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3433 if (obj0) {
2f4c0a16
RD
3434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
3435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3436 }
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 result = (wxPyShape *)new wxPyShape(arg1);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 {
3445 resultobj = wxPyMake_wxShapeEvtHandler(result);
3446 }
3447 return resultobj;
3448 fail:
3449 return NULL;
3450}
3451
3452
a95a7133 3453static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3454 PyObject *resultobj;
3455 wxPyShape *arg1 = (wxPyShape *) 0 ;
3456 PyObject *arg2 = (PyObject *) 0 ;
3457 PyObject *arg3 = (PyObject *) 0 ;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 PyObject * obj2 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "self",(char *) "_class", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3468 arg2 = obj1;
3469 arg3 = obj2;
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->_setCallbackInfo(arg2,arg3);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 Py_INCREF(Py_None); resultobj = Py_None;
3478 return resultobj;
3479 fail:
3480 return NULL;
3481}
3482
3483
a95a7133 3484static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3485 PyObject *resultobj;
3486 wxPyShape *arg1 = (wxPyShape *) 0 ;
3487 double *arg2 = (double *) 0 ;
3488 double *arg3 = (double *) 0 ;
3489 double temp2 ;
3490 double temp3 ;
3491 PyObject * obj0 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self", NULL
3494 };
3495
3496 arg2 = &temp2;
3497 arg3 = &temp3;
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 (arg1)->GetBoundingBoxMax(arg2,arg3);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 Py_INCREF(Py_None); resultobj = Py_None;
3509 {
3510 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3511 resultobj = t_output_helper(resultobj,o);
3512 }
3513 {
3514 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3515 resultobj = t_output_helper(resultobj,o);
3516 }
3517 return resultobj;
3518 fail:
3519 return NULL;
3520}
3521
3522
a95a7133 3523static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3524 PyObject *resultobj;
3525 wxPyShape *arg1 = (wxPyShape *) 0 ;
3526 double *arg2 = (double *) 0 ;
3527 double *arg3 = (double *) 0 ;
3528 double temp2 ;
3529 double temp3 ;
3530 PyObject * obj0 = 0 ;
3531 char *kwnames[] = {
3532 (char *) "self", NULL
3533 };
3534
3535 arg2 = &temp2;
3536 arg3 = &temp3;
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 (arg1)->GetBoundingBoxMin(arg2,arg3);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 Py_INCREF(Py_None); resultobj = Py_None;
3548 {
3549 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3550 resultobj = t_output_helper(resultobj,o);
3551 }
3552 {
3553 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3554 resultobj = t_output_helper(resultobj,o);
3555 }
3556 return resultobj;
3557 fail:
3558 return NULL;
3559}
3560
3561
a95a7133 3562static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3563 PyObject *resultobj;
3564 wxPyShape *arg1 = (wxPyShape *) 0 ;
3565 double arg2 ;
3566 double arg3 ;
3567 double arg4 ;
3568 double arg5 ;
3569 double *arg6 = (double *) 0 ;
3570 double *arg7 = (double *) 0 ;
3571 bool result;
3572 double temp6 ;
3573 double temp7 ;
3574 PyObject * obj0 = 0 ;
8edf1c75
RD
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
44127b65
RD
3581 };
3582
3583 arg6 = &temp6;
3584 arg7 = &temp7;
8edf1c75 3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3588 arg2 = (double) SWIG_AsDouble(obj1);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 arg3 = (double) SWIG_AsDouble(obj2);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 arg4 = (double) SWIG_AsDouble(obj3);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 arg5 = (double) SWIG_AsDouble(obj4);
3595 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
fbc46b20
RD
3603 {
3604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3605 }
44127b65
RD
3606 {
3607 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3608 resultobj = t_output_helper(resultobj,o);
3609 }
3610 {
3611 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3612 resultobj = t_output_helper(resultobj,o);
3613 }
3614 return resultobj;
3615 fail:
3616 return NULL;
3617}
3618
3619
a95a7133 3620static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3621 PyObject *resultobj;
3622 wxPyShape *arg1 = (wxPyShape *) 0 ;
3623 wxPyShapeCanvas *result;
3624 PyObject * obj0 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 resultobj = wxPyMake_wxObject(result);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645}
3646
3647
a95a7133 3648static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3649 PyObject *resultobj;
3650 wxPyShape *arg1 = (wxPyShape *) 0 ;
3651 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3652 PyObject * obj0 = 0 ;
3653 PyObject * obj1 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "the_canvas", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 (arg1)->SetCanvas(arg2);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 return resultobj;
3672 fail:
3673 return NULL;
3674}
3675
3676
a95a7133 3677static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3678 PyObject *resultobj;
3679 wxPyShape *arg1 = (wxPyShape *) 0 ;
3680 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3681 wxPyShape *arg3 = (wxPyShape *) NULL ;
3682 PyObject * obj0 = 0 ;
3683 PyObject * obj1 = 0 ;
3684 PyObject * obj2 = 0 ;
3685 char *kwnames[] = {
3686 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3687 };
3688
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 3694 if (obj2) {
2f4c0a16
RD
3695 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
3696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3697 }
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 (arg1)->AddToCanvas(arg2,arg3);
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 Py_INCREF(Py_None); resultobj = Py_None;
3706 return resultobj;
3707 fail:
3708 return NULL;
3709}
3710
3711
a95a7133 3712static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3713 PyObject *resultobj;
3714 wxPyShape *arg1 = (wxPyShape *) 0 ;
3715 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "the_canvas", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 (arg1)->InsertInCanvas(arg2);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 Py_INCREF(Py_None); resultobj = Py_None;
3735 return resultobj;
3736 fail:
3737 return NULL;
3738}
3739
3740
a95a7133 3741static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3742 PyObject *resultobj;
3743 wxPyShape *arg1 = (wxPyShape *) 0 ;
3744 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3745 PyObject * obj0 = 0 ;
3746 PyObject * obj1 = 0 ;
3747 char *kwnames[] = {
3748 (char *) "self",(char *) "the_canvas", NULL
3749 };
3750
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3756 {
3757 PyThreadState* __tstate = wxPyBeginAllowThreads();
3758 (arg1)->RemoveFromCanvas(arg2);
3759
3760 wxPyEndAllowThreads(__tstate);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 }
3763 Py_INCREF(Py_None); resultobj = Py_None;
3764 return resultobj;
3765 fail:
3766 return NULL;
3767}
3768
3769
a95a7133 3770static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3771 PyObject *resultobj;
3772 wxPyShape *arg1 = (wxPyShape *) 0 ;
3773 double result;
3774 PyObject * obj0 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "self", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = (double)(arg1)->GetX();
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
2f4c0a16 3789 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
3790 return resultobj;
3791 fail:
3792 return NULL;
3793}
3794
3795
a95a7133 3796static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3797 PyObject *resultobj;
3798 wxPyShape *arg1 = (wxPyShape *) 0 ;
3799 double result;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 result = (double)(arg1)->GetY();
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
2f4c0a16 3815 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
3816 return resultobj;
3817 fail:
3818 return NULL;
3819}
3820
3821
a95a7133 3822static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3823 PyObject *resultobj;
3824 wxPyShape *arg1 = (wxPyShape *) 0 ;
3825 double arg2 ;
3826 PyObject * obj0 = 0 ;
8edf1c75 3827 PyObject * obj1 = 0 ;
44127b65
RD
3828 char *kwnames[] = {
3829 (char *) "self",(char *) "x", NULL
3830 };
3831
8edf1c75 3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3835 arg2 = (double) SWIG_AsDouble(obj1);
3836 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 (arg1)->SetX(arg2);
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 Py_INCREF(Py_None); resultobj = Py_None;
3845 return resultobj;
3846 fail:
3847 return NULL;
3848}
3849
3850
a95a7133 3851static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3852 PyObject *resultobj;
3853 wxPyShape *arg1 = (wxPyShape *) 0 ;
3854 double arg2 ;
3855 PyObject * obj0 = 0 ;
8edf1c75 3856 PyObject * obj1 = 0 ;
44127b65
RD
3857 char *kwnames[] = {
3858 (char *) "self",(char *) "y", NULL
3859 };
3860
8edf1c75 3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3864 arg2 = (double) SWIG_AsDouble(obj1);
3865 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 (arg1)->SetY(arg2);
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 Py_INCREF(Py_None); resultobj = Py_None;
3874 return resultobj;
3875 fail:
3876 return NULL;
3877}
3878
3879
a95a7133 3880static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3881 PyObject *resultobj;
3882 wxPyShape *arg1 = (wxPyShape *) 0 ;
3883 wxPyShape *result;
3884 PyObject * obj0 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = (wxPyShape *)(arg1)->GetParent();
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 {
3900 resultobj = wxPyMake_wxShapeEvtHandler(result);
3901 }
3902 return resultobj;
3903 fail:
3904 return NULL;
3905}
3906
3907
a95a7133 3908static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3909 PyObject *resultobj;
3910 wxPyShape *arg1 = (wxPyShape *) 0 ;
3911 wxPyShape *arg2 = (wxPyShape *) 0 ;
3912 PyObject * obj0 = 0 ;
3913 PyObject * obj1 = 0 ;
3914 char *kwnames[] = {
3915 (char *) "self",(char *) "p", NULL
3916 };
3917
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
3922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 (arg1)->SetParent(arg2);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 Py_INCREF(Py_None); resultobj = Py_None;
3931 return resultobj;
3932 fail:
3933 return NULL;
3934}
3935
3936
a95a7133 3937static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3938 PyObject *resultobj;
3939 wxPyShape *arg1 = (wxPyShape *) 0 ;
3940 wxPyShape *result;
3941 PyObject * obj0 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (wxPyShape *)(arg1)->GetTopAncestor();
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 {
3957 resultobj = wxPyMake_wxShapeEvtHandler(result);
3958 }
3959 return resultobj;
3960 fail:
3961 return NULL;
3962}
3963
3964
a95a7133 3965static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3966 PyObject *resultobj;
3967 wxPyShape *arg1 = (wxPyShape *) 0 ;
3968 PyObject *result;
3969 PyObject * obj0 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self", NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (PyObject *)wxPyShape_GetChildren(arg1);
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = result;
3985 return resultobj;
3986 fail:
3987 return NULL;
3988}
3989
3990
a95a7133 3991static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3992 PyObject *resultobj;
3993 wxPyShape *arg1 = (wxPyShape *) 0 ;
3994 PyObject * obj0 = 0 ;
3995 char *kwnames[] = {
3996 (char *) "self", NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 (arg1)->Unlink();
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 }
4009 Py_INCREF(Py_None); resultobj = Py_None;
4010 return resultobj;
4011 fail:
4012 return NULL;
4013}
4014
4015
a95a7133 4016static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4017 PyObject *resultobj;
4018 wxPyShape *arg1 = (wxPyShape *) 0 ;
4019 bool arg2 ;
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj1 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "self",(char *) "drawH", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4029 arg2 = (bool) SWIG_AsBool(obj1);
4030 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 (arg1)->SetDrawHandles(arg2);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 Py_INCREF(Py_None); resultobj = Py_None;
4039 return resultobj;
4040 fail:
4041 return NULL;
4042}
4043
4044
a95a7133 4045static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4046 PyObject *resultobj;
4047 wxPyShape *arg1 = (wxPyShape *) 0 ;
4048 bool result;
4049 PyObject * obj0 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "self", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 result = (bool)(arg1)->GetDrawHandles();
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
fbc46b20
RD
4064 {
4065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4066 }
44127b65
RD
4067 return resultobj;
4068 fail:
4069 return NULL;
4070}
4071
4072
a95a7133 4073static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4074 PyObject *resultobj;
4075 wxPyShape *arg1 = (wxPyShape *) 0 ;
4076 PyObject * obj0 = 0 ;
4077 char *kwnames[] = {
4078 (char *) "self", NULL
4079 };
4080
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 (arg1)->MakeControlPoints();
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 Py_INCREF(Py_None); resultobj = Py_None;
4092 return resultobj;
4093 fail:
4094 return NULL;
4095}
4096
4097
a95a7133 4098static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4099 PyObject *resultobj;
4100 wxPyShape *arg1 = (wxPyShape *) 0 ;
4101 wxDC *arg2 = (wxDC *) NULL ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 char *kwnames[] = {
4105 (char *) "self",(char *) "dc", NULL
4106 };
4107
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4111 if (obj1) {
2f4c0a16
RD
4112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4114 }
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 (arg1)->DeleteControlPoints(arg2);
4118
4119 wxPyEndAllowThreads(__tstate);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 Py_INCREF(Py_None); resultobj = Py_None;
4123 return resultobj;
4124 fail:
4125 return NULL;
4126}
4127
4128
a95a7133 4129static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4130 PyObject *resultobj;
4131 wxPyShape *arg1 = (wxPyShape *) 0 ;
4132 PyObject * obj0 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 (arg1)->ResetControlPoints();
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 Py_INCREF(Py_None); resultobj = Py_None;
4148 return resultobj;
4149 fail:
4150 return NULL;
4151}
4152
4153
a95a7133 4154static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4155 PyObject *resultobj;
4156 wxPyShape *arg1 = (wxPyShape *) 0 ;
4157 wxPyShapeEvtHandler *result;
4158 PyObject * obj0 = 0 ;
4159 char *kwnames[] = {
4160 (char *) "self", NULL
4161 };
4162
4163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4166 {
4167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4168 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4169
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 {
4174 resultobj = wxPyMake_wxShapeEvtHandler(result);
4175 }
4176 return resultobj;
4177 fail:
4178 return NULL;
4179}
4180
4181
a95a7133 4182static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4183 PyObject *resultobj;
4184 wxPyShape *arg1 = (wxPyShape *) 0 ;
4185 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4186 PyObject * obj0 = 0 ;
4187 PyObject * obj1 = 0 ;
4188 char *kwnames[] = {
4189 (char *) "self",(char *) "handler", NULL
4190 };
4191
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
4196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 (arg1)->SetEventHandler(arg2);
4200
4201 wxPyEndAllowThreads(__tstate);
4202 if (PyErr_Occurred()) SWIG_fail;
4203 }
4204 Py_INCREF(Py_None); resultobj = Py_None;
4205 return resultobj;
4206 fail:
4207 return NULL;
4208}
4209
4210
a95a7133 4211static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4212 PyObject *resultobj;
4213 wxPyShape *arg1 = (wxPyShape *) 0 ;
4214 PyObject * obj0 = 0 ;
4215 char *kwnames[] = {
4216 (char *) "self", NULL
4217 };
4218
4219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 (arg1)->MakeMandatoryControlPoints();
4225
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 Py_INCREF(Py_None); resultobj = Py_None;
4230 return resultobj;
4231 fail:
4232 return NULL;
4233}
4234
4235
a95a7133 4236static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4237 PyObject *resultobj;
4238 wxPyShape *arg1 = (wxPyShape *) 0 ;
4239 PyObject * obj0 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->ResetMandatoryControlPoints();
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258}
4259
4260
a95a7133 4261static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4262 PyObject *resultobj;
4263 wxPyShape *arg1 = (wxPyShape *) 0 ;
4264 bool result;
4265 PyObject * obj0 = 0 ;
4266 char *kwnames[] = {
4267 (char *) "self", NULL
4268 };
4269
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = (bool)(arg1)->Recompute();
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
fbc46b20
RD
4280 {
4281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4282 }
44127b65
RD
4283 return resultobj;
4284 fail:
4285 return NULL;
4286}
4287
4288
a95a7133 4289static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4290 PyObject *resultobj;
4291 wxPyShape *arg1 = (wxPyShape *) 0 ;
4292 PyObject * obj0 = 0 ;
4293 char *kwnames[] = {
4294 (char *) "self", NULL
4295 };
4296
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
4302 (arg1)->CalculateSize();
4303
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 Py_INCREF(Py_None); resultobj = Py_None;
4308 return resultobj;
4309 fail:
4310 return NULL;
4311}
4312
4313
a95a7133 4314static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4315 PyObject *resultobj;
4316 wxPyShape *arg1 = (wxPyShape *) 0 ;
4317 bool arg2 = (bool) True ;
4318 wxDC *arg3 = (wxDC *) NULL ;
4319 PyObject * obj0 = 0 ;
4320 PyObject * obj1 = 0 ;
4321 PyObject * obj2 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "self",(char *) "select",(char *) "dc", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4329 if (obj1) {
2f4c0a16
RD
4330 arg2 = (bool) SWIG_AsBool(obj1);
4331 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4332 }
4333 if (obj2) {
2f4c0a16
RD
4334 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
4335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 (arg1)->Select(arg2,arg3);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 Py_INCREF(Py_None); resultobj = Py_None;
4345 return resultobj;
4346 fail:
4347 return NULL;
4348}
4349
4350
a95a7133 4351static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4352 PyObject *resultobj;
4353 wxPyShape *arg1 = (wxPyShape *) 0 ;
4354 bool arg2 = (bool) True ;
4355 bool arg3 = (bool) False ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 char *kwnames[] = {
4360 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4361 };
4362
4363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4366 if (obj1) {
2f4c0a16
RD
4367 arg2 = (bool) SWIG_AsBool(obj1);
4368 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4369 }
4370 if (obj2) {
2f4c0a16
RD
4371 arg3 = (bool) SWIG_AsBool(obj2);
4372 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4373 }
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 (arg1)->SetHighlight(arg2,arg3);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 Py_INCREF(Py_None); resultobj = Py_None;
4382 return resultobj;
4383 fail:
4384 return NULL;
4385}
4386
4387
a95a7133 4388static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4389 PyObject *resultobj;
4390 wxPyShape *arg1 = (wxPyShape *) 0 ;
4391 bool result;
4392 PyObject * obj0 = 0 ;
4393 char *kwnames[] = {
4394 (char *) "self", NULL
4395 };
4396
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (bool)(arg1)->IsHighlighted();
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
fbc46b20
RD
4407 {
4408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4409 }
44127b65
RD
4410 return resultobj;
4411 fail:
4412 return NULL;
4413}
4414
4415
a95a7133 4416static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4417 PyObject *resultobj;
4418 wxPyShape *arg1 = (wxPyShape *) 0 ;
4419 bool result;
4420 PyObject * obj0 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "self", NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (bool)(arg1)->Selected();
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
fbc46b20
RD
4435 {
4436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4437 }
44127b65
RD
4438 return resultobj;
4439 fail:
4440 return NULL;
4441}
4442
4443
a95a7133 4444static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4445 PyObject *resultobj;
4446 wxPyShape *arg1 = (wxPyShape *) 0 ;
4447 bool result;
4448 PyObject * obj0 = 0 ;
4449 char *kwnames[] = {
4450 (char *) "self", NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 result = (bool)(arg1)->AncestorSelected();
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
fbc46b20
RD
4463 {
4464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4465 }
44127b65
RD
4466 return resultobj;
4467 fail:
4468 return NULL;
4469}
4470
4471
a95a7133 4472static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4473 PyObject *resultobj;
4474 wxPyShape *arg1 = (wxPyShape *) 0 ;
4475 int arg2 = (int) OP_ALL ;
4476 bool arg3 = (bool) False ;
4477 PyObject * obj0 = 0 ;
8edf1c75 4478 PyObject * obj1 = 0 ;
44127b65
RD
4479 PyObject * obj2 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4482 };
4483
8edf1c75 4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4487 if (obj1) {
2f4c0a16
RD
4488 arg2 = (int) SWIG_AsInt(obj1);
4489 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4490 }
44127b65 4491 if (obj2) {
2f4c0a16
RD
4492 arg3 = (bool) SWIG_AsBool(obj2);
4493 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4494 }
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 (arg1)->SetSensitivityFilter(arg2,arg3);
4498
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 Py_INCREF(Py_None); resultobj = Py_None;
4503 return resultobj;
4504 fail:
4505 return NULL;
4506}
4507
4508
a95a7133 4509static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4510 PyObject *resultobj;
4511 wxPyShape *arg1 = (wxPyShape *) 0 ;
4512 int result;
4513 PyObject * obj0 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "self", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 result = (int)(arg1)->GetSensitivityFilter();
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
2f4c0a16 4528 resultobj = SWIG_FromInt((int)result);
44127b65
RD
4529 return resultobj;
4530 fail:
4531 return NULL;
4532}
4533
4534
a95a7133 4535static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4536 PyObject *resultobj;
4537 wxPyShape *arg1 = (wxPyShape *) 0 ;
4538 bool arg2 ;
4539 bool arg3 = (bool) False ;
4540 PyObject * obj0 = 0 ;
4541 PyObject * obj1 = 0 ;
4542 PyObject * obj2 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4550 arg2 = (bool) SWIG_AsBool(obj1);
4551 if (PyErr_Occurred()) SWIG_fail;
2dbef272 4552 if (obj2) {
2f4c0a16
RD
4553 arg3 = (bool) SWIG_AsBool(obj2);
4554 if (PyErr_Occurred()) SWIG_fail;
2dbef272 4555 }
44127b65
RD
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 (arg1)->SetDraggable(arg2,arg3);
4559
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4563 Py_INCREF(Py_None); resultobj = Py_None;
4564 return resultobj;
4565 fail:
4566 return NULL;
4567}
4568
4569
a95a7133 4570static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4571 PyObject *resultobj;
4572 wxPyShape *arg1 = (wxPyShape *) 0 ;
4573 bool arg2 ;
4574 bool arg3 ;
4575 PyObject * obj0 = 0 ;
4576 PyObject * obj1 = 0 ;
4577 PyObject * obj2 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self",(char *) "x",(char *) "y", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4585 arg2 = (bool) SWIG_AsBool(obj1);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 arg3 = (bool) SWIG_AsBool(obj2);
4588 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 (arg1)->SetFixedSize(arg2,arg3);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600}
4601
4602
a95a7133 4603static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4604 PyObject *resultobj;
4605 wxPyShape *arg1 = (wxPyShape *) 0 ;
4606 bool *arg2 = (bool *) 0 ;
4607 bool *arg3 = (bool *) 0 ;
4608 bool temp2 ;
4609 bool temp3 ;
4610 PyObject * obj0 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "self", NULL
4613 };
4614
4615 arg2 = &temp2;
4616 arg3 = &temp3;
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 (arg1)->GetFixedSize(arg2,arg3);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 Py_INCREF(Py_None); resultobj = Py_None;
4628 {
4629 PyObject *o = PyInt_FromLong((long) (*arg2));
4630 resultobj = t_output_helper(resultobj,o);
4631 }
4632 {
4633 PyObject *o = PyInt_FromLong((long) (*arg3));
4634 resultobj = t_output_helper(resultobj,o);
4635 }
4636 return resultobj;
4637 fail:
4638 return NULL;
4639}
4640
4641
a95a7133 4642static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4643 PyObject *resultobj;
4644 wxPyShape *arg1 = (wxPyShape *) 0 ;
4645 bool result;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self", NULL
4649 };
4650
4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = (bool)(arg1)->GetFixedWidth();
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
fbc46b20
RD
4661 {
4662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4663 }
44127b65
RD
4664 return resultobj;
4665 fail:
4666 return NULL;
4667}
4668
4669
a95a7133 4670static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4671 PyObject *resultobj;
4672 wxPyShape *arg1 = (wxPyShape *) 0 ;
4673 bool result;
4674 PyObject * obj0 = 0 ;
4675 char *kwnames[] = {
4676 (char *) "self", NULL
4677 };
4678
4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 result = (bool)(arg1)->GetFixedHeight();
4685
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
fbc46b20
RD
4689 {
4690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4691 }
44127b65
RD
4692 return resultobj;
4693 fail:
4694 return NULL;
4695}
4696
4697
a95a7133 4698static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4699 PyObject *resultobj;
4700 wxPyShape *arg1 = (wxPyShape *) 0 ;
4701 bool arg2 ;
4702 PyObject * obj0 = 0 ;
4703 PyObject * obj1 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "self",(char *) "sp", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4711 arg2 = (bool) SWIG_AsBool(obj1);
4712 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 (arg1)->SetSpaceAttachments(arg2);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 Py_INCREF(Py_None); resultobj = Py_None;
4721 return resultobj;
4722 fail:
4723 return NULL;
4724}
4725
4726
a95a7133 4727static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4728 PyObject *resultobj;
4729 wxPyShape *arg1 = (wxPyShape *) 0 ;
4730 bool result;
4731 PyObject * obj0 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 result = (bool)(arg1)->GetSpaceAttachments();
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
fbc46b20
RD
4746 {
4747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4748 }
44127b65
RD
4749 return resultobj;
4750 fail:
4751 return NULL;
4752}
4753
4754
a95a7133 4755static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4756 PyObject *resultobj;
4757 wxPyShape *arg1 = (wxPyShape *) 0 ;
4758 int arg2 ;
4759 bool arg3 = (bool) False ;
4760 PyObject * obj0 = 0 ;
8edf1c75 4761 PyObject * obj1 = 0 ;
44127b65
RD
4762 PyObject * obj2 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4765 };
4766
8edf1c75 4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4770 arg2 = (int) SWIG_AsInt(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
44127b65 4772 if (obj2) {
2f4c0a16
RD
4773 arg3 = (bool) SWIG_AsBool(obj2);
4774 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 (arg1)->SetShadowMode(arg2,arg3);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 Py_INCREF(Py_None); resultobj = Py_None;
4784 return resultobj;
4785 fail:
4786 return NULL;
4787}
4788
4789
a95a7133 4790static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4791 PyObject *resultobj;
4792 wxPyShape *arg1 = (wxPyShape *) 0 ;
4793 int result;
4794 PyObject * obj0 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 result = (int)(arg1)->GetShadowMode();
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
2f4c0a16 4809 resultobj = SWIG_FromInt((int)result);
44127b65
RD
4810 return resultobj;
4811 fail:
4812 return NULL;
4813}
4814
4815
a95a7133 4816static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4817 PyObject *resultobj;
4818 wxPyShape *arg1 = (wxPyShape *) 0 ;
4819 double arg2 ;
4820 double arg3 ;
4821 int *arg4 = (int *) 0 ;
4822 double *arg5 = (double *) 0 ;
4823 bool result;
4824 int temp4 ;
4825 double temp5 ;
4826 PyObject * obj0 = 0 ;
8edf1c75
RD
4827 PyObject * obj1 = 0 ;
4828 PyObject * obj2 = 0 ;
44127b65
RD
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "x",(char *) "y", NULL
4831 };
4832
4833 arg4 = &temp4;
4834 arg5 = &temp5;
8edf1c75 4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4838 arg2 = (double) SWIG_AsDouble(obj1);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 arg3 = (double) SWIG_AsDouble(obj2);
4841 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4845
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
fbc46b20
RD
4849 {
4850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4851 }
44127b65
RD
4852 {
4853 PyObject *o = PyInt_FromLong((long) (*arg4));
4854 resultobj = t_output_helper(resultobj,o);
4855 }
4856 {
4857 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4858 resultobj = t_output_helper(resultobj,o);
4859 }
4860 return resultobj;
4861 fail:
4862 return NULL;
4863}
4864
4865
a95a7133 4866static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4867 PyObject *resultobj;
4868 wxPyShape *arg1 = (wxPyShape *) 0 ;
4869 bool arg2 ;
4870 PyObject * obj0 = 0 ;
4871 PyObject * obj1 = 0 ;
4872 char *kwnames[] = {
4873 (char *) "self",(char *) "cr", NULL
4874 };
4875
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4879 arg2 = (bool) SWIG_AsBool(obj1);
4880 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 (arg1)->SetCentreResize(arg2);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 Py_INCREF(Py_None); resultobj = Py_None;
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
a95a7133 4895static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4896 PyObject *resultobj;
4897 wxPyShape *arg1 = (wxPyShape *) 0 ;
4898 bool result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = (bool)(arg1)->GetCentreResize();
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
fbc46b20
RD
4914 {
4915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4916 }
44127b65
RD
4917 return resultobj;
4918 fail:
4919 return NULL;
4920}
4921
4922
a95a7133 4923static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4924 PyObject *resultobj;
4925 wxPyShape *arg1 = (wxPyShape *) 0 ;
4926 bool arg2 ;
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self",(char *) "ar", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4936 arg2 = (bool) SWIG_AsBool(obj1);
4937 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->SetMaintainAspectRatio(arg2);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 Py_INCREF(Py_None); resultobj = Py_None;
4946 return resultobj;
4947 fail:
4948 return NULL;
4949}
4950
4951
a95a7133 4952static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4953 PyObject *resultobj;
4954 wxPyShape *arg1 = (wxPyShape *) 0 ;
4955 bool result;
4956 PyObject * obj0 = 0 ;
4957 char *kwnames[] = {
4958 (char *) "self", NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 result = (bool)(arg1)->GetMaintainAspectRatio();
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
fbc46b20
RD
4971 {
4972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4973 }
44127b65
RD
4974 return resultobj;
4975 fail:
4976 return NULL;
4977}
4978
4979
a95a7133 4980static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4981 PyObject *resultobj;
4982 wxPyShape *arg1 = (wxPyShape *) 0 ;
4983 PyObject *result;
4984 PyObject * obj0 = 0 ;
4985 char *kwnames[] = {
4986 (char *) "self", NULL
4987 };
4988
4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 result = (PyObject *)wxPyShape_GetLines(arg1);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 resultobj = result;
5000 return resultobj;
5001 fail:
5002 return NULL;
5003}
5004
5005
a95a7133 5006static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5007 PyObject *resultobj;
5008 wxPyShape *arg1 = (wxPyShape *) 0 ;
5009 bool arg2 ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self",(char *) "flag", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5019 arg2 = (bool) SWIG_AsBool(obj1);
5020 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5021 {
5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
5023 (arg1)->SetDisableLabel(arg2);
5024
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 Py_INCREF(Py_None); resultobj = Py_None;
5029 return resultobj;
5030 fail:
5031 return NULL;
5032}
5033
5034
a95a7133 5035static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5036 PyObject *resultobj;
5037 wxPyShape *arg1 = (wxPyShape *) 0 ;
5038 bool result;
5039 PyObject * obj0 = 0 ;
5040 char *kwnames[] = {
5041 (char *) "self", NULL
5042 };
5043
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (bool)(arg1)->GetDisableLabel();
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
fbc46b20
RD
5054 {
5055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5056 }
44127b65
RD
5057 return resultobj;
5058 fail:
5059 return NULL;
5060}
5061
5062
a95a7133 5063static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5064 PyObject *resultobj;
5065 wxPyShape *arg1 = (wxPyShape *) 0 ;
5066 int arg2 ;
5067 PyObject * obj0 = 0 ;
8edf1c75 5068 PyObject * obj1 = 0 ;
44127b65
RD
5069 char *kwnames[] = {
5070 (char *) "self",(char *) "mode", NULL
5071 };
5072
8edf1c75 5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5076 arg2 = (int) SWIG_AsInt(obj1);
5077 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 (arg1)->SetAttachmentMode(arg2);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 Py_INCREF(Py_None); resultobj = Py_None;
5086 return resultobj;
5087 fail:
5088 return NULL;
5089}
5090
5091
a95a7133 5092static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5093 PyObject *resultobj;
5094 wxPyShape *arg1 = (wxPyShape *) 0 ;
5095 int result;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (int)(arg1)->GetAttachmentMode();
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
2f4c0a16 5111 resultobj = SWIG_FromInt((int)result);
44127b65
RD
5112 return resultobj;
5113 fail:
5114 return NULL;
5115}
5116
5117
a95a7133 5118static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5119 PyObject *resultobj;
5120 wxPyShape *arg1 = (wxPyShape *) 0 ;
5121 long arg2 ;
5122 PyObject * obj0 = 0 ;
8edf1c75 5123 PyObject * obj1 = 0 ;
44127b65
RD
5124 char *kwnames[] = {
5125 (char *) "self",(char *) "i", NULL
5126 };
5127
8edf1c75 5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5131 arg2 = (long) SWIG_AsLong(obj1);
5132 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->SetId(arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 return resultobj;
5142 fail:
5143 return NULL;
5144}
5145
5146
a95a7133 5147static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5148 PyObject *resultobj;
5149 wxPyShape *arg1 = (wxPyShape *) 0 ;
5150 long result;
5151 PyObject * obj0 = 0 ;
5152 char *kwnames[] = {
5153 (char *) "self", NULL
5154 };
5155
5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 result = (long)(arg1)->GetId();
5162
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
2f4c0a16 5166 resultobj = SWIG_FromLong((long)result);
44127b65
RD
5167 return resultobj;
5168 fail:
5169 return NULL;
5170}
5171
5172
a95a7133 5173static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5174 PyObject *resultobj;
5175 wxPyShape *arg1 = (wxPyShape *) 0 ;
5176 wxPen *arg2 = (wxPen *) 0 ;
5177 PyObject * obj0 = 0 ;
5178 PyObject * obj1 = 0 ;
5179 char *kwnames[] = {
5180 (char *) "self",(char *) "pen", NULL
5181 };
5182
5183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5186 {
5187 wxPen* temp;
5188 if (obj1) {
5189 if (obj1 == Py_None) {
5190 temp = NULL;
5191 }
5192 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5193 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5194 return NULL;
5195 }
5196 }
5197 if (temp)
5198 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5199 temp->GetWidth(),
5200 temp->GetStyle());
5201 else
5202 arg2 = NULL;
5203 }
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 (arg1)->SetPen(arg2);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 Py_INCREF(Py_None); resultobj = Py_None;
5212 return resultobj;
5213 fail:
5214 return NULL;
5215}
5216
5217
a95a7133 5218static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5219 PyObject *resultobj;
5220 wxPyShape *arg1 = (wxPyShape *) 0 ;
5221 wxBrush *arg2 = (wxBrush *) 0 ;
5222 PyObject * obj0 = 0 ;
5223 PyObject * obj1 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self",(char *) "brush", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5231 {
5232 wxBrush* temp;
5233 if (obj1) {
5234 if (obj1 == Py_None) {
5235 temp = NULL;
5236 }
5237 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5238 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5239 return NULL;
5240 }
5241 }
5242 if (temp)
5243 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5244 else
5245 arg2 = NULL;
5246 }
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 (arg1)->SetBrush(arg2);
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 Py_INCREF(Py_None); resultobj = Py_None;
5255 return resultobj;
5256 fail:
5257 return NULL;
5258}
5259
5260
a95a7133 5261static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5262 PyObject *resultobj;
5263 wxPyShape *arg1 = (wxPyShape *) 0 ;
5264 bool arg2 ;
5265 PyObject * obj0 = 0 ;
5266 PyObject * obj1 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self",(char *) "show", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5274 arg2 = (bool) SWIG_AsBool(obj1);
5275 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 (arg1)->Show(arg2);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 Py_INCREF(Py_None); resultobj = Py_None;
5284 return resultobj;
5285 fail:
5286 return NULL;
5287}
5288
5289
a95a7133 5290static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5291 PyObject *resultobj;
5292 wxPyShape *arg1 = (wxPyShape *) 0 ;
5293 bool result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = (bool)(arg1)->IsShown();
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
fbc46b20
RD
5309 {
5310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5311 }
44127b65
RD
5312 return resultobj;
5313 fail:
5314 return NULL;
5315}
5316
5317
a95a7133 5318static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5319 PyObject *resultobj;
5320 wxPyShape *arg1 = (wxPyShape *) 0 ;
5321 wxDC *arg2 = 0 ;
5322 double arg3 ;
5323 double arg4 ;
5324 bool arg5 = (bool) True ;
5325 PyObject * obj0 = 0 ;
5326 PyObject * obj1 = 0 ;
8edf1c75
RD
5327 PyObject * obj2 = 0 ;
5328 PyObject * obj3 = 0 ;
44127b65
RD
5329 PyObject * obj4 = 0 ;
5330 char *kwnames[] = {
5331 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5332 };
5333
8edf1c75 5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
5335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5338 SWIG_POINTER_EXCEPTION | 0)) == -1)
5339 SWIG_fail;
44127b65 5340 if (arg2 == NULL) {
2f4c0a16
RD
5341 PyErr_SetString(PyExc_TypeError,"null reference");
5342 SWIG_fail;
8edf1c75 5343 }
2f4c0a16
RD
5344 arg3 = (double) SWIG_AsDouble(obj2);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 arg4 = (double) SWIG_AsDouble(obj3);
5347 if (PyErr_Occurred()) SWIG_fail;
44127b65 5348 if (obj4) {
2f4c0a16
RD
5349 arg5 = (bool) SWIG_AsBool(obj4);
5350 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5351 }
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 (arg1)->Move(*arg2,arg3,arg4,arg5);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 Py_INCREF(Py_None); resultobj = Py_None;
5360 return resultobj;
5361 fail:
5362 return NULL;
5363}
5364
5365
a95a7133 5366static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5367 PyObject *resultobj;
5368 wxPyShape *arg1 = (wxPyShape *) 0 ;
5369 wxDC *arg2 = 0 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self",(char *) "dc", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1)
5381 SWIG_fail;
44127b65 5382 if (arg2 == NULL) {
2f4c0a16
RD
5383 PyErr_SetString(PyExc_TypeError,"null reference");
5384 SWIG_fail;
44127b65
RD
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->Erase(*arg2);
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 Py_INCREF(Py_None); resultobj = Py_None;
5394 return resultobj;
5395 fail:
5396 return NULL;
5397}
5398
5399
a95a7133 5400static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5401 PyObject *resultobj;
5402 wxPyShape *arg1 = (wxPyShape *) 0 ;
5403 wxDC *arg2 = 0 ;
5404 PyObject * obj0 = 0 ;
5405 PyObject * obj1 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "dc", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5414 SWIG_POINTER_EXCEPTION | 0)) == -1)
5415 SWIG_fail;
44127b65 5416 if (arg2 == NULL) {
2f4c0a16
RD
5417 PyErr_SetString(PyExc_TypeError,"null reference");
5418 SWIG_fail;
44127b65
RD
5419 }
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 (arg1)->EraseContents(*arg2);
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 Py_INCREF(Py_None); resultobj = Py_None;
5428 return resultobj;
5429 fail:
5430 return NULL;
5431}
5432
5433
a95a7133 5434static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5435 PyObject *resultobj;
5436 wxPyShape *arg1 = (wxPyShape *) 0 ;
5437 wxDC *arg2 = 0 ;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "dc", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5448 SWIG_POINTER_EXCEPTION | 0)) == -1)
5449 SWIG_fail;
44127b65 5450 if (arg2 == NULL) {
2f4c0a16
RD
5451 PyErr_SetString(PyExc_TypeError,"null reference");
5452 SWIG_fail;
44127b65
RD
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->Draw(*arg2);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 Py_INCREF(Py_None); resultobj = Py_None;
5462 return resultobj;
5463 fail:
5464 return NULL;
5465}
5466
5467
a95a7133 5468static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5469 PyObject *resultobj;
5470 wxPyShape *arg1 = (wxPyShape *) 0 ;
5471 PyObject * obj0 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 (arg1)->Flash();
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 Py_INCREF(Py_None); resultobj = Py_None;
5487 return resultobj;
5488 fail:
5489 return NULL;
5490}
5491
5492
a95a7133 5493static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5494 PyObject *resultobj;
5495 wxPyShape *arg1 = (wxPyShape *) 0 ;
5496 wxDC *arg2 = 0 ;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "dc", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5507 SWIG_POINTER_EXCEPTION | 0)) == -1)
5508 SWIG_fail;
44127b65 5509 if (arg2 == NULL) {
2f4c0a16
RD
5510 PyErr_SetString(PyExc_TypeError,"null reference");
5511 SWIG_fail;
44127b65
RD
5512 }
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 (arg1)->MoveLinks(*arg2);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 Py_INCREF(Py_None); resultobj = Py_None;
5521 return resultobj;
5522 fail:
5523 return NULL;
5524}
5525
5526
a95a7133 5527static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5528 PyObject *resultobj;
5529 wxPyShape *arg1 = (wxPyShape *) 0 ;
5530 wxDC *arg2 = 0 ;
5531 PyObject * obj0 = 0 ;
5532 PyObject * obj1 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self",(char *) "dc", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5541 SWIG_POINTER_EXCEPTION | 0)) == -1)
5542 SWIG_fail;
44127b65 5543 if (arg2 == NULL) {
2f4c0a16
RD
5544 PyErr_SetString(PyExc_TypeError,"null reference");
5545 SWIG_fail;
44127b65
RD
5546 }
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 (arg1)->DrawContents(*arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 Py_INCREF(Py_None); resultobj = Py_None;
5555 return resultobj;
5556 fail:
5557 return NULL;
5558}
5559
5560
a95a7133 5561static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5562 PyObject *resultobj;
5563 wxPyShape *arg1 = (wxPyShape *) 0 ;
5564 double arg2 ;
5565 double arg3 ;
5566 bool arg4 = (bool) True ;
5567 PyObject * obj0 = 0 ;
8edf1c75
RD
5568 PyObject * obj1 = 0 ;
5569 PyObject * obj2 = 0 ;
44127b65
RD
5570 PyObject * obj3 = 0 ;
5571 char *kwnames[] = {
5572 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5573 };
5574
8edf1c75 5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5578 arg2 = (double) SWIG_AsDouble(obj1);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 arg3 = (double) SWIG_AsDouble(obj2);
5581 if (PyErr_Occurred()) SWIG_fail;
44127b65 5582 if (obj3) {
2f4c0a16
RD
5583 arg4 = (bool) SWIG_AsBool(obj3);
5584 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->SetSize(arg2,arg3,arg4);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 return resultobj;
5595 fail:
5596 return NULL;
5597}
5598
5599
a95a7133 5600static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5601 PyObject *resultobj;
5602 wxPyShape *arg1 = (wxPyShape *) 0 ;
5603 double arg2 ;
5604 double arg3 ;
5605 PyObject * obj0 = 0 ;
8edf1c75
RD
5606 PyObject * obj1 = 0 ;
5607 PyObject * obj2 = 0 ;
44127b65
RD
5608 char *kwnames[] = {
5609 (char *) "self",(char *) "x",(char *) "y", NULL
5610 };
5611
8edf1c75 5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5615 arg2 = (double) SWIG_AsDouble(obj1);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 arg3 = (double) SWIG_AsDouble(obj2);
5618 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 (arg1)->SetAttachmentSize(arg2,arg3);
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 Py_INCREF(Py_None); resultobj = Py_None;
5627 return resultobj;
5628 fail:
5629 return NULL;
5630}
5631
5632
a95a7133 5633static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5634 PyObject *resultobj;
5635 wxPyShape *arg1 = (wxPyShape *) 0 ;
5636 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5637 PyObject * obj0 = 0 ;
5638 PyObject * obj1 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self",(char *) "can", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 (arg1)->Attach(arg2);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 Py_INCREF(Py_None); resultobj = Py_None;
5656 return resultobj;
5657 fail:
5658 return NULL;
5659}
5660
5661
a95a7133 5662static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5663 PyObject *resultobj;
5664 wxPyShape *arg1 = (wxPyShape *) 0 ;
5665 PyObject * obj0 = 0 ;
5666 char *kwnames[] = {
5667 (char *) "self", NULL
5668 };
5669
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->Detach();
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684}
5685
5686
a95a7133 5687static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5688 PyObject *resultobj;
5689 wxPyShape *arg1 = (wxPyShape *) 0 ;
5690 bool result;
5691 PyObject * obj0 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 result = (bool)(arg1)->Constrain();
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
fbc46b20
RD
5706 {
5707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5708 }
44127b65
RD
5709 return resultobj;
5710 fail:
5711 return NULL;
5712}
5713
5714
a95a7133 5715static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5716 PyObject *resultobj;
5717 wxPyShape *arg1 = (wxPyShape *) 0 ;
5718 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5719 wxPyShape *arg3 = (wxPyShape *) 0 ;
5720 int arg4 = (int) 0 ;
5721 int arg5 = (int) 0 ;
5722 int arg6 = (int) -1 ;
5723 int arg7 = (int) -1 ;
5724 PyObject * obj0 = 0 ;
5725 PyObject * obj1 = 0 ;
5726 PyObject * obj2 = 0 ;
8edf1c75
RD
5727 PyObject * obj3 = 0 ;
5728 PyObject * obj4 = 0 ;
5729 PyObject * obj5 = 0 ;
5730 PyObject * obj6 = 0 ;
44127b65
RD
5731 char *kwnames[] = {
5732 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5733 };
5734
8edf1c75 5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
5736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5740 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
5741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5742 if (obj3) {
2f4c0a16
RD
5743 arg4 = (int) SWIG_AsInt(obj3);
5744 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5745 }
5746 if (obj4) {
2f4c0a16
RD
5747 arg5 = (int) SWIG_AsInt(obj4);
5748 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5749 }
5750 if (obj5) {
2f4c0a16
RD
5751 arg6 = (int) SWIG_AsInt(obj5);
5752 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5753 }
5754 if (obj6) {
2f4c0a16
RD
5755 arg7 = (int) SWIG_AsInt(obj6);
5756 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5757 }
44127b65
RD
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 return resultobj;
5767 fail:
5768 return NULL;
5769}
5770
5771
a95a7133 5772static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5773 PyObject *resultobj;
5774 wxPyShape *arg1 = (wxPyShape *) 0 ;
5775 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5776 int result;
5777 PyObject * obj0 = 0 ;
5778 PyObject * obj1 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "line", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (int)(arg1)->GetLinePosition(arg2);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
2f4c0a16 5795 resultobj = SWIG_FromInt((int)result);
44127b65
RD
5796 return resultobj;
5797 fail:
5798 return NULL;
5799}
5800
5801
a95a7133 5802static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5803 PyObject *resultobj;
5804 wxPyShape *arg1 = (wxPyShape *) 0 ;
5805 wxString *arg2 = 0 ;
5806 bool temp2 = False ;
5807 PyObject * obj0 = 0 ;
5808 PyObject * obj1 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "self",(char *) "string", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5816 {
5817 arg2 = wxString_in_helper(obj1);
5818 if (arg2 == NULL) SWIG_fail;
5819 temp2 = True;
5820 }
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 (arg1)->AddText((wxString const &)*arg2);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 Py_INCREF(Py_None); resultobj = Py_None;
5829 {
5830 if (temp2)
5831 delete arg2;
5832 }
5833 return resultobj;
5834 fail:
5835 {
5836 if (temp2)
5837 delete arg2;
5838 }
5839 return NULL;
5840}
5841
5842
a95a7133 5843static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5844 PyObject *resultobj;
5845 wxPyShape *arg1 = (wxPyShape *) 0 ;
5846 wxPen *result;
5847 PyObject * obj0 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (wxPen *)(arg1)->GetPen();
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
2f4c0a16 5862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
5863 return resultobj;
5864 fail:
5865 return NULL;
5866}
5867
5868
a95a7133 5869static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5870 PyObject *resultobj;
5871 wxPyShape *arg1 = (wxPyShape *) 0 ;
5872 wxBrush *result;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (wxBrush *)(arg1)->GetBrush();
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
2f4c0a16 5888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
44127b65
RD
5889 return resultobj;
5890 fail:
5891 return NULL;
5892}
5893
5894
a95a7133 5895static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5896 PyObject *resultobj;
5897 wxPyShape *arg1 = (wxPyShape *) 0 ;
5898 PyObject * obj0 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 (arg1)->SetDefaultRegionSize();
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 Py_INCREF(Py_None); resultobj = Py_None;
5914 return resultobj;
5915 fail:
5916 return NULL;
5917}
5918
5919
a95a7133 5920static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5921 PyObject *resultobj;
5922 wxPyShape *arg1 = (wxPyShape *) 0 ;
5923 wxDC *arg2 = 0 ;
5924 wxString *arg3 = 0 ;
5925 int arg4 = (int) 0 ;
5926 bool temp3 = False ;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 PyObject * obj2 = 0 ;
8edf1c75 5930 PyObject * obj3 = 0 ;
44127b65
RD
5931 char *kwnames[] = {
5932 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5933 };
5934
8edf1c75 5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5939 SWIG_POINTER_EXCEPTION | 0)) == -1)
5940 SWIG_fail;
44127b65 5941 if (arg2 == NULL) {
2f4c0a16
RD
5942 PyErr_SetString(PyExc_TypeError,"null reference");
5943 SWIG_fail;
44127b65
RD
5944 }
5945 {
5946 arg3 = wxString_in_helper(obj2);
5947 if (arg3 == NULL) SWIG_fail;
5948 temp3 = True;
5949 }
8edf1c75 5950 if (obj3) {
2f4c0a16
RD
5951 arg4 = (int) SWIG_AsInt(obj3);
5952 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5953 }
44127b65
RD
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 Py_INCREF(Py_None); resultobj = Py_None;
5962 {
5963 if (temp3)
5964 delete arg3;
5965 }
5966 return resultobj;
5967 fail:
5968 {
5969 if (temp3)
5970 delete arg3;
5971 }
5972 return NULL;
5973}
5974
5975
a95a7133 5976static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5977 PyObject *resultobj;
5978 wxPyShape *arg1 = (wxPyShape *) 0 ;
5979 int arg2 ;
5980 int arg3 = (int) 0 ;
5981 PyObject * obj0 = 0 ;
8edf1c75
RD
5982 PyObject * obj1 = 0 ;
5983 PyObject * obj2 = 0 ;
44127b65
RD
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5986 };
5987
8edf1c75 5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5991 arg2 = (int) SWIG_AsInt(obj1);
5992 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5993 if (obj2) {
2f4c0a16
RD
5994 arg3 = (int) SWIG_AsInt(obj2);
5995 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5996 }
44127b65
RD
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 (arg1)->SetFormatMode(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
a95a7133 6011static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6012 PyObject *resultobj;
6013 wxPyShape *arg1 = (wxPyShape *) 0 ;
6014 int arg2 = (int) 0 ;
6015 int 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_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6025 if (obj1) {
2f4c0a16
RD
6026 arg2 = (int) SWIG_AsInt(obj1);
6027 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6028 }
44127b65
RD
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 result = (int)(arg1)->GetFormatMode(arg2);
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
2f4c0a16 6036 resultobj = SWIG_FromInt((int)result);
44127b65
RD
6037 return resultobj;
6038 fail:
6039 return NULL;
6040}
6041
6042
a95a7133 6043static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6044 PyObject *resultobj;
6045 wxPyShape *arg1 = (wxPyShape *) 0 ;
6046 wxFont *arg2 = (wxFont *) 0 ;
6047 int arg3 = (int) 0 ;
6048 PyObject * obj0 = 0 ;
6049 PyObject * obj1 = 0 ;
8edf1c75 6050 PyObject * obj2 = 0 ;
44127b65
RD
6051 char *kwnames[] = {
6052 (char *) "self",(char *) "font",(char *) "regionId", NULL
6053 };
6054
8edf1c75 6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6058 {
6059 wxFont* temp;
6060 if (obj1) {
6061 if (obj1 == Py_None) {
6062 temp = NULL;
6063 }
6064 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
6065 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
6066 return NULL;
6067 }
6068 }
6069 if (temp)
6070 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6071 temp->GetFamily(),
6072 temp->GetStyle(),
6073 temp->GetWeight(),
6074 temp->GetUnderlined(),
6075 temp->GetFaceName(),
6076 temp->GetEncoding());
6077 else
6078 arg2 = NULL;
6079 }
8edf1c75 6080 if (obj2) {
2f4c0a16
RD
6081 arg3 = (int) SWIG_AsInt(obj2);
6082 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6083 }
44127b65
RD
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 (arg1)->SetFont(arg2,arg3);
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 Py_INCREF(Py_None); resultobj = Py_None;
6092 return resultobj;
6093 fail:
6094 return NULL;
6095}
6096
6097
a95a7133 6098static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6099 PyObject *resultobj;
6100 wxPyShape *arg1 = (wxPyShape *) 0 ;
6101 int arg2 = (int) 0 ;
6102 wxFont *result;
6103 PyObject * obj0 = 0 ;
8edf1c75 6104 PyObject * obj1 = 0 ;
44127b65
RD
6105 char *kwnames[] = {
6106 (char *) "self",(char *) "regionId", NULL
6107 };
6108
8edf1c75 6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6112 if (obj1) {
2f4c0a16
RD
6113 arg2 = (int) SWIG_AsInt(obj1);
6114 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6115 }
44127b65
RD
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 result = (wxFont *)(arg1)->GetFont(arg2);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
2f4c0a16 6123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
44127b65
RD
6124 return resultobj;
6125 fail:
6126 return NULL;
6127}
6128
6129
a95a7133 6130static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6131 PyObject *resultobj;
6132 wxPyShape *arg1 = (wxPyShape *) 0 ;
6133 wxString *arg2 = 0 ;
6134 int arg3 = (int) 0 ;
6135 bool temp2 = False ;
6136 PyObject * obj0 = 0 ;
6137 PyObject * obj1 = 0 ;
8edf1c75 6138 PyObject * obj2 = 0 ;
44127b65
RD
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6141 };
6142
8edf1c75 6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6146 {
6147 arg2 = wxString_in_helper(obj1);
6148 if (arg2 == NULL) SWIG_fail;
6149 temp2 = True;
6150 }
8edf1c75 6151 if (obj2) {
2f4c0a16
RD
6152 arg3 = (int) SWIG_AsInt(obj2);
6153 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6154 }
44127b65
RD
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 {
6164 if (temp2)
6165 delete arg2;
6166 }
6167 return resultobj;
6168 fail:
6169 {
6170 if (temp2)
6171 delete arg2;
6172 }
6173 return NULL;
6174}
6175
6176
a95a7133 6177static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6178 PyObject *resultobj;
6179 wxPyShape *arg1 = (wxPyShape *) 0 ;
6180 int arg2 = (int) 0 ;
6181 wxString result;
6182 PyObject * obj0 = 0 ;
8edf1c75 6183 PyObject * obj1 = 0 ;
44127b65
RD
6184 char *kwnames[] = {
6185 (char *) "self",(char *) "regionId", NULL
6186 };
6187
8edf1c75 6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6191 if (obj1) {
2f4c0a16
RD
6192 arg2 = (int) SWIG_AsInt(obj1);
6193 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6194 }
44127b65
RD
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (arg1)->GetTextColour(arg2);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203#if wxUSE_UNICODE
6204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6205#else
6206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6207#endif
6208 }
6209 return resultobj;
6210 fail:
6211 return NULL;
6212}
6213
6214
a95a7133 6215static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6216 PyObject *resultobj;
6217 wxPyShape *arg1 = (wxPyShape *) 0 ;
6218 int result;
6219 PyObject * obj0 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "self", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 result = (int)(arg1)->GetNumberOfTextRegions();
6230
6231 wxPyEndAllowThreads(__tstate);
6232 if (PyErr_Occurred()) SWIG_fail;
6233 }
2f4c0a16 6234 resultobj = SWIG_FromInt((int)result);
44127b65
RD
6235 return resultobj;
6236 fail:
6237 return NULL;
6238}
6239
6240
a95a7133 6241static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6242 PyObject *resultobj;
6243 wxPyShape *arg1 = (wxPyShape *) 0 ;
6244 wxString *arg2 = 0 ;
6245 int arg3 = (int) 0 ;
6246 bool temp2 = False ;
6247 PyObject * obj0 = 0 ;
6248 PyObject * obj1 = 0 ;
8edf1c75 6249 PyObject * obj2 = 0 ;
44127b65
RD
6250 char *kwnames[] = {
6251 (char *) "self",(char *) "name",(char *) "regionId", NULL
6252 };
6253
8edf1c75 6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6257 {
6258 arg2 = wxString_in_helper(obj1);
6259 if (arg2 == NULL) SWIG_fail;
6260 temp2 = True;
6261 }
8edf1c75 6262 if (obj2) {
2f4c0a16
RD
6263 arg3 = (int) SWIG_AsInt(obj2);
6264 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6265 }
44127b65
RD
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 Py_INCREF(Py_None); resultobj = Py_None;
6274 {
6275 if (temp2)
6276 delete arg2;
6277 }
6278 return resultobj;
6279 fail:
6280 {
6281 if (temp2)
6282 delete arg2;
6283 }
6284 return NULL;
6285}
6286
6287
a95a7133 6288static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6289 PyObject *resultobj;
6290 wxPyShape *arg1 = (wxPyShape *) 0 ;
6291 int arg2 ;
6292 wxString result;
6293 PyObject * obj0 = 0 ;
8edf1c75 6294 PyObject * obj1 = 0 ;
44127b65
RD
6295 char *kwnames[] = {
6296 (char *) "self",(char *) "regionId", NULL
6297 };
6298
8edf1c75 6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6302 arg2 = (int) SWIG_AsInt(obj1);
6303 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (arg1)->GetRegionName(arg2);
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 {
6312#if wxUSE_UNICODE
6313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6314#else
6315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6316#endif
6317 }
6318 return resultobj;
6319 fail:
6320 return NULL;
6321}
6322
6323
a95a7133 6324static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6325 PyObject *resultobj;
6326 wxPyShape *arg1 = (wxPyShape *) 0 ;
6327 wxString *arg2 = 0 ;
6328 int result;
6329 bool temp2 = False ;
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "name", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6339 {
6340 arg2 = wxString_in_helper(obj1);
6341 if (arg2 == NULL) SWIG_fail;
6342 temp2 = True;
6343 }
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
2f4c0a16 6351 resultobj = SWIG_FromInt((int)result);
44127b65
RD
6352 {
6353 if (temp2)
6354 delete arg2;
6355 }
6356 return resultobj;
6357 fail:
6358 {
6359 if (temp2)
6360 delete arg2;
6361 }
6362 return NULL;
6363}
6364
6365
a95a7133 6366static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6367 PyObject *resultobj;
6368 wxPyShape *arg1 = (wxPyShape *) 0 ;
41f1cec7 6369 wxString const &arg2_defvalue = wxPyEmptyString ;
44127b65
RD
6370 wxString *arg2 = (wxString *) &arg2_defvalue ;
6371 bool temp2 = False ;
6372 PyObject * obj0 = 0 ;
6373 PyObject * obj1 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self",(char *) "parentName", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6381 if (obj1) {
6382 {
6383 arg2 = wxString_in_helper(obj1);
6384 if (arg2 == NULL) SWIG_fail;
6385 temp2 = True;
6386 }
6387 }
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 (arg1)->NameRegions((wxString const &)*arg2);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 Py_INCREF(Py_None); resultobj = Py_None;
6396 {
6397 if (temp2)
6398 delete arg2;
6399 }
6400 return resultobj;
6401 fail:
6402 {
6403 if (temp2)
6404 delete arg2;
6405 }
6406 return NULL;
6407}
6408
6409
a95a7133 6410static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6411 PyObject *resultobj;
6412 wxPyShape *arg1 = (wxPyShape *) 0 ;
6413 PyObject *result;
6414 PyObject * obj0 = 0 ;
6415 char *kwnames[] = {
6416 (char *) "self", NULL
6417 };
6418
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (PyObject *)wxPyShape_GetRegions(arg1);
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 resultobj = result;
6430 return resultobj;
6431 fail:
6432 return NULL;
6433}
6434
6435
a95a7133 6436static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6437 PyObject *resultobj;
6438 wxPyShape *arg1 = (wxPyShape *) 0 ;
6439 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6440 PyObject * obj0 = 0 ;
6441 PyObject * obj1 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "self",(char *) "region", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxShapeRegion,
6450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 (arg1)->AddRegion(arg2);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 Py_INCREF(Py_None); resultobj = Py_None;
6459 return resultobj;
6460 fail:
6461 return NULL;
6462}
6463
6464
a95a7133 6465static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6466 PyObject *resultobj;
6467 wxPyShape *arg1 = (wxPyShape *) 0 ;
6468 PyObject * obj0 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "self", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->ClearRegions();
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 Py_INCREF(Py_None); resultobj = Py_None;
6484 return resultobj;
6485 fail:
6486 return NULL;
6487}
6488
6489
a95a7133 6490static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6491 PyObject *resultobj;
6492 wxPyShape *arg1 = (wxPyShape *) 0 ;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 (arg1)->AssignNewIds();
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 Py_INCREF(Py_None); resultobj = Py_None;
6509 return resultobj;
6510 fail:
6511 return NULL;
6512}
6513
6514
a95a7133 6515static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6516 PyObject *resultobj;
6517 wxPyShape *arg1 = (wxPyShape *) 0 ;
6518 wxString *arg2 = 0 ;
6519 int *arg3 = (int *) 0 ;
6520 wxPyShape *result;
6521 bool temp2 = False ;
6522 int temp3 ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self",(char *) "regionName", NULL
6527 };
6528
6529 arg3 = &temp3;
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6533 {
6534 arg2 = wxString_in_helper(obj1);
6535 if (arg2 == NULL) SWIG_fail;
6536 temp2 = True;
6537 }
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 {
6546 resultobj = wxPyMake_wxShapeEvtHandler(result);
6547 }
6548 {
6549 PyObject *o = PyInt_FromLong((long) (*arg3));
6550 resultobj = t_output_helper(resultobj,o);
6551 }
6552 {
6553 if (temp2)
6554 delete arg2;
6555 }
6556 return resultobj;
6557 fail:
6558 {
6559 if (temp2)
6560 delete arg2;
6561 }
6562 return NULL;
6563}
6564
6565
a95a7133 6566static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6567 PyObject *resultobj;
6568 wxPyShape *arg1 = (wxPyShape *) 0 ;
6569 wxStringList *arg2 = 0 ;
6570 PyObject * obj0 = 0 ;
6571 PyObject * obj1 = 0 ;
6572 char *kwnames[] = {
6573 (char *) "self",(char *) "list", NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStringList,
6580 SWIG_POINTER_EXCEPTION | 0)) == -1)
6581 SWIG_fail;
44127b65 6582 if (arg2 == NULL) {
2f4c0a16
RD
6583 PyErr_SetString(PyExc_TypeError,"null reference");
6584 SWIG_fail;
44127b65
RD
6585 }
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 (arg1)->FindRegionNames(*arg2);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 Py_INCREF(Py_None); resultobj = Py_None;
6594 return resultobj;
6595 fail:
6596 return NULL;
6597}
6598
6599
a95a7133 6600static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6601 PyObject *resultobj;
6602 wxPyShape *arg1 = (wxPyShape *) 0 ;
6603 int arg2 = (int) 0 ;
6604 PyObject * obj0 = 0 ;
8edf1c75 6605 PyObject * obj1 = 0 ;
44127b65
RD
6606 char *kwnames[] = {
6607 (char *) "self",(char *) "regionId", NULL
6608 };
6609
8edf1c75 6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6613 if (obj1) {
2f4c0a16
RD
6614 arg2 = (int) SWIG_AsInt(obj1);
6615 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6616 }
44127b65
RD
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 (arg1)->ClearText(arg2);
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 Py_INCREF(Py_None); resultobj = Py_None;
6625 return resultobj;
6626 fail:
6627 return NULL;
6628}
6629
6630
a95a7133 6631static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6632 PyObject *resultobj;
6633 wxPyShape *arg1 = (wxPyShape *) 0 ;
6634 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6635 PyObject * obj0 = 0 ;
6636 PyObject * obj1 = 0 ;
6637 char *kwnames[] = {
6638 (char *) "self",(char *) "line", NULL
6639 };
6640
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
6645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6646 {
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 (arg1)->RemoveLine(arg2);
6649
6650 wxPyEndAllowThreads(__tstate);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 }
6653 Py_INCREF(Py_None); resultobj = Py_None;
6654 return resultobj;
6655 fail:
6656 return NULL;
6657}
6658
6659
a95a7133 6660static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6661 PyObject *resultobj;
6662 wxPyShape *arg1 = (wxPyShape *) 0 ;
6663 int arg2 ;
6664 double *arg3 = (double *) 0 ;
6665 double *arg4 = (double *) 0 ;
6666 int arg5 = (int) 0 ;
6667 int arg6 = (int) 1 ;
6668 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6669 bool result;
6670 double temp3 ;
6671 double temp4 ;
6672 PyObject * obj0 = 0 ;
8edf1c75
RD
6673 PyObject * obj1 = 0 ;
6674 PyObject * obj2 = 0 ;
6675 PyObject * obj3 = 0 ;
44127b65
RD
6676 PyObject * obj4 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6679 };
6680
6681 arg3 = &temp3;
6682 arg4 = &temp4;
8edf1c75 6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
6684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6686 arg2 = (int) SWIG_AsInt(obj1);
6687 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6688 if (obj2) {
2f4c0a16
RD
6689 arg5 = (int) SWIG_AsInt(obj2);
6690 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6691 }
6692 if (obj3) {
2f4c0a16
RD
6693 arg6 = (int) SWIG_AsInt(obj3);
6694 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6695 }
44127b65 6696 if (obj4) {
2f4c0a16
RD
6697 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6699 }
6700 {
6701 PyThreadState* __tstate = wxPyBeginAllowThreads();
6702 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6703
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
fbc46b20
RD
6707 {
6708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6709 }
44127b65
RD
6710 {
6711 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6712 resultobj = t_output_helper(resultobj,o);
6713 }
6714 {
6715 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6716 resultobj = t_output_helper(resultobj,o);
6717 }
6718 return resultobj;
6719 fail:
6720 return NULL;
6721}
6722
6723
a95a7133 6724static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6725 PyObject *resultobj;
6726 wxPyShape *arg1 = (wxPyShape *) 0 ;
6727 int result;
6728 PyObject * obj0 = 0 ;
6729 char *kwnames[] = {
6730 (char *) "self", NULL
6731 };
6732
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 result = (int)(arg1)->GetNumberOfAttachments();
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
2f4c0a16 6743 resultobj = SWIG_FromInt((int)result);
44127b65
RD
6744 return resultobj;
6745 fail:
6746 return NULL;
6747}
6748
6749
a95a7133 6750static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6751 PyObject *resultobj;
6752 wxPyShape *arg1 = (wxPyShape *) 0 ;
6753 int arg2 ;
6754 bool result;
6755 PyObject * obj0 = 0 ;
8edf1c75 6756 PyObject * obj1 = 0 ;
44127b65
RD
6757 char *kwnames[] = {
6758 (char *) "self",(char *) "attachment", NULL
6759 };
6760
8edf1c75 6761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6764 arg2 = (int) SWIG_AsInt(obj1);
6765 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 result = (bool)(arg1)->AttachmentIsValid(arg2);
6769
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
fbc46b20
RD
6773 {
6774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6775 }
44127b65
RD
6776 return resultobj;
6777 fail:
6778 return NULL;
6779}
6780
6781
a95a7133 6782static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
6783 PyObject *resultobj;
6784 wxPyShape *arg1 = (wxPyShape *) 0 ;
6785 PyObject *result;
6786 PyObject * obj0 = 0 ;
6787 char *kwnames[] = {
6788 (char *) "self", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 resultobj = result;
6802 return resultobj;
6803 fail:
6804 return NULL;
6805}
6806
6807
a95a7133 6808static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6809 PyObject *resultobj;
6810 wxPyShape *arg1 = (wxPyShape *) 0 ;
6811 int arg2 ;
6812 double *arg3 = (double *) 0 ;
6813 double *arg4 = (double *) 0 ;
6814 int arg5 = (int) 0 ;
6815 int arg6 = (int) 1 ;
6816 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6817 bool result;
6818 double temp3 ;
6819 double temp4 ;
6820 PyObject * obj0 = 0 ;
8edf1c75
RD
6821 PyObject * obj1 = 0 ;
6822 PyObject * obj2 = 0 ;
6823 PyObject * obj3 = 0 ;
44127b65
RD
6824 PyObject * obj4 = 0 ;
6825 char *kwnames[] = {
6826 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6827 };
6828
6829 arg3 = &temp3;
6830 arg4 = &temp4;
8edf1c75 6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
6832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6834 arg2 = (int) SWIG_AsInt(obj1);
6835 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6836 if (obj2) {
2f4c0a16
RD
6837 arg5 = (int) SWIG_AsInt(obj2);
6838 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6839 }
6840 if (obj3) {
2f4c0a16
RD
6841 arg6 = (int) SWIG_AsInt(obj3);
6842 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6843 }
44127b65 6844 if (obj4) {
2f4c0a16
RD
6845 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6847 }
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6851
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
fbc46b20
RD
6855 {
6856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6857 }
44127b65
RD
6858 {
6859 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6860 resultobj = t_output_helper(resultobj,o);
6861 }
6862 {
6863 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6864 resultobj = t_output_helper(resultobj,o);
6865 }
6866 return resultobj;
6867 fail:
6868 return NULL;
6869}
6870
6871
a95a7133 6872static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6873 PyObject *resultobj;
6874 wxPyShape *arg1 = (wxPyShape *) 0 ;
6875 wxRealPoint *arg2 = 0 ;
6876 wxRealPoint *arg3 = 0 ;
6877 int arg4 ;
6878 int arg5 ;
6879 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6880 wxRealPoint result;
6881 wxRealPoint temp2 ;
6882 wxRealPoint temp3 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 PyObject * obj2 = 0 ;
8edf1c75
RD
6886 PyObject * obj3 = 0 ;
6887 PyObject * obj4 = 0 ;
44127b65
RD
6888 PyObject * obj5 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6891 };
6892
8edf1c75 6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6896 {
6897 arg2 = &temp2;
6898 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6899 }
6900 {
6901 arg3 = &temp3;
6902 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6903 }
2f4c0a16
RD
6904 arg4 = (int) SWIG_AsInt(obj3);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 arg5 = (int) SWIG_AsInt(obj4);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyLineShape,
6909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 {
6918 wxRealPoint * resultptr;
6919 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 6920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
44127b65
RD
6921 }
6922 return resultobj;
6923 fail:
6924 return NULL;
6925}
6926
6927
a95a7133 6928static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6929 PyObject *resultobj;
6930 wxPyShape *arg1 = (wxPyShape *) 0 ;
6931 int arg2 ;
6932 wxRealPoint *arg3 = 0 ;
6933 wxRealPoint *arg4 = 0 ;
6934 bool result;
6935 wxRealPoint temp3 ;
6936 wxRealPoint temp4 ;
6937 PyObject * obj0 = 0 ;
8edf1c75 6938 PyObject * obj1 = 0 ;
44127b65
RD
6939 PyObject * obj2 = 0 ;
6940 PyObject * obj3 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6943 };
6944
8edf1c75 6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6948 arg2 = (int) SWIG_AsInt(obj1);
6949 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
6950 {
6951 arg3 = &temp3;
6952 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6953 }
6954 {
6955 arg4 = &temp4;
6956 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6957 }
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
fbc46b20
RD
6965 {
6966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6967 }
44127b65
RD
6968 return resultobj;
6969 fail:
6970 return NULL;
6971}
6972
6973
a95a7133 6974static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6975 PyObject *resultobj;
6976 wxPyShape *arg1 = (wxPyShape *) 0 ;
6977 wxDC *arg2 = 0 ;
6978 int arg3 = (int) -1 ;
6979 bool arg4 = (bool) False ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
8edf1c75 6982 PyObject * obj2 = 0 ;
44127b65
RD
6983 PyObject * obj3 = 0 ;
6984 char *kwnames[] = {
6985 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6986 };
6987
8edf1c75 6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6992 SWIG_POINTER_EXCEPTION | 0)) == -1)
6993 SWIG_fail;
44127b65 6994 if (arg2 == NULL) {
2f4c0a16
RD
6995 PyErr_SetString(PyExc_TypeError,"null reference");
6996 SWIG_fail;
44127b65 6997 }
8edf1c75 6998 if (obj2) {
2f4c0a16
RD
6999 arg3 = (int) SWIG_AsInt(obj2);
7000 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7001 }
44127b65 7002 if (obj3) {
2f4c0a16
RD
7003 arg4 = (bool) SWIG_AsBool(obj3);
7004 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7005 }
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 (arg1)->EraseLinks(*arg2,arg3,arg4);
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 Py_INCREF(Py_None); resultobj = Py_None;
7014 return resultobj;
7015 fail:
7016 return NULL;
7017}
7018
7019
a95a7133 7020static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7021 PyObject *resultobj;
7022 wxPyShape *arg1 = (wxPyShape *) 0 ;
7023 wxDC *arg2 = 0 ;
7024 int arg3 = (int) -1 ;
7025 bool arg4 = (bool) False ;
7026 PyObject * obj0 = 0 ;
7027 PyObject * obj1 = 0 ;
8edf1c75 7028 PyObject * obj2 = 0 ;
44127b65
RD
7029 PyObject * obj3 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7032 };
7033
8edf1c75 7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7038 SWIG_POINTER_EXCEPTION | 0)) == -1)
7039 SWIG_fail;
44127b65 7040 if (arg2 == NULL) {
2f4c0a16
RD
7041 PyErr_SetString(PyExc_TypeError,"null reference");
7042 SWIG_fail;
44127b65 7043 }
8edf1c75 7044 if (obj2) {
2f4c0a16
RD
7045 arg3 = (int) SWIG_AsInt(obj2);
7046 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7047 }
44127b65 7048 if (obj3) {
2f4c0a16
RD
7049 arg4 = (bool) SWIG_AsBool(obj3);
7050 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7051 }
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 (arg1)->DrawLinks(*arg2,arg3,arg4);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 Py_INCREF(Py_None); resultobj = Py_None;
7060 return resultobj;
7061 fail:
7062 return NULL;
7063}
7064
7065
a95a7133 7066static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7067 PyObject *resultobj;
7068 wxPyShape *arg1 = (wxPyShape *) 0 ;
7069 wxDC *arg2 = 0 ;
7070 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
7071 double arg4 ;
7072 double arg5 ;
7073 bool result;
7074 PyObject * obj0 = 0 ;
7075 PyObject * obj1 = 0 ;
7076 PyObject * obj2 = 0 ;
8edf1c75
RD
7077 PyObject * obj3 = 0 ;
7078 PyObject * obj4 = 0 ;
44127b65
RD
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7081 };
7082
8edf1c75 7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7087 SWIG_POINTER_EXCEPTION | 0)) == -1)
7088 SWIG_fail;
44127b65 7089 if (arg2 == NULL) {
2f4c0a16
RD
7090 PyErr_SetString(PyExc_TypeError,"null reference");
7091 SWIG_fail;
8edf1c75 7092 }
2f4c0a16
RD
7093 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyLineShape,
7094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7095 arg4 = (double) SWIG_AsDouble(obj3);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 arg5 = (double) SWIG_AsDouble(obj4);
7098 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7099 {
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
7101 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
7102
7103 wxPyEndAllowThreads(__tstate);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 }
fbc46b20
RD
7106 {
7107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7108 }
44127b65
RD
7109 return resultobj;
7110 fail:
7111 return NULL;
7112}
7113
7114
a95a7133 7115static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7116 PyObject *resultobj;
7117 wxPyShape *arg1 = (wxPyShape *) 0 ;
7118 PyObject *arg2 = (PyObject *) 0 ;
7119 PyObject * obj0 = 0 ;
7120 PyObject * obj1 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "linesToSort", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7128 arg2 = obj1;
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 Py_INCREF(Py_None); resultobj = Py_None;
7137 return resultobj;
7138 fail:
7139 return NULL;
7140}
7141
7142
a95a7133 7143static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7144 PyObject *resultobj;
7145 wxPyShape *arg1 = (wxPyShape *) 0 ;
7146 int arg2 ;
7147 wxRealPoint result;
7148 PyObject * obj0 = 0 ;
8edf1c75 7149 PyObject * obj1 = 0 ;
44127b65
RD
7150 char *kwnames[] = {
7151 (char *) "self",(char *) "attachment", NULL
7152 };
7153
8edf1c75 7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7157 arg2 = (int) SWIG_AsInt(obj1);
7158 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 {
7167 wxRealPoint * resultptr;
7168 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 7169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
44127b65
RD
7170 }
7171 return resultobj;
7172 fail:
7173 return NULL;
7174}
7175
7176
a95a7133 7177static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7178 PyObject *resultobj;
7179 wxPyShape *arg1 = (wxPyShape *) 0 ;
7180 int arg2 ;
7181 wxRealPoint *arg3 = 0 ;
7182 wxRealPoint *arg4 = 0 ;
7183 wxRealPoint *arg5 = 0 ;
7184 wxRealPoint *arg6 = 0 ;
7185 bool result;
7186 wxRealPoint temp3 ;
7187 wxRealPoint temp4 ;
7188 wxRealPoint temp5 ;
7189 wxRealPoint temp6 ;
7190 PyObject * obj0 = 0 ;
8edf1c75 7191 PyObject * obj1 = 0 ;
44127b65
RD
7192 PyObject * obj2 = 0 ;
7193 PyObject * obj3 = 0 ;
7194 PyObject * obj4 = 0 ;
7195 PyObject * obj5 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7198 };
7199
8edf1c75 7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
7201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7203 arg2 = (int) SWIG_AsInt(obj1);
7204 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7205 {
7206 arg3 = &temp3;
7207 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7208 }
7209 {
7210 arg4 = &temp4;
7211 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7212 }
7213 {
7214 arg5 = &temp5;
7215 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7216 }
7217 {
7218 arg6 = &temp6;
7219 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7220 }
7221 {
7222 PyThreadState* __tstate = wxPyBeginAllowThreads();
7223 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7224
7225 wxPyEndAllowThreads(__tstate);
7226 if (PyErr_Occurred()) SWIG_fail;
7227 }
fbc46b20
RD
7228 {
7229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7230 }
44127b65
RD
7231 return resultobj;
7232 fail:
7233 return NULL;
7234}
7235
7236
a95a7133 7237static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7238 PyObject *resultobj;
7239 wxPyShape *arg1 = (wxPyShape *) 0 ;
7240 int arg2 ;
7241 int arg3 ;
7242 wxRealPoint *arg4 = 0 ;
7243 wxRealPoint *arg5 = 0 ;
7244 bool result;
7245 wxRealPoint temp4 ;
7246 wxRealPoint temp5 ;
7247 PyObject * obj0 = 0 ;
8edf1c75
RD
7248 PyObject * obj1 = 0 ;
7249 PyObject * obj2 = 0 ;
44127b65
RD
7250 PyObject * obj3 = 0 ;
7251 PyObject * obj4 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7254 };
7255
8edf1c75 7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7259 arg2 = (int) SWIG_AsInt(obj1);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 arg3 = (int) SWIG_AsInt(obj2);
7262 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7263 {
7264 arg4 = &temp4;
7265 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7266 }
7267 {
7268 arg5 = &temp5;
7269 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7270 }
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
fbc46b20
RD
7278 {
7279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7280 }
44127b65
RD
7281 return resultobj;
7282 fail:
7283 return NULL;
7284}
7285
7286
a95a7133 7287static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7288 PyObject *resultobj;
7289 wxPyShape *arg1 = (wxPyShape *) 0 ;
7290 int arg2 ;
7291 int result;
7292 PyObject * obj0 = 0 ;
8edf1c75 7293 PyObject * obj1 = 0 ;
44127b65
RD
7294 char *kwnames[] = {
7295 (char *) "self",(char *) "attachment", NULL
7296 };
7297
8edf1c75 7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7301 arg2 = (int) SWIG_AsInt(obj1);
7302 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7303 {
7304 PyThreadState* __tstate = wxPyBeginAllowThreads();
7305 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7306
7307 wxPyEndAllowThreads(__tstate);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 }
2f4c0a16 7310 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7311 return resultobj;
7312 fail:
7313 return NULL;
7314}
7315
7316
a95a7133 7317static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7318 PyObject *resultobj;
7319 wxPyShape *arg1 = (wxPyShape *) 0 ;
7320 int arg2 ;
7321 PyObject * obj0 = 0 ;
8edf1c75 7322 PyObject * obj1 = 0 ;
44127b65
RD
7323 char *kwnames[] = {
7324 (char *) "self",(char *) "len", NULL
7325 };
7326
8edf1c75 7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7330 arg2 = (int) SWIG_AsInt(obj1);
7331 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 (arg1)->SetBranchNeckLength(arg2);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 Py_INCREF(Py_None); resultobj = Py_None;
7340 return resultobj;
7341 fail:
7342 return NULL;
7343}
7344
7345
a95a7133 7346static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7347 PyObject *resultobj;
7348 wxPyShape *arg1 = (wxPyShape *) 0 ;
7349 int result;
7350 PyObject * obj0 = 0 ;
7351 char *kwnames[] = {
7352 (char *) "self", NULL
7353 };
7354
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = (int)(arg1)->GetBranchNeckLength();
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
2f4c0a16 7365 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7366 return resultobj;
7367 fail:
7368 return NULL;
7369}
7370
7371
a95a7133 7372static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7373 PyObject *resultobj;
7374 wxPyShape *arg1 = (wxPyShape *) 0 ;
7375 int arg2 ;
7376 PyObject * obj0 = 0 ;
8edf1c75 7377 PyObject * obj1 = 0 ;
44127b65
RD
7378 char *kwnames[] = {
7379 (char *) "self",(char *) "len", NULL
7380 };
7381
8edf1c75 7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7385 arg2 = (int) SWIG_AsInt(obj1);
7386 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65
RD
7389 (arg1)->SetBranchStemLength(arg2);
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 Py_INCREF(Py_None); resultobj = Py_None;
7395 return resultobj;
7396 fail:
7397 return NULL;
7398}
7399
7400
a95a7133 7401static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7402 PyObject *resultobj;
7403 wxPyShape *arg1 = (wxPyShape *) 0 ;
7404 int result;
7405 PyObject * obj0 = 0 ;
7406 char *kwnames[] = {
7407 (char *) "self", NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7413 {
7414 PyThreadState* __tstate = wxPyBeginAllowThreads();
7415 result = (int)(arg1)->GetBranchStemLength();
7416
7417 wxPyEndAllowThreads(__tstate);
7418 if (PyErr_Occurred()) SWIG_fail;
7419 }
2f4c0a16 7420 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7421 return resultobj;
7422 fail:
7423 return NULL;
7424}
7425
7426
a95a7133 7427static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7428 PyObject *resultobj;
7429 wxPyShape *arg1 = (wxPyShape *) 0 ;
7430 int arg2 ;
7431 PyObject * obj0 = 0 ;
8edf1c75 7432 PyObject * obj1 = 0 ;
44127b65
RD
7433 char *kwnames[] = {
7434 (char *) "self",(char *) "len", NULL
7435 };
7436
8edf1c75 7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7440 arg2 = (int) SWIG_AsInt(obj1);
7441 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 (arg1)->SetBranchSpacing(arg2);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 Py_INCREF(Py_None); resultobj = Py_None;
7450 return resultobj;
7451 fail:
7452 return NULL;
7453}
7454
7455
a95a7133 7456static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7457 PyObject *resultobj;
7458 wxPyShape *arg1 = (wxPyShape *) 0 ;
7459 int result;
7460 PyObject * obj0 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (int)(arg1)->GetBranchSpacing();
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
2f4c0a16 7475 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7476 return resultobj;
7477 fail:
7478 return NULL;
7479}
7480
7481
a95a7133 7482static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7483 PyObject *resultobj;
7484 wxPyShape *arg1 = (wxPyShape *) 0 ;
7485 long arg2 ;
7486 PyObject * obj0 = 0 ;
8edf1c75 7487 PyObject * obj1 = 0 ;
44127b65
RD
7488 char *kwnames[] = {
7489 (char *) "self",(char *) "style", NULL
7490 };
7491
8edf1c75 7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7495 arg2 = (long) SWIG_AsLong(obj1);
7496 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 (arg1)->SetBranchStyle(arg2);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 Py_INCREF(Py_None); resultobj = Py_None;
7505 return resultobj;
7506 fail:
7507 return NULL;
7508}
7509
7510
a95a7133 7511static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7512 PyObject *resultobj;
7513 wxPyShape *arg1 = (wxPyShape *) 0 ;
7514 long result;
7515 PyObject * obj0 = 0 ;
7516 char *kwnames[] = {
7517 (char *) "self", NULL
7518 };
7519
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 result = (long)(arg1)->GetBranchStyle();
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
2f4c0a16 7530 resultobj = SWIG_FromLong((long)result);
44127b65
RD
7531 return resultobj;
7532 fail:
7533 return NULL;
7534}
7535
7536
a95a7133 7537static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7538 PyObject *resultobj;
7539 wxPyShape *arg1 = (wxPyShape *) 0 ;
7540 int arg2 ;
7541 int result;
7542 PyObject * obj0 = 0 ;
8edf1c75 7543 PyObject * obj1 = 0 ;
44127b65
RD
7544 char *kwnames[] = {
7545 (char *) "self",(char *) "physicalAttachment", NULL
7546 };
7547
8edf1c75 7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7551 arg2 = (int) SWIG_AsInt(obj1);
7552 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
2f4c0a16 7560 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7561 return resultobj;
7562 fail:
7563 return NULL;
7564}
7565
7566
a95a7133 7567static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7568 PyObject *resultobj;
7569 wxPyShape *arg1 = (wxPyShape *) 0 ;
7570 int arg2 ;
7571 int result;
7572 PyObject * obj0 = 0 ;
8edf1c75 7573 PyObject * obj1 = 0 ;
44127b65
RD
7574 char *kwnames[] = {
7575 (char *) "self",(char *) "logicalAttachment", NULL
7576 };
7577
8edf1c75 7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7581 arg2 = (int) SWIG_AsInt(obj1);
7582 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
2f4c0a16 7590 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7591 return resultobj;
7592 fail:
7593 return NULL;
7594}
7595
7596
a95a7133 7597static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7598 PyObject *resultobj;
7599 wxPyShape *arg1 = (wxPyShape *) 0 ;
7600 bool result;
7601 PyObject * obj0 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "self", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = (bool)(arg1)->Draggable();
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
fbc46b20
RD
7616 {
7617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7618 }
44127b65
RD
7619 return resultobj;
7620 fail:
7621 return NULL;
7622}
7623
7624
a95a7133 7625static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7626 PyObject *resultobj;
7627 wxPyShape *arg1 = (wxPyShape *) 0 ;
7628 wxPyShape *arg2 = (wxPyShape *) 0 ;
7629 bool result;
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self",(char *) "image", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (bool)(arg1)->HasDescendant(arg2);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
fbc46b20
RD
7648 {
7649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7650 }
44127b65
RD
7651 return resultobj;
7652 fail:
7653 return NULL;
7654}
7655
7656
a95a7133 7657static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7658 PyObject *resultobj;
7659 wxPyShape *arg1 = (wxPyShape *) 0 ;
7660 bool arg2 = (bool) True ;
7661 bool arg3 = (bool) True ;
7662 wxPyShape *result;
7663 PyObject * obj0 = 0 ;
7664 PyObject * obj1 = 0 ;
7665 PyObject * obj2 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 7673 if (obj1) {
2f4c0a16
RD
7674 arg2 = (bool) SWIG_AsBool(obj1);
7675 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7676 }
7677 if (obj2) {
2f4c0a16
RD
7678 arg3 = (bool) SWIG_AsBool(obj2);
7679 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7680 }
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 {
7689 resultobj = wxPyMake_wxShapeEvtHandler(result);
7690 }
7691 return resultobj;
7692 fail:
7693 return NULL;
7694}
7695
7696
a95a7133 7697static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7698 PyObject *resultobj;
7699 wxPyShape *arg1 = (wxPyShape *) 0 ;
7700 wxPyShape *arg2 = 0 ;
7701 PyObject * obj0 = 0 ;
7702 PyObject * obj1 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self",(char *) "copy", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7711 SWIG_POINTER_EXCEPTION | 0)) == -1)
7712 SWIG_fail;
44127b65 7713 if (arg2 == NULL) {
2f4c0a16
RD
7714 PyErr_SetString(PyExc_TypeError,"null reference");
7715 SWIG_fail;
44127b65
RD
7716 }
7717 {
7718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7719 (arg1)->Copy(*arg2);
7720
7721 wxPyEndAllowThreads(__tstate);
7722 if (PyErr_Occurred()) SWIG_fail;
7723 }
7724 Py_INCREF(Py_None); resultobj = Py_None;
7725 return resultobj;
7726 fail:
7727 return NULL;
7728}
7729
7730
a95a7133 7731static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7732 PyObject *resultobj;
7733 wxPyShape *arg1 = (wxPyShape *) 0 ;
7734 wxPyShape *arg2 = 0 ;
7735 PyObject * obj0 = 0 ;
7736 PyObject * obj1 = 0 ;
7737 char *kwnames[] = {
7738 (char *) "self",(char *) "copy", NULL
7739 };
7740
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7745 SWIG_POINTER_EXCEPTION | 0)) == -1)
7746 SWIG_fail;
44127b65 7747 if (arg2 == NULL) {
2f4c0a16
RD
7748 PyErr_SetString(PyExc_TypeError,"null reference");
7749 SWIG_fail;
44127b65
RD
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 (arg1)->CopyWithHandler(*arg2);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 return resultobj;
7760 fail:
7761 return NULL;
7762}
7763
7764
a95a7133 7765static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7766 PyObject *resultobj;
7767 wxPyShape *arg1 = (wxPyShape *) 0 ;
7768 double arg2 ;
7769 double arg3 ;
7770 double arg4 ;
7771 PyObject * obj0 = 0 ;
8edf1c75
RD
7772 PyObject * obj1 = 0 ;
7773 PyObject * obj2 = 0 ;
7774 PyObject * obj3 = 0 ;
44127b65
RD
7775 char *kwnames[] = {
7776 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7777 };
7778
8edf1c75 7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7782 arg2 = (double) SWIG_AsDouble(obj1);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 arg3 = (double) SWIG_AsDouble(obj2);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 arg4 = (double) SWIG_AsDouble(obj3);
7787 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 (arg1)->Rotate(arg2,arg3,arg4);
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 Py_INCREF(Py_None); resultobj = Py_None;
7796 return resultobj;
7797 fail:
7798 return NULL;
7799}
7800
7801
a95a7133 7802static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7803 PyObject *resultobj;
7804 wxPyShape *arg1 = (wxPyShape *) 0 ;
7805 double result;
7806 PyObject * obj0 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "self", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7814 {
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 result = (double)(arg1)->GetRotation();
7817
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 }
2f4c0a16 7821 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
7822 return resultobj;
7823 fail:
7824 return NULL;
7825}
7826
7827
a95a7133 7828static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
7829 PyObject *resultobj;
7830 wxPyShape *arg1 = (wxPyShape *) 0 ;
7831 double arg2 ;
7832 PyObject * obj0 = 0 ;
8edf1c75 7833 PyObject * obj1 = 0 ;
7a0a63ae
RD
7834 char *kwnames[] = {
7835 (char *) "self",(char *) "rotation", NULL
7836 };
7837
8edf1c75 7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7841 arg2 = (double) SWIG_AsDouble(obj1);
7842 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 (arg1)->SetRotation(arg2);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 Py_INCREF(Py_None); resultobj = Py_None;
7851 return resultobj;
7852 fail:
7853 return NULL;
7854}
7855
7856
a95a7133 7857static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7858 PyObject *resultobj;
7859 wxPyShape *arg1 = (wxPyShape *) 0 ;
7860 PyObject * obj0 = 0 ;
7861 char *kwnames[] = {
7862 (char *) "self", NULL
7863 };
7864
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 (arg1)->ClearAttachments();
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 Py_INCREF(Py_None); resultobj = Py_None;
7876 return resultobj;
7877 fail:
7878 return NULL;
7879}
7880
7881
a95a7133 7882static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7883 PyObject *resultobj;
7884 wxPyShape *arg1 = (wxPyShape *) 0 ;
7885 wxDC *arg2 = 0 ;
7886 PyObject * obj0 = 0 ;
7887 PyObject * obj1 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self",(char *) "dc", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7896 SWIG_POINTER_EXCEPTION | 0)) == -1)
7897 SWIG_fail;
44127b65 7898 if (arg2 == NULL) {
2f4c0a16
RD
7899 PyErr_SetString(PyExc_TypeError,"null reference");
7900 SWIG_fail;
44127b65
RD
7901 }
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 (arg1)->Recentre(*arg2);
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 Py_INCREF(Py_None); resultobj = Py_None;
7910 return resultobj;
7911 fail:
7912 return NULL;
7913}
7914
7915
a95a7133 7916static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7917 PyObject *resultobj;
7918 wxPyShape *arg1 = (wxPyShape *) 0 ;
7919 wxList *arg2 = 0 ;
7920 PyObject * obj0 = 0 ;
7921 PyObject * obj1 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "self",(char *) "list", NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxList,
7930 SWIG_POINTER_EXCEPTION | 0)) == -1)
7931 SWIG_fail;
44127b65 7932 if (arg2 == NULL) {
2f4c0a16
RD
7933 PyErr_SetString(PyExc_TypeError,"null reference");
7934 SWIG_fail;
44127b65
RD
7935 }
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 (arg1)->ClearPointList(*arg2);
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 Py_INCREF(Py_None); resultobj = Py_None;
7944 return resultobj;
7945 fail:
7946 return NULL;
7947}
7948
7949
a95a7133 7950static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7951 PyObject *resultobj;
7952 wxPyShape *arg1 = (wxPyShape *) 0 ;
7953 wxPen result;
7954 PyObject * obj0 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (arg1)->GetBackgroundPen();
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 {
7970 wxPen * resultptr;
7971 resultptr = new wxPen((wxPen &) result);
2f4c0a16 7972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPen, 1);
44127b65
RD
7973 }
7974 return resultobj;
7975 fail:
7976 return NULL;
7977}
7978
7979
a95a7133 7980static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7981 PyObject *resultobj;
7982 wxPyShape *arg1 = (wxPyShape *) 0 ;
7983 wxBrush result;
7984 PyObject * obj0 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "self", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 result = (arg1)->GetBackgroundBrush();
7995
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 {
8000 wxBrush * resultptr;
8001 resultptr = new wxBrush((wxBrush &) result);
2f4c0a16 8002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBrush, 1);
44127b65
RD
8003 }
8004 return resultobj;
8005 fail:
8006 return NULL;
8007}
8008
8009
a95a7133 8010static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8011 PyObject *resultobj;
8012 wxPyShape *arg1 = (wxPyShape *) 0 ;
8013 PyObject * obj0 = 0 ;
8014 char *kwnames[] = {
8015 (char *) "self", NULL
8016 };
8017
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 (arg1)->base_OnDelete();
8024
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 Py_INCREF(Py_None); resultobj = Py_None;
8029 return resultobj;
8030 fail:
8031 return NULL;
8032}
8033
8034
a95a7133 8035static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8036 PyObject *resultobj;
8037 wxPyShape *arg1 = (wxPyShape *) 0 ;
8038 wxDC *arg2 = 0 ;
8039 PyObject * obj0 = 0 ;
8040 PyObject * obj1 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self",(char *) "dc", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8049 SWIG_POINTER_EXCEPTION | 0)) == -1)
8050 SWIG_fail;
44127b65 8051 if (arg2 == NULL) {
2f4c0a16
RD
8052 PyErr_SetString(PyExc_TypeError,"null reference");
8053 SWIG_fail;
44127b65
RD
8054 }
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 (arg1)->base_OnDraw(*arg2);
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066}
8067
8068
a95a7133 8069static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8070 PyObject *resultobj;
8071 wxPyShape *arg1 = (wxPyShape *) 0 ;
8072 wxDC *arg2 = 0 ;
8073 PyObject * obj0 = 0 ;
8074 PyObject * obj1 = 0 ;
8075 char *kwnames[] = {
8076 (char *) "self",(char *) "dc", NULL
8077 };
8078
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8083 SWIG_POINTER_EXCEPTION | 0)) == -1)
8084 SWIG_fail;
44127b65 8085 if (arg2 == NULL) {
2f4c0a16
RD
8086 PyErr_SetString(PyExc_TypeError,"null reference");
8087 SWIG_fail;
44127b65
RD
8088 }
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 (arg1)->base_OnDrawContents(*arg2);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 Py_INCREF(Py_None); resultobj = Py_None;
8097 return resultobj;
8098 fail:
8099 return NULL;
8100}
8101
8102
a95a7133 8103static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8104 PyObject *resultobj;
8105 wxPyShape *arg1 = (wxPyShape *) 0 ;
8106 wxDC *arg2 = 0 ;
8107 bool arg3 = (bool) False ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 PyObject * obj2 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "dc",(char *) "erase", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8119 SWIG_POINTER_EXCEPTION | 0)) == -1)
8120 SWIG_fail;
44127b65 8121 if (arg2 == NULL) {
2f4c0a16
RD
8122 PyErr_SetString(PyExc_TypeError,"null reference");
8123 SWIG_fail;
44127b65
RD
8124 }
8125 if (obj2) {
2f4c0a16
RD
8126 arg3 = (bool) SWIG_AsBool(obj2);
8127 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8128 }
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 (arg1)->base_OnDrawBranches(*arg2,arg3);
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 Py_INCREF(Py_None); resultobj = Py_None;
8137 return resultobj;
8138 fail:
8139 return NULL;
8140}
8141
8142
a95a7133 8143static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8144 PyObject *resultobj;
8145 wxPyShape *arg1 = (wxPyShape *) 0 ;
8146 wxDC *arg2 = 0 ;
8147 PyObject * obj0 = 0 ;
8148 PyObject * obj1 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "dc", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8157 SWIG_POINTER_EXCEPTION | 0)) == -1)
8158 SWIG_fail;
44127b65 8159 if (arg2 == NULL) {
2f4c0a16
RD
8160 PyErr_SetString(PyExc_TypeError,"null reference");
8161 SWIG_fail;
44127b65
RD
8162 }
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 (arg1)->base_OnMoveLinks(*arg2);
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 Py_INCREF(Py_None); resultobj = Py_None;
8171 return resultobj;
8172 fail:
8173 return NULL;
8174}
8175
8176
a95a7133 8177static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8178 PyObject *resultobj;
8179 wxPyShape *arg1 = (wxPyShape *) 0 ;
8180 wxDC *arg2 = 0 ;
8181 PyObject * obj0 = 0 ;
8182 PyObject * obj1 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self",(char *) "dc", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8191 SWIG_POINTER_EXCEPTION | 0)) == -1)
8192 SWIG_fail;
44127b65 8193 if (arg2 == NULL) {
2f4c0a16
RD
8194 PyErr_SetString(PyExc_TypeError,"null reference");
8195 SWIG_fail;
44127b65
RD
8196 }
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 (arg1)->base_OnErase(*arg2);
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 Py_INCREF(Py_None); resultobj = Py_None;
8205 return resultobj;
8206 fail:
8207 return NULL;
8208}
8209
8210
a95a7133 8211static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8212 PyObject *resultobj;
8213 wxPyShape *arg1 = (wxPyShape *) 0 ;
8214 wxDC *arg2 = 0 ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 char *kwnames[] = {
8218 (char *) "self",(char *) "dc", NULL
8219 };
8220
8221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8225 SWIG_POINTER_EXCEPTION | 0)) == -1)
8226 SWIG_fail;
44127b65 8227 if (arg2 == NULL) {
2f4c0a16
RD
8228 PyErr_SetString(PyExc_TypeError,"null reference");
8229 SWIG_fail;
44127b65
RD
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 (arg1)->base_OnEraseContents(*arg2);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 Py_INCREF(Py_None); resultobj = Py_None;
8239 return resultobj;
8240 fail:
8241 return NULL;
8242}
8243
8244
a95a7133 8245static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8246 PyObject *resultobj;
8247 wxPyShape *arg1 = (wxPyShape *) 0 ;
8248 wxDC *arg2 = 0 ;
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8251 char *kwnames[] = {
8252 (char *) "self",(char *) "dc", NULL
8253 };
8254
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8259 SWIG_POINTER_EXCEPTION | 0)) == -1)
8260 SWIG_fail;
44127b65 8261 if (arg2 == NULL) {
2f4c0a16
RD
8262 PyErr_SetString(PyExc_TypeError,"null reference");
8263 SWIG_fail;
44127b65
RD
8264 }
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->base_OnHighlight(*arg2);
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 Py_INCREF(Py_None); resultobj = Py_None;
8273 return resultobj;
8274 fail:
8275 return NULL;
8276}
8277
8278
a95a7133 8279static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8280 PyObject *resultobj;
8281 wxPyShape *arg1 = (wxPyShape *) 0 ;
8282 double arg2 ;
8283 double arg3 ;
8284 int arg4 = (int) 0 ;
8285 int arg5 = (int) 0 ;
8286 PyObject * obj0 = 0 ;
8edf1c75
RD
8287 PyObject * obj1 = 0 ;
8288 PyObject * obj2 = 0 ;
8289 PyObject * obj3 = 0 ;
8290 PyObject * obj4 = 0 ;
44127b65
RD
8291 char *kwnames[] = {
8292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8293 };
8294
8edf1c75 8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8298 arg2 = (double) SWIG_AsDouble(obj1);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 arg3 = (double) SWIG_AsDouble(obj2);
8301 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8302 if (obj3) {
2f4c0a16
RD
8303 arg4 = (int) SWIG_AsInt(obj3);
8304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8305 }
8306 if (obj4) {
2f4c0a16
RD
8307 arg5 = (int) SWIG_AsInt(obj4);
8308 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8309 }
44127b65
RD
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 return resultobj;
8319 fail:
8320 return NULL;
8321}
8322
8323
a95a7133 8324static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8325 PyObject *resultobj;
8326 wxPyShape *arg1 = (wxPyShape *) 0 ;
8327 double arg2 ;
8328 double arg3 ;
8329 int arg4 = (int) 0 ;
8330 int arg5 = (int) 0 ;
8331 PyObject * obj0 = 0 ;
8edf1c75
RD
8332 PyObject * obj1 = 0 ;
8333 PyObject * obj2 = 0 ;
8334 PyObject * obj3 = 0 ;
8335 PyObject * obj4 = 0 ;
44127b65
RD
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8338 };
8339
8edf1c75 8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8343 arg2 = (double) SWIG_AsDouble(obj1);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 arg3 = (double) SWIG_AsDouble(obj2);
8346 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8347 if (obj3) {
2f4c0a16
RD
8348 arg4 = (int) SWIG_AsInt(obj3);
8349 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8350 }
8351 if (obj4) {
2f4c0a16
RD
8352 arg5 = (int) SWIG_AsInt(obj4);
8353 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8354 }
44127b65
RD
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 Py_INCREF(Py_None); resultobj = Py_None;
8363 return resultobj;
8364 fail:
8365 return NULL;
8366}
8367
8368
a95a7133 8369static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8370 PyObject *resultobj;
8371 wxPyShape *arg1 = (wxPyShape *) 0 ;
8372 double arg2 ;
8373 double arg3 ;
8374 int arg4 = (int) 0 ;
8375 int arg5 = (int) 0 ;
8376 PyObject * obj0 = 0 ;
8edf1c75
RD
8377 PyObject * obj1 = 0 ;
8378 PyObject * obj2 = 0 ;
8379 PyObject * obj3 = 0 ;
8380 PyObject * obj4 = 0 ;
44127b65
RD
8381 char *kwnames[] = {
8382 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8383 };
8384
8edf1c75 8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8388 arg2 = (double) SWIG_AsDouble(obj1);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 arg3 = (double) SWIG_AsDouble(obj2);
8391 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8392 if (obj3) {
2f4c0a16
RD
8393 arg4 = (int) SWIG_AsInt(obj3);
8394 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8395 }
8396 if (obj4) {
2f4c0a16
RD
8397 arg5 = (int) SWIG_AsInt(obj4);
8398 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8399 }
44127b65
RD
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8403
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 Py_INCREF(Py_None); resultobj = Py_None;
8408 return resultobj;
8409 fail:
8410 return NULL;
8411}
8412
8413
a95a7133 8414static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8415 PyObject *resultobj;
8416 wxPyShape *arg1 = (wxPyShape *) 0 ;
8417 double arg2 ;
8418 double arg3 ;
8419 PyObject * obj0 = 0 ;
8edf1c75
RD
8420 PyObject * obj1 = 0 ;
8421 PyObject * obj2 = 0 ;
44127b65
RD
8422 char *kwnames[] = {
8423 (char *) "self",(char *) "x",(char *) "y", NULL
8424 };
8425
8edf1c75 8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8429 arg2 = (double) SWIG_AsDouble(obj1);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 arg3 = (double) SWIG_AsDouble(obj2);
8432 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->base_OnSize(arg2,arg3);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444}
8445
8446
a95a7133 8447static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8448 PyObject *resultobj;
8449 wxPyShape *arg1 = (wxPyShape *) 0 ;
8450 wxDC *arg2 = 0 ;
8451 double arg3 ;
8452 double arg4 ;
8453 double arg5 ;
8454 double arg6 ;
8455 bool arg7 = (bool) True ;
8456 bool result;
8457 PyObject * obj0 = 0 ;
8458 PyObject * obj1 = 0 ;
8edf1c75
RD
8459 PyObject * obj2 = 0 ;
8460 PyObject * obj3 = 0 ;
8461 PyObject * obj4 = 0 ;
8462 PyObject * obj5 = 0 ;
44127b65
RD
8463 PyObject * obj6 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8466 };
8467
8edf1c75 8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
8469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8472 SWIG_POINTER_EXCEPTION | 0)) == -1)
8473 SWIG_fail;
44127b65 8474 if (arg2 == NULL) {
2f4c0a16
RD
8475 PyErr_SetString(PyExc_TypeError,"null reference");
8476 SWIG_fail;
8477 }
8478 arg3 = (double) SWIG_AsDouble(obj2);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 arg4 = (double) SWIG_AsDouble(obj3);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 arg5 = (double) SWIG_AsDouble(obj4);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 arg6 = (double) SWIG_AsDouble(obj5);
8485 if (PyErr_Occurred()) SWIG_fail;
44127b65 8486 if (obj6) {
2f4c0a16
RD
8487 arg7 = (bool) SWIG_AsBool(obj6);
8488 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8489 }
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
fbc46b20
RD
8497 {
8498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8499 }
44127b65
RD
8500 return resultobj;
8501 fail:
8502 return NULL;
8503}
8504
8505
a95a7133 8506static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8507 PyObject *resultobj;
8508 wxPyShape *arg1 = (wxPyShape *) 0 ;
8509 wxDC *arg2 = 0 ;
8510 double arg3 ;
8511 double arg4 ;
8512 double arg5 ;
8513 double arg6 ;
8514 bool arg7 = (bool) True ;
8515 PyObject * obj0 = 0 ;
8516 PyObject * obj1 = 0 ;
8edf1c75
RD
8517 PyObject * obj2 = 0 ;
8518 PyObject * obj3 = 0 ;
8519 PyObject * obj4 = 0 ;
8520 PyObject * obj5 = 0 ;
44127b65
RD
8521 PyObject * obj6 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8524 };
8525
8edf1c75 8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
8527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8530 SWIG_POINTER_EXCEPTION | 0)) == -1)
8531 SWIG_fail;
44127b65 8532 if (arg2 == NULL) {
2f4c0a16
RD
8533 PyErr_SetString(PyExc_TypeError,"null reference");
8534 SWIG_fail;
8535 }
8536 arg3 = (double) SWIG_AsDouble(obj2);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 arg4 = (double) SWIG_AsDouble(obj3);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 arg5 = (double) SWIG_AsDouble(obj4);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 arg6 = (double) SWIG_AsDouble(obj5);
8543 if (PyErr_Occurred()) SWIG_fail;
44127b65 8544 if (obj6) {
2f4c0a16
RD
8545 arg7 = (bool) SWIG_AsBool(obj6);
8546 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8547 }
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 Py_INCREF(Py_None); resultobj = Py_None;
8556 return resultobj;
8557 fail:
8558 return NULL;
8559}
8560
8561
a95a7133 8562static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8563 PyObject *resultobj;
8564 wxPyShape *arg1 = (wxPyShape *) 0 ;
8565 bool arg2 ;
8566 double arg3 ;
8567 double arg4 ;
8568 int arg5 = (int) 0 ;
8569 int arg6 = (int) 0 ;
8570 PyObject * obj0 = 0 ;
8571 PyObject * obj1 = 0 ;
8edf1c75
RD
8572 PyObject * obj2 = 0 ;
8573 PyObject * obj3 = 0 ;
8574 PyObject * obj4 = 0 ;
8575 PyObject * obj5 = 0 ;
44127b65
RD
8576 char *kwnames[] = {
8577 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8578 };
8579
8edf1c75 8580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8583 arg2 = (bool) SWIG_AsBool(obj1);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 arg3 = (double) SWIG_AsDouble(obj2);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 arg4 = (double) SWIG_AsDouble(obj3);
8588 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8589 if (obj4) {
2f4c0a16
RD
8590 arg5 = (int) SWIG_AsInt(obj4);
8591 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8592 }
8593 if (obj5) {
2f4c0a16
RD
8594 arg6 = (int) SWIG_AsInt(obj5);
8595 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8596 }
44127b65
RD
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8600
8601 wxPyEndAllowThreads(__tstate);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 Py_INCREF(Py_None); resultobj = Py_None;
8605 return resultobj;
8606 fail:
8607 return NULL;
8608}
8609
8610
a95a7133 8611static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8612 PyObject *resultobj;
8613 wxPyShape *arg1 = (wxPyShape *) 0 ;
8614 double arg2 ;
8615 double arg3 ;
8616 int arg4 = (int) 0 ;
8617 int arg5 = (int) 0 ;
8618 PyObject * obj0 = 0 ;
8edf1c75
RD
8619 PyObject * obj1 = 0 ;
8620 PyObject * obj2 = 0 ;
8621 PyObject * obj3 = 0 ;
8622 PyObject * obj4 = 0 ;
44127b65
RD
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8625 };
8626
8edf1c75 8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8630 arg2 = (double) SWIG_AsDouble(obj1);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 arg3 = (double) SWIG_AsDouble(obj2);
8633 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8634 if (obj3) {
2f4c0a16
RD
8635 arg4 = (int) SWIG_AsInt(obj3);
8636 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8637 }
8638 if (obj4) {
2f4c0a16
RD
8639 arg5 = (int) SWIG_AsInt(obj4);
8640 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8641 }
44127b65
RD
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 Py_INCREF(Py_None); resultobj = Py_None;
8650 return resultobj;
8651 fail:
8652 return NULL;
8653}
8654
8655
a95a7133 8656static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8657 PyObject *resultobj;
8658 wxPyShape *arg1 = (wxPyShape *) 0 ;
8659 double arg2 ;
8660 double arg3 ;
8661 int arg4 = (int) 0 ;
8662 int arg5 = (int) 0 ;
8663 PyObject * obj0 = 0 ;
8edf1c75
RD
8664 PyObject * obj1 = 0 ;
8665 PyObject * obj2 = 0 ;
8666 PyObject * obj3 = 0 ;
8667 PyObject * obj4 = 0 ;
44127b65
RD
8668 char *kwnames[] = {
8669 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8670 };
8671
8edf1c75 8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8675 arg2 = (double) SWIG_AsDouble(obj1);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 arg3 = (double) SWIG_AsDouble(obj2);
8678 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8679 if (obj3) {
2f4c0a16
RD
8680 arg4 = (int) SWIG_AsInt(obj3);
8681 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8682 }
8683 if (obj4) {
2f4c0a16
RD
8684 arg5 = (int) SWIG_AsInt(obj4);
8685 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8686 }
44127b65
RD
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 Py_INCREF(Py_None); resultobj = Py_None;
8695 return resultobj;
8696 fail:
8697 return NULL;
8698}
8699
8700
a95a7133 8701static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8702 PyObject *resultobj;
8703 wxPyShape *arg1 = (wxPyShape *) 0 ;
8704 bool arg2 ;
8705 double arg3 ;
8706 double arg4 ;
8707 int arg5 = (int) 0 ;
8708 int arg6 = (int) 0 ;
8709 PyObject * obj0 = 0 ;
8710 PyObject * obj1 = 0 ;
8edf1c75
RD
8711 PyObject * obj2 = 0 ;
8712 PyObject * obj3 = 0 ;
8713 PyObject * obj4 = 0 ;
8714 PyObject * obj5 = 0 ;
44127b65
RD
8715 char *kwnames[] = {
8716 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8717 };
8718
8edf1c75 8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8722 arg2 = (bool) SWIG_AsBool(obj1);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 arg3 = (double) SWIG_AsDouble(obj2);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 arg4 = (double) SWIG_AsDouble(obj3);
8727 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8728 if (obj4) {
2f4c0a16
RD
8729 arg5 = (int) SWIG_AsInt(obj4);
8730 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8731 }
8732 if (obj5) {
2f4c0a16
RD
8733 arg6 = (int) SWIG_AsInt(obj5);
8734 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8735 }
44127b65
RD
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747}
8748
8749
a95a7133 8750static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8751 PyObject *resultobj;
8752 wxPyShape *arg1 = (wxPyShape *) 0 ;
8753 double arg2 ;
8754 double arg3 ;
8755 int arg4 = (int) 0 ;
8756 int arg5 = (int) 0 ;
8757 PyObject * obj0 = 0 ;
8edf1c75
RD
8758 PyObject * obj1 = 0 ;
8759 PyObject * obj2 = 0 ;
8760 PyObject * obj3 = 0 ;
8761 PyObject * obj4 = 0 ;
44127b65
RD
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8764 };
8765
8edf1c75 8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8769 arg2 = (double) SWIG_AsDouble(obj1);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 arg3 = (double) SWIG_AsDouble(obj2);
8772 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8773 if (obj3) {
2f4c0a16
RD
8774 arg4 = (int) SWIG_AsInt(obj3);
8775 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8776 }
8777 if (obj4) {
2f4c0a16
RD
8778 arg5 = (int) SWIG_AsInt(obj4);
8779 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8780 }
44127b65
RD
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 Py_INCREF(Py_None); resultobj = Py_None;
8789 return resultobj;
8790 fail:
8791 return NULL;
8792}
8793
8794
a95a7133 8795static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8796 PyObject *resultobj;
8797 wxPyShape *arg1 = (wxPyShape *) 0 ;
8798 double arg2 ;
8799 double arg3 ;
8800 int arg4 = (int) 0 ;
8801 int arg5 = (int) 0 ;
8802 PyObject * obj0 = 0 ;
8edf1c75
RD
8803 PyObject * obj1 = 0 ;
8804 PyObject * obj2 = 0 ;
8805 PyObject * obj3 = 0 ;
8806 PyObject * obj4 = 0 ;
44127b65
RD
8807 char *kwnames[] = {
8808 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8809 };
8810
8edf1c75 8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8814 arg2 = (double) SWIG_AsDouble(obj1);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 arg3 = (double) SWIG_AsDouble(obj2);
8817 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8818 if (obj3) {
2f4c0a16
RD
8819 arg4 = (int) SWIG_AsInt(obj3);
8820 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8821 }
8822 if (obj4) {
2f4c0a16
RD
8823 arg5 = (int) SWIG_AsInt(obj4);
8824 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8825 }
44127b65
RD
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 Py_INCREF(Py_None); resultobj = Py_None;
8834 return resultobj;
8835 fail:
8836 return NULL;
8837}
8838
8839
a95a7133 8840static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8841 PyObject *resultobj;
8842 wxPyShape *arg1 = (wxPyShape *) 0 ;
8843 wxDC *arg2 = 0 ;
8844 double arg3 ;
8845 double arg4 ;
8846 double arg5 ;
8847 double arg6 ;
8848 PyObject * obj0 = 0 ;
8849 PyObject * obj1 = 0 ;
8edf1c75
RD
8850 PyObject * obj2 = 0 ;
8851 PyObject * obj3 = 0 ;
8852 PyObject * obj4 = 0 ;
8853 PyObject * obj5 = 0 ;
44127b65
RD
8854 char *kwnames[] = {
8855 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8856 };
8857
8edf1c75 8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8862 SWIG_POINTER_EXCEPTION | 0)) == -1)
8863 SWIG_fail;
44127b65 8864 if (arg2 == NULL) {
2f4c0a16
RD
8865 PyErr_SetString(PyExc_TypeError,"null reference");
8866 SWIG_fail;
8edf1c75 8867 }
2f4c0a16
RD
8868 arg3 = (double) SWIG_AsDouble(obj2);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 arg4 = (double) SWIG_AsDouble(obj3);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 arg5 = (double) SWIG_AsDouble(obj4);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 arg6 = (double) SWIG_AsDouble(obj5);
8875 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 Py_INCREF(Py_None); resultobj = Py_None;
8884 return resultobj;
8885 fail:
8886 return NULL;
8887}
8888
8889
a95a7133 8890static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8891 PyObject *resultobj;
8892 wxPyShape *arg1 = (wxPyShape *) 0 ;
8893 wxDC *arg2 = 0 ;
8894 PyObject * obj0 = 0 ;
8895 PyObject * obj1 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "dc", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8904 SWIG_POINTER_EXCEPTION | 0)) == -1)
8905 SWIG_fail;
44127b65 8906 if (arg2 == NULL) {
2f4c0a16
RD
8907 PyErr_SetString(PyExc_TypeError,"null reference");
8908 SWIG_fail;
44127b65
RD
8909 }
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 (arg1)->base_OnDrawControlPoints(*arg2);
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 Py_INCREF(Py_None); resultobj = Py_None;
8918 return resultobj;
8919 fail:
8920 return NULL;
8921}
8922
8923
a95a7133 8924static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8925 PyObject *resultobj;
8926 wxPyShape *arg1 = (wxPyShape *) 0 ;
8927 wxDC *arg2 = 0 ;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 char *kwnames[] = {
8931 (char *) "self",(char *) "dc", NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8938 SWIG_POINTER_EXCEPTION | 0)) == -1)
8939 SWIG_fail;
44127b65 8940 if (arg2 == NULL) {
2f4c0a16
RD
8941 PyErr_SetString(PyExc_TypeError,"null reference");
8942 SWIG_fail;
44127b65
RD
8943 }
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 (arg1)->base_OnEraseControlPoints(*arg2);
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 Py_INCREF(Py_None); resultobj = Py_None;
8952 return resultobj;
8953 fail:
8954 return NULL;
8955}
8956
8957
a95a7133 8958static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8959 PyObject *resultobj;
8960 wxPyShape *arg1 = (wxPyShape *) 0 ;
8961 wxDC *arg2 = 0 ;
8962 bool arg3 = (bool) True ;
8963 PyObject * obj0 = 0 ;
8964 PyObject * obj1 = 0 ;
8965 PyObject * obj2 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8974 SWIG_POINTER_EXCEPTION | 0)) == -1)
8975 SWIG_fail;
44127b65 8976 if (arg2 == NULL) {
2f4c0a16
RD
8977 PyErr_SetString(PyExc_TypeError,"null reference");
8978 SWIG_fail;
44127b65
RD
8979 }
8980 if (obj2) {
2f4c0a16
RD
8981 arg3 = (bool) SWIG_AsBool(obj2);
8982 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8983 }
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 (arg1)->base_OnMoveLink(*arg2,arg3);
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 Py_INCREF(Py_None); resultobj = Py_None;
8992 return resultobj;
8993 fail:
8994 return NULL;
8995}
8996
8997
a95a7133 8998static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8999 PyObject *resultobj;
9000 wxPyShape *arg1 = (wxPyShape *) 0 ;
9001 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9002 bool arg3 ;
9003 double arg4 ;
9004 double arg5 ;
9005 int arg6 = (int) 0 ;
9006 int arg7 = (int) 0 ;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 PyObject * obj2 = 0 ;
8edf1c75
RD
9010 PyObject * obj3 = 0 ;
9011 PyObject * obj4 = 0 ;
9012 PyObject * obj5 = 0 ;
9013 PyObject * obj6 = 0 ;
44127b65
RD
9014 char *kwnames[] = {
9015 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9016 };
9017
8edf1c75 9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
9019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9023 arg3 = (bool) SWIG_AsBool(obj2);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 arg4 = (double) SWIG_AsDouble(obj3);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 arg5 = (double) SWIG_AsDouble(obj4);
9028 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9029 if (obj5) {
2f4c0a16
RD
9030 arg6 = (int) SWIG_AsInt(obj5);
9031 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9032 }
9033 if (obj6) {
2f4c0a16
RD
9034 arg7 = (int) SWIG_AsInt(obj6);
9035 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9036 }
44127b65
RD
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 Py_INCREF(Py_None); resultobj = Py_None;
9045 return resultobj;
9046 fail:
9047 return NULL;
9048}
9049
9050
a95a7133 9051static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9052 PyObject *resultobj;
9053 wxPyShape *arg1 = (wxPyShape *) 0 ;
9054 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9055 double arg3 ;
9056 double arg4 ;
9057 int arg5 = (int) 0 ;
9058 int arg6 = (int) 0 ;
9059 PyObject * obj0 = 0 ;
9060 PyObject * obj1 = 0 ;
8edf1c75
RD
9061 PyObject * obj2 = 0 ;
9062 PyObject * obj3 = 0 ;
9063 PyObject * obj4 = 0 ;
9064 PyObject * obj5 = 0 ;
44127b65
RD
9065 char *kwnames[] = {
9066 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9067 };
9068
8edf1c75 9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9074 arg3 = (double) SWIG_AsDouble(obj2);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 arg4 = (double) SWIG_AsDouble(obj3);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 if (obj4) {
9079 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
2f4c0a16
RD
9082 if (obj5) {
9083 arg6 = (int) SWIG_AsInt(obj5);
8edf1c75
RD
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
44127b65
RD
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097}
9098
9099
a95a7133 9100static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9101 PyObject *resultobj;
9102 wxPyShape *arg1 = (wxPyShape *) 0 ;
9103 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9104 double arg3 ;
9105 double arg4 ;
9106 int arg5 = (int) 0 ;
9107 int arg6 = (int) 0 ;
9108 PyObject * obj0 = 0 ;
9109 PyObject * obj1 = 0 ;
8edf1c75
RD
9110 PyObject * obj2 = 0 ;
9111 PyObject * obj3 = 0 ;
9112 PyObject * obj4 = 0 ;
9113 PyObject * obj5 = 0 ;
44127b65
RD
9114 char *kwnames[] = {
9115 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9116 };
9117
8edf1c75 9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 arg3 = (double) SWIG_AsDouble(obj2);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 arg4 = (double) SWIG_AsDouble(obj3);
9126 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9127 if (obj4) {
2f4c0a16
RD
9128 arg5 = (int) SWIG_AsInt(obj4);
9129 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9130 }
9131 if (obj5) {
2f4c0a16
RD
9132 arg6 = (int) SWIG_AsInt(obj5);
9133 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9134 }
44127b65
RD
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 Py_INCREF(Py_None); resultobj = Py_None;
9143 return resultobj;
9144 fail:
9145 return NULL;
9146}
9147
9148
a95a7133 9149static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9150 PyObject *resultobj;
9151 wxPyShape *arg1 = (wxPyShape *) 0 ;
9152 double arg2 ;
9153 double arg3 ;
9154 PyObject * obj0 = 0 ;
8edf1c75
RD
9155 PyObject * obj1 = 0 ;
9156 PyObject * obj2 = 0 ;
44127b65
RD
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "w",(char *) "h", NULL
9159 };
9160
8edf1c75 9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9164 arg2 = (double) SWIG_AsDouble(obj1);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 arg3 = (double) SWIG_AsDouble(obj2);
9167 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->base_OnBeginSize(arg2,arg3);
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179}
9180
9181
a95a7133 9182static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9183 PyObject *resultobj;
9184 wxPyShape *arg1 = (wxPyShape *) 0 ;
9185 double arg2 ;
9186 double arg3 ;
9187 PyObject * obj0 = 0 ;
8edf1c75
RD
9188 PyObject * obj1 = 0 ;
9189 PyObject * obj2 = 0 ;
44127b65
RD
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "w",(char *) "h", NULL
9192 };
9193
8edf1c75 9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9197 arg2 = (double) SWIG_AsDouble(obj1);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 arg3 = (double) SWIG_AsDouble(obj2);
9200 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 (arg1)->base_OnEndSize(arg2,arg3);
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 Py_INCREF(Py_None); resultobj = Py_None;
9209 return resultobj;
9210 fail:
9211 return NULL;
9212}
9213
9214
a95a7133 9215static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
9216 PyObject *obj;
9217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9218 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9219 Py_INCREF(obj);
9220 return Py_BuildValue((char *)"");
9221}
a95a7133 9222static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9223 PyObject *resultobj;
9224 wxPseudoMetaFile *result;
9225 char *kwnames[] = {
9226 NULL
9227 };
9228
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9230 {
9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
9232 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9233
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 {
9238 resultobj = wxPyMake_wxObject(result);
9239 }
9240 return resultobj;
9241 fail:
9242 return NULL;
9243}
9244
9245
a95a7133 9246static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9247 PyObject *resultobj;
9248 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 delete arg1;
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 Py_INCREF(Py_None); resultobj = Py_None;
9265 return resultobj;
9266 fail:
9267 return NULL;
9268}
9269
9270
a95a7133 9271static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9272 PyObject *resultobj;
9273 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9274 wxDC *arg2 = 0 ;
9275 double arg3 ;
9276 double arg4 ;
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
8edf1c75
RD
9279 PyObject * obj2 = 0 ;
9280 PyObject * obj3 = 0 ;
44127b65
RD
9281 char *kwnames[] = {
9282 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9283 };
9284
8edf1c75 9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9289 SWIG_POINTER_EXCEPTION | 0)) == -1)
9290 SWIG_fail;
44127b65 9291 if (arg2 == NULL) {
2f4c0a16
RD
9292 PyErr_SetString(PyExc_TypeError,"null reference");
9293 SWIG_fail;
8edf1c75 9294 }
2f4c0a16
RD
9295 arg3 = (double) SWIG_AsDouble(obj2);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 arg4 = (double) SWIG_AsDouble(obj3);
9298 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Draw(*arg2,arg3,arg4);
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 Py_INCREF(Py_None); resultobj = Py_None;
9307 return resultobj;
9308 fail:
9309 return NULL;
9310}
9311
9312
a95a7133 9313static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9314 PyObject *resultobj;
9315 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9316 PyObject * obj0 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->Clear();
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335}
9336
9337
a95a7133 9338static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9339 PyObject *resultobj;
9340 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9341 wxPseudoMetaFile *arg2 = 0 ;
9342 PyObject * obj0 = 0 ;
9343 PyObject * obj1 = 0 ;
9344 char *kwnames[] = {
9345 (char *) "self",(char *) "copy", NULL
9346 };
9347
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPseudoMetaFile,
9352 SWIG_POINTER_EXCEPTION | 0)) == -1)
9353 SWIG_fail;
44127b65 9354 if (arg2 == NULL) {
2f4c0a16
RD
9355 PyErr_SetString(PyExc_TypeError,"null reference");
9356 SWIG_fail;
44127b65
RD
9357 }
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 (arg1)->Copy(*arg2);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 Py_INCREF(Py_None); resultobj = Py_None;
9366 return resultobj;
9367 fail:
9368 return NULL;
9369}
9370
9371
a95a7133 9372static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9373 PyObject *resultobj;
9374 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9375 double arg2 ;
9376 double arg3 ;
9377 PyObject * obj0 = 0 ;
8edf1c75
RD
9378 PyObject * obj1 = 0 ;
9379 PyObject * obj2 = 0 ;
44127b65
RD
9380 char *kwnames[] = {
9381 (char *) "self",(char *) "sx",(char *) "sy", NULL
9382 };
9383
8edf1c75 9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9387 arg2 = (double) SWIG_AsDouble(obj1);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 arg3 = (double) SWIG_AsDouble(obj2);
9390 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 (arg1)->Scale(arg2,arg3);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 Py_INCREF(Py_None); resultobj = Py_None;
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
a95a7133 9405static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9406 PyObject *resultobj;
9407 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9408 double arg2 ;
9409 double arg3 ;
9410 PyObject * obj0 = 0 ;
8edf1c75
RD
9411 PyObject * obj1 = 0 ;
9412 PyObject * obj2 = 0 ;
44127b65
RD
9413 char *kwnames[] = {
9414 (char *) "self",(char *) "w",(char *) "h", NULL
9415 };
9416
8edf1c75 9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9420 arg2 = (double) SWIG_AsDouble(obj1);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 arg3 = (double) SWIG_AsDouble(obj2);
9423 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 (arg1)->ScaleTo(arg2,arg3);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 Py_INCREF(Py_None); resultobj = Py_None;
9432 return resultobj;
9433 fail:
9434 return NULL;
9435}
9436
9437
a95a7133 9438static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9439 PyObject *resultobj;
9440 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9441 double arg2 ;
9442 double arg3 ;
9443 PyObject * obj0 = 0 ;
8edf1c75
RD
9444 PyObject * obj1 = 0 ;
9445 PyObject * obj2 = 0 ;
44127b65
RD
9446 char *kwnames[] = {
9447 (char *) "self",(char *) "x",(char *) "y", NULL
9448 };
9449
8edf1c75 9450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9453 arg2 = (double) SWIG_AsDouble(obj1);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 arg3 = (double) SWIG_AsDouble(obj2);
9456 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 (arg1)->Translate(arg2,arg3);
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 Py_INCREF(Py_None); resultobj = Py_None;
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
a95a7133 9471static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9472 PyObject *resultobj;
9473 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9474 double arg2 ;
9475 double arg3 ;
9476 double arg4 ;
9477 PyObject * obj0 = 0 ;
8edf1c75
RD
9478 PyObject * obj1 = 0 ;
9479 PyObject * obj2 = 0 ;
9480 PyObject * obj3 = 0 ;
44127b65
RD
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9483 };
9484
8edf1c75 9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9488 arg2 = (double) SWIG_AsDouble(obj1);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 arg3 = (double) SWIG_AsDouble(obj2);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 arg4 = (double) SWIG_AsDouble(obj3);
9493 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 (arg1)->Rotate(arg2,arg3,arg4);
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 Py_INCREF(Py_None); resultobj = Py_None;
9502 return resultobj;
9503 fail:
9504 return NULL;
9505}
9506
9507
a95a7133 9508static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9509 PyObject *resultobj;
9510 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9511 wxString *arg2 = 0 ;
9512 double *arg3 = (double *) 0 ;
9513 double *arg4 = (double *) 0 ;
9514 bool result;
9515 bool temp2 = False ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518 PyObject * obj2 = 0 ;
9519 PyObject * obj3 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9527 {
9528 arg2 = wxString_in_helper(obj1);
9529 if (arg2 == NULL) SWIG_fail;
9530 temp2 = True;
9531 }
2f4c0a16
RD
9532 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9534 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
fbc46b20
RD
9543 {
9544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9545 }
44127b65
RD
9546 {
9547 if (temp2)
9548 delete arg2;
9549 }
9550 return resultobj;
9551 fail:
9552 {
9553 if (temp2)
9554 delete arg2;
9555 }
9556 return NULL;
9557}
9558
9559
a95a7133 9560static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9561 PyObject *resultobj;
9562 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9563 double *arg2 = (double *) 0 ;
9564 double *arg3 = (double *) 0 ;
9565 double *arg4 = (double *) 0 ;
9566 double *arg5 = (double *) 0 ;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 PyObject * obj2 = 0 ;
9570 PyObject * obj3 = 0 ;
9571 PyObject * obj4 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
9577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,
9580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9581 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9583 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9585 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_double,
9586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
9594 Py_INCREF(Py_None); resultobj = Py_None;
9595 return resultobj;
9596 fail:
9597 return NULL;
9598}
9599
9600
a95a7133 9601static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9602 PyObject *resultobj;
9603 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9604 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "self",(char *) "shape", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDrawnShape,
9615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 (arg1)->CalculateSize(arg2);
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 Py_INCREF(Py_None); resultobj = Py_None;
9624 return resultobj;
9625 fail:
9626 return NULL;
9627}
9628
9629
a95a7133 9630static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9631 PyObject *resultobj;
9632 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9633 bool arg2 ;
9634 PyObject * obj0 = 0 ;
9635 PyObject * obj1 = 0 ;
9636 char *kwnames[] = {
9637 (char *) "self",(char *) "rot", NULL
9638 };
9639
9640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9643 arg2 = (bool) SWIG_AsBool(obj1);
9644 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 (arg1)->SetRotateable(arg2);
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 Py_INCREF(Py_None); resultobj = Py_None;
9653 return resultobj;
9654 fail:
9655 return NULL;
9656}
9657
9658
a95a7133 9659static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9660 PyObject *resultobj;
9661 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9662 bool result;
9663 PyObject * obj0 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 result = (bool)(arg1)->GetRotateable();
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
fbc46b20
RD
9678 {
9679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9680 }
44127b65
RD
9681 return resultobj;
9682 fail:
9683 return NULL;
9684}
9685
9686
a95a7133 9687static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9688 PyObject *resultobj;
9689 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9690 double arg2 ;
9691 double arg3 ;
9692 PyObject * obj0 = 0 ;
8edf1c75
RD
9693 PyObject * obj1 = 0 ;
9694 PyObject * obj2 = 0 ;
44127b65
RD
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "w",(char *) "h", NULL
9697 };
9698
8edf1c75 9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9702 arg2 = (double) SWIG_AsDouble(obj1);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 arg3 = (double) SWIG_AsDouble(obj2);
9705 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 (arg1)->SetSize(arg2,arg3);
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
a95a7133 9720static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9721 PyObject *resultobj;
9722 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9723 wxBrush *arg2 = (wxBrush *) 0 ;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self",(char *) "brush", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9733 {
9734 wxBrush* temp;
9735 if (obj1) {
9736 if (obj1 == Py_None) {
9737 temp = NULL;
9738 }
9739 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9740 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9741 return NULL;
9742 }
9743 }
9744 if (temp)
9745 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9746 else
9747 arg2 = NULL;
9748 }
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 (arg1)->SetFillBrush(arg2);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 Py_INCREF(Py_None); resultobj = Py_None;
9757 return resultobj;
9758 fail:
9759 return NULL;
9760}
9761
9762
a95a7133 9763static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9764 PyObject *resultobj;
9765 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9766 wxBrush *result;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (wxBrush *)(arg1)->GetFillBrush();
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
2f4c0a16 9782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
44127b65
RD
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
a95a7133 9789static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9790 PyObject *resultobj;
9791 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9792 wxPen *arg2 = (wxPen *) 0 ;
9793 PyObject * obj0 = 0 ;
9794 PyObject * obj1 = 0 ;
9795 char *kwnames[] = {
9796 (char *) "self",(char *) "pen", NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9802 {
9803 wxPen* temp;
9804 if (obj1) {
9805 if (obj1 == Py_None) {
9806 temp = NULL;
9807 }
9808 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9809 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9810 return NULL;
9811 }
9812 }
9813 if (temp)
9814 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9815 temp->GetWidth(),
9816 temp->GetStyle());
9817 else
9818 arg2 = NULL;
9819 }
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 (arg1)->SetOutlinePen(arg2);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 Py_INCREF(Py_None); resultobj = Py_None;
9828 return resultobj;
9829 fail:
9830 return NULL;
9831}
9832
9833
a95a7133 9834static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9835 PyObject *resultobj;
9836 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9837 wxPen *result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (wxPen *)(arg1)->GetOutlinePen();
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
2f4c0a16 9853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
9854 return resultobj;
9855 fail:
9856 return NULL;
9857}
9858
9859
a95a7133 9860static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9861 PyObject *resultobj;
9862 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9863 int arg2 ;
9864 PyObject * obj0 = 0 ;
8edf1c75 9865 PyObject * obj1 = 0 ;
44127b65
RD
9866 char *kwnames[] = {
9867 (char *) "self",(char *) "op", NULL
9868 };
9869
8edf1c75 9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9873 arg2 = (int) SWIG_AsInt(obj1);
9874 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->SetOutlineOp(arg2);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 Py_INCREF(Py_None); resultobj = Py_None;
9883 return resultobj;
9884 fail:
9885 return NULL;
9886}
9887
9888
a95a7133 9889static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9890 PyObject *resultobj;
9891 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9892 int result;
9893 PyObject * obj0 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (int)(arg1)->GetOutlineOp();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
2f4c0a16 9908 resultobj = SWIG_FromInt((int)result);
44127b65
RD
9909 return resultobj;
9910 fail:
9911 return NULL;
9912}
9913
9914
a95a7133 9915static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9916 PyObject *resultobj;
9917 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9918 bool result;
9919 PyObject * obj0 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "self", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 result = (bool)(arg1)->IsValid();
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
fbc46b20
RD
9934 {
9935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9936 }
44127b65
RD
9937 return resultobj;
9938 fail:
9939 return NULL;
9940}
9941
9942
a95a7133 9943static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9944 PyObject *resultobj;
9945 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9946 wxPoint *arg2 = 0 ;
9947 wxPoint *arg3 = 0 ;
9948 wxPoint temp2 ;
9949 wxPoint temp3 ;
9950 PyObject * obj0 = 0 ;
9951 PyObject * obj1 = 0 ;
9952 PyObject * obj2 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9960 {
9961 arg2 = &temp2;
9962 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9963 }
9964 {
9965 arg3 = &temp3;
9966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9967 }
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 return resultobj;
9977 fail:
9978 return NULL;
9979}
9980
9981
a95a7133 9982static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9983 PyObject *resultobj;
9984 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9985 wxRect *arg2 = 0 ;
9986 wxRect temp2 ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 char *kwnames[] = {
9990 (char *) "self",(char *) "rect", NULL
9991 };
9992
9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9996 {
9997 arg2 = &temp2;
9998 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9999 }
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 (arg1)->DrawRectangle((wxRect const &)*arg2);
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 Py_INCREF(Py_None); resultobj = Py_None;
10008 return resultobj;
10009 fail:
10010 return NULL;
10011}
10012
10013
a95a7133 10014static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10015 PyObject *resultobj;
10016 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10017 wxRect *arg2 = 0 ;
10018 double arg3 ;
10019 wxRect temp2 ;
10020 PyObject * obj0 = 0 ;
10021 PyObject * obj1 = 0 ;
8edf1c75 10022 PyObject * obj2 = 0 ;
44127b65
RD
10023 char *kwnames[] = {
10024 (char *) "self",(char *) "rect",(char *) "radius", NULL
10025 };
10026
8edf1c75 10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10030 {
10031 arg2 = &temp2;
10032 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10033 }
2f4c0a16
RD
10034 arg3 = (double) SWIG_AsDouble(obj2);
10035 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 Py_INCREF(Py_None); resultobj = Py_None;
10044 return resultobj;
10045 fail:
10046 return NULL;
10047}
10048
10049
a95a7133 10050static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10051 PyObject *resultobj;
10052 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10053 wxPoint *arg2 = 0 ;
10054 wxPoint *arg3 = 0 ;
10055 wxPoint *arg4 = 0 ;
10056 wxPoint temp2 ;
10057 wxPoint temp3 ;
10058 wxPoint temp4 ;
10059 PyObject * obj0 = 0 ;
10060 PyObject * obj1 = 0 ;
10061 PyObject * obj2 = 0 ;
10062 PyObject * obj3 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10070 {
10071 arg2 = &temp2;
10072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10073 }
10074 {
10075 arg3 = &temp3;
10076 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10077 }
10078 {
10079 arg4 = &temp4;
10080 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10081 }
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 Py_INCREF(Py_None); resultobj = Py_None;
10090 return resultobj;
10091 fail:
10092 return NULL;
10093}
10094
10095
a95a7133 10096static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10097 PyObject *resultobj;
10098 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10099 wxRect *arg2 = 0 ;
10100 double arg3 ;
10101 double arg4 ;
10102 wxRect temp2 ;
10103 PyObject * obj0 = 0 ;
10104 PyObject * obj1 = 0 ;
8edf1c75
RD
10105 PyObject * obj2 = 0 ;
10106 PyObject * obj3 = 0 ;
44127b65
RD
10107 char *kwnames[] = {
10108 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10109 };
10110
8edf1c75 10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10114 {
10115 arg2 = &temp2;
10116 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10117 }
2f4c0a16
RD
10118 arg3 = (double) SWIG_AsDouble(obj2);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 arg4 = (double) SWIG_AsDouble(obj3);
10121 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 Py_INCREF(Py_None); resultobj = Py_None;
10130 return resultobj;
10131 fail:
10132 return NULL;
10133}
10134
10135
a95a7133 10136static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10137 PyObject *resultobj;
10138 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10139 wxRect *arg2 = 0 ;
10140 wxRect temp2 ;
10141 PyObject * obj0 = 0 ;
10142 PyObject * obj1 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self",(char *) "rect", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10150 {
10151 arg2 = &temp2;
10152 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10153 }
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 (arg1)->DrawEllipse((wxRect const &)*arg2);
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 Py_INCREF(Py_None); resultobj = Py_None;
10162 return resultobj;
10163 fail:
10164 return NULL;
10165}
10166
10167
a95a7133 10168static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10169 PyObject *resultobj;
10170 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10171 wxPoint *arg2 = 0 ;
10172 wxPoint temp2 ;
10173 PyObject * obj0 = 0 ;
10174 PyObject * obj1 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self",(char *) "pt", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10182 {
10183 arg2 = &temp2;
10184 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10185 }
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 (arg1)->DrawPoint((wxPoint const &)*arg2);
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 Py_INCREF(Py_None); resultobj = Py_None;
10194 return resultobj;
10195 fail:
10196 return NULL;
10197}
10198
10199
a95a7133 10200static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10201 PyObject *resultobj;
10202 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10203 wxString *arg2 = 0 ;
10204 wxPoint *arg3 = 0 ;
10205 bool temp2 = False ;
10206 wxPoint temp3 ;
10207 PyObject * obj0 = 0 ;
10208 PyObject * obj1 = 0 ;
10209 PyObject * obj2 = 0 ;
10210 char *kwnames[] = {
10211 (char *) "self",(char *) "text",(char *) "pt", NULL
10212 };
10213
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10217 {
10218 arg2 = wxString_in_helper(obj1);
10219 if (arg2 == NULL) SWIG_fail;
10220 temp2 = True;
10221 }
10222 {
10223 arg3 = &temp3;
10224 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10225 }
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 Py_INCREF(Py_None); resultobj = Py_None;
10234 {
10235 if (temp2)
10236 delete arg2;
10237 }
10238 return resultobj;
10239 fail:
10240 {
10241 if (temp2)
10242 delete arg2;
10243 }
10244 return NULL;
10245}
10246
10247
a95a7133 10248static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10249 PyObject *resultobj;
10250 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10251 int arg2 ;
10252 wxPoint *arg3 = (wxPoint *) 0 ;
10253 PyObject * obj0 = 0 ;
8edf1c75 10254 PyObject * obj1 = 0 ;
44127b65
RD
10255 PyObject * obj2 = 0 ;
10256 char *kwnames[] = {
10257 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10258 };
10259
8edf1c75 10260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10263 arg2 = (int) SWIG_AsInt(obj1);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10267 {
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
10269 (arg1)->DrawLines(arg2,arg3);
10270
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 Py_INCREF(Py_None); resultobj = Py_None;
10275 return resultobj;
10276 fail:
10277 return NULL;
10278}
10279
10280
a95a7133 10281static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10282 PyObject *resultobj;
10283 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10284 int arg2 ;
10285 wxPoint *arg3 = (wxPoint *) 0 ;
10286 int arg4 = (int) 0 ;
10287 PyObject * obj0 = 0 ;
8edf1c75 10288 PyObject * obj1 = 0 ;
44127b65 10289 PyObject * obj2 = 0 ;
8edf1c75 10290 PyObject * obj3 = 0 ;
44127b65
RD
10291 char *kwnames[] = {
10292 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10293 };
10294
8edf1c75 10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10298 arg2 = (int) SWIG_AsInt(obj1);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 10302 if (obj3) {
2f4c0a16
RD
10303 arg4 = (int) SWIG_AsInt(obj3);
10304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10305 }
44127b65
RD
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->DrawPolygon(arg2,arg3,arg4);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 Py_INCREF(Py_None); resultobj = Py_None;
10314 return resultobj;
10315 fail:
10316 return NULL;
10317}
10318
10319
a95a7133 10320static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10321 PyObject *resultobj;
10322 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10323 int arg2 ;
10324 wxPoint *arg3 = (wxPoint *) 0 ;
10325 PyObject * obj0 = 0 ;
8edf1c75 10326 PyObject * obj1 = 0 ;
44127b65
RD
10327 PyObject * obj2 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10330 };
10331
8edf1c75 10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10335 arg2 = (int) SWIG_AsInt(obj1);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 (arg1)->DrawSpline(arg2,arg3);
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 Py_INCREF(Py_None); resultobj = Py_None;
10347 return resultobj;
10348 fail:
10349 return NULL;
10350}
10351
10352
a95a7133 10353static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10354 PyObject *resultobj;
10355 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10356 wxRect *arg2 = 0 ;
10357 wxRect temp2 ;
10358 PyObject * obj0 = 0 ;
10359 PyObject * obj1 = 0 ;
10360 char *kwnames[] = {
10361 (char *) "self",(char *) "rect", NULL
10362 };
10363
10364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10367 {
10368 arg2 = &temp2;
10369 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 (arg1)->SetClippingRect((wxRect const &)*arg2);
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 Py_INCREF(Py_None); resultobj = Py_None;
10379 return resultobj;
10380 fail:
10381 return NULL;
10382}
10383
10384
a95a7133 10385static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10386 PyObject *resultobj;
10387 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10388 PyObject * obj0 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 (arg1)->DestroyClippingRect();
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 Py_INCREF(Py_None); resultobj = Py_None;
10404 return resultobj;
10405 fail:
10406 return NULL;
10407}
10408
10409
a95a7133 10410static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10411 PyObject *resultobj;
10412 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10413 wxPen *arg2 = (wxPen *) 0 ;
10414 bool arg3 = (bool) FALSE ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 PyObject * obj2 = 0 ;
10418 char *kwnames[] = {
10419 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10420 };
10421
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10425 {
10426 wxPen* temp;
10427 if (obj1) {
10428 if (obj1 == Py_None) {
10429 temp = NULL;
10430 }
10431 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10432 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10433 return NULL;
10434 }
10435 }
10436 if (temp)
10437 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10438 temp->GetWidth(),
10439 temp->GetStyle());
10440 else
10441 arg2 = NULL;
10442 }
10443 if (obj2) {
2f4c0a16
RD
10444 arg3 = (bool) SWIG_AsBool(obj2);
10445 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10446 }
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 (arg1)->SetPen(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
a95a7133 10461static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10462 PyObject *resultobj;
10463 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10464 wxBrush *arg2 = (wxBrush *) 0 ;
10465 bool arg3 = (bool) FALSE ;
10466 PyObject * obj0 = 0 ;
10467 PyObject * obj1 = 0 ;
10468 PyObject * obj2 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10471 };
10472
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10476 {
10477 wxBrush* temp;
10478 if (obj1) {
10479 if (obj1 == Py_None) {
10480 temp = NULL;
10481 }
10482 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10483 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10484 return NULL;
10485 }
10486 }
10487 if (temp)
10488 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10489 else
10490 arg2 = NULL;
10491 }
10492 if (obj2) {
2f4c0a16
RD
10493 arg3 = (bool) SWIG_AsBool(obj2);
10494 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10495 }
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 (arg1)->SetBrush(arg2,arg3);
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 Py_INCREF(Py_None); resultobj = Py_None;
10504 return resultobj;
10505 fail:
10506 return NULL;
10507}
10508
10509
a95a7133 10510static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10511 PyObject *resultobj;
10512 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10513 wxFont *arg2 = (wxFont *) 0 ;
10514 PyObject * obj0 = 0 ;
10515 PyObject * obj1 = 0 ;
10516 char *kwnames[] = {
10517 (char *) "self",(char *) "font", NULL
10518 };
10519
10520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10523 {
10524 wxFont* temp;
10525 if (obj1) {
10526 if (obj1 == Py_None) {
10527 temp = NULL;
10528 }
10529 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10530 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10531 return NULL;
10532 }
10533 }
10534 if (temp)
10535 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10536 temp->GetFamily(),
10537 temp->GetStyle(),
10538 temp->GetWeight(),
10539 temp->GetUnderlined(),
10540 temp->GetFaceName(),
10541 temp->GetEncoding());
10542 else
10543 arg2 = NULL;
10544 }
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 (arg1)->SetFont(arg2);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 Py_INCREF(Py_None); resultobj = Py_None;
10553 return resultobj;
10554 fail:
10555 return NULL;
10556}
10557
10558
a95a7133 10559static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10560 PyObject *resultobj;
10561 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10562 wxColour *arg2 = 0 ;
10563 wxColour temp2 ;
10564 PyObject * obj0 = 0 ;
10565 PyObject * obj1 = 0 ;
10566 char *kwnames[] = {
10567 (char *) "self",(char *) "colour", NULL
10568 };
10569
10570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10573 {
10574 arg2 = &temp2;
10575 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10576 }
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 (arg1)->SetTextColour((wxColour const &)*arg2);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 Py_INCREF(Py_None); resultobj = Py_None;
10585 return resultobj;
10586 fail:
10587 return NULL;
10588}
10589
10590
a95a7133 10591static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10592 PyObject *resultobj;
10593 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10594 wxColour *arg2 = 0 ;
10595 wxColour temp2 ;
10596 PyObject * obj0 = 0 ;
10597 PyObject * obj1 = 0 ;
10598 char *kwnames[] = {
10599 (char *) "self",(char *) "colour", NULL
10600 };
10601
10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10605 {
10606 arg2 = &temp2;
10607 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10608 }
10609 {
10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
10611 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10612
10613 wxPyEndAllowThreads(__tstate);
10614 if (PyErr_Occurred()) SWIG_fail;
10615 }
10616 Py_INCREF(Py_None); resultobj = Py_None;
10617 return resultobj;
10618 fail:
10619 return NULL;
10620}
10621
10622
a95a7133 10623static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10624 PyObject *resultobj;
10625 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10626 int arg2 ;
10627 PyObject * obj0 = 0 ;
8edf1c75 10628 PyObject * obj1 = 0 ;
44127b65
RD
10629 char *kwnames[] = {
10630 (char *) "self",(char *) "mode", NULL
10631 };
10632
8edf1c75 10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10636 arg2 = (int) SWIG_AsInt(obj1);
10637 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 (arg1)->SetBackgroundMode(arg2);
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 Py_INCREF(Py_None); resultobj = Py_None;
10646 return resultobj;
10647 fail:
10648 return NULL;
10649}
10650
10651
a95a7133 10652static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
10653 PyObject *obj;
10654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10655 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10656 Py_INCREF(obj);
10657 return Py_BuildValue((char *)"");
10658}
a95a7133 10659static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10660 PyObject *resultobj;
10661 double arg1 = (double) 0.0 ;
10662 double arg2 = (double) 0.0 ;
10663 wxPyRectangleShape *result;
8edf1c75
RD
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
44127b65
RD
10666 char *kwnames[] = {
10667 (char *) "width",(char *) "height", NULL
10668 };
10669
8edf1c75
RD
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10671 if (obj0) {
2f4c0a16
RD
10672 arg1 = (double) SWIG_AsDouble(obj0);
10673 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10674 }
10675 if (obj1) {
2f4c0a16
RD
10676 arg2 = (double) SWIG_AsDouble(obj1);
10677 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10678 }
44127b65
RD
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
2f4c0a16 10686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyRectangleShape, 1);
44127b65
RD
10687 return resultobj;
10688 fail:
10689 return NULL;
10690}
10691
10692
a95a7133 10693static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10694 PyObject *resultobj;
10695 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10696 PyObject *arg2 = (PyObject *) 0 ;
10697 PyObject *arg3 = (PyObject *) 0 ;
10698 PyObject * obj0 = 0 ;
10699 PyObject * obj1 = 0 ;
10700 PyObject * obj2 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self",(char *) "self",(char *) "_class", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10708 arg2 = obj1;
10709 arg3 = obj2;
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->_setCallbackInfo(arg2,arg3);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
a95a7133 10724static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10725 PyObject *resultobj;
10726 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10727 double arg2 ;
10728 PyObject * obj0 = 0 ;
8edf1c75 10729 PyObject * obj1 = 0 ;
44127b65
RD
10730 char *kwnames[] = {
10731 (char *) "self",(char *) "radius", NULL
10732 };
10733
8edf1c75 10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 arg2 = (double) SWIG_AsDouble(obj1);
10738 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 (arg1)->SetCornerRadius(arg2);
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 Py_INCREF(Py_None); resultobj = Py_None;
10747 return resultobj;
10748 fail:
10749 return NULL;
10750}
10751
10752
a95a7133 10753static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
10754 PyObject *resultobj;
10755 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10756 double result;
10757 PyObject * obj0 = 0 ;
10758 char *kwnames[] = {
10759 (char *) "self", NULL
10760 };
10761
10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
10765 {
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 result = (double)(arg1)->GetCornerRadius();
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
2f4c0a16 10772 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
10773 return resultobj;
10774 fail:
10775 return NULL;
10776}
10777
10778
a95a7133 10779static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10780 PyObject *resultobj;
10781 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10782 PyObject * obj0 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 (arg1)->base_OnDelete();
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 Py_INCREF(Py_None); resultobj = Py_None;
10798 return resultobj;
10799 fail:
10800 return NULL;
10801}
10802
10803
a95a7133 10804static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10805 PyObject *resultobj;
10806 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10807 wxDC *arg2 = 0 ;
10808 PyObject * obj0 = 0 ;
10809 PyObject * obj1 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self",(char *) "dc", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10818 SWIG_POINTER_EXCEPTION | 0)) == -1)
10819 SWIG_fail;
44127b65 10820 if (arg2 == NULL) {
2f4c0a16
RD
10821 PyErr_SetString(PyExc_TypeError,"null reference");
10822 SWIG_fail;
44127b65
RD
10823 }
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 (arg1)->base_OnDraw(*arg2);
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 Py_INCREF(Py_None); resultobj = Py_None;
10832 return resultobj;
10833 fail:
10834 return NULL;
10835}
10836
10837
a95a7133 10838static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10839 PyObject *resultobj;
10840 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10841 wxDC *arg2 = 0 ;
10842 PyObject * obj0 = 0 ;
10843 PyObject * obj1 = 0 ;
10844 char *kwnames[] = {
10845 (char *) "self",(char *) "dc", NULL
10846 };
10847
10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10852 SWIG_POINTER_EXCEPTION | 0)) == -1)
10853 SWIG_fail;
44127b65 10854 if (arg2 == NULL) {
2f4c0a16
RD
10855 PyErr_SetString(PyExc_TypeError,"null reference");
10856 SWIG_fail;
44127b65
RD
10857 }
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->base_OnDrawContents(*arg2);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 Py_INCREF(Py_None); resultobj = Py_None;
10866 return resultobj;
10867 fail:
10868 return NULL;
10869}
10870
10871
a95a7133 10872static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10873 PyObject *resultobj;
10874 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10875 wxDC *arg2 = 0 ;
10876 bool arg3 = (bool) FALSE ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 PyObject * obj2 = 0 ;
10880 char *kwnames[] = {
10881 (char *) "self",(char *) "dc",(char *) "erase", NULL
10882 };
10883
10884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10888 SWIG_POINTER_EXCEPTION | 0)) == -1)
10889 SWIG_fail;
44127b65 10890 if (arg2 == NULL) {
2f4c0a16
RD
10891 PyErr_SetString(PyExc_TypeError,"null reference");
10892 SWIG_fail;
44127b65
RD
10893 }
10894 if (obj2) {
2f4c0a16
RD
10895 arg3 = (bool) SWIG_AsBool(obj2);
10896 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10897 }
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->base_OnDrawBranches(*arg2,arg3);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 Py_INCREF(Py_None); resultobj = Py_None;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909}
10910
10911
a95a7133 10912static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10913 PyObject *resultobj;
10914 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10915 wxDC *arg2 = 0 ;
10916 PyObject * obj0 = 0 ;
10917 PyObject * obj1 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "dc", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10926 SWIG_POINTER_EXCEPTION | 0)) == -1)
10927 SWIG_fail;
44127b65 10928 if (arg2 == NULL) {
2f4c0a16
RD
10929 PyErr_SetString(PyExc_TypeError,"null reference");
10930 SWIG_fail;
44127b65
RD
10931 }
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 (arg1)->base_OnMoveLinks(*arg2);
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 Py_INCREF(Py_None); resultobj = Py_None;
10940 return resultobj;
10941 fail:
10942 return NULL;
10943}
10944
10945
a95a7133 10946static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10947 PyObject *resultobj;
10948 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10949 wxDC *arg2 = 0 ;
10950 PyObject * obj0 = 0 ;
10951 PyObject * obj1 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self",(char *) "dc", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1)
10961 SWIG_fail;
44127b65 10962 if (arg2 == NULL) {
2f4c0a16
RD
10963 PyErr_SetString(PyExc_TypeError,"null reference");
10964 SWIG_fail;
44127b65
RD
10965 }
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 (arg1)->base_OnErase(*arg2);
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 Py_INCREF(Py_None); resultobj = Py_None;
10974 return resultobj;
10975 fail:
10976 return NULL;
10977}
10978
10979
a95a7133 10980static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10981 PyObject *resultobj;
10982 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10983 wxDC *arg2 = 0 ;
10984 PyObject * obj0 = 0 ;
10985 PyObject * obj1 = 0 ;
10986 char *kwnames[] = {
10987 (char *) "self",(char *) "dc", NULL
10988 };
10989
10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10994 SWIG_POINTER_EXCEPTION | 0)) == -1)
10995 SWIG_fail;
44127b65 10996 if (arg2 == NULL) {
2f4c0a16
RD
10997 PyErr_SetString(PyExc_TypeError,"null reference");
10998 SWIG_fail;
44127b65
RD
10999 }
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 (arg1)->base_OnEraseContents(*arg2);
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 Py_INCREF(Py_None); resultobj = Py_None;
11008 return resultobj;
11009 fail:
11010 return NULL;
11011}
11012
11013
a95a7133 11014static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11015 PyObject *resultobj;
11016 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11017 wxDC *arg2 = 0 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "dc", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11028 SWIG_POINTER_EXCEPTION | 0)) == -1)
11029 SWIG_fail;
44127b65 11030 if (arg2 == NULL) {
2f4c0a16
RD
11031 PyErr_SetString(PyExc_TypeError,"null reference");
11032 SWIG_fail;
44127b65
RD
11033 }
11034 {
11035 PyThreadState* __tstate = wxPyBeginAllowThreads();
11036 (arg1)->base_OnHighlight(*arg2);
11037
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 Py_INCREF(Py_None); resultobj = Py_None;
11042 return resultobj;
11043 fail:
11044 return NULL;
11045}
11046
11047
a95a7133 11048static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11049 PyObject *resultobj;
11050 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11051 double arg2 ;
11052 double arg3 ;
11053 int arg4 = (int) 0 ;
11054 int arg5 = (int) 0 ;
11055 PyObject * obj0 = 0 ;
8edf1c75
RD
11056 PyObject * obj1 = 0 ;
11057 PyObject * obj2 = 0 ;
11058 PyObject * obj3 = 0 ;
11059 PyObject * obj4 = 0 ;
44127b65
RD
11060 char *kwnames[] = {
11061 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11062 };
11063
8edf1c75 11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11067 arg2 = (double) SWIG_AsDouble(obj1);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 arg3 = (double) SWIG_AsDouble(obj2);
11070 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11071 if (obj3) {
2f4c0a16
RD
11072 arg4 = (int) SWIG_AsInt(obj3);
11073 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11074 }
11075 if (obj4) {
2f4c0a16
RD
11076 arg5 = (int) SWIG_AsInt(obj4);
11077 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11078 }
44127b65
RD
11079 {
11080 PyThreadState* __tstate = wxPyBeginAllowThreads();
11081 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11082
11083 wxPyEndAllowThreads(__tstate);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 Py_INCREF(Py_None); resultobj = Py_None;
11087 return resultobj;
11088 fail:
11089 return NULL;
11090}
11091
11092
a95a7133 11093static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11094 PyObject *resultobj;
11095 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11096 double arg2 ;
11097 double arg3 ;
11098 int arg4 = (int) 0 ;
11099 int arg5 = (int) 0 ;
11100 PyObject * obj0 = 0 ;
8edf1c75
RD
11101 PyObject * obj1 = 0 ;
11102 PyObject * obj2 = 0 ;
11103 PyObject * obj3 = 0 ;
11104 PyObject * obj4 = 0 ;
44127b65
RD
11105 char *kwnames[] = {
11106 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11107 };
11108
8edf1c75 11109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11112 arg2 = (double) SWIG_AsDouble(obj1);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 arg3 = (double) SWIG_AsDouble(obj2);
11115 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11116 if (obj3) {
2f4c0a16
RD
11117 arg4 = (int) SWIG_AsInt(obj3);
11118 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11119 }
11120 if (obj4) {
2f4c0a16
RD
11121 arg5 = (int) SWIG_AsInt(obj4);
11122 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11123 }
44127b65
RD
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 Py_INCREF(Py_None); resultobj = Py_None;
11132 return resultobj;
11133 fail:
11134 return NULL;
11135}
11136
11137
a95a7133 11138static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11139 PyObject *resultobj;
11140 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11141 double arg2 ;
11142 double arg3 ;
11143 int arg4 = (int) 0 ;
11144 int arg5 = (int) 0 ;
11145 PyObject * obj0 = 0 ;
8edf1c75
RD
11146 PyObject * obj1 = 0 ;
11147 PyObject * obj2 = 0 ;
11148 PyObject * obj3 = 0 ;
11149 PyObject * obj4 = 0 ;
44127b65
RD
11150 char *kwnames[] = {
11151 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11152 };
11153
8edf1c75 11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11157 arg2 = (double) SWIG_AsDouble(obj1);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 arg3 = (double) SWIG_AsDouble(obj2);
11160 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11161 if (obj3) {
2f4c0a16
RD
11162 arg4 = (int) SWIG_AsInt(obj3);
11163 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11164 }
11165 if (obj4) {
2f4c0a16
RD
11166 arg5 = (int) SWIG_AsInt(obj4);
11167 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11168 }
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11172
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 Py_INCREF(Py_None); resultobj = Py_None;
11177 return resultobj;
11178 fail:
11179 return NULL;
11180}
11181
11182
a95a7133 11183static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
11184 PyObject *resultobj;
11185 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
44127b65
RD
11186 double arg2 ;
11187 double arg3 ;
11188 PyObject * obj0 = 0 ;
8edf1c75
RD
11189 PyObject * obj1 = 0 ;
11190 PyObject * obj2 = 0 ;
44127b65
RD
11191 char *kwnames[] = {
11192 (char *) "self",(char *) "x",(char *) "y", NULL
11193 };
11194
8edf1c75 11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11198 arg2 = (double) SWIG_AsDouble(obj1);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 arg3 = (double) SWIG_AsDouble(obj2);
11201 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 (arg1)->base_OnSize(arg2,arg3);
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 Py_INCREF(Py_None); resultobj = Py_None;
11210 return resultobj;
11211 fail:
11212 return NULL;
11213}
11214
11215
a95a7133 11216static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11217 PyObject *resultobj;
11218 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11219 wxDC *arg2 = 0 ;
11220 double arg3 ;
11221 double arg4 ;
11222 double arg5 ;
11223 double arg6 ;
11224 bool arg7 = (bool) True ;
11225 bool result;
11226 PyObject * obj0 = 0 ;
11227 PyObject * obj1 = 0 ;
8edf1c75
RD
11228 PyObject * obj2 = 0 ;
11229 PyObject * obj3 = 0 ;
11230 PyObject * obj4 = 0 ;
11231 PyObject * obj5 = 0 ;
44127b65
RD
11232 PyObject * obj6 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11235 };
11236
8edf1c75 11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11241 SWIG_POINTER_EXCEPTION | 0)) == -1)
11242 SWIG_fail;
44127b65 11243 if (arg2 == NULL) {
2f4c0a16
RD
11244 PyErr_SetString(PyExc_TypeError,"null reference");
11245 SWIG_fail;
11246 }
11247 arg3 = (double) SWIG_AsDouble(obj2);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 arg4 = (double) SWIG_AsDouble(obj3);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 arg5 = (double) SWIG_AsDouble(obj4);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 arg6 = (double) SWIG_AsDouble(obj5);
11254 if (PyErr_Occurred()) SWIG_fail;
44127b65 11255 if (obj6) {
2f4c0a16
RD
11256 arg7 = (bool) SWIG_AsBool(obj6);
11257 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11258 }
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
fbc46b20
RD
11266 {
11267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11268 }
44127b65
RD
11269 return resultobj;
11270 fail:
11271 return NULL;
11272}
11273
11274
a95a7133 11275static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11276 PyObject *resultobj;
11277 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11278 wxDC *arg2 = 0 ;
11279 double arg3 ;
11280 double arg4 ;
11281 double arg5 ;
11282 double arg6 ;
11283 bool arg7 = (bool) True ;
11284 PyObject * obj0 = 0 ;
11285 PyObject * obj1 = 0 ;
8edf1c75
RD
11286 PyObject * obj2 = 0 ;
11287 PyObject * obj3 = 0 ;
11288 PyObject * obj4 = 0 ;
11289 PyObject * obj5 = 0 ;
44127b65
RD
11290 PyObject * obj6 = 0 ;
11291 char *kwnames[] = {
11292 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11293 };
11294
8edf1c75 11295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11299 SWIG_POINTER_EXCEPTION | 0)) == -1)
11300 SWIG_fail;
44127b65 11301 if (arg2 == NULL) {
2f4c0a16
RD
11302 PyErr_SetString(PyExc_TypeError,"null reference");
11303 SWIG_fail;
11304 }
11305 arg3 = (double) SWIG_AsDouble(obj2);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 arg4 = (double) SWIG_AsDouble(obj3);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 arg5 = (double) SWIG_AsDouble(obj4);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 arg6 = (double) SWIG_AsDouble(obj5);
11312 if (PyErr_Occurred()) SWIG_fail;
44127b65 11313 if (obj6) {
2f4c0a16
RD
11314 arg7 = (bool) SWIG_AsBool(obj6);
11315 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328}
11329
11330
a95a7133 11331static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11332 PyObject *resultobj;
11333 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11334 bool arg2 ;
11335 double arg3 ;
11336 double arg4 ;
11337 int arg5 = (int) 0 ;
11338 int arg6 = (int) 0 ;
11339 PyObject * obj0 = 0 ;
11340 PyObject * obj1 = 0 ;
8edf1c75
RD
11341 PyObject * obj2 = 0 ;
11342 PyObject * obj3 = 0 ;
11343 PyObject * obj4 = 0 ;
11344 PyObject * obj5 = 0 ;
44127b65
RD
11345 char *kwnames[] = {
11346 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11347 };
11348
8edf1c75 11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11352 arg2 = (bool) SWIG_AsBool(obj1);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 arg3 = (double) SWIG_AsDouble(obj2);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 arg4 = (double) SWIG_AsDouble(obj3);
11357 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11358 if (obj4) {
2f4c0a16
RD
11359 arg5 = (int) SWIG_AsInt(obj4);
11360 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11361 }
11362 if (obj5) {
2f4c0a16
RD
11363 arg6 = (int) SWIG_AsInt(obj5);
11364 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11365 }
44127b65
RD
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 Py_INCREF(Py_None); resultobj = Py_None;
11374 return resultobj;
11375 fail:
11376 return NULL;
11377}
11378
11379
a95a7133 11380static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11381 PyObject *resultobj;
11382 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11383 double arg2 ;
11384 double arg3 ;
11385 int arg4 = (int) 0 ;
11386 int arg5 = (int) 0 ;
11387 PyObject * obj0 = 0 ;
8edf1c75
RD
11388 PyObject * obj1 = 0 ;
11389 PyObject * obj2 = 0 ;
11390 PyObject * obj3 = 0 ;
11391 PyObject * obj4 = 0 ;
44127b65
RD
11392 char *kwnames[] = {
11393 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11394 };
11395
8edf1c75 11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11399 arg2 = (double) SWIG_AsDouble(obj1);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 arg3 = (double) SWIG_AsDouble(obj2);
11402 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11403 if (obj3) {
2f4c0a16
RD
11404 arg4 = (int) SWIG_AsInt(obj3);
11405 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11406 }
11407 if (obj4) {
2f4c0a16
RD
11408 arg5 = (int) SWIG_AsInt(obj4);
11409 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11410 }
44127b65
RD
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11414
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 Py_INCREF(Py_None); resultobj = Py_None;
11419 return resultobj;
11420 fail:
11421 return NULL;
11422}
11423
11424
a95a7133 11425static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11426 PyObject *resultobj;
11427 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11428 double arg2 ;
11429 double arg3 ;
11430 int arg4 = (int) 0 ;
11431 int arg5 = (int) 0 ;
11432 PyObject * obj0 = 0 ;
8edf1c75
RD
11433 PyObject * obj1 = 0 ;
11434 PyObject * obj2 = 0 ;
11435 PyObject * obj3 = 0 ;
11436 PyObject * obj4 = 0 ;
44127b65
RD
11437 char *kwnames[] = {
11438 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11439 };
11440
8edf1c75 11441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11444 arg2 = (double) SWIG_AsDouble(obj1);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 arg3 = (double) SWIG_AsDouble(obj2);
11447 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11448 if (obj3) {
2f4c0a16
RD
11449 arg4 = (int) SWIG_AsInt(obj3);
11450 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11451 }
11452 if (obj4) {
2f4c0a16
RD
11453 arg5 = (int) SWIG_AsInt(obj4);
11454 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11455 }
44127b65
RD
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11459
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 Py_INCREF(Py_None); resultobj = Py_None;
11464 return resultobj;
11465 fail:
11466 return NULL;
11467}
11468
11469
a95a7133 11470static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11471 PyObject *resultobj;
11472 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11473 bool arg2 ;
11474 double arg3 ;
11475 double arg4 ;
11476 int arg5 = (int) 0 ;
11477 int arg6 = (int) 0 ;
11478 PyObject * obj0 = 0 ;
11479 PyObject * obj1 = 0 ;
8edf1c75
RD
11480 PyObject * obj2 = 0 ;
11481 PyObject * obj3 = 0 ;
11482 PyObject * obj4 = 0 ;
11483 PyObject * obj5 = 0 ;
44127b65
RD
11484 char *kwnames[] = {
11485 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11486 };
11487
8edf1c75 11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11491 arg2 = (bool) SWIG_AsBool(obj1);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 arg3 = (double) SWIG_AsDouble(obj2);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 arg4 = (double) SWIG_AsDouble(obj3);
11496 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11497 if (obj4) {
2f4c0a16
RD
11498 arg5 = (int) SWIG_AsInt(obj4);
11499 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11500 }
11501 if (obj5) {
2f4c0a16
RD
11502 arg6 = (int) SWIG_AsInt(obj5);
11503 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11504 }
44127b65
RD
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
11512 Py_INCREF(Py_None); resultobj = Py_None;
11513 return resultobj;
11514 fail:
11515 return NULL;
11516}
11517
11518
a95a7133 11519static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11520 PyObject *resultobj;
11521 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11522 double arg2 ;
11523 double arg3 ;
11524 int arg4 = (int) 0 ;
11525 int arg5 = (int) 0 ;
11526 PyObject * obj0 = 0 ;
8edf1c75
RD
11527 PyObject * obj1 = 0 ;
11528 PyObject * obj2 = 0 ;
11529 PyObject * obj3 = 0 ;
11530 PyObject * obj4 = 0 ;
44127b65
RD
11531 char *kwnames[] = {
11532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11533 };
11534
8edf1c75 11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11538 arg2 = (double) SWIG_AsDouble(obj1);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 arg3 = (double) SWIG_AsDouble(obj2);
11541 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11542 if (obj3) {
2f4c0a16
RD
11543 arg4 = (int) SWIG_AsInt(obj3);
11544 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11545 }
11546 if (obj4) {
2f4c0a16
RD
11547 arg5 = (int) SWIG_AsInt(obj4);
11548 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11549 }
44127b65
RD
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 Py_INCREF(Py_None); resultobj = Py_None;
11558 return resultobj;
11559 fail:
11560 return NULL;
11561}
11562
11563
a95a7133 11564static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11565 PyObject *resultobj;
11566 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11567 double arg2 ;
11568 double arg3 ;
11569 int arg4 = (int) 0 ;
11570 int arg5 = (int) 0 ;
11571 PyObject * obj0 = 0 ;
8edf1c75
RD
11572 PyObject * obj1 = 0 ;
11573 PyObject * obj2 = 0 ;
11574 PyObject * obj3 = 0 ;
11575 PyObject * obj4 = 0 ;
44127b65
RD
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11578 };
11579
8edf1c75 11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11583 arg2 = (double) SWIG_AsDouble(obj1);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 arg3 = (double) SWIG_AsDouble(obj2);
11586 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11587 if (obj3) {
2f4c0a16
RD
11588 arg4 = (int) SWIG_AsInt(obj3);
11589 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11590 }
11591 if (obj4) {
2f4c0a16
RD
11592 arg5 = (int) SWIG_AsInt(obj4);
11593 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11594 }
44127b65
RD
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 Py_INCREF(Py_None); resultobj = Py_None;
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
a95a7133 11609static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11610 PyObject *resultobj;
11611 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11612 wxDC *arg2 = 0 ;
11613 double arg3 ;
11614 double arg4 ;
11615 double arg5 ;
11616 double arg6 ;
11617 PyObject * obj0 = 0 ;
11618 PyObject * obj1 = 0 ;
8edf1c75
RD
11619 PyObject * obj2 = 0 ;
11620 PyObject * obj3 = 0 ;
11621 PyObject * obj4 = 0 ;
11622 PyObject * obj5 = 0 ;
44127b65
RD
11623 char *kwnames[] = {
11624 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11625 };
11626
8edf1c75 11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11631 SWIG_POINTER_EXCEPTION | 0)) == -1)
11632 SWIG_fail;
44127b65 11633 if (arg2 == NULL) {
2f4c0a16
RD
11634 PyErr_SetString(PyExc_TypeError,"null reference");
11635 SWIG_fail;
8edf1c75 11636 }
2f4c0a16
RD
11637 arg3 = (double) SWIG_AsDouble(obj2);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 arg4 = (double) SWIG_AsDouble(obj3);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 arg5 = (double) SWIG_AsDouble(obj4);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 arg6 = (double) SWIG_AsDouble(obj5);
11644 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11648
11649 wxPyEndAllowThreads(__tstate);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 Py_INCREF(Py_None); resultobj = Py_None;
11653 return resultobj;
11654 fail:
11655 return NULL;
11656}
11657
11658
a95a7133 11659static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11660 PyObject *resultobj;
11661 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11662 wxDC *arg2 = 0 ;
11663 PyObject * obj0 = 0 ;
11664 PyObject * obj1 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self",(char *) "dc", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11673 SWIG_POINTER_EXCEPTION | 0)) == -1)
11674 SWIG_fail;
44127b65 11675 if (arg2 == NULL) {
2f4c0a16
RD
11676 PyErr_SetString(PyExc_TypeError,"null reference");
11677 SWIG_fail;
44127b65
RD
11678 }
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 (arg1)->base_OnDrawControlPoints(*arg2);
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 Py_INCREF(Py_None); resultobj = Py_None;
11687 return resultobj;
11688 fail:
11689 return NULL;
11690}
11691
11692
a95a7133 11693static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11694 PyObject *resultobj;
11695 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11696 wxDC *arg2 = 0 ;
11697 PyObject * obj0 = 0 ;
11698 PyObject * obj1 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "self",(char *) "dc", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11707 SWIG_POINTER_EXCEPTION | 0)) == -1)
11708 SWIG_fail;
44127b65 11709 if (arg2 == NULL) {
2f4c0a16
RD
11710 PyErr_SetString(PyExc_TypeError,"null reference");
11711 SWIG_fail;
44127b65
RD
11712 }
11713 {
11714 PyThreadState* __tstate = wxPyBeginAllowThreads();
11715 (arg1)->base_OnEraseControlPoints(*arg2);
11716
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 Py_INCREF(Py_None); resultobj = Py_None;
11721 return resultobj;
11722 fail:
11723 return NULL;
11724}
11725
11726
a95a7133 11727static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11728 PyObject *resultobj;
11729 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11730 wxDC *arg2 = 0 ;
11731 bool arg3 = (bool) True ;
11732 PyObject * obj0 = 0 ;
11733 PyObject * obj1 = 0 ;
11734 PyObject * obj2 = 0 ;
11735 char *kwnames[] = {
11736 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11737 };
11738
11739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11743 SWIG_POINTER_EXCEPTION | 0)) == -1)
11744 SWIG_fail;
44127b65 11745 if (arg2 == NULL) {
2f4c0a16
RD
11746 PyErr_SetString(PyExc_TypeError,"null reference");
11747 SWIG_fail;
44127b65
RD
11748 }
11749 if (obj2) {
2f4c0a16
RD
11750 arg3 = (bool) SWIG_AsBool(obj2);
11751 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11752 }
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 (arg1)->base_OnMoveLink(*arg2,arg3);
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 Py_INCREF(Py_None); resultobj = Py_None;
11761 return resultobj;
11762 fail:
11763 return NULL;
11764}
11765
11766
a95a7133 11767static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11768 PyObject *resultobj;
11769 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11770 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11771 bool arg3 ;
11772 double arg4 ;
11773 double arg5 ;
11774 int arg6 = (int) 0 ;
11775 int arg7 = (int) 0 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 PyObject * obj2 = 0 ;
8edf1c75
RD
11779 PyObject * obj3 = 0 ;
11780 PyObject * obj4 = 0 ;
11781 PyObject * obj5 = 0 ;
11782 PyObject * obj6 = 0 ;
44127b65
RD
11783 char *kwnames[] = {
11784 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11785 };
11786
8edf1c75 11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11792 arg3 = (bool) SWIG_AsBool(obj2);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 arg4 = (double) SWIG_AsDouble(obj3);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 arg5 = (double) SWIG_AsDouble(obj4);
11797 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11798 if (obj5) {
2f4c0a16
RD
11799 arg6 = (int) SWIG_AsInt(obj5);
11800 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11801 }
11802 if (obj6) {
2f4c0a16
RD
11803 arg7 = (int) SWIG_AsInt(obj6);
11804 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11805 }
44127b65
RD
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 Py_INCREF(Py_None); resultobj = Py_None;
11814 return resultobj;
11815 fail:
11816 return NULL;
11817}
11818
11819
a95a7133 11820static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11821 PyObject *resultobj;
11822 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11823 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11824 double arg3 ;
11825 double arg4 ;
11826 int arg5 = (int) 0 ;
11827 int arg6 = (int) 0 ;
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
8edf1c75
RD
11830 PyObject * obj2 = 0 ;
11831 PyObject * obj3 = 0 ;
11832 PyObject * obj4 = 0 ;
11833 PyObject * obj5 = 0 ;
44127b65
RD
11834 char *kwnames[] = {
11835 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11836 };
11837
8edf1c75 11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11843 arg3 = (double) SWIG_AsDouble(obj2);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 arg4 = (double) SWIG_AsDouble(obj3);
11846 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11847 if (obj4) {
2f4c0a16
RD
11848 arg5 = (int) SWIG_AsInt(obj4);
11849 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11850 }
11851 if (obj5) {
2f4c0a16
RD
11852 arg6 = (int) SWIG_AsInt(obj5);
11853 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11854 }
44127b65
RD
11855 {
11856 PyThreadState* __tstate = wxPyBeginAllowThreads();
11857 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11858
11859 wxPyEndAllowThreads(__tstate);
11860 if (PyErr_Occurred()) SWIG_fail;
11861 }
11862 Py_INCREF(Py_None); resultobj = Py_None;
11863 return resultobj;
11864 fail:
11865 return NULL;
11866}
11867
11868
a95a7133 11869static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11870 PyObject *resultobj;
11871 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11872 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11873 double arg3 ;
11874 double arg4 ;
11875 int arg5 = (int) 0 ;
11876 int arg6 = (int) 0 ;
11877 PyObject * obj0 = 0 ;
11878 PyObject * obj1 = 0 ;
8edf1c75
RD
11879 PyObject * obj2 = 0 ;
11880 PyObject * obj3 = 0 ;
11881 PyObject * obj4 = 0 ;
11882 PyObject * obj5 = 0 ;
44127b65
RD
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11885 };
11886
8edf1c75 11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11892 arg3 = (double) SWIG_AsDouble(obj2);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 arg4 = (double) SWIG_AsDouble(obj3);
11895 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11896 if (obj4) {
2f4c0a16
RD
11897 arg5 = (int) SWIG_AsInt(obj4);
11898 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11899 }
11900 if (obj5) {
2f4c0a16
RD
11901 arg6 = (int) SWIG_AsInt(obj5);
11902 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11903 }
44127b65
RD
11904 {
11905 PyThreadState* __tstate = wxPyBeginAllowThreads();
11906 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11907
11908 wxPyEndAllowThreads(__tstate);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 }
11911 Py_INCREF(Py_None); resultobj = Py_None;
11912 return resultobj;
11913 fail:
11914 return NULL;
11915}
11916
11917
a95a7133 11918static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11919 PyObject *resultobj;
11920 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11921 double arg2 ;
11922 double arg3 ;
11923 PyObject * obj0 = 0 ;
8edf1c75
RD
11924 PyObject * obj1 = 0 ;
11925 PyObject * obj2 = 0 ;
44127b65
RD
11926 char *kwnames[] = {
11927 (char *) "self",(char *) "w",(char *) "h", NULL
11928 };
11929
8edf1c75 11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11933 arg2 = (double) SWIG_AsDouble(obj1);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 arg3 = (double) SWIG_AsDouble(obj2);
11936 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11937 {
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 (arg1)->base_OnBeginSize(arg2,arg3);
11940
11941 wxPyEndAllowThreads(__tstate);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 Py_INCREF(Py_None); resultobj = Py_None;
11945 return resultobj;
11946 fail:
11947 return NULL;
11948}
11949
11950
a95a7133 11951static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11952 PyObject *resultobj;
11953 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11954 double arg2 ;
11955 double arg3 ;
11956 PyObject * obj0 = 0 ;
8edf1c75
RD
11957 PyObject * obj1 = 0 ;
11958 PyObject * obj2 = 0 ;
44127b65
RD
11959 char *kwnames[] = {
11960 (char *) "self",(char *) "w",(char *) "h", NULL
11961 };
11962
8edf1c75 11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11966 arg2 = (double) SWIG_AsDouble(obj1);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 arg3 = (double) SWIG_AsDouble(obj2);
11969 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 (arg1)->base_OnEndSize(arg2,arg3);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 Py_INCREF(Py_None); resultobj = Py_None;
11978 return resultobj;
11979 fail:
11980 return NULL;
11981}
11982
11983
a95a7133 11984static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
11985 PyObject *obj;
11986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11987 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
11988 Py_INCREF(obj);
11989 return Py_BuildValue((char *)"");
11990}
a95a7133 11991static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11992 PyObject *resultobj;
11993 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
11994 wxPyShape *arg2 = (wxPyShape *) NULL ;
11995 double arg3 = (double) 0.0 ;
11996 double arg4 = (double) 0.0 ;
11997 double arg5 = (double) 0.0 ;
11998 int arg6 = (int) 0 ;
11999 wxPyControlPoint *result;
12000 PyObject * obj0 = 0 ;
12001 PyObject * obj1 = 0 ;
8edf1c75
RD
12002 PyObject * obj2 = 0 ;
12003 PyObject * obj3 = 0 ;
12004 PyObject * obj4 = 0 ;
12005 PyObject * obj5 = 0 ;
44127b65
RD
12006 char *kwnames[] = {
12007 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12008 };
12009
8edf1c75 12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 12011 if (obj0) {
2f4c0a16
RD
12012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
12013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12014 }
12015 if (obj1) {
2f4c0a16
RD
12016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
12017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 12018 }
8edf1c75 12019 if (obj2) {
2f4c0a16
RD
12020 arg3 = (double) SWIG_AsDouble(obj2);
12021 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12022 }
12023 if (obj3) {
2f4c0a16
RD
12024 arg4 = (double) SWIG_AsDouble(obj3);
12025 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12026 }
12027 if (obj4) {
2f4c0a16
RD
12028 arg5 = (double) SWIG_AsDouble(obj4);
12029 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12030 }
12031 if (obj5) {
2f4c0a16
RD
12032 arg6 = (int) SWIG_AsInt(obj5);
12033 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12034 }
44127b65
RD
12035 {
12036 PyThreadState* __tstate = wxPyBeginAllowThreads();
12037 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
12038
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
2f4c0a16 12042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControlPoint, 1);
44127b65
RD
12043 return resultobj;
12044 fail:
12045 return NULL;
12046}
12047
12048
a95a7133 12049static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12050 PyObject *resultobj;
12051 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12052 PyObject *arg2 = (PyObject *) 0 ;
12053 PyObject *arg3 = (PyObject *) 0 ;
12054 PyObject * obj0 = 0 ;
12055 PyObject * obj1 = 0 ;
12056 PyObject * obj2 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "self",(char *) "self",(char *) "_class", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12064 arg2 = obj1;
12065 arg3 = obj2;
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 (arg1)->_setCallbackInfo(arg2,arg3);
12069
12070 wxPyEndAllowThreads(__tstate);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 Py_INCREF(Py_None); resultobj = Py_None;
12074 return resultobj;
12075 fail:
12076 return NULL;
12077}
12078
12079
a95a7133 12080static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12081 PyObject *resultobj;
12082 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12083 double arg2 ;
12084 PyObject * obj0 = 0 ;
8edf1c75 12085 PyObject * obj1 = 0 ;
44127b65
RD
12086 char *kwnames[] = {
12087 (char *) "self",(char *) "radius", NULL
12088 };
12089
8edf1c75 12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12093 arg2 = (double) SWIG_AsDouble(obj1);
12094 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 (arg1)->SetCornerRadius(arg2);
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 Py_INCREF(Py_None); resultobj = Py_None;
12103 return resultobj;
12104 fail:
12105 return NULL;
12106}
12107
12108
a95a7133 12109static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12110 PyObject *resultobj;
12111 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12112 PyObject * obj0 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 (arg1)->base_OnDelete();
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 Py_INCREF(Py_None); resultobj = Py_None;
12128 return resultobj;
12129 fail:
12130 return NULL;
12131}
12132
12133
a95a7133 12134static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12135 PyObject *resultobj;
12136 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12137 wxDC *arg2 = 0 ;
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char *kwnames[] = {
12141 (char *) "self",(char *) "dc", NULL
12142 };
12143
12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12148 SWIG_POINTER_EXCEPTION | 0)) == -1)
12149 SWIG_fail;
44127b65 12150 if (arg2 == NULL) {
2f4c0a16
RD
12151 PyErr_SetString(PyExc_TypeError,"null reference");
12152 SWIG_fail;
44127b65
RD
12153 }
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 (arg1)->base_OnDraw(*arg2);
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 Py_INCREF(Py_None); resultobj = Py_None;
12162 return resultobj;
12163 fail:
12164 return NULL;
12165}
12166
12167
a95a7133 12168static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12169 PyObject *resultobj;
12170 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12171 wxDC *arg2 = 0 ;
12172 PyObject * obj0 = 0 ;
12173 PyObject * obj1 = 0 ;
12174 char *kwnames[] = {
12175 (char *) "self",(char *) "dc", NULL
12176 };
12177
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12182 SWIG_POINTER_EXCEPTION | 0)) == -1)
12183 SWIG_fail;
44127b65 12184 if (arg2 == NULL) {
2f4c0a16
RD
12185 PyErr_SetString(PyExc_TypeError,"null reference");
12186 SWIG_fail;
44127b65
RD
12187 }
12188 {
12189 PyThreadState* __tstate = wxPyBeginAllowThreads();
12190 (arg1)->base_OnDrawContents(*arg2);
12191
12192 wxPyEndAllowThreads(__tstate);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 Py_INCREF(Py_None); resultobj = Py_None;
12196 return resultobj;
12197 fail:
12198 return NULL;
12199}
12200
12201
a95a7133 12202static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12203 PyObject *resultobj;
12204 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12205 wxDC *arg2 = 0 ;
12206 bool arg3 = (bool) FALSE ;
12207 PyObject * obj0 = 0 ;
12208 PyObject * obj1 = 0 ;
12209 PyObject * obj2 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self",(char *) "dc",(char *) "erase", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12217 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12218 SWIG_POINTER_EXCEPTION | 0)) == -1)
12219 SWIG_fail;
44127b65 12220 if (arg2 == NULL) {
2f4c0a16
RD
12221 PyErr_SetString(PyExc_TypeError,"null reference");
12222 SWIG_fail;
44127b65
RD
12223 }
12224 if (obj2) {
2f4c0a16
RD
12225 arg3 = (bool) SWIG_AsBool(obj2);
12226 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12227 }
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 (arg1)->base_OnDrawBranches(*arg2,arg3);
12231
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 Py_INCREF(Py_None); resultobj = Py_None;
12236 return resultobj;
12237 fail:
12238 return NULL;
12239}
12240
12241
a95a7133 12242static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12243 PyObject *resultobj;
12244 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12245 wxDC *arg2 = 0 ;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj1 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self",(char *) "dc", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12256 SWIG_POINTER_EXCEPTION | 0)) == -1)
12257 SWIG_fail;
44127b65 12258 if (arg2 == NULL) {
2f4c0a16
RD
12259 PyErr_SetString(PyExc_TypeError,"null reference");
12260 SWIG_fail;
44127b65
RD
12261 }
12262 {
12263 PyThreadState* __tstate = wxPyBeginAllowThreads();
12264 (arg1)->base_OnMoveLinks(*arg2);
12265
12266 wxPyEndAllowThreads(__tstate);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 }
12269 Py_INCREF(Py_None); resultobj = Py_None;
12270 return resultobj;
12271 fail:
12272 return NULL;
12273}
12274
12275
a95a7133 12276static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12277 PyObject *resultobj;
12278 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12279 wxDC *arg2 = 0 ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self",(char *) "dc", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12290 SWIG_POINTER_EXCEPTION | 0)) == -1)
12291 SWIG_fail;
44127b65 12292 if (arg2 == NULL) {
2f4c0a16
RD
12293 PyErr_SetString(PyExc_TypeError,"null reference");
12294 SWIG_fail;
44127b65
RD
12295 }
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 (arg1)->base_OnErase(*arg2);
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 Py_INCREF(Py_None); resultobj = Py_None;
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
a95a7133 12310static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12311 PyObject *resultobj;
12312 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12313 wxDC *arg2 = 0 ;
12314 PyObject * obj0 = 0 ;
12315 PyObject * obj1 = 0 ;
12316 char *kwnames[] = {
12317 (char *) "self",(char *) "dc", NULL
12318 };
12319
12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12324 SWIG_POINTER_EXCEPTION | 0)) == -1)
12325 SWIG_fail;
44127b65 12326 if (arg2 == NULL) {
2f4c0a16
RD
12327 PyErr_SetString(PyExc_TypeError,"null reference");
12328 SWIG_fail;
44127b65
RD
12329 }
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 (arg1)->base_OnEraseContents(*arg2);
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
12337 Py_INCREF(Py_None); resultobj = Py_None;
12338 return resultobj;
12339 fail:
12340 return NULL;
12341}
12342
12343
a95a7133 12344static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12345 PyObject *resultobj;
12346 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12347 wxDC *arg2 = 0 ;
12348 PyObject * obj0 = 0 ;
12349 PyObject * obj1 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self",(char *) "dc", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12358 SWIG_POINTER_EXCEPTION | 0)) == -1)
12359 SWIG_fail;
44127b65 12360 if (arg2 == NULL) {
2f4c0a16
RD
12361 PyErr_SetString(PyExc_TypeError,"null reference");
12362 SWIG_fail;
44127b65
RD
12363 }
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 (arg1)->base_OnHighlight(*arg2);
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 Py_INCREF(Py_None); resultobj = Py_None;
12372 return resultobj;
12373 fail:
12374 return NULL;
12375}
12376
12377
a95a7133 12378static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12379 PyObject *resultobj;
12380 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12381 double arg2 ;
12382 double arg3 ;
12383 int arg4 = (int) 0 ;
12384 int arg5 = (int) 0 ;
12385 PyObject * obj0 = 0 ;
8edf1c75
RD
12386 PyObject * obj1 = 0 ;
12387 PyObject * obj2 = 0 ;
12388 PyObject * obj3 = 0 ;
12389 PyObject * obj4 = 0 ;
44127b65
RD
12390 char *kwnames[] = {
12391 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12392 };
12393
8edf1c75 12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12397 arg2 = (double) SWIG_AsDouble(obj1);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 arg3 = (double) SWIG_AsDouble(obj2);
12400 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12401 if (obj3) {
2f4c0a16
RD
12402 arg4 = (int) SWIG_AsInt(obj3);
12403 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12404 }
12405 if (obj4) {
2f4c0a16
RD
12406 arg5 = (int) SWIG_AsInt(obj4);
12407 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12408 }
44127b65
RD
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 Py_INCREF(Py_None); resultobj = Py_None;
12417 return resultobj;
12418 fail:
12419 return NULL;
12420}
12421
12422
a95a7133 12423static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12424 PyObject *resultobj;
12425 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12426 double arg2 ;
12427 double arg3 ;
12428 int arg4 = (int) 0 ;
12429 int arg5 = (int) 0 ;
12430 PyObject * obj0 = 0 ;
8edf1c75
RD
12431 PyObject * obj1 = 0 ;
12432 PyObject * obj2 = 0 ;
12433 PyObject * obj3 = 0 ;
12434 PyObject * obj4 = 0 ;
44127b65
RD
12435 char *kwnames[] = {
12436 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12437 };
12438
8edf1c75 12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12442 arg2 = (double) SWIG_AsDouble(obj1);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 arg3 = (double) SWIG_AsDouble(obj2);
12445 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12446 if (obj3) {
2f4c0a16
RD
12447 arg4 = (int) SWIG_AsInt(obj3);
12448 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12449 }
12450 if (obj4) {
2f4c0a16
RD
12451 arg5 = (int) SWIG_AsInt(obj4);
12452 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12453 }
44127b65
RD
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 Py_INCREF(Py_None); resultobj = Py_None;
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
a95a7133 12468static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12469 PyObject *resultobj;
12470 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12471 double arg2 ;
12472 double arg3 ;
12473 int arg4 = (int) 0 ;
12474 int arg5 = (int) 0 ;
12475 PyObject * obj0 = 0 ;
8edf1c75
RD
12476 PyObject * obj1 = 0 ;
12477 PyObject * obj2 = 0 ;
12478 PyObject * obj3 = 0 ;
12479 PyObject * obj4 = 0 ;
44127b65
RD
12480 char *kwnames[] = {
12481 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12482 };
12483
8edf1c75 12484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12487 arg2 = (double) SWIG_AsDouble(obj1);
12488 if (PyErr_Occurred()) SWIG_fail;
12489 arg3 = (double) SWIG_AsDouble(obj2);
12490 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12491 if (obj3) {
2f4c0a16
RD
12492 arg4 = (int) SWIG_AsInt(obj3);
12493 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12494 }
12495 if (obj4) {
2f4c0a16
RD
12496 arg5 = (int) SWIG_AsInt(obj4);
12497 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12498 }
44127b65
RD
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
12502
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
12506 Py_INCREF(Py_None); resultobj = Py_None;
12507 return resultobj;
12508 fail:
12509 return NULL;
12510}
12511
12512
a95a7133 12513static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12514 PyObject *resultobj;
12515 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12516 double arg2 ;
12517 double arg3 ;
12518 PyObject * obj0 = 0 ;
8edf1c75
RD
12519 PyObject * obj1 = 0 ;
12520 PyObject * obj2 = 0 ;
44127b65
RD
12521 char *kwnames[] = {
12522 (char *) "self",(char *) "x",(char *) "y", NULL
12523 };
12524
8edf1c75 12525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12528 arg2 = (double) SWIG_AsDouble(obj1);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 arg3 = (double) SWIG_AsDouble(obj2);
12531 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 (arg1)->base_OnSize(arg2,arg3);
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 Py_INCREF(Py_None); resultobj = Py_None;
12540 return resultobj;
12541 fail:
12542 return NULL;
12543}
12544
12545
a95a7133 12546static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12547 PyObject *resultobj;
12548 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12549 wxDC *arg2 = 0 ;
12550 double arg3 ;
12551 double arg4 ;
12552 double arg5 ;
12553 double arg6 ;
12554 bool arg7 = (bool) True ;
12555 bool result;
12556 PyObject * obj0 = 0 ;
12557 PyObject * obj1 = 0 ;
8edf1c75
RD
12558 PyObject * obj2 = 0 ;
12559 PyObject * obj3 = 0 ;
12560 PyObject * obj4 = 0 ;
12561 PyObject * obj5 = 0 ;
44127b65
RD
12562 PyObject * obj6 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12565 };
12566
8edf1c75 12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
12568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12571 SWIG_POINTER_EXCEPTION | 0)) == -1)
12572 SWIG_fail;
44127b65 12573 if (arg2 == NULL) {
2f4c0a16
RD
12574 PyErr_SetString(PyExc_TypeError,"null reference");
12575 SWIG_fail;
12576 }
12577 arg3 = (double) SWIG_AsDouble(obj2);
12578 if (PyErr_Occurred()) SWIG_fail;
12579 arg4 = (double) SWIG_AsDouble(obj3);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 arg5 = (double) SWIG_AsDouble(obj4);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 arg6 = (double) SWIG_AsDouble(obj5);
12584 if (PyErr_Occurred()) SWIG_fail;
44127b65 12585 if (obj6) {
2f4c0a16
RD
12586 arg7 = (bool) SWIG_AsBool(obj6);
12587 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12588 }
12589 {
12590 PyThreadState* __tstate = wxPyBeginAllowThreads();
12591 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12592
12593 wxPyEndAllowThreads(__tstate);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
fbc46b20
RD
12596 {
12597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12598 }
44127b65
RD
12599 return resultobj;
12600 fail:
12601 return NULL;
12602}
12603
12604
a95a7133 12605static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12606 PyObject *resultobj;
12607 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12608 wxDC *arg2 = 0 ;
12609 double arg3 ;
12610 double arg4 ;
12611 double arg5 ;
12612 double arg6 ;
12613 bool arg7 = (bool) True ;
12614 PyObject * obj0 = 0 ;
12615 PyObject * obj1 = 0 ;
8edf1c75
RD
12616 PyObject * obj2 = 0 ;
12617 PyObject * obj3 = 0 ;
12618 PyObject * obj4 = 0 ;
12619 PyObject * obj5 = 0 ;
44127b65
RD
12620 PyObject * obj6 = 0 ;
12621 char *kwnames[] = {
12622 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12623 };
12624
8edf1c75 12625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
12626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12629 SWIG_POINTER_EXCEPTION | 0)) == -1)
12630 SWIG_fail;
44127b65 12631 if (arg2 == NULL) {
2f4c0a16
RD
12632 PyErr_SetString(PyExc_TypeError,"null reference");
12633 SWIG_fail;
12634 }
12635 arg3 = (double) SWIG_AsDouble(obj2);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 arg4 = (double) SWIG_AsDouble(obj3);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 arg5 = (double) SWIG_AsDouble(obj4);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 arg6 = (double) SWIG_AsDouble(obj5);
12642 if (PyErr_Occurred()) SWIG_fail;
44127b65 12643 if (obj6) {
2f4c0a16
RD
12644 arg7 = (bool) SWIG_AsBool(obj6);
12645 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12646 }
12647 {
12648 PyThreadState* __tstate = wxPyBeginAllowThreads();
12649 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12650
12651 wxPyEndAllowThreads(__tstate);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 }
12654 Py_INCREF(Py_None); resultobj = Py_None;
12655 return resultobj;
12656 fail:
12657 return NULL;
12658}
12659
12660
a95a7133 12661static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12662 PyObject *resultobj;
12663 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12664 bool arg2 ;
12665 double arg3 ;
12666 double arg4 ;
12667 int arg5 = (int) 0 ;
12668 int arg6 = (int) 0 ;
12669 PyObject * obj0 = 0 ;
12670 PyObject * obj1 = 0 ;
8edf1c75
RD
12671 PyObject * obj2 = 0 ;
12672 PyObject * obj3 = 0 ;
12673 PyObject * obj4 = 0 ;
12674 PyObject * obj5 = 0 ;
44127b65
RD
12675 char *kwnames[] = {
12676 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12677 };
12678
8edf1c75 12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
12680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12682 arg2 = (bool) SWIG_AsBool(obj1);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 arg3 = (double) SWIG_AsDouble(obj2);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 arg4 = (double) SWIG_AsDouble(obj3);
12687 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12688 if (obj4) {
2f4c0a16
RD
12689 arg5 = (int) SWIG_AsInt(obj4);
12690 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12691 }
12692 if (obj5) {
2f4c0a16
RD
12693 arg6 = (int) SWIG_AsInt(obj5);
12694 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12695 }
44127b65
RD
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 Py_INCREF(Py_None); resultobj = Py_None;
12704 return resultobj;
12705 fail:
12706 return NULL;
12707}
12708
12709
a95a7133 12710static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12711 PyObject *resultobj;
12712 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12713 double arg2 ;
12714 double arg3 ;
12715 int arg4 = (int) 0 ;
12716 int arg5 = (int) 0 ;
12717 PyObject * obj0 = 0 ;
8edf1c75
RD
12718 PyObject * obj1 = 0 ;
12719 PyObject * obj2 = 0 ;
12720 PyObject * obj3 = 0 ;
12721 PyObject * obj4 = 0 ;
44127b65
RD
12722 char *kwnames[] = {
12723 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12724 };
12725
8edf1c75 12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12729 arg2 = (double) SWIG_AsDouble(obj1);
12730 if (PyErr_Occurred()) SWIG_fail;
12731 arg3 = (double) SWIG_AsDouble(obj2);
12732 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12733 if (obj3) {
2f4c0a16
RD
12734 arg4 = (int) SWIG_AsInt(obj3);
12735 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12736 }
12737 if (obj4) {
2f4c0a16
RD
12738 arg5 = (int) SWIG_AsInt(obj4);
12739 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12740 }
44127b65
RD
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 }
12748 Py_INCREF(Py_None); resultobj = Py_None;
12749 return resultobj;
12750 fail:
12751 return NULL;
12752}
12753
12754
a95a7133 12755static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12756 PyObject *resultobj;
12757 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12758 double arg2 ;
12759 double arg3 ;
12760 int arg4 = (int) 0 ;
12761 int arg5 = (int) 0 ;
12762 PyObject * obj0 = 0 ;
8edf1c75
RD
12763 PyObject * obj1 = 0 ;
12764 PyObject * obj2 = 0 ;
12765 PyObject * obj3 = 0 ;
12766 PyObject * obj4 = 0 ;
44127b65
RD
12767 char *kwnames[] = {
12768 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12769 };
12770
8edf1c75 12771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12774 arg2 = (double) SWIG_AsDouble(obj1);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 arg3 = (double) SWIG_AsDouble(obj2);
12777 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12778 if (obj3) {
2f4c0a16
RD
12779 arg4 = (int) SWIG_AsInt(obj3);
12780 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12781 }
12782 if (obj4) {
2f4c0a16
RD
12783 arg5 = (int) SWIG_AsInt(obj4);
12784 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12785 }
44127b65
RD
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 Py_INCREF(Py_None); resultobj = Py_None;
12794 return resultobj;
12795 fail:
12796 return NULL;
12797}
12798
12799
a95a7133 12800static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12801 PyObject *resultobj;
12802 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12803 bool arg2 ;
12804 double arg3 ;
12805 double arg4 ;
12806 int arg5 = (int) 0 ;
12807 int arg6 = (int) 0 ;
12808 PyObject * obj0 = 0 ;
12809 PyObject * obj1 = 0 ;
8edf1c75
RD
12810 PyObject * obj2 = 0 ;
12811 PyObject * obj3 = 0 ;
12812 PyObject * obj4 = 0 ;
12813 PyObject * obj5 = 0 ;
44127b65
RD
12814 char *kwnames[] = {
12815 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12816 };
12817
8edf1c75 12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
12819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12821 arg2 = (bool) SWIG_AsBool(obj1);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 arg3 = (double) SWIG_AsDouble(obj2);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 arg4 = (double) SWIG_AsDouble(obj3);
12826 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12827 if (obj4) {
2f4c0a16
RD
12828 arg5 = (int) SWIG_AsInt(obj4);
12829 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12830 }
12831 if (obj5) {
2f4c0a16
RD
12832 arg6 = (int) SWIG_AsInt(obj5);
12833 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12834 }
44127b65
RD
12835 {
12836 PyThreadState* __tstate = wxPyBeginAllowThreads();
12837 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12838
12839 wxPyEndAllowThreads(__tstate);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 }
12842 Py_INCREF(Py_None); resultobj = Py_None;
12843 return resultobj;
12844 fail:
12845 return NULL;
12846}
12847
12848
a95a7133 12849static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12850 PyObject *resultobj;
12851 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12852 double arg2 ;
12853 double arg3 ;
12854 int arg4 = (int) 0 ;
12855 int arg5 = (int) 0 ;
12856 PyObject * obj0 = 0 ;
8edf1c75
RD
12857 PyObject * obj1 = 0 ;
12858 PyObject * obj2 = 0 ;
12859 PyObject * obj3 = 0 ;
12860 PyObject * obj4 = 0 ;
44127b65
RD
12861 char *kwnames[] = {
12862 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12863 };
12864
8edf1c75 12865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12868 arg2 = (double) SWIG_AsDouble(obj1);
12869 if (PyErr_Occurred()) SWIG_fail;
12870 arg3 = (double) SWIG_AsDouble(obj2);
12871 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12872 if (obj3) {
2f4c0a16
RD
12873 arg4 = (int) SWIG_AsInt(obj3);
12874 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12875 }
12876 if (obj4) {
2f4c0a16
RD
12877 arg5 = (int) SWIG_AsInt(obj4);
12878 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12879 }
44127b65
RD
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 Py_INCREF(Py_None); resultobj = Py_None;
12888 return resultobj;
12889 fail:
12890 return NULL;
12891}
12892
12893
a95a7133 12894static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12895 PyObject *resultobj;
12896 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12897 double arg2 ;
12898 double arg3 ;
12899 int arg4 = (int) 0 ;
12900 int arg5 = (int) 0 ;
12901 PyObject * obj0 = 0 ;
8edf1c75
RD
12902 PyObject * obj1 = 0 ;
12903 PyObject * obj2 = 0 ;
12904 PyObject * obj3 = 0 ;
12905 PyObject * obj4 = 0 ;
44127b65
RD
12906 char *kwnames[] = {
12907 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12908 };
12909
8edf1c75 12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12913 arg2 = (double) SWIG_AsDouble(obj1);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 arg3 = (double) SWIG_AsDouble(obj2);
12916 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12917 if (obj3) {
2f4c0a16
RD
12918 arg4 = (int) SWIG_AsInt(obj3);
12919 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12920 }
12921 if (obj4) {
2f4c0a16
RD
12922 arg5 = (int) SWIG_AsInt(obj4);
12923 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12924 }
44127b65
RD
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 Py_INCREF(Py_None); resultobj = Py_None;
12933 return resultobj;
12934 fail:
12935 return NULL;
12936}
12937
12938
a95a7133 12939static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12940 PyObject *resultobj;
12941 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12942 wxDC *arg2 = 0 ;
12943 double arg3 ;
12944 double arg4 ;
12945 double arg5 ;
12946 double arg6 ;
12947 PyObject * obj0 = 0 ;
12948 PyObject * obj1 = 0 ;
8edf1c75
RD
12949 PyObject * obj2 = 0 ;
12950 PyObject * obj3 = 0 ;
12951 PyObject * obj4 = 0 ;
12952 PyObject * obj5 = 0 ;
44127b65
RD
12953 char *kwnames[] = {
12954 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12955 };
12956
8edf1c75 12957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
12958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12961 SWIG_POINTER_EXCEPTION | 0)) == -1)
12962 SWIG_fail;
44127b65 12963 if (arg2 == NULL) {
2f4c0a16
RD
12964 PyErr_SetString(PyExc_TypeError,"null reference");
12965 SWIG_fail;
8edf1c75 12966 }
2f4c0a16
RD
12967 arg3 = (double) SWIG_AsDouble(obj2);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 arg4 = (double) SWIG_AsDouble(obj3);
12970 if (PyErr_Occurred()) SWIG_fail;
12971 arg5 = (double) SWIG_AsDouble(obj4);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 arg6 = (double) SWIG_AsDouble(obj5);
12974 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12975 {
2f4c0a16
RD
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
12978
12979 wxPyEndAllowThreads(__tstate);
44127b65
RD
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 Py_INCREF(Py_None); resultobj = Py_None;
12983 return resultobj;
12984 fail:
12985 return NULL;
12986}
12987
12988
a95a7133 12989static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12990 PyObject *resultobj;
12991 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12992 wxDC *arg2 = 0 ;
12993 PyObject * obj0 = 0 ;
12994 PyObject * obj1 = 0 ;
12995 char *kwnames[] = {
12996 (char *) "self",(char *) "dc", NULL
12997 };
12998
12999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13003 SWIG_POINTER_EXCEPTION | 0)) == -1)
13004 SWIG_fail;
44127b65 13005 if (arg2 == NULL) {
2f4c0a16
RD
13006 PyErr_SetString(PyExc_TypeError,"null reference");
13007 SWIG_fail;
44127b65
RD
13008 }
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 (arg1)->base_OnDrawControlPoints(*arg2);
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
a95a7133 13023static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13024 PyObject *resultobj;
13025 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13026 wxDC *arg2 = 0 ;
13027 PyObject * obj0 = 0 ;
13028 PyObject * obj1 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "self",(char *) "dc", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13037 SWIG_POINTER_EXCEPTION | 0)) == -1)
13038 SWIG_fail;
44127b65 13039 if (arg2 == NULL) {
2f4c0a16
RD
13040 PyErr_SetString(PyExc_TypeError,"null reference");
13041 SWIG_fail;
44127b65
RD
13042 }
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 (arg1)->base_OnEraseControlPoints(*arg2);
13046
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 Py_INCREF(Py_None); resultobj = Py_None;
13051 return resultobj;
13052 fail:
13053 return NULL;
13054}
13055
13056
a95a7133 13057static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13058 PyObject *resultobj;
13059 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13060 wxDC *arg2 = 0 ;
13061 bool arg3 = (bool) True ;
13062 PyObject * obj0 = 0 ;
13063 PyObject * obj1 = 0 ;
13064 PyObject * obj2 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13073 SWIG_POINTER_EXCEPTION | 0)) == -1)
13074 SWIG_fail;
44127b65 13075 if (arg2 == NULL) {
2f4c0a16
RD
13076 PyErr_SetString(PyExc_TypeError,"null reference");
13077 SWIG_fail;
44127b65
RD
13078 }
13079 if (obj2) {
2f4c0a16
RD
13080 arg3 = (bool) SWIG_AsBool(obj2);
13081 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13082 }
13083 {
13084 PyThreadState* __tstate = wxPyBeginAllowThreads();
13085 (arg1)->base_OnMoveLink(*arg2,arg3);
13086
13087 wxPyEndAllowThreads(__tstate);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 Py_INCREF(Py_None); resultobj = Py_None;
13091 return resultobj;
13092 fail:
13093 return NULL;
13094}
13095
13096
a95a7133 13097static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13098 PyObject *resultobj;
13099 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13100 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13101 bool arg3 ;
13102 double arg4 ;
13103 double arg5 ;
13104 int arg6 = (int) 0 ;
13105 int arg7 = (int) 0 ;
13106 PyObject * obj0 = 0 ;
13107 PyObject * obj1 = 0 ;
13108 PyObject * obj2 = 0 ;
8edf1c75
RD
13109 PyObject * obj3 = 0 ;
13110 PyObject * obj4 = 0 ;
13111 PyObject * obj5 = 0 ;
13112 PyObject * obj6 = 0 ;
44127b65
RD
13113 char *kwnames[] = {
13114 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13115 };
13116
8edf1c75 13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
13118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13122 arg3 = (bool) SWIG_AsBool(obj2);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 arg4 = (double) SWIG_AsDouble(obj3);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 arg5 = (double) SWIG_AsDouble(obj4);
13127 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13128 if (obj5) {
2f4c0a16
RD
13129 arg6 = (int) SWIG_AsInt(obj5);
13130 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13131 }
13132 if (obj6) {
2f4c0a16
RD
13133 arg7 = (int) SWIG_AsInt(obj6);
13134 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13135 }
44127b65
RD
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 return resultobj;
13145 fail:
13146 return NULL;
13147}
13148
13149
a95a7133 13150static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13151 PyObject *resultobj;
13152 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13153 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13154 double arg3 ;
13155 double arg4 ;
13156 int arg5 = (int) 0 ;
13157 int arg6 = (int) 0 ;
13158 PyObject * obj0 = 0 ;
13159 PyObject * obj1 = 0 ;
8edf1c75
RD
13160 PyObject * obj2 = 0 ;
13161 PyObject * obj3 = 0 ;
13162 PyObject * obj4 = 0 ;
13163 PyObject * obj5 = 0 ;
44127b65
RD
13164 char *kwnames[] = {
13165 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13166 };
13167
8edf1c75 13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13173 arg3 = (double) SWIG_AsDouble(obj2);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 arg4 = (double) SWIG_AsDouble(obj3);
13176 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13177 if (obj4) {
2f4c0a16
RD
13178 arg5 = (int) SWIG_AsInt(obj4);
13179 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13180 }
13181 if (obj5) {
2f4c0a16
RD
13182 arg6 = (int) SWIG_AsInt(obj5);
13183 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13184 }
44127b65
RD
13185 {
13186 PyThreadState* __tstate = wxPyBeginAllowThreads();
13187 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13188
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 Py_INCREF(Py_None); resultobj = Py_None;
13193 return resultobj;
13194 fail:
13195 return NULL;
13196}
13197
13198
a95a7133 13199static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13200 PyObject *resultobj;
13201 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13202 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13203 double arg3 ;
13204 double arg4 ;
13205 int arg5 = (int) 0 ;
13206 int arg6 = (int) 0 ;
13207 PyObject * obj0 = 0 ;
13208 PyObject * obj1 = 0 ;
8edf1c75
RD
13209 PyObject * obj2 = 0 ;
13210 PyObject * obj3 = 0 ;
13211 PyObject * obj4 = 0 ;
13212 PyObject * obj5 = 0 ;
44127b65
RD
13213 char *kwnames[] = {
13214 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13215 };
13216
8edf1c75 13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13222 arg3 = (double) SWIG_AsDouble(obj2);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 arg4 = (double) SWIG_AsDouble(obj3);
13225 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13226 if (obj4) {
2f4c0a16
RD
13227 arg5 = (int) SWIG_AsInt(obj4);
13228 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13229 }
13230 if (obj5) {
2f4c0a16
RD
13231 arg6 = (int) SWIG_AsInt(obj5);
13232 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13233 }
44127b65
RD
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 Py_INCREF(Py_None); resultobj = Py_None;
13242 return resultobj;
13243 fail:
13244 return NULL;
13245}
13246
13247
a95a7133 13248static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13249 PyObject *resultobj;
13250 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13251 double arg2 ;
13252 double arg3 ;
13253 PyObject * obj0 = 0 ;
8edf1c75
RD
13254 PyObject * obj1 = 0 ;
13255 PyObject * obj2 = 0 ;
44127b65
RD
13256 char *kwnames[] = {
13257 (char *) "self",(char *) "w",(char *) "h", NULL
13258 };
13259
8edf1c75 13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13263 arg2 = (double) SWIG_AsDouble(obj1);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 arg3 = (double) SWIG_AsDouble(obj2);
13266 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 (arg1)->base_OnBeginSize(arg2,arg3);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 Py_INCREF(Py_None); resultobj = Py_None;
13275 return resultobj;
13276 fail:
13277 return NULL;
13278}
13279
13280
a95a7133 13281static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13282 PyObject *resultobj;
13283 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13284 double arg2 ;
13285 double arg3 ;
13286 PyObject * obj0 = 0 ;
8edf1c75
RD
13287 PyObject * obj1 = 0 ;
13288 PyObject * obj2 = 0 ;
44127b65
RD
13289 char *kwnames[] = {
13290 (char *) "self",(char *) "w",(char *) "h", NULL
13291 };
13292
8edf1c75 13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13296 arg2 = (double) SWIG_AsDouble(obj1);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 arg3 = (double) SWIG_AsDouble(obj2);
13299 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 (arg1)->base_OnEndSize(arg2,arg3);
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 Py_INCREF(Py_None); resultobj = Py_None;
13308 return resultobj;
13309 fail:
13310 return NULL;
13311}
13312
13313
a95a7133 13314static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
13315 PyObject *obj;
13316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13317 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13318 Py_INCREF(obj);
13319 return Py_BuildValue((char *)"");
13320}
a95a7133 13321static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13322 PyObject *resultobj;
13323 wxPyBitmapShape *result;
13324 char *kwnames[] = {
13325 NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13329 {
13330 PyThreadState* __tstate = wxPyBeginAllowThreads();
13331 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13332
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
2f4c0a16 13336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapShape, 1);
44127b65
RD
13337 return resultobj;
13338 fail:
13339 return NULL;
13340}
13341
13342
a95a7133 13343static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13344 PyObject *resultobj;
13345 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13346 PyObject *arg2 = (PyObject *) 0 ;
13347 PyObject *arg3 = (PyObject *) 0 ;
13348 PyObject * obj0 = 0 ;
13349 PyObject * obj1 = 0 ;
13350 PyObject * obj2 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "self",(char *) "_class", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13358 arg2 = obj1;
13359 arg3 = obj2;
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 (arg1)->_setCallbackInfo(arg2,arg3);
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 Py_INCREF(Py_None); resultobj = Py_None;
13368 return resultobj;
13369 fail:
13370 return NULL;
13371}
13372
13373
a95a7133 13374static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13375 PyObject *resultobj;
13376 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13377 wxBitmap *result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 {
13389 wxBitmap &_result_ref = (arg1)->GetBitmap();
13390 result = (wxBitmap *) &_result_ref;
13391 }
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
ce7284bd
RD
13396 {
13397 wxBitmap* resultptr = new wxBitmap(*result);
13398 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13399 }
44127b65
RD
13400 return resultobj;
13401 fail:
13402 return NULL;
13403}
13404
13405
a95a7133 13406static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13407 PyObject *resultobj;
13408 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13409 wxString result;
13410 PyObject * obj0 = 0 ;
13411 char *kwnames[] = {
13412 (char *) "self", NULL
13413 };
13414
13415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13418 {
13419 PyThreadState* __tstate = wxPyBeginAllowThreads();
13420 result = (arg1)->GetFilename();
13421
13422 wxPyEndAllowThreads(__tstate);
13423 if (PyErr_Occurred()) SWIG_fail;
13424 }
13425 {
13426#if wxUSE_UNICODE
13427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13428#else
13429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13430#endif
13431 }
13432 return resultobj;
13433 fail:
13434 return NULL;
13435}
13436
13437
a95a7133 13438static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13439 PyObject *resultobj;
13440 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13441 wxBitmap *arg2 = 0 ;
13442 PyObject * obj0 = 0 ;
13443 PyObject * obj1 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self",(char *) "bitmap", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
13452 SWIG_POINTER_EXCEPTION | 0)) == -1)
13453 SWIG_fail;
44127b65 13454 if (arg2 == NULL) {
2f4c0a16
RD
13455 PyErr_SetString(PyExc_TypeError,"null reference");
13456 SWIG_fail;
44127b65
RD
13457 }
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 Py_INCREF(Py_None); resultobj = Py_None;
13466 return resultobj;
13467 fail:
13468 return NULL;
13469}
13470
13471
a95a7133 13472static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13473 PyObject *resultobj;
13474 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13475 wxString *arg2 = 0 ;
13476 bool temp2 = False ;
13477 PyObject * obj0 = 0 ;
13478 PyObject * obj1 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "filename", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13486 {
13487 arg2 = wxString_in_helper(obj1);
13488 if (arg2 == NULL) SWIG_fail;
13489 temp2 = True;
13490 }
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 (arg1)->SetFilename((wxString const &)*arg2);
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 Py_INCREF(Py_None); resultobj = Py_None;
13499 {
13500 if (temp2)
13501 delete arg2;
13502 }
13503 return resultobj;
13504 fail:
13505 {
13506 if (temp2)
13507 delete arg2;
13508 }
13509 return NULL;
13510}
13511
13512
a95a7133 13513static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13514 PyObject *resultobj;
13515 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13516 PyObject * obj0 = 0 ;
13517 char *kwnames[] = {
13518 (char *) "self", NULL
13519 };
13520
13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 (arg1)->base_OnDelete();
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 Py_INCREF(Py_None); resultobj = Py_None;
13532 return resultobj;
13533 fail:
13534 return NULL;
13535}
13536
13537
a95a7133 13538static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13539 PyObject *resultobj;
13540 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13541 wxDC *arg2 = 0 ;
13542 PyObject * obj0 = 0 ;
13543 PyObject * obj1 = 0 ;
13544 char *kwnames[] = {
13545 (char *) "self",(char *) "dc", NULL
13546 };
13547
13548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13552 SWIG_POINTER_EXCEPTION | 0)) == -1)
13553 SWIG_fail;
44127b65 13554 if (arg2 == NULL) {
2f4c0a16
RD
13555 PyErr_SetString(PyExc_TypeError,"null reference");
13556 SWIG_fail;
44127b65
RD
13557 }
13558 {
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 (arg1)->base_OnDraw(*arg2);
13561
13562 wxPyEndAllowThreads(__tstate);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 }
13565 Py_INCREF(Py_None); resultobj = Py_None;
13566 return resultobj;
13567 fail:
13568 return NULL;
13569}
13570
13571
a95a7133 13572static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13573 PyObject *resultobj;
13574 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13575 wxDC *arg2 = 0 ;
13576 PyObject * obj0 = 0 ;
13577 PyObject * obj1 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self",(char *) "dc", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13586 SWIG_POINTER_EXCEPTION | 0)) == -1)
13587 SWIG_fail;
44127b65 13588 if (arg2 == NULL) {
2f4c0a16
RD
13589 PyErr_SetString(PyExc_TypeError,"null reference");
13590 SWIG_fail;
44127b65
RD
13591 }
13592 {
13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
13594 (arg1)->base_OnDrawContents(*arg2);
13595
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 }
13599 Py_INCREF(Py_None); resultobj = Py_None;
13600 return resultobj;
13601 fail:
13602 return NULL;
13603}
13604
13605
a95a7133 13606static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13607 PyObject *resultobj;
13608 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13609 wxDC *arg2 = 0 ;
13610 bool arg3 = (bool) FALSE ;
13611 PyObject * obj0 = 0 ;
13612 PyObject * obj1 = 0 ;
13613 PyObject * obj2 = 0 ;
13614 char *kwnames[] = {
13615 (char *) "self",(char *) "dc",(char *) "erase", NULL
13616 };
13617
13618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13622 SWIG_POINTER_EXCEPTION | 0)) == -1)
13623 SWIG_fail;
44127b65 13624 if (arg2 == NULL) {
2f4c0a16
RD
13625 PyErr_SetString(PyExc_TypeError,"null reference");
13626 SWIG_fail;
44127b65
RD
13627 }
13628 if (obj2) {
2f4c0a16
RD
13629 arg3 = (bool) SWIG_AsBool(obj2);
13630 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13631 }
13632 {
13633 PyThreadState* __tstate = wxPyBeginAllowThreads();
13634 (arg1)->base_OnDrawBranches(*arg2,arg3);
13635
13636 wxPyEndAllowThreads(__tstate);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 Py_INCREF(Py_None); resultobj = Py_None;
13640 return resultobj;
13641 fail:
13642 return NULL;
13643}
13644
13645
a95a7133 13646static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13647 PyObject *resultobj;
13648 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13649 wxDC *arg2 = 0 ;
13650 PyObject * obj0 = 0 ;
13651 PyObject * obj1 = 0 ;
13652 char *kwnames[] = {
13653 (char *) "self",(char *) "dc", NULL
13654 };
13655
13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13660 SWIG_POINTER_EXCEPTION | 0)) == -1)
13661 SWIG_fail;
44127b65 13662 if (arg2 == NULL) {
2f4c0a16
RD
13663 PyErr_SetString(PyExc_TypeError,"null reference");
13664 SWIG_fail;
44127b65
RD
13665 }
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 (arg1)->base_OnMoveLinks(*arg2);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 Py_INCREF(Py_None); resultobj = Py_None;
13674 return resultobj;
13675 fail:
13676 return NULL;
13677}
13678
13679
a95a7133 13680static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13681 PyObject *resultobj;
13682 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13683 wxDC *arg2 = 0 ;
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "dc", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13694 SWIG_POINTER_EXCEPTION | 0)) == -1)
13695 SWIG_fail;
44127b65 13696 if (arg2 == NULL) {
2f4c0a16
RD
13697 PyErr_SetString(PyExc_TypeError,"null reference");
13698 SWIG_fail;
44127b65
RD
13699 }
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->base_OnErase(*arg2);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 Py_INCREF(Py_None); resultobj = Py_None;
13708 return resultobj;
13709 fail:
13710 return NULL;
13711}
13712
13713
a95a7133 13714static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13715 PyObject *resultobj;
13716 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13717 wxDC *arg2 = 0 ;
13718 PyObject * obj0 = 0 ;
13719 PyObject * obj1 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self",(char *) "dc", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13728 SWIG_POINTER_EXCEPTION | 0)) == -1)
13729 SWIG_fail;
44127b65 13730 if (arg2 == NULL) {
2f4c0a16
RD
13731 PyErr_SetString(PyExc_TypeError,"null reference");
13732 SWIG_fail;
44127b65
RD
13733 }
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 (arg1)->base_OnEraseContents(*arg2);
13737
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 Py_INCREF(Py_None); resultobj = Py_None;
13742 return resultobj;
13743 fail:
13744 return NULL;
13745}
13746
13747
a95a7133 13748static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13749 PyObject *resultobj;
13750 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13751 wxDC *arg2 = 0 ;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self",(char *) "dc", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13762 SWIG_POINTER_EXCEPTION | 0)) == -1)
13763 SWIG_fail;
44127b65 13764 if (arg2 == NULL) {
2f4c0a16
RD
13765 PyErr_SetString(PyExc_TypeError,"null reference");
13766 SWIG_fail;
44127b65
RD
13767 }
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 (arg1)->base_OnHighlight(*arg2);
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 Py_INCREF(Py_None); resultobj = Py_None;
13776 return resultobj;
13777 fail:
13778 return NULL;
13779}
13780
13781
a95a7133 13782static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13783 PyObject *resultobj;
13784 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13785 double arg2 ;
13786 double arg3 ;
13787 int arg4 = (int) 0 ;
13788 int arg5 = (int) 0 ;
13789 PyObject * obj0 = 0 ;
8edf1c75
RD
13790 PyObject * obj1 = 0 ;
13791 PyObject * obj2 = 0 ;
13792 PyObject * obj3 = 0 ;
13793 PyObject * obj4 = 0 ;
44127b65
RD
13794 char *kwnames[] = {
13795 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13796 };
13797
8edf1c75 13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13801 arg2 = (double) SWIG_AsDouble(obj1);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 arg3 = (double) SWIG_AsDouble(obj2);
13804 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13805 if (obj3) {
2f4c0a16
RD
13806 arg4 = (int) SWIG_AsInt(obj3);
13807 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13808 }
13809 if (obj4) {
2f4c0a16
RD
13810 arg5 = (int) SWIG_AsInt(obj4);
13811 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13812 }
44127b65
RD
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
13820 Py_INCREF(Py_None); resultobj = Py_None;
13821 return resultobj;
13822 fail:
13823 return NULL;
13824}
13825
13826
a95a7133 13827static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13828 PyObject *resultobj;
13829 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13830 double arg2 ;
13831 double arg3 ;
13832 int arg4 = (int) 0 ;
13833 int arg5 = (int) 0 ;
13834 PyObject * obj0 = 0 ;
8edf1c75
RD
13835 PyObject * obj1 = 0 ;
13836 PyObject * obj2 = 0 ;
13837 PyObject * obj3 = 0 ;
13838 PyObject * obj4 = 0 ;
44127b65
RD
13839 char *kwnames[] = {
13840 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13841 };
13842
8edf1c75 13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13846 arg2 = (double) SWIG_AsDouble(obj1);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 arg3 = (double) SWIG_AsDouble(obj2);
13849 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13850 if (obj3) {
2f4c0a16
RD
13851 arg4 = (int) SWIG_AsInt(obj3);
13852 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13853 }
13854 if (obj4) {
2f4c0a16
RD
13855 arg5 = (int) SWIG_AsInt(obj4);
13856 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13857 }
44127b65
RD
13858 {
13859 PyThreadState* __tstate = wxPyBeginAllowThreads();
13860 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13861
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 Py_INCREF(Py_None); resultobj = Py_None;
13866 return resultobj;
13867 fail:
13868 return NULL;
13869}
13870
13871
a95a7133 13872static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13873 PyObject *resultobj;
13874 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13875 double arg2 ;
13876 double arg3 ;
13877 int arg4 = (int) 0 ;
13878 int arg5 = (int) 0 ;
13879 PyObject * obj0 = 0 ;
8edf1c75
RD
13880 PyObject * obj1 = 0 ;
13881 PyObject * obj2 = 0 ;
13882 PyObject * obj3 = 0 ;
13883 PyObject * obj4 = 0 ;
44127b65
RD
13884 char *kwnames[] = {
13885 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13886 };
13887
8edf1c75 13888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13891 arg2 = (double) SWIG_AsDouble(obj1);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 arg3 = (double) SWIG_AsDouble(obj2);
13894 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13895 if (obj3) {
2f4c0a16
RD
13896 arg4 = (int) SWIG_AsInt(obj3);
13897 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13898 }
13899 if (obj4) {
2f4c0a16
RD
13900 arg5 = (int) SWIG_AsInt(obj4);
13901 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13902 }
44127b65
RD
13903 {
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13906
13907 wxPyEndAllowThreads(__tstate);
13908 if (PyErr_Occurred()) SWIG_fail;
13909 }
13910 Py_INCREF(Py_None); resultobj = Py_None;
13911 return resultobj;
13912 fail:
13913 return NULL;
13914}
13915
13916
a95a7133 13917static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13918 PyObject *resultobj;
13919 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13920 double arg2 ;
13921 double arg3 ;
13922 PyObject * obj0 = 0 ;
8edf1c75
RD
13923 PyObject * obj1 = 0 ;
13924 PyObject * obj2 = 0 ;
44127b65
RD
13925 char *kwnames[] = {
13926 (char *) "self",(char *) "x",(char *) "y", NULL
13927 };
13928
8edf1c75 13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13932 arg2 = (double) SWIG_AsDouble(obj1);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 arg3 = (double) SWIG_AsDouble(obj2);
13935 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 (arg1)->base_OnSize(arg2,arg3);
13939
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 Py_INCREF(Py_None); resultobj = Py_None;
13944 return resultobj;
13945 fail:
13946 return NULL;
13947}
13948
13949
a95a7133 13950static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13951 PyObject *resultobj;
13952 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13953 wxDC *arg2 = 0 ;
13954 double arg3 ;
13955 double arg4 ;
13956 double arg5 ;
13957 double arg6 ;
13958 bool arg7 = (bool) True ;
13959 bool result;
13960 PyObject * obj0 = 0 ;
13961 PyObject * obj1 = 0 ;
8edf1c75
RD
13962 PyObject * obj2 = 0 ;
13963 PyObject * obj3 = 0 ;
13964 PyObject * obj4 = 0 ;
13965 PyObject * obj5 = 0 ;
44127b65
RD
13966 PyObject * obj6 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13969 };
13970
8edf1c75 13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
13972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13975 SWIG_POINTER_EXCEPTION | 0)) == -1)
13976 SWIG_fail;
44127b65 13977 if (arg2 == NULL) {
2f4c0a16
RD
13978 PyErr_SetString(PyExc_TypeError,"null reference");
13979 SWIG_fail;
13980 }
13981 arg3 = (double) SWIG_AsDouble(obj2);
13982 if (PyErr_Occurred()) SWIG_fail;
13983 arg4 = (double) SWIG_AsDouble(obj3);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 arg5 = (double) SWIG_AsDouble(obj4);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 arg6 = (double) SWIG_AsDouble(obj5);
13988 if (PyErr_Occurred()) SWIG_fail;
44127b65 13989 if (obj6) {
2f4c0a16
RD
13990 arg7 = (bool) SWIG_AsBool(obj6);
13991 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13992 }
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
fbc46b20
RD
14000 {
14001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14002 }
44127b65
RD
14003 return resultobj;
14004 fail:
14005 return NULL;
14006}
14007
14008
a95a7133 14009static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14010 PyObject *resultobj;
14011 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14012 wxDC *arg2 = 0 ;
14013 double arg3 ;
14014 double arg4 ;
14015 double arg5 ;
14016 double arg6 ;
14017 bool arg7 = (bool) True ;
14018 PyObject * obj0 = 0 ;
14019 PyObject * obj1 = 0 ;
8edf1c75
RD
14020 PyObject * obj2 = 0 ;
14021 PyObject * obj3 = 0 ;
14022 PyObject * obj4 = 0 ;
14023 PyObject * obj5 = 0 ;
44127b65
RD
14024 PyObject * obj6 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14027 };
14028
8edf1c75 14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14033 SWIG_POINTER_EXCEPTION | 0)) == -1)
14034 SWIG_fail;
44127b65 14035 if (arg2 == NULL) {
2f4c0a16
RD
14036 PyErr_SetString(PyExc_TypeError,"null reference");
14037 SWIG_fail;
14038 }
14039 arg3 = (double) SWIG_AsDouble(obj2);
14040 if (PyErr_Occurred()) SWIG_fail;
14041 arg4 = (double) SWIG_AsDouble(obj3);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 arg5 = (double) SWIG_AsDouble(obj4);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 arg6 = (double) SWIG_AsDouble(obj5);
14046 if (PyErr_Occurred()) SWIG_fail;
44127b65 14047 if (obj6) {
2f4c0a16
RD
14048 arg7 = (bool) SWIG_AsBool(obj6);
14049 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14050 }
14051 {
14052 PyThreadState* __tstate = wxPyBeginAllowThreads();
14053 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14054
14055 wxPyEndAllowThreads(__tstate);
14056 if (PyErr_Occurred()) SWIG_fail;
14057 }
14058 Py_INCREF(Py_None); resultobj = Py_None;
14059 return resultobj;
14060 fail:
14061 return NULL;
14062}
14063
14064
a95a7133 14065static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14066 PyObject *resultobj;
14067 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14068 bool arg2 ;
14069 double arg3 ;
14070 double arg4 ;
14071 int arg5 = (int) 0 ;
14072 int arg6 = (int) 0 ;
14073 PyObject * obj0 = 0 ;
14074 PyObject * obj1 = 0 ;
8edf1c75
RD
14075 PyObject * obj2 = 0 ;
14076 PyObject * obj3 = 0 ;
14077 PyObject * obj4 = 0 ;
14078 PyObject * obj5 = 0 ;
44127b65
RD
14079 char *kwnames[] = {
14080 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14081 };
14082
8edf1c75 14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14086 arg2 = (bool) SWIG_AsBool(obj1);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 arg3 = (double) SWIG_AsDouble(obj2);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 arg4 = (double) SWIG_AsDouble(obj3);
14091 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14092 if (obj4) {
2f4c0a16
RD
14093 arg5 = (int) SWIG_AsInt(obj4);
14094 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14095 }
14096 if (obj5) {
2f4c0a16
RD
14097 arg6 = (int) SWIG_AsInt(obj5);
14098 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14099 }
44127b65
RD
14100 {
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14103
14104 wxPyEndAllowThreads(__tstate);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 }
14107 Py_INCREF(Py_None); resultobj = Py_None;
14108 return resultobj;
14109 fail:
14110 return NULL;
14111}
14112
14113
a95a7133 14114static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14115 PyObject *resultobj;
14116 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14117 double arg2 ;
14118 double arg3 ;
14119 int arg4 = (int) 0 ;
14120 int arg5 = (int) 0 ;
14121 PyObject * obj0 = 0 ;
8edf1c75
RD
14122 PyObject * obj1 = 0 ;
14123 PyObject * obj2 = 0 ;
14124 PyObject * obj3 = 0 ;
14125 PyObject * obj4 = 0 ;
44127b65
RD
14126 char *kwnames[] = {
14127 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14128 };
14129
8edf1c75 14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14133 arg2 = (double) SWIG_AsDouble(obj1);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 arg3 = (double) SWIG_AsDouble(obj2);
14136 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14137 if (obj3) {
2f4c0a16
RD
14138 arg4 = (int) SWIG_AsInt(obj3);
14139 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14140 }
14141 if (obj4) {
2f4c0a16
RD
14142 arg5 = (int) SWIG_AsInt(obj4);
14143 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14144 }
44127b65
RD
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14148
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 Py_INCREF(Py_None); resultobj = Py_None;
14153 return resultobj;
14154 fail:
14155 return NULL;
14156}
14157
14158
a95a7133 14159static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14160 PyObject *resultobj;
14161 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14162 double arg2 ;
14163 double arg3 ;
14164 int arg4 = (int) 0 ;
14165 int arg5 = (int) 0 ;
14166 PyObject * obj0 = 0 ;
8edf1c75
RD
14167 PyObject * obj1 = 0 ;
14168 PyObject * obj2 = 0 ;
14169 PyObject * obj3 = 0 ;
14170 PyObject * obj4 = 0 ;
44127b65
RD
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14173 };
14174
8edf1c75 14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14178 arg2 = (double) SWIG_AsDouble(obj1);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 arg3 = (double) SWIG_AsDouble(obj2);
14181 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14182 if (obj3) {
2f4c0a16
RD
14183 arg4 = (int) SWIG_AsInt(obj3);
14184 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14185 }
14186 if (obj4) {
2f4c0a16
RD
14187 arg5 = (int) SWIG_AsInt(obj4);
14188 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14189 }
44127b65
RD
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14193
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 Py_INCREF(Py_None); resultobj = Py_None;
14198 return resultobj;
14199 fail:
14200 return NULL;
14201}
14202
14203
a95a7133 14204static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14205 PyObject *resultobj;
14206 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14207 bool arg2 ;
14208 double arg3 ;
14209 double arg4 ;
14210 int arg5 = (int) 0 ;
14211 int arg6 = (int) 0 ;
14212 PyObject * obj0 = 0 ;
14213 PyObject * obj1 = 0 ;
8edf1c75
RD
14214 PyObject * obj2 = 0 ;
14215 PyObject * obj3 = 0 ;
14216 PyObject * obj4 = 0 ;
14217 PyObject * obj5 = 0 ;
44127b65
RD
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14220 };
14221
8edf1c75 14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14225 arg2 = (bool) SWIG_AsBool(obj1);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 arg3 = (double) SWIG_AsDouble(obj2);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 arg4 = (double) SWIG_AsDouble(obj3);
14230 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14231 if (obj4) {
2f4c0a16
RD
14232 arg5 = (int) SWIG_AsInt(obj4);
14233 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14234 }
14235 if (obj5) {
2f4c0a16
RD
14236 arg6 = (int) SWIG_AsInt(obj5);
14237 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14238 }
44127b65
RD
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 Py_INCREF(Py_None); resultobj = Py_None;
14247 return resultobj;
14248 fail:
14249 return NULL;
14250}
14251
14252
a95a7133 14253static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14254 PyObject *resultobj;
14255 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14256 double arg2 ;
14257 double arg3 ;
14258 int arg4 = (int) 0 ;
14259 int arg5 = (int) 0 ;
14260 PyObject * obj0 = 0 ;
8edf1c75
RD
14261 PyObject * obj1 = 0 ;
14262 PyObject * obj2 = 0 ;
14263 PyObject * obj3 = 0 ;
14264 PyObject * obj4 = 0 ;
44127b65
RD
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14267 };
14268
8edf1c75 14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14272 arg2 = (double) SWIG_AsDouble(obj1);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 arg3 = (double) SWIG_AsDouble(obj2);
14275 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14276 if (obj3) {
2f4c0a16
RD
14277 arg4 = (int) SWIG_AsInt(obj3);
14278 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14279 }
14280 if (obj4) {
2f4c0a16
RD
14281 arg5 = (int) SWIG_AsInt(obj4);
14282 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14283 }
44127b65
RD
14284 {
14285 PyThreadState* __tstate = wxPyBeginAllowThreads();
14286 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14287
14288 wxPyEndAllowThreads(__tstate);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 Py_INCREF(Py_None); resultobj = Py_None;
14292 return resultobj;
14293 fail:
14294 return NULL;
14295}
14296
14297
a95a7133 14298static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14299 PyObject *resultobj;
14300 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14301 double arg2 ;
14302 double arg3 ;
14303 int arg4 = (int) 0 ;
14304 int arg5 = (int) 0 ;
14305 PyObject * obj0 = 0 ;
8edf1c75
RD
14306 PyObject * obj1 = 0 ;
14307 PyObject * obj2 = 0 ;
14308 PyObject * obj3 = 0 ;
14309 PyObject * obj4 = 0 ;
44127b65
RD
14310 char *kwnames[] = {
14311 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14312 };
14313
8edf1c75 14314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14317 arg2 = (double) SWIG_AsDouble(obj1);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 arg3 = (double) SWIG_AsDouble(obj2);
14320 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14321 if (obj3) {
2f4c0a16
RD
14322 arg4 = (int) SWIG_AsInt(obj3);
14323 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14324 }
14325 if (obj4) {
2f4c0a16
RD
14326 arg5 = (int) SWIG_AsInt(obj4);
14327 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14328 }
44127b65
RD
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 Py_INCREF(Py_None); resultobj = Py_None;
14337 return resultobj;
14338 fail:
14339 return NULL;
14340}
14341
14342
a95a7133 14343static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14344 PyObject *resultobj;
14345 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14346 wxDC *arg2 = 0 ;
14347 double arg3 ;
14348 double arg4 ;
14349 double arg5 ;
14350 double arg6 ;
14351 PyObject * obj0 = 0 ;
14352 PyObject * obj1 = 0 ;
8edf1c75
RD
14353 PyObject * obj2 = 0 ;
14354 PyObject * obj3 = 0 ;
14355 PyObject * obj4 = 0 ;
14356 PyObject * obj5 = 0 ;
44127b65
RD
14357 char *kwnames[] = {
14358 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14359 };
14360
8edf1c75 14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14365 SWIG_POINTER_EXCEPTION | 0)) == -1)
14366 SWIG_fail;
44127b65 14367 if (arg2 == NULL) {
2f4c0a16
RD
14368 PyErr_SetString(PyExc_TypeError,"null reference");
14369 SWIG_fail;
8edf1c75 14370 }
2f4c0a16
RD
14371 arg3 = (double) SWIG_AsDouble(obj2);
14372 if (PyErr_Occurred()) SWIG_fail;
14373 arg4 = (double) SWIG_AsDouble(obj3);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 arg5 = (double) SWIG_AsDouble(obj4);
14376 if (PyErr_Occurred()) SWIG_fail;
14377 arg6 = (double) SWIG_AsDouble(obj5);
14378 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 Py_INCREF(Py_None); resultobj = Py_None;
14387 return resultobj;
14388 fail:
14389 return NULL;
14390}
14391
14392
a95a7133 14393static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14394 PyObject *resultobj;
14395 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14396 wxDC *arg2 = 0 ;
14397 PyObject * obj0 = 0 ;
14398 PyObject * obj1 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "dc", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14407 SWIG_POINTER_EXCEPTION | 0)) == -1)
14408 SWIG_fail;
44127b65 14409 if (arg2 == NULL) {
2f4c0a16
RD
14410 PyErr_SetString(PyExc_TypeError,"null reference");
14411 SWIG_fail;
44127b65
RD
14412 }
14413 {
14414 PyThreadState* __tstate = wxPyBeginAllowThreads();
14415 (arg1)->base_OnDrawControlPoints(*arg2);
14416
14417 wxPyEndAllowThreads(__tstate);
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 Py_INCREF(Py_None); resultobj = Py_None;
14421 return resultobj;
14422 fail:
14423 return NULL;
14424}
14425
14426
a95a7133 14427static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14428 PyObject *resultobj;
14429 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14430 wxDC *arg2 = 0 ;
14431 PyObject * obj0 = 0 ;
14432 PyObject * obj1 = 0 ;
14433 char *kwnames[] = {
14434 (char *) "self",(char *) "dc", NULL
14435 };
14436
14437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14441 SWIG_POINTER_EXCEPTION | 0)) == -1)
14442 SWIG_fail;
44127b65 14443 if (arg2 == NULL) {
2f4c0a16
RD
14444 PyErr_SetString(PyExc_TypeError,"null reference");
14445 SWIG_fail;
44127b65
RD
14446 }
14447 {
14448 PyThreadState* __tstate = wxPyBeginAllowThreads();
14449 (arg1)->base_OnEraseControlPoints(*arg2);
14450
14451 wxPyEndAllowThreads(__tstate);
14452 if (PyErr_Occurred()) SWIG_fail;
14453 }
14454 Py_INCREF(Py_None); resultobj = Py_None;
14455 return resultobj;
14456 fail:
14457 return NULL;
14458}
14459
14460
a95a7133 14461static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14462 PyObject *resultobj;
14463 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14464 wxDC *arg2 = 0 ;
14465 bool arg3 = (bool) True ;
14466 PyObject * obj0 = 0 ;
14467 PyObject * obj1 = 0 ;
14468 PyObject * obj2 = 0 ;
14469 char *kwnames[] = {
14470 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14471 };
14472
14473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14477 SWIG_POINTER_EXCEPTION | 0)) == -1)
14478 SWIG_fail;
44127b65 14479 if (arg2 == NULL) {
2f4c0a16
RD
14480 PyErr_SetString(PyExc_TypeError,"null reference");
14481 SWIG_fail;
44127b65
RD
14482 }
14483 if (obj2) {
2f4c0a16
RD
14484 arg3 = (bool) SWIG_AsBool(obj2);
14485 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14486 }
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 (arg1)->base_OnMoveLink(*arg2,arg3);
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 Py_INCREF(Py_None); resultobj = Py_None;
14495 return resultobj;
14496 fail:
14497 return NULL;
14498}
14499
14500
a95a7133 14501static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14502 PyObject *resultobj;
14503 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14504 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14505 bool arg3 ;
14506 double arg4 ;
14507 double arg5 ;
14508 int arg6 = (int) 0 ;
14509 int arg7 = (int) 0 ;
14510 PyObject * obj0 = 0 ;
14511 PyObject * obj1 = 0 ;
14512 PyObject * obj2 = 0 ;
8edf1c75
RD
14513 PyObject * obj3 = 0 ;
14514 PyObject * obj4 = 0 ;
14515 PyObject * obj5 = 0 ;
14516 PyObject * obj6 = 0 ;
44127b65
RD
14517 char *kwnames[] = {
14518 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14519 };
14520
8edf1c75 14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14526 arg3 = (bool) SWIG_AsBool(obj2);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 arg4 = (double) SWIG_AsDouble(obj3);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 arg5 = (double) SWIG_AsDouble(obj4);
14531 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14532 if (obj5) {
2f4c0a16
RD
14533 arg6 = (int) SWIG_AsInt(obj5);
14534 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14535 }
14536 if (obj6) {
2f4c0a16
RD
14537 arg7 = (int) SWIG_AsInt(obj6);
14538 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14539 }
44127b65
RD
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14543
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 Py_INCREF(Py_None); resultobj = Py_None;
14548 return resultobj;
14549 fail:
14550 return NULL;
14551}
14552
14553
a95a7133 14554static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14555 PyObject *resultobj;
14556 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14557 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14558 double arg3 ;
14559 double arg4 ;
14560 int arg5 = (int) 0 ;
14561 int arg6 = (int) 0 ;
14562 PyObject * obj0 = 0 ;
14563 PyObject * obj1 = 0 ;
8edf1c75
RD
14564 PyObject * obj2 = 0 ;
14565 PyObject * obj3 = 0 ;
14566 PyObject * obj4 = 0 ;
14567 PyObject * obj5 = 0 ;
44127b65
RD
14568 char *kwnames[] = {
14569 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14570 };
14571
8edf1c75 14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14577 arg3 = (double) SWIG_AsDouble(obj2);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 arg4 = (double) SWIG_AsDouble(obj3);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 if (obj4) {
14582 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
2f4c0a16
RD
14585 if (obj5) {
14586 arg6 = (int) SWIG_AsInt(obj5);
8edf1c75
RD
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
44127b65
RD
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
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
a95a7133 14603static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14604 PyObject *resultobj;
14605 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14606 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14607 double arg3 ;
14608 double arg4 ;
14609 int arg5 = (int) 0 ;
14610 int arg6 = (int) 0 ;
14611 PyObject * obj0 = 0 ;
14612 PyObject * obj1 = 0 ;
8edf1c75
RD
14613 PyObject * obj2 = 0 ;
14614 PyObject * obj3 = 0 ;
14615 PyObject * obj4 = 0 ;
14616 PyObject * obj5 = 0 ;
44127b65
RD
14617 char *kwnames[] = {
14618 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14619 };
14620
8edf1c75 14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14626 arg3 = (double) SWIG_AsDouble(obj2);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 arg4 = (double) SWIG_AsDouble(obj3);
14629 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14630 if (obj4) {
2f4c0a16
RD
14631 arg5 = (int) SWIG_AsInt(obj4);
14632 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14633 }
14634 if (obj5) {
2f4c0a16
RD
14635 arg6 = (int) SWIG_AsInt(obj5);
14636 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14637 }
44127b65
RD
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 Py_INCREF(Py_None); resultobj = Py_None;
14646 return resultobj;
14647 fail:
14648 return NULL;
14649}
14650
14651
a95a7133 14652static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14653 PyObject *resultobj;
14654 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14655 double arg2 ;
14656 double arg3 ;
14657 PyObject * obj0 = 0 ;
8edf1c75
RD
14658 PyObject * obj1 = 0 ;
14659 PyObject * obj2 = 0 ;
44127b65
RD
14660 char *kwnames[] = {
14661 (char *) "self",(char *) "w",(char *) "h", NULL
14662 };
14663
8edf1c75 14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14667 arg2 = (double) SWIG_AsDouble(obj1);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 arg3 = (double) SWIG_AsDouble(obj2);
14670 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14671 {
14672 PyThreadState* __tstate = wxPyBeginAllowThreads();
14673 (arg1)->base_OnBeginSize(arg2,arg3);
14674
14675 wxPyEndAllowThreads(__tstate);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 }
14678 Py_INCREF(Py_None); resultobj = Py_None;
14679 return resultobj;
14680 fail:
14681 return NULL;
14682}
14683
14684
a95a7133 14685static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14686 PyObject *resultobj;
14687 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14688 double arg2 ;
14689 double arg3 ;
14690 PyObject * obj0 = 0 ;
8edf1c75
RD
14691 PyObject * obj1 = 0 ;
14692 PyObject * obj2 = 0 ;
44127b65
RD
14693 char *kwnames[] = {
14694 (char *) "self",(char *) "w",(char *) "h", NULL
14695 };
14696
8edf1c75 14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14700 arg2 = (double) SWIG_AsDouble(obj1);
14701 if (PyErr_Occurred()) SWIG_fail;
14702 arg3 = (double) SWIG_AsDouble(obj2);
14703 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 (arg1)->base_OnEndSize(arg2,arg3);
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 Py_INCREF(Py_None); resultobj = Py_None;
14712 return resultobj;
14713 fail:
14714 return NULL;
14715}
14716
14717
a95a7133 14718static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
14719 PyObject *obj;
14720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14721 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14722 Py_INCREF(obj);
14723 return Py_BuildValue((char *)"");
14724}
a95a7133 14725static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14726 PyObject *resultobj;
14727 wxPyDrawnShape *result;
14728 char *kwnames[] = {
14729 NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
2f4c0a16 14740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
44127b65
RD
14741 return resultobj;
14742 fail:
14743 return NULL;
14744}
14745
14746
a95a7133 14747static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14748 PyObject *resultobj;
14749 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14750 PyObject *arg2 = (PyObject *) 0 ;
14751 PyObject *arg3 = (PyObject *) 0 ;
14752 PyObject * obj0 = 0 ;
14753 PyObject * obj1 = 0 ;
14754 PyObject * obj2 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self",(char *) "self",(char *) "_class", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14762 arg2 = obj1;
14763 arg3 = obj2;
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 (arg1)->_setCallbackInfo(arg2,arg3);
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 Py_INCREF(Py_None); resultobj = Py_None;
14772 return resultobj;
14773 fail:
14774 return NULL;
14775}
14776
14777
a95a7133 14778static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14779 PyObject *resultobj;
14780 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14781 PyObject * obj0 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "self", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14789 {
14790 PyThreadState* __tstate = wxPyBeginAllowThreads();
14791 (arg1)->CalculateSize();
14792
14793 wxPyEndAllowThreads(__tstate);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 Py_INCREF(Py_None); resultobj = Py_None;
14797 return resultobj;
14798 fail:
14799 return NULL;
14800}
14801
14802
a95a7133 14803static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14804 PyObject *resultobj;
14805 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14806 PyObject * obj0 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14814 {
14815 PyThreadState* __tstate = wxPyBeginAllowThreads();
14816 (arg1)->DestroyClippingRect();
14817
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 Py_INCREF(Py_None); resultobj = Py_None;
14822 return resultobj;
14823 fail:
14824 return NULL;
14825}
14826
14827
a95a7133 14828static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14829 PyObject *resultobj;
14830 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14831 wxPoint *arg2 = 0 ;
14832 wxPoint *arg3 = 0 ;
14833 wxPoint *arg4 = 0 ;
14834 wxPoint temp2 ;
14835 wxPoint temp3 ;
14836 wxPoint temp4 ;
14837 PyObject * obj0 = 0 ;
14838 PyObject * obj1 = 0 ;
14839 PyObject * obj2 = 0 ;
14840 PyObject * obj3 = 0 ;
14841 char *kwnames[] = {
14842 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14848 {
14849 arg2 = &temp2;
14850 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14851 }
14852 {
14853 arg3 = &temp3;
14854 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14855 }
14856 {
14857 arg4 = &temp4;
14858 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14859 }
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
14863
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
14867 Py_INCREF(Py_None); resultobj = Py_None;
14868 return resultobj;
14869 fail:
14870 return NULL;
14871}
14872
14873
a95a7133 14874static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14875 PyObject *resultobj;
14876 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14877 int arg2 ;
14878 PyObject * obj0 = 0 ;
8edf1c75 14879 PyObject * obj1 = 0 ;
44127b65
RD
14880 char *kwnames[] = {
14881 (char *) "self",(char *) "angle", NULL
14882 };
14883
8edf1c75 14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14887 arg2 = (int) SWIG_AsInt(obj1);
14888 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 (arg1)->DrawAtAngle(arg2);
14892
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 Py_INCREF(Py_None); resultobj = Py_None;
14897 return resultobj;
14898 fail:
14899 return NULL;
14900}
14901
14902
a95a7133 14903static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14904 PyObject *resultobj;
14905 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14906 wxRect *arg2 = 0 ;
14907 double arg3 ;
14908 double arg4 ;
14909 wxRect temp2 ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
8edf1c75
RD
14912 PyObject * obj2 = 0 ;
14913 PyObject * obj3 = 0 ;
44127b65
RD
14914 char *kwnames[] = {
14915 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14916 };
14917
8edf1c75 14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14921 {
14922 arg2 = &temp2;
14923 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14924 }
2f4c0a16
RD
14925 arg3 = (double) SWIG_AsDouble(obj2);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 arg4 = (double) SWIG_AsDouble(obj3);
14928 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14929 {
14930 PyThreadState* __tstate = wxPyBeginAllowThreads();
14931 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
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
a95a7133 14943static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14944 PyObject *resultobj;
14945 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14946 wxPoint *arg2 = 0 ;
14947 wxPoint *arg3 = 0 ;
14948 wxPoint temp2 ;
14949 wxPoint temp3 ;
14950 PyObject * obj0 = 0 ;
14951 PyObject * obj1 = 0 ;
14952 PyObject * obj2 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "self",(char *) "point1",(char *) "point2", NULL
14955 };
14956
14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14960 {
14961 arg2 = &temp2;
14962 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14963 }
14964 {
14965 arg3 = &temp3;
14966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14967 }
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
14971
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 Py_INCREF(Py_None); resultobj = Py_None;
14976 return resultobj;
14977 fail:
14978 return NULL;
14979}
14980
14981
a95a7133 14982static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14983 PyObject *resultobj;
14984 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14985 int arg2 ;
14986 wxPoint *arg3 = (wxPoint *) 0 ;
14987 PyObject * obj0 = 0 ;
8edf1c75 14988 PyObject * obj1 = 0 ;
44127b65
RD
14989 PyObject * obj2 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14992 };
14993
8edf1c75 14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14997 arg2 = (int) SWIG_AsInt(obj1);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 (arg1)->DrawLines(arg2,arg3);
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 Py_INCREF(Py_None); resultobj = Py_None;
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
a95a7133 15015static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15016 PyObject *resultobj;
15017 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15018 wxPoint *arg2 = 0 ;
15019 wxPoint temp2 ;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 char *kwnames[] = {
15023 (char *) "self",(char *) "point", NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15029 {
15030 arg2 = &temp2;
15031 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15032 }
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 (arg1)->DrawPoint((wxPoint const &)*arg2);
15036
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 Py_INCREF(Py_None); resultobj = Py_None;
15041 return resultobj;
15042 fail:
15043 return NULL;
15044}
15045
15046
a95a7133 15047static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15048 PyObject *resultobj;
15049 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15050 int arg2 ;
15051 wxPoint *arg3 = (wxPoint *) 0 ;
15052 int arg4 = (int) 0 ;
15053 PyObject * obj0 = 0 ;
8edf1c75 15054 PyObject * obj1 = 0 ;
44127b65 15055 PyObject * obj2 = 0 ;
8edf1c75 15056 PyObject * obj3 = 0 ;
44127b65
RD
15057 char *kwnames[] = {
15058 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15059 };
15060
8edf1c75 15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
15062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15064 arg2 = (int) SWIG_AsInt(obj1);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 15068 if (obj3) {
2f4c0a16
RD
15069 arg4 = (int) SWIG_AsInt(obj3);
15070 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15071 }
44127b65
RD
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 (arg1)->DrawPolygon(arg2,arg3,arg4);
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 Py_INCREF(Py_None); resultobj = Py_None;
15080 return resultobj;
15081 fail:
15082 return NULL;
15083}
15084
15085
a95a7133 15086static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15087 PyObject *resultobj;
15088 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15089 wxRect *arg2 = 0 ;
15090 wxRect temp2 ;
15091 PyObject * obj0 = 0 ;
15092 PyObject * obj1 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "self",(char *) "rect", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15100 {
15101 arg2 = &temp2;
15102 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15103 }
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->DrawRectangle((wxRect const &)*arg2);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 return resultobj;
15113 fail:
15114 return NULL;
15115}
15116
15117
a95a7133 15118static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15119 PyObject *resultobj;
15120 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15121 wxRect *arg2 = 0 ;
15122 double arg3 ;
15123 wxRect temp2 ;
15124 PyObject * obj0 = 0 ;
15125 PyObject * obj1 = 0 ;
8edf1c75 15126 PyObject * obj2 = 0 ;
44127b65
RD
15127 char *kwnames[] = {
15128 (char *) "self",(char *) "rect",(char *) "radius", NULL
15129 };
15130
8edf1c75 15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15134 {
15135 arg2 = &temp2;
15136 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15137 }
2f4c0a16
RD
15138 arg3 = (double) SWIG_AsDouble(obj2);
15139 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15143
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 Py_INCREF(Py_None); resultobj = Py_None;
15148 return resultobj;
15149 fail:
15150 return NULL;
15151}
15152
15153
a95a7133 15154static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15155 PyObject *resultobj;
15156 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15157 int arg2 ;
15158 wxPoint *arg3 = (wxPoint *) 0 ;
15159 PyObject * obj0 = 0 ;
8edf1c75 15160 PyObject * obj1 = 0 ;
44127b65
RD
15161 PyObject * obj2 = 0 ;
15162 char *kwnames[] = {
15163 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15164 };
15165
8edf1c75 15166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15169 arg2 = (int) SWIG_AsInt(obj1);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 (arg1)->DrawSpline(arg2,arg3);
15176
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 Py_INCREF(Py_None); resultobj = Py_None;
15181 return resultobj;
15182 fail:
15183 return NULL;
15184}
15185
15186
a95a7133 15187static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15188 PyObject *resultobj;
15189 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15190 wxString *arg2 = 0 ;
15191 wxPoint *arg3 = 0 ;
15192 bool temp2 = False ;
15193 wxPoint temp3 ;
15194 PyObject * obj0 = 0 ;
15195 PyObject * obj1 = 0 ;
15196 PyObject * obj2 = 0 ;
15197 char *kwnames[] = {
15198 (char *) "self",(char *) "text",(char *) "point", NULL
15199 };
15200
15201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15204 {
15205 arg2 = wxString_in_helper(obj1);
15206 if (arg2 == NULL) SWIG_fail;
15207 temp2 = True;
15208 }
15209 {
15210 arg3 = &temp3;
15211 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15212 }
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 Py_INCREF(Py_None); resultobj = Py_None;
15221 {
15222 if (temp2)
15223 delete arg2;
15224 }
15225 return resultobj;
15226 fail:
15227 {
15228 if (temp2)
15229 delete arg2;
15230 }
15231 return NULL;
15232}
15233
15234
a95a7133 15235static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15236 PyObject *resultobj;
15237 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15238 int result;
15239 PyObject * obj0 = 0 ;
15240 char *kwnames[] = {
15241 (char *) "self", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 result = (int)(arg1)->GetAngle();
15250
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
2f4c0a16 15254 resultobj = SWIG_FromInt((int)result);
44127b65
RD
15255 return resultobj;
15256 fail:
15257 return NULL;
15258}
15259
15260
a95a7133 15261static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15262 PyObject *resultobj;
15263 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15264 wxPseudoMetaFile *result;
15265 PyObject * obj0 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 {
15276 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15277 result = (wxPseudoMetaFile *) &_result_ref;
15278 }
15279
15280 wxPyEndAllowThreads(__tstate);
15281 if (PyErr_Occurred()) SWIG_fail;
15282 }
2f4c0a16 15283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
44127b65
RD
15284 return resultobj;
15285 fail:
15286 return NULL;
15287}
15288
15289
a95a7133 15290static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15291 PyObject *resultobj;
15292 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15293 double result;
15294 PyObject * obj0 = 0 ;
15295 char *kwnames[] = {
15296 (char *) "self", NULL
15297 };
15298
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = (double)(arg1)->GetRotation();
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
2f4c0a16 15309 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
15310 return resultobj;
15311 fail:
15312 return NULL;
15313}
15314
15315
a95a7133 15316static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15317 PyObject *resultobj;
15318 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15319 wxString *arg2 = 0 ;
15320 bool result;
15321 bool temp2 = False ;
15322 PyObject * obj0 = 0 ;
15323 PyObject * obj1 = 0 ;
15324 char *kwnames[] = {
15325 (char *) "self",(char *) "filename", NULL
15326 };
15327
15328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15331 {
15332 arg2 = wxString_in_helper(obj1);
15333 if (arg2 == NULL) SWIG_fail;
15334 temp2 = True;
15335 }
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
fbc46b20
RD
15343 {
15344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15345 }
44127b65
RD
15346 {
15347 if (temp2)
15348 delete arg2;
15349 }
15350 return resultobj;
15351 fail:
15352 {
15353 if (temp2)
15354 delete arg2;
15355 }
15356 return NULL;
15357}
15358
15359
a95a7133 15360static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15361 PyObject *resultobj;
15362 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15363 double arg2 ;
15364 double arg3 ;
15365 double arg4 ;
15366 PyObject * obj0 = 0 ;
8edf1c75
RD
15367 PyObject * obj1 = 0 ;
15368 PyObject * obj2 = 0 ;
15369 PyObject * obj3 = 0 ;
44127b65
RD
15370 char *kwnames[] = {
15371 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15372 };
15373
8edf1c75 15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 arg2 = (double) SWIG_AsDouble(obj1);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 arg3 = (double) SWIG_AsDouble(obj2);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 arg4 = (double) SWIG_AsDouble(obj3);
15382 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 (arg1)->Rotate(arg2,arg3,arg4);
15386
15387 wxPyEndAllowThreads(__tstate);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 Py_INCREF(Py_None); resultobj = Py_None;
15391 return resultobj;
15392 fail:
15393 return NULL;
15394}
15395
15396
a95a7133 15397static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15398 PyObject *resultobj;
15399 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15400 wxRect *arg2 = 0 ;
15401 wxRect temp2 ;
15402 PyObject * obj0 = 0 ;
15403 PyObject * obj1 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self",(char *) "rect", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15411 {
15412 arg2 = &temp2;
15413 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15414 }
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->SetClippingRect((wxRect const &)*arg2);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 Py_INCREF(Py_None); resultobj = Py_None;
15423 return resultobj;
15424 fail:
15425 return NULL;
15426}
15427
15428
a95a7133 15429static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15430 PyObject *resultobj;
15431 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15432 wxColour *arg2 = 0 ;
15433 wxColour temp2 ;
15434 PyObject * obj0 = 0 ;
15435 PyObject * obj1 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self",(char *) "colour", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15443 {
15444 arg2 = &temp2;
15445 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15446 }
15447 {
15448 PyThreadState* __tstate = wxPyBeginAllowThreads();
15449 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15450
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 Py_INCREF(Py_None); resultobj = Py_None;
15455 return resultobj;
15456 fail:
15457 return NULL;
15458}
15459
15460
a95a7133 15461static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15462 PyObject *resultobj;
15463 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15464 int arg2 ;
15465 PyObject * obj0 = 0 ;
8edf1c75 15466 PyObject * obj1 = 0 ;
44127b65
RD
15467 char *kwnames[] = {
15468 (char *) "self",(char *) "mode", NULL
15469 };
15470
8edf1c75 15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15474 arg2 = (int) SWIG_AsInt(obj1);
15475 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 (arg1)->SetDrawnBackgroundMode(arg2);
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 Py_INCREF(Py_None); resultobj = Py_None;
15484 return resultobj;
15485 fail:
15486 return NULL;
15487}
15488
15489
a95a7133 15490static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15491 PyObject *resultobj;
15492 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15493 wxBrush *arg2 = (wxBrush *) 0 ;
15494 bool arg3 = (bool) FALSE ;
15495 PyObject * obj0 = 0 ;
15496 PyObject * obj1 = 0 ;
15497 PyObject * obj2 = 0 ;
15498 char *kwnames[] = {
15499 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15500 };
15501
15502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15505 {
15506 wxBrush* temp;
15507 if (obj1) {
15508 if (obj1 == Py_None) {
15509 temp = NULL;
15510 }
15511 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15512 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15513 return NULL;
15514 }
15515 }
15516 if (temp)
15517 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15518 else
15519 arg2 = NULL;
15520 }
15521 if (obj2) {
2f4c0a16
RD
15522 arg3 = (bool) SWIG_AsBool(obj2);
15523 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15524 }
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 (arg1)->SetDrawnBrush(arg2,arg3);
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 Py_INCREF(Py_None); resultobj = Py_None;
15533 return resultobj;
15534 fail:
15535 return NULL;
15536}
15537
15538
a95a7133 15539static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15540 PyObject *resultobj;
15541 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15542 wxFont *arg2 = (wxFont *) 0 ;
15543 PyObject * obj0 = 0 ;
15544 PyObject * obj1 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self",(char *) "font", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15552 {
15553 wxFont* temp;
15554 if (obj1) {
15555 if (obj1 == Py_None) {
15556 temp = NULL;
15557 }
15558 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15559 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15560 return NULL;
15561 }
15562 }
15563 if (temp)
15564 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15565 temp->GetFamily(),
15566 temp->GetStyle(),
15567 temp->GetWeight(),
15568 temp->GetUnderlined(),
15569 temp->GetFaceName(),
15570 temp->GetEncoding());
15571 else
15572 arg2 = NULL;
15573 }
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 (arg1)->SetDrawnFont(arg2);
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 Py_INCREF(Py_None); resultobj = Py_None;
15582 return resultobj;
15583 fail:
15584 return NULL;
15585}
15586
15587
a95a7133 15588static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15589 PyObject *resultobj;
15590 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15591 wxPen *arg2 = (wxPen *) 0 ;
15592 bool arg3 = (bool) FALSE ;
15593 PyObject * obj0 = 0 ;
15594 PyObject * obj1 = 0 ;
15595 PyObject * obj2 = 0 ;
15596 char *kwnames[] = {
15597 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15598 };
15599
15600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15603 {
15604 wxPen* temp;
15605 if (obj1) {
15606 if (obj1 == Py_None) {
15607 temp = NULL;
15608 }
15609 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15610 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15611 return NULL;
15612 }
15613 }
15614 if (temp)
15615 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15616 temp->GetWidth(),
15617 temp->GetStyle());
15618 else
15619 arg2 = NULL;
15620 }
15621 if (obj2) {
2f4c0a16
RD
15622 arg3 = (bool) SWIG_AsBool(obj2);
15623 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15624 }
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 (arg1)->SetDrawnPen(arg2,arg3);
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 Py_INCREF(Py_None); resultobj = Py_None;
15633 return resultobj;
15634 fail:
15635 return NULL;
15636}
15637
15638
a95a7133 15639static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15640 PyObject *resultobj;
15641 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15642 wxColour *arg2 = 0 ;
15643 wxColour temp2 ;
15644 PyObject * obj0 = 0 ;
15645 PyObject * obj1 = 0 ;
15646 char *kwnames[] = {
15647 (char *) "self",(char *) "colour", NULL
15648 };
15649
15650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15653 {
15654 arg2 = &temp2;
15655 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15656 }
15657 {
15658 PyThreadState* __tstate = wxPyBeginAllowThreads();
15659 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15660
15661 wxPyEndAllowThreads(__tstate);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 }
15664 Py_INCREF(Py_None); resultobj = Py_None;
15665 return resultobj;
15666 fail:
15667 return NULL;
15668}
15669
15670
a95a7133 15671static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15672 PyObject *resultobj;
15673 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15674 double arg2 ;
15675 double arg3 ;
15676 PyObject * obj0 = 0 ;
8edf1c75
RD
15677 PyObject * obj1 = 0 ;
15678 PyObject * obj2 = 0 ;
44127b65
RD
15679 char *kwnames[] = {
15680 (char *) "self",(char *) "sx",(char *) "sy", NULL
15681 };
15682
8edf1c75 15683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15686 arg2 = (double) SWIG_AsDouble(obj1);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 arg3 = (double) SWIG_AsDouble(obj2);
15689 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 (arg1)->Scale(arg2,arg3);
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 Py_INCREF(Py_None); resultobj = Py_None;
15698 return resultobj;
15699 fail:
15700 return NULL;
15701}
15702
15703
a95a7133 15704static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15705 PyObject *resultobj;
15706 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15707 bool arg2 ;
15708 PyObject * obj0 = 0 ;
15709 PyObject * obj1 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self",(char *) "save", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15717 arg2 = (bool) SWIG_AsBool(obj1);
15718 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15719 {
15720 PyThreadState* __tstate = wxPyBeginAllowThreads();
15721 (arg1)->SetSaveToFile(arg2);
15722
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 Py_INCREF(Py_None); resultobj = Py_None;
15727 return resultobj;
15728 fail:
15729 return NULL;
15730}
15731
15732
a95a7133 15733static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15734 PyObject *resultobj;
15735 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15736 double arg2 ;
15737 double arg3 ;
15738 PyObject * obj0 = 0 ;
8edf1c75
RD
15739 PyObject * obj1 = 0 ;
15740 PyObject * obj2 = 0 ;
44127b65
RD
15741 char *kwnames[] = {
15742 (char *) "self",(char *) "x",(char *) "y", NULL
15743 };
15744
8edf1c75 15745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15748 arg2 = (double) SWIG_AsDouble(obj1);
15749 if (PyErr_Occurred()) SWIG_fail;
15750 arg3 = (double) SWIG_AsDouble(obj2);
15751 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 (arg1)->Translate(arg2,arg3);
15755
15756 wxPyEndAllowThreads(__tstate);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 }
15759 Py_INCREF(Py_None); resultobj = Py_None;
15760 return resultobj;
15761 fail:
15762 return NULL;
15763}
15764
15765
a95a7133 15766static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15767 PyObject *resultobj;
15768 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15769 PyObject * obj0 = 0 ;
15770 char *kwnames[] = {
15771 (char *) "self", NULL
15772 };
15773
15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 (arg1)->base_OnDelete();
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 Py_INCREF(Py_None); resultobj = Py_None;
15785 return resultobj;
15786 fail:
15787 return NULL;
15788}
15789
15790
a95a7133 15791static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15792 PyObject *resultobj;
15793 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15794 wxDC *arg2 = 0 ;
15795 PyObject * obj0 = 0 ;
15796 PyObject * obj1 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self",(char *) "dc", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15805 SWIG_POINTER_EXCEPTION | 0)) == -1)
15806 SWIG_fail;
44127b65 15807 if (arg2 == NULL) {
2f4c0a16
RD
15808 PyErr_SetString(PyExc_TypeError,"null reference");
15809 SWIG_fail;
44127b65
RD
15810 }
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 (arg1)->base_OnDraw(*arg2);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 Py_INCREF(Py_None); resultobj = Py_None;
15819 return resultobj;
15820 fail:
15821 return NULL;
15822}
15823
15824
a95a7133 15825static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15826 PyObject *resultobj;
15827 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15828 wxDC *arg2 = 0 ;
15829 PyObject * obj0 = 0 ;
15830 PyObject * obj1 = 0 ;
15831 char *kwnames[] = {
15832 (char *) "self",(char *) "dc", NULL
15833 };
15834
15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15839 SWIG_POINTER_EXCEPTION | 0)) == -1)
15840 SWIG_fail;
44127b65 15841 if (arg2 == NULL) {
2f4c0a16
RD
15842 PyErr_SetString(PyExc_TypeError,"null reference");
15843 SWIG_fail;
44127b65
RD
15844 }
15845 {
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 (arg1)->base_OnDrawContents(*arg2);
15848
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 Py_INCREF(Py_None); resultobj = Py_None;
15853 return resultobj;
15854 fail:
15855 return NULL;
15856}
15857
15858
a95a7133 15859static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15860 PyObject *resultobj;
15861 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15862 wxDC *arg2 = 0 ;
15863 bool arg3 = (bool) FALSE ;
15864 PyObject * obj0 = 0 ;
15865 PyObject * obj1 = 0 ;
15866 PyObject * obj2 = 0 ;
15867 char *kwnames[] = {
15868 (char *) "self",(char *) "dc",(char *) "erase", NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15875 SWIG_POINTER_EXCEPTION | 0)) == -1)
15876 SWIG_fail;
44127b65 15877 if (arg2 == NULL) {
2f4c0a16
RD
15878 PyErr_SetString(PyExc_TypeError,"null reference");
15879 SWIG_fail;
44127b65
RD
15880 }
15881 if (obj2) {
2f4c0a16
RD
15882 arg3 = (bool) SWIG_AsBool(obj2);
15883 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15884 }
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 (arg1)->base_OnDrawBranches(*arg2,arg3);
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 Py_INCREF(Py_None); resultobj = Py_None;
15893 return resultobj;
15894 fail:
15895 return NULL;
15896}
15897
15898
a95a7133 15899static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15900 PyObject *resultobj;
15901 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15902 wxDC *arg2 = 0 ;
15903 PyObject * obj0 = 0 ;
15904 PyObject * obj1 = 0 ;
15905 char *kwnames[] = {
15906 (char *) "self",(char *) "dc", NULL
15907 };
15908
15909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15912 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15913 SWIG_POINTER_EXCEPTION | 0)) == -1)
15914 SWIG_fail;
44127b65 15915 if (arg2 == NULL) {
2f4c0a16
RD
15916 PyErr_SetString(PyExc_TypeError,"null reference");
15917 SWIG_fail;
44127b65
RD
15918 }
15919 {
15920 PyThreadState* __tstate = wxPyBeginAllowThreads();
15921 (arg1)->base_OnMoveLinks(*arg2);
15922
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 Py_INCREF(Py_None); resultobj = Py_None;
15927 return resultobj;
15928 fail:
15929 return NULL;
15930}
15931
15932
a95a7133 15933static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15934 PyObject *resultobj;
15935 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15936 wxDC *arg2 = 0 ;
15937 PyObject * obj0 = 0 ;
15938 PyObject * obj1 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self",(char *) "dc", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15947 SWIG_POINTER_EXCEPTION | 0)) == -1)
15948 SWIG_fail;
44127b65 15949 if (arg2 == NULL) {
2f4c0a16
RD
15950 PyErr_SetString(PyExc_TypeError,"null reference");
15951 SWIG_fail;
44127b65
RD
15952 }
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 (arg1)->base_OnErase(*arg2);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 return resultobj;
15962 fail:
15963 return NULL;
15964}
15965
15966
a95a7133 15967static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15968 PyObject *resultobj;
15969 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15970 wxDC *arg2 = 0 ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "dc", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15981 SWIG_POINTER_EXCEPTION | 0)) == -1)
15982 SWIG_fail;
44127b65 15983 if (arg2 == NULL) {
2f4c0a16
RD
15984 PyErr_SetString(PyExc_TypeError,"null reference");
15985 SWIG_fail;
44127b65
RD
15986 }
15987 {
15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
15989 (arg1)->base_OnEraseContents(*arg2);
15990
15991 wxPyEndAllowThreads(__tstate);
15992 if (PyErr_Occurred()) SWIG_fail;
15993 }
15994 Py_INCREF(Py_None); resultobj = Py_None;
15995 return resultobj;
15996 fail:
15997 return NULL;
15998}
15999
16000
a95a7133 16001static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16002 PyObject *resultobj;
16003 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16004 wxDC *arg2 = 0 ;
16005 PyObject * obj0 = 0 ;
16006 PyObject * obj1 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self",(char *) "dc", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16015 SWIG_POINTER_EXCEPTION | 0)) == -1)
16016 SWIG_fail;
44127b65 16017 if (arg2 == NULL) {
2f4c0a16
RD
16018 PyErr_SetString(PyExc_TypeError,"null reference");
16019 SWIG_fail;
44127b65
RD
16020 }
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 (arg1)->base_OnHighlight(*arg2);
16024
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 Py_INCREF(Py_None); resultobj = Py_None;
16029 return resultobj;
16030 fail:
16031 return NULL;
16032}
16033
16034
a95a7133 16035static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16036 PyObject *resultobj;
16037 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16038 double arg2 ;
16039 double arg3 ;
16040 int arg4 = (int) 0 ;
16041 int arg5 = (int) 0 ;
16042 PyObject * obj0 = 0 ;
8edf1c75
RD
16043 PyObject * obj1 = 0 ;
16044 PyObject * obj2 = 0 ;
16045 PyObject * obj3 = 0 ;
16046 PyObject * obj4 = 0 ;
44127b65
RD
16047 char *kwnames[] = {
16048 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16049 };
16050
8edf1c75 16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16054 arg2 = (double) SWIG_AsDouble(obj1);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 arg3 = (double) SWIG_AsDouble(obj2);
16057 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16058 if (obj3) {
2f4c0a16
RD
16059 arg4 = (int) SWIG_AsInt(obj3);
16060 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16061 }
16062 if (obj4) {
2f4c0a16
RD
16063 arg5 = (int) SWIG_AsInt(obj4);
16064 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16065 }
44127b65
RD
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 Py_INCREF(Py_None); resultobj = Py_None;
16074 return resultobj;
16075 fail:
16076 return NULL;
16077}
16078
16079
a95a7133 16080static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16081 PyObject *resultobj;
16082 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16083 double arg2 ;
16084 double arg3 ;
16085 int arg4 = (int) 0 ;
16086 int arg5 = (int) 0 ;
16087 PyObject * obj0 = 0 ;
8edf1c75
RD
16088 PyObject * obj1 = 0 ;
16089 PyObject * obj2 = 0 ;
16090 PyObject * obj3 = 0 ;
16091 PyObject * obj4 = 0 ;
44127b65
RD
16092 char *kwnames[] = {
16093 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16094 };
16095
8edf1c75 16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 arg2 = (double) SWIG_AsDouble(obj1);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 arg3 = (double) SWIG_AsDouble(obj2);
16102 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16103 if (obj3) {
2f4c0a16
RD
16104 arg4 = (int) SWIG_AsInt(obj3);
16105 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16106 }
16107 if (obj4) {
2f4c0a16
RD
16108 arg5 = (int) SWIG_AsInt(obj4);
16109 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16110 }
44127b65
RD
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 Py_INCREF(Py_None); resultobj = Py_None;
16119 return resultobj;
16120 fail:
16121 return NULL;
16122}
16123
16124
a95a7133 16125static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16126 PyObject *resultobj;
16127 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16128 double arg2 ;
16129 double arg3 ;
16130 int arg4 = (int) 0 ;
16131 int arg5 = (int) 0 ;
16132 PyObject * obj0 = 0 ;
8edf1c75
RD
16133 PyObject * obj1 = 0 ;
16134 PyObject * obj2 = 0 ;
16135 PyObject * obj3 = 0 ;
16136 PyObject * obj4 = 0 ;
44127b65
RD
16137 char *kwnames[] = {
16138 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16139 };
16140
8edf1c75 16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16144 arg2 = (double) SWIG_AsDouble(obj1);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 arg3 = (double) SWIG_AsDouble(obj2);
16147 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16148 if (obj3) {
2f4c0a16
RD
16149 arg4 = (int) SWIG_AsInt(obj3);
16150 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16151 }
16152 if (obj4) {
2f4c0a16
RD
16153 arg5 = (int) SWIG_AsInt(obj4);
16154 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16155 }
44127b65
RD
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 Py_INCREF(Py_None); resultobj = Py_None;
16164 return resultobj;
16165 fail:
16166 return NULL;
16167}
16168
16169
a95a7133 16170static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16171 PyObject *resultobj;
16172 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16173 double arg2 ;
16174 double arg3 ;
16175 PyObject * obj0 = 0 ;
8edf1c75
RD
16176 PyObject * obj1 = 0 ;
16177 PyObject * obj2 = 0 ;
44127b65
RD
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "x",(char *) "y", NULL
16180 };
16181
8edf1c75 16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16185 arg2 = (double) SWIG_AsDouble(obj1);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 arg3 = (double) SWIG_AsDouble(obj2);
16188 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 (arg1)->base_OnSize(arg2,arg3);
16192
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 Py_INCREF(Py_None); resultobj = Py_None;
16197 return resultobj;
16198 fail:
16199 return NULL;
16200}
16201
16202
a95a7133 16203static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16204 PyObject *resultobj;
16205 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16206 wxDC *arg2 = 0 ;
16207 double arg3 ;
16208 double arg4 ;
16209 double arg5 ;
16210 double arg6 ;
16211 bool arg7 = (bool) True ;
16212 bool result;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
8edf1c75
RD
16215 PyObject * obj2 = 0 ;
16216 PyObject * obj3 = 0 ;
16217 PyObject * obj4 = 0 ;
16218 PyObject * obj5 = 0 ;
44127b65
RD
16219 PyObject * obj6 = 0 ;
16220 char *kwnames[] = {
16221 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16222 };
16223
8edf1c75 16224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16228 SWIG_POINTER_EXCEPTION | 0)) == -1)
16229 SWIG_fail;
44127b65 16230 if (arg2 == NULL) {
2f4c0a16
RD
16231 PyErr_SetString(PyExc_TypeError,"null reference");
16232 SWIG_fail;
16233 }
16234 arg3 = (double) SWIG_AsDouble(obj2);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 arg4 = (double) SWIG_AsDouble(obj3);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 arg5 = (double) SWIG_AsDouble(obj4);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 arg6 = (double) SWIG_AsDouble(obj5);
16241 if (PyErr_Occurred()) SWIG_fail;
44127b65 16242 if (obj6) {
2f4c0a16
RD
16243 arg7 = (bool) SWIG_AsBool(obj6);
16244 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16245 }
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
fbc46b20
RD
16253 {
16254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16255 }
44127b65
RD
16256 return resultobj;
16257 fail:
16258 return NULL;
16259}
16260
16261
a95a7133 16262static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16263 PyObject *resultobj;
16264 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16265 wxDC *arg2 = 0 ;
16266 double arg3 ;
16267 double arg4 ;
16268 double arg5 ;
16269 double arg6 ;
16270 bool arg7 = (bool) True ;
16271 PyObject * obj0 = 0 ;
16272 PyObject * obj1 = 0 ;
8edf1c75
RD
16273 PyObject * obj2 = 0 ;
16274 PyObject * obj3 = 0 ;
16275 PyObject * obj4 = 0 ;
16276 PyObject * obj5 = 0 ;
44127b65
RD
16277 PyObject * obj6 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16280 };
16281
8edf1c75 16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16286 SWIG_POINTER_EXCEPTION | 0)) == -1)
16287 SWIG_fail;
44127b65 16288 if (arg2 == NULL) {
2f4c0a16
RD
16289 PyErr_SetString(PyExc_TypeError,"null reference");
16290 SWIG_fail;
16291 }
16292 arg3 = (double) SWIG_AsDouble(obj2);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 arg4 = (double) SWIG_AsDouble(obj3);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 arg5 = (double) SWIG_AsDouble(obj4);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 arg6 = (double) SWIG_AsDouble(obj5);
16299 if (PyErr_Occurred()) SWIG_fail;
44127b65 16300 if (obj6) {
2f4c0a16
RD
16301 arg7 = (bool) SWIG_AsBool(obj6);
16302 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16303 }
16304 {
16305 PyThreadState* __tstate = wxPyBeginAllowThreads();
16306 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16307
16308 wxPyEndAllowThreads(__tstate);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 Py_INCREF(Py_None); resultobj = Py_None;
16312 return resultobj;
16313 fail:
16314 return NULL;
16315}
16316
16317
a95a7133 16318static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16319 PyObject *resultobj;
16320 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16321 bool arg2 ;
16322 double arg3 ;
16323 double arg4 ;
16324 int arg5 = (int) 0 ;
16325 int arg6 = (int) 0 ;
16326 PyObject * obj0 = 0 ;
16327 PyObject * obj1 = 0 ;
8edf1c75
RD
16328 PyObject * obj2 = 0 ;
16329 PyObject * obj3 = 0 ;
16330 PyObject * obj4 = 0 ;
16331 PyObject * obj5 = 0 ;
44127b65
RD
16332 char *kwnames[] = {
16333 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16334 };
16335
8edf1c75 16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16339 arg2 = (bool) SWIG_AsBool(obj1);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 arg3 = (double) SWIG_AsDouble(obj2);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 arg4 = (double) SWIG_AsDouble(obj3);
16344 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16345 if (obj4) {
2f4c0a16
RD
16346 arg5 = (int) SWIG_AsInt(obj4);
16347 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16348 }
16349 if (obj5) {
2f4c0a16
RD
16350 arg6 = (int) SWIG_AsInt(obj5);
16351 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16352 }
44127b65
RD
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16356
16357 wxPyEndAllowThreads(__tstate);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 }
16360 Py_INCREF(Py_None); resultobj = Py_None;
16361 return resultobj;
16362 fail:
16363 return NULL;
16364}
16365
16366
a95a7133 16367static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16368 PyObject *resultobj;
16369 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16370 double arg2 ;
16371 double arg3 ;
16372 int arg4 = (int) 0 ;
16373 int arg5 = (int) 0 ;
16374 PyObject * obj0 = 0 ;
8edf1c75
RD
16375 PyObject * obj1 = 0 ;
16376 PyObject * obj2 = 0 ;
16377 PyObject * obj3 = 0 ;
16378 PyObject * obj4 = 0 ;
44127b65
RD
16379 char *kwnames[] = {
16380 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16381 };
16382
8edf1c75 16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16386 arg2 = (double) SWIG_AsDouble(obj1);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 arg3 = (double) SWIG_AsDouble(obj2);
16389 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16390 if (obj3) {
2f4c0a16
RD
16391 arg4 = (int) SWIG_AsInt(obj3);
16392 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16393 }
16394 if (obj4) {
2f4c0a16
RD
16395 arg5 = (int) SWIG_AsInt(obj4);
16396 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16397 }
44127b65
RD
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 Py_INCREF(Py_None); resultobj = Py_None;
16406 return resultobj;
16407 fail:
16408 return NULL;
16409}
16410
16411
a95a7133 16412static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16413 PyObject *resultobj;
16414 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16415 double arg2 ;
16416 double arg3 ;
16417 int arg4 = (int) 0 ;
16418 int arg5 = (int) 0 ;
16419 PyObject * obj0 = 0 ;
8edf1c75
RD
16420 PyObject * obj1 = 0 ;
16421 PyObject * obj2 = 0 ;
16422 PyObject * obj3 = 0 ;
16423 PyObject * obj4 = 0 ;
44127b65
RD
16424 char *kwnames[] = {
16425 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16426 };
16427
8edf1c75 16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16431 arg2 = (double) SWIG_AsDouble(obj1);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 arg3 = (double) SWIG_AsDouble(obj2);
16434 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16435 if (obj3) {
2f4c0a16
RD
16436 arg4 = (int) SWIG_AsInt(obj3);
16437 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16438 }
16439 if (obj4) {
2f4c0a16
RD
16440 arg5 = (int) SWIG_AsInt(obj4);
16441 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16442 }
44127b65
RD
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 Py_INCREF(Py_None); resultobj = Py_None;
16451 return resultobj;
16452 fail:
16453 return NULL;
16454}
16455
16456
a95a7133 16457static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16458 PyObject *resultobj;
16459 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16460 bool arg2 ;
16461 double arg3 ;
16462 double arg4 ;
16463 int arg5 = (int) 0 ;
16464 int arg6 = (int) 0 ;
16465 PyObject * obj0 = 0 ;
16466 PyObject * obj1 = 0 ;
8edf1c75
RD
16467 PyObject * obj2 = 0 ;
16468 PyObject * obj3 = 0 ;
16469 PyObject * obj4 = 0 ;
16470 PyObject * obj5 = 0 ;
44127b65
RD
16471 char *kwnames[] = {
16472 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16473 };
16474
8edf1c75 16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16478 arg2 = (bool) SWIG_AsBool(obj1);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 arg3 = (double) SWIG_AsDouble(obj2);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 arg4 = (double) SWIG_AsDouble(obj3);
16483 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16484 if (obj4) {
2f4c0a16
RD
16485 arg5 = (int) SWIG_AsInt(obj4);
16486 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16487 }
16488 if (obj5) {
2f4c0a16
RD
16489 arg6 = (int) SWIG_AsInt(obj5);
16490 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16491 }
44127b65
RD
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 Py_INCREF(Py_None); resultobj = Py_None;
16500 return resultobj;
16501 fail:
16502 return NULL;
16503}
16504
16505
a95a7133 16506static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16507 PyObject *resultobj;
16508 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16509 double arg2 ;
16510 double arg3 ;
16511 int arg4 = (int) 0 ;
16512 int arg5 = (int) 0 ;
16513 PyObject * obj0 = 0 ;
8edf1c75
RD
16514 PyObject * obj1 = 0 ;
16515 PyObject * obj2 = 0 ;
16516 PyObject * obj3 = 0 ;
16517 PyObject * obj4 = 0 ;
44127b65
RD
16518 char *kwnames[] = {
16519 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16520 };
16521
8edf1c75 16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16525 arg2 = (double) SWIG_AsDouble(obj1);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 arg3 = (double) SWIG_AsDouble(obj2);
16528 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16529 if (obj3) {
2f4c0a16
RD
16530 arg4 = (int) SWIG_AsInt(obj3);
16531 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16532 }
16533 if (obj4) {
2f4c0a16
RD
16534 arg5 = (int) SWIG_AsInt(obj4);
16535 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16536 }
44127b65
RD
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 Py_INCREF(Py_None); resultobj = Py_None;
16545 return resultobj;
16546 fail:
16547 return NULL;
16548}
16549
16550
a95a7133 16551static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16552 PyObject *resultobj;
16553 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16554 double arg2 ;
16555 double arg3 ;
16556 int arg4 = (int) 0 ;
16557 int arg5 = (int) 0 ;
16558 PyObject * obj0 = 0 ;
8edf1c75
RD
16559 PyObject * obj1 = 0 ;
16560 PyObject * obj2 = 0 ;
16561 PyObject * obj3 = 0 ;
16562 PyObject * obj4 = 0 ;
44127b65
RD
16563 char *kwnames[] = {
16564 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16565 };
16566
8edf1c75 16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16570 arg2 = (double) SWIG_AsDouble(obj1);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 arg3 = (double) SWIG_AsDouble(obj2);
16573 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16574 if (obj3) {
2f4c0a16
RD
16575 arg4 = (int) SWIG_AsInt(obj3);
16576 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16577 }
16578 if (obj4) {
2f4c0a16
RD
16579 arg5 = (int) SWIG_AsInt(obj4);
16580 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16581 }
44127b65
RD
16582 {
16583 PyThreadState* __tstate = wxPyBeginAllowThreads();
16584 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16585
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 Py_INCREF(Py_None); resultobj = Py_None;
16590 return resultobj;
16591 fail:
16592 return NULL;
16593}
16594
16595
a95a7133 16596static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16597 PyObject *resultobj;
16598 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16599 wxDC *arg2 = 0 ;
16600 double arg3 ;
16601 double arg4 ;
16602 double arg5 ;
16603 double arg6 ;
16604 PyObject * obj0 = 0 ;
16605 PyObject * obj1 = 0 ;
8edf1c75
RD
16606 PyObject * obj2 = 0 ;
16607 PyObject * obj3 = 0 ;
16608 PyObject * obj4 = 0 ;
16609 PyObject * obj5 = 0 ;
44127b65
RD
16610 char *kwnames[] = {
16611 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16612 };
16613
8edf1c75 16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16618 SWIG_POINTER_EXCEPTION | 0)) == -1)
16619 SWIG_fail;
44127b65 16620 if (arg2 == NULL) {
2f4c0a16
RD
16621 PyErr_SetString(PyExc_TypeError,"null reference");
16622 SWIG_fail;
8edf1c75 16623 }
2f4c0a16
RD
16624 arg3 = (double) SWIG_AsDouble(obj2);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 arg4 = (double) SWIG_AsDouble(obj3);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 arg5 = (double) SWIG_AsDouble(obj4);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 arg6 = (double) SWIG_AsDouble(obj5);
16631 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 Py_INCREF(Py_None); resultobj = Py_None;
16640 return resultobj;
16641 fail:
16642 return NULL;
16643}
16644
16645
a95a7133 16646static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16647 PyObject *resultobj;
16648 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16649 wxDC *arg2 = 0 ;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "dc", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16660 SWIG_POINTER_EXCEPTION | 0)) == -1)
16661 SWIG_fail;
44127b65 16662 if (arg2 == NULL) {
2f4c0a16
RD
16663 PyErr_SetString(PyExc_TypeError,"null reference");
16664 SWIG_fail;
44127b65
RD
16665 }
16666 {
16667 PyThreadState* __tstate = wxPyBeginAllowThreads();
16668 (arg1)->base_OnDrawControlPoints(*arg2);
16669
16670 wxPyEndAllowThreads(__tstate);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 }
16673 Py_INCREF(Py_None); resultobj = Py_None;
16674 return resultobj;
16675 fail:
16676 return NULL;
16677}
16678
16679
a95a7133 16680static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16681 PyObject *resultobj;
16682 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16683 wxDC *arg2 = 0 ;
16684 PyObject * obj0 = 0 ;
16685 PyObject * obj1 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self",(char *) "dc", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16694 SWIG_POINTER_EXCEPTION | 0)) == -1)
16695 SWIG_fail;
44127b65 16696 if (arg2 == NULL) {
2f4c0a16
RD
16697 PyErr_SetString(PyExc_TypeError,"null reference");
16698 SWIG_fail;
44127b65
RD
16699 }
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 (arg1)->base_OnEraseControlPoints(*arg2);
16703
16704 wxPyEndAllowThreads(__tstate);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 Py_INCREF(Py_None); resultobj = Py_None;
16708 return resultobj;
16709 fail:
16710 return NULL;
16711}
16712
16713
a95a7133 16714static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16715 PyObject *resultobj;
16716 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16717 wxDC *arg2 = 0 ;
16718 bool arg3 = (bool) True ;
16719 PyObject * obj0 = 0 ;
16720 PyObject * obj1 = 0 ;
16721 PyObject * obj2 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16730 SWIG_POINTER_EXCEPTION | 0)) == -1)
16731 SWIG_fail;
44127b65 16732 if (arg2 == NULL) {
2f4c0a16
RD
16733 PyErr_SetString(PyExc_TypeError,"null reference");
16734 SWIG_fail;
44127b65
RD
16735 }
16736 if (obj2) {
2f4c0a16
RD
16737 arg3 = (bool) SWIG_AsBool(obj2);
16738 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16739 }
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 (arg1)->base_OnMoveLink(*arg2,arg3);
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 Py_INCREF(Py_None); resultobj = Py_None;
16748 return resultobj;
16749 fail:
16750 return NULL;
16751}
16752
16753
a95a7133 16754static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16755 PyObject *resultobj;
16756 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16757 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16758 bool arg3 ;
16759 double arg4 ;
16760 double arg5 ;
16761 int arg6 = (int) 0 ;
16762 int arg7 = (int) 0 ;
16763 PyObject * obj0 = 0 ;
16764 PyObject * obj1 = 0 ;
16765 PyObject * obj2 = 0 ;
8edf1c75
RD
16766 PyObject * obj3 = 0 ;
16767 PyObject * obj4 = 0 ;
16768 PyObject * obj5 = 0 ;
16769 PyObject * obj6 = 0 ;
44127b65
RD
16770 char *kwnames[] = {
16771 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16772 };
16773
8edf1c75 16774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16779 arg3 = (bool) SWIG_AsBool(obj2);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 arg4 = (double) SWIG_AsDouble(obj3);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 arg5 = (double) SWIG_AsDouble(obj4);
16784 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16785 if (obj5) {
2f4c0a16
RD
16786 arg6 = (int) SWIG_AsInt(obj5);
16787 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16788 }
16789 if (obj6) {
2f4c0a16
RD
16790 arg7 = (int) SWIG_AsInt(obj6);
16791 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16792 }
44127b65
RD
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 Py_INCREF(Py_None); resultobj = Py_None;
16801 return resultobj;
16802 fail:
16803 return NULL;
16804}
16805
16806
a95a7133 16807static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16808 PyObject *resultobj;
16809 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16810 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16811 double arg3 ;
16812 double arg4 ;
16813 int arg5 = (int) 0 ;
16814 int arg6 = (int) 0 ;
16815 PyObject * obj0 = 0 ;
16816 PyObject * obj1 = 0 ;
8edf1c75
RD
16817 PyObject * obj2 = 0 ;
16818 PyObject * obj3 = 0 ;
16819 PyObject * obj4 = 0 ;
16820 PyObject * obj5 = 0 ;
44127b65
RD
16821 char *kwnames[] = {
16822 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16823 };
16824
8edf1c75 16825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16830 arg3 = (double) SWIG_AsDouble(obj2);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 arg4 = (double) SWIG_AsDouble(obj3);
16833 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16834 if (obj4) {
2f4c0a16
RD
16835 arg5 = (int) SWIG_AsInt(obj4);
16836 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16837 }
16838 if (obj5) {
2f4c0a16
RD
16839 arg6 = (int) SWIG_AsInt(obj5);
16840 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16841 }
44127b65
RD
16842 {
16843 PyThreadState* __tstate = wxPyBeginAllowThreads();
16844 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16845
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 Py_INCREF(Py_None); resultobj = Py_None;
16850 return resultobj;
16851 fail:
16852 return NULL;
16853}
16854
16855
a95a7133 16856static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16857 PyObject *resultobj;
16858 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16859 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16860 double arg3 ;
16861 double arg4 ;
16862 int arg5 = (int) 0 ;
16863 int arg6 = (int) 0 ;
16864 PyObject * obj0 = 0 ;
16865 PyObject * obj1 = 0 ;
8edf1c75
RD
16866 PyObject * obj2 = 0 ;
16867 PyObject * obj3 = 0 ;
16868 PyObject * obj4 = 0 ;
16869 PyObject * obj5 = 0 ;
44127b65
RD
16870 char *kwnames[] = {
16871 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16872 };
16873
8edf1c75 16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16879 arg3 = (double) SWIG_AsDouble(obj2);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 arg4 = (double) SWIG_AsDouble(obj3);
16882 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16883 if (obj4) {
2f4c0a16
RD
16884 arg5 = (int) SWIG_AsInt(obj4);
16885 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16886 }
16887 if (obj5) {
2f4c0a16
RD
16888 arg6 = (int) SWIG_AsInt(obj5);
16889 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16890 }
44127b65
RD
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 Py_INCREF(Py_None); resultobj = Py_None;
16899 return resultobj;
16900 fail:
16901 return NULL;
16902}
16903
16904
a95a7133 16905static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16906 PyObject *resultobj;
16907 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16908 double arg2 ;
16909 double arg3 ;
16910 PyObject * obj0 = 0 ;
8edf1c75
RD
16911 PyObject * obj1 = 0 ;
16912 PyObject * obj2 = 0 ;
44127b65
RD
16913 char *kwnames[] = {
16914 (char *) "self",(char *) "w",(char *) "h", NULL
16915 };
16916
8edf1c75 16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16920 arg2 = (double) SWIG_AsDouble(obj1);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 arg3 = (double) SWIG_AsDouble(obj2);
16923 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 (arg1)->base_OnBeginSize(arg2,arg3);
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 Py_INCREF(Py_None); resultobj = Py_None;
16932 return resultobj;
16933 fail:
16934 return NULL;
16935}
16936
16937
a95a7133 16938static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16939 PyObject *resultobj;
16940 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16941 double arg2 ;
16942 double arg3 ;
16943 PyObject * obj0 = 0 ;
8edf1c75
RD
16944 PyObject * obj1 = 0 ;
16945 PyObject * obj2 = 0 ;
44127b65
RD
16946 char *kwnames[] = {
16947 (char *) "self",(char *) "w",(char *) "h", NULL
16948 };
16949
8edf1c75 16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16953 arg2 = (double) SWIG_AsDouble(obj1);
16954 if (PyErr_Occurred()) SWIG_fail;
16955 arg3 = (double) SWIG_AsDouble(obj2);
16956 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 (arg1)->base_OnEndSize(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
a95a7133 16971static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
16972 PyObject *obj;
16973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16974 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
16975 Py_INCREF(obj);
16976 return Py_BuildValue((char *)"");
16977}
a95a7133 16978static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16979 PyObject *resultobj;
16980 int arg1 ;
16981 wxPyShape *arg2 = (wxPyShape *) 0 ;
16982 PyObject *arg3 = (PyObject *) 0 ;
16983 wxOGLConstraint *result;
8edf1c75 16984 PyObject * obj0 = 0 ;
44127b65
RD
16985 PyObject * obj1 = 0 ;
16986 PyObject * obj2 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16989 };
16990
8edf1c75 16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16992 arg1 = (int) SWIG_AsInt(obj0);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
16995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
16996 arg3 = obj2;
16997 {
16998 PyThreadState* __tstate = wxPyBeginAllowThreads();
16999 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
17000
17001 wxPyEndAllowThreads(__tstate);
17002 if (PyErr_Occurred()) SWIG_fail;
17003 }
17004 {
17005 resultobj = wxPyMake_wxObject(result);
17006 }
17007 return resultobj;
17008 fail:
17009 return NULL;
17010}
17011
17012
a95a7133 17013static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17014 PyObject *resultobj;
17015 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17016 bool result;
17017 PyObject * obj0 = 0 ;
17018 char *kwnames[] = {
17019 (char *) "self", NULL
17020 };
17021
17022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17025 {
17026 PyThreadState* __tstate = wxPyBeginAllowThreads();
17027 result = (bool)(arg1)->Evaluate();
17028
17029 wxPyEndAllowThreads(__tstate);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
fbc46b20
RD
17032 {
17033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17034 }
44127b65
RD
17035 return resultobj;
17036 fail:
17037 return NULL;
17038}
17039
17040
a95a7133 17041static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17042 PyObject *resultobj;
17043 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17044 double arg2 ;
17045 double arg3 ;
17046 PyObject * obj0 = 0 ;
8edf1c75
RD
17047 PyObject * obj1 = 0 ;
17048 PyObject * obj2 = 0 ;
44127b65
RD
17049 char *kwnames[] = {
17050 (char *) "self",(char *) "x",(char *) "y", NULL
17051 };
17052
8edf1c75 17053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17056 arg2 = (double) SWIG_AsDouble(obj1);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 arg3 = (double) SWIG_AsDouble(obj2);
17059 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 (arg1)->SetSpacing(arg2,arg3);
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 Py_INCREF(Py_None); resultobj = Py_None;
17068 return resultobj;
17069 fail:
17070 return NULL;
17071}
17072
17073
a95a7133 17074static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17075 PyObject *resultobj;
17076 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17077 double arg2 ;
17078 double arg3 ;
17079 bool result;
17080 PyObject * obj0 = 0 ;
8edf1c75
RD
17081 PyObject * obj1 = 0 ;
17082 PyObject * obj2 = 0 ;
44127b65
RD
17083 char *kwnames[] = {
17084 (char *) "self",(char *) "a",(char *) "b", NULL
17085 };
17086
8edf1c75 17087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17090 arg2 = (double) SWIG_AsDouble(obj1);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 arg3 = (double) SWIG_AsDouble(obj2);
17093 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 result = (bool)(arg1)->Equals(arg2,arg3);
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
fbc46b20
RD
17101 {
17102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17103 }
44127b65
RD
17104 return resultobj;
17105 fail:
17106 return NULL;
17107}
17108
17109
a95a7133 17110static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
17111 PyObject *obj;
17112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17113 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17114 Py_INCREF(obj);
17115 return Py_BuildValue((char *)"");
17116}
a95a7133 17117static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17118 PyObject *resultobj;
17119 wxPyCompositeShape *result;
17120 char *kwnames[] = {
17121 NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17128
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
2f4c0a16 17132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
44127b65
RD
17133 return resultobj;
17134 fail:
17135 return NULL;
17136}
17137
17138
a95a7133 17139static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17140 PyObject *resultobj;
17141 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17142 PyObject *arg2 = (PyObject *) 0 ;
17143 PyObject *arg3 = (PyObject *) 0 ;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 PyObject * obj2 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self",(char *) "self",(char *) "_class", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17154 arg2 = obj1;
17155 arg3 = obj2;
17156 {
17157 PyThreadState* __tstate = wxPyBeginAllowThreads();
17158 (arg1)->_setCallbackInfo(arg2,arg3);
17159
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
17163 Py_INCREF(Py_None); resultobj = Py_None;
17164 return resultobj;
17165 fail:
17166 return NULL;
17167}
17168
17169
a95a7133 17170static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17171 PyObject *resultobj;
17172 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17173 wxPyShape *arg2 = (wxPyShape *) 0 ;
17174 wxPyShape *arg3 = (wxPyShape *) NULL ;
17175 PyObject * obj0 = 0 ;
17176 PyObject * obj1 = 0 ;
17177 PyObject * obj2 = 0 ;
17178 char *kwnames[] = {
17179 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17180 };
17181
17182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 17187 if (obj2) {
2f4c0a16
RD
17188 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17190 }
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 (arg1)->AddChild(arg2,arg3);
17194
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 Py_INCREF(Py_None); resultobj = Py_None;
17199 return resultobj;
17200 fail:
17201 return NULL;
17202}
17203
17204
a95a7133 17205static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17206 PyObject *resultobj;
17207 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17208 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17209 wxOGLConstraint *result;
17210 PyObject * obj0 = 0 ;
17211 PyObject * obj1 = 0 ;
17212 char *kwnames[] = {
17213 (char *) "self",(char *) "constraint", NULL
17214 };
17215
17216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 {
17229 resultobj = wxPyMake_wxObject(result);
17230 }
17231 return resultobj;
17232 fail:
17233 return NULL;
17234}
17235
17236
a95a7133 17237static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17238 PyObject *resultobj;
17239 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17240 int arg2 ;
17241 wxPyShape *arg3 = (wxPyShape *) 0 ;
17242 PyObject *arg4 = (PyObject *) 0 ;
17243 wxOGLConstraint *result;
17244 PyObject * obj0 = 0 ;
8edf1c75 17245 PyObject * obj1 = 0 ;
44127b65
RD
17246 PyObject * obj2 = 0 ;
17247 PyObject * obj3 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17250 };
17251
8edf1c75 17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17255 arg2 = (int) SWIG_AsInt(obj1);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17259 arg4 = obj3;
17260 {
17261 PyThreadState* __tstate = wxPyBeginAllowThreads();
17262 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17263
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 {
17268 resultobj = wxPyMake_wxObject(result);
17269 }
17270 return resultobj;
17271 fail:
17272 return NULL;
17273}
17274
17275
a95a7133 17276static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17277 PyObject *resultobj;
17278 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17279 int arg2 ;
17280 wxPyShape *arg3 = (wxPyShape *) 0 ;
17281 wxPyShape *arg4 = (wxPyShape *) 0 ;
17282 wxOGLConstraint *result;
17283 PyObject * obj0 = 0 ;
8edf1c75 17284 PyObject * obj1 = 0 ;
44127b65
RD
17285 PyObject * obj2 = 0 ;
17286 PyObject * obj3 = 0 ;
17287 char *kwnames[] = {
17288 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17289 };
17290
8edf1c75 17291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17294 arg2 = (int) SWIG_AsInt(obj1);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17298 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPyShape,
17299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 {
17308 resultobj = wxPyMake_wxObject(result);
17309 }
17310 return resultobj;
17311 fail:
17312 return NULL;
17313}
17314
17315
a95a7133 17316static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17317 PyObject *resultobj;
17318 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17319 PyObject * obj0 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "self", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 (arg1)->CalculateSize();
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 Py_INCREF(Py_None); resultobj = Py_None;
17335 return resultobj;
17336 fail:
17337 return NULL;
17338}
17339
17340
a95a7133 17341static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17342 PyObject *resultobj;
17343 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17344 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17345 bool result;
17346 PyObject * obj0 = 0 ;
17347 PyObject * obj1 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self",(char *) "division", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
17356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 result = (bool)(arg1)->ContainsDivision(arg2);
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
fbc46b20
RD
17364 {
17365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17366 }
44127b65
RD
17367 return resultobj;
17368 fail:
17369 return NULL;
17370}
17371
17372
a95a7133 17373static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17374 PyObject *resultobj;
17375 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17376 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "constraint", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 (arg1)->DeleteConstraint(arg2);
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 Py_INCREF(Py_None); resultobj = Py_None;
17396 return resultobj;
17397 fail:
17398 return NULL;
17399}
17400
17401
a95a7133 17402static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17403 PyObject *resultobj;
17404 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17405 wxPyShape *arg2 = (wxPyShape *) 0 ;
17406 PyObject * obj0 = 0 ;
17407 PyObject * obj1 = 0 ;
17408 char *kwnames[] = {
17409 (char *) "self",(char *) "child", NULL
17410 };
17411
17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 Py_INCREF(Py_None); resultobj = Py_None;
17425 return resultobj;
17426 fail:
17427 return NULL;
17428}
17429
17430
a95a7133 17431static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17432 PyObject *resultobj;
17433 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17434 wxPyShape *result;
17435 PyObject * obj0 = 0 ;
17436 char *kwnames[] = {
17437 (char *) "self", NULL
17438 };
17439
17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 result = (wxPyShape *)(arg1)->FindContainerImage();
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 {
17451 resultobj = wxPyMake_wxShapeEvtHandler(result);
17452 }
17453 return resultobj;
17454 fail:
17455 return NULL;
17456}
17457
17458
a95a7133 17459static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17460 PyObject *resultobj;
17461 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17462 PyObject *result;
17463 PyObject * obj0 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 resultobj = result;
17479 return resultobj;
17480 fail:
17481 return NULL;
17482}
17483
17484
a95a7133 17485static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17486 PyObject *resultobj;
17487 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17488 PyObject *result;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 resultobj = result;
17505 return resultobj;
17506 fail:
17507 return NULL;
17508}
17509
17510
a95a7133 17511static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17512 PyObject *resultobj;
17513 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17514 PyObject * obj0 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17522 {
17523 PyThreadState* __tstate = wxPyBeginAllowThreads();
17524 (arg1)->MakeContainer();
17525
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 Py_INCREF(Py_None); resultobj = Py_None;
17530 return resultobj;
17531 fail:
17532 return NULL;
17533}
17534
17535
a95a7133 17536static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17537 PyObject *resultobj;
17538 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17539 bool result;
17540 PyObject * obj0 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (bool)(arg1)->Recompute();
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
fbc46b20
RD
17555 {
17556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17557 }
44127b65
RD
17558 return resultobj;
17559 fail:
17560 return NULL;
17561}
17562
17563
a95a7133 17564static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17565 PyObject *resultobj;
17566 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17567 wxPyShape *arg2 = (wxPyShape *) 0 ;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "self",(char *) "child", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 (arg1)->RemoveChild(arg2);
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 Py_INCREF(Py_None); resultobj = Py_None;
17587 return resultobj;
17588 fail:
17589 return NULL;
17590}
17591
17592
a95a7133 17593static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17594 PyObject *resultobj;
17595 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17596 PyObject * obj0 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 (arg1)->base_OnDelete();
17607
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 Py_INCREF(Py_None); resultobj = Py_None;
17612 return resultobj;
17613 fail:
17614 return NULL;
17615}
17616
17617
a95a7133 17618static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17619 PyObject *resultobj;
17620 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17621 wxDC *arg2 = 0 ;
17622 PyObject * obj0 = 0 ;
17623 PyObject * obj1 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self",(char *) "dc", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17632 SWIG_POINTER_EXCEPTION | 0)) == -1)
17633 SWIG_fail;
44127b65 17634 if (arg2 == NULL) {
2f4c0a16
RD
17635 PyErr_SetString(PyExc_TypeError,"null reference");
17636 SWIG_fail;
44127b65
RD
17637 }
17638 {
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 (arg1)->base_OnDraw(*arg2);
17641
17642 wxPyEndAllowThreads(__tstate);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 Py_INCREF(Py_None); resultobj = Py_None;
17646 return resultobj;
17647 fail:
17648 return NULL;
17649}
17650
17651
a95a7133 17652static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17653 PyObject *resultobj;
17654 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17655 wxDC *arg2 = 0 ;
17656 PyObject * obj0 = 0 ;
17657 PyObject * obj1 = 0 ;
17658 char *kwnames[] = {
17659 (char *) "self",(char *) "dc", NULL
17660 };
17661
17662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17666 SWIG_POINTER_EXCEPTION | 0)) == -1)
17667 SWIG_fail;
44127b65 17668 if (arg2 == NULL) {
2f4c0a16
RD
17669 PyErr_SetString(PyExc_TypeError,"null reference");
17670 SWIG_fail;
44127b65
RD
17671 }
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 (arg1)->base_OnDrawContents(*arg2);
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 Py_INCREF(Py_None); resultobj = Py_None;
17680 return resultobj;
17681 fail:
17682 return NULL;
17683}
17684
17685
a95a7133 17686static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17687 PyObject *resultobj;
17688 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17689 wxDC *arg2 = 0 ;
17690 bool arg3 = (bool) FALSE ;
17691 PyObject * obj0 = 0 ;
17692 PyObject * obj1 = 0 ;
17693 PyObject * obj2 = 0 ;
17694 char *kwnames[] = {
17695 (char *) "self",(char *) "dc",(char *) "erase", NULL
17696 };
17697
17698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17702 SWIG_POINTER_EXCEPTION | 0)) == -1)
17703 SWIG_fail;
44127b65 17704 if (arg2 == NULL) {
2f4c0a16
RD
17705 PyErr_SetString(PyExc_TypeError,"null reference");
17706 SWIG_fail;
44127b65
RD
17707 }
17708 if (obj2) {
2f4c0a16
RD
17709 arg3 = (bool) SWIG_AsBool(obj2);
17710 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17711 }
17712 {
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 (arg1)->base_OnDrawBranches(*arg2,arg3);
17715
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 Py_INCREF(Py_None); resultobj = Py_None;
17720 return resultobj;
17721 fail:
17722 return NULL;
17723}
17724
17725
a95a7133 17726static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17727 PyObject *resultobj;
17728 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17729 wxDC *arg2 = 0 ;
17730 PyObject * obj0 = 0 ;
17731 PyObject * obj1 = 0 ;
17732 char *kwnames[] = {
17733 (char *) "self",(char *) "dc", NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17740 SWIG_POINTER_EXCEPTION | 0)) == -1)
17741 SWIG_fail;
44127b65 17742 if (arg2 == NULL) {
2f4c0a16
RD
17743 PyErr_SetString(PyExc_TypeError,"null reference");
17744 SWIG_fail;
44127b65
RD
17745 }
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 (arg1)->base_OnMoveLinks(*arg2);
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 Py_INCREF(Py_None); resultobj = Py_None;
17754 return resultobj;
17755 fail:
17756 return NULL;
17757}
17758
17759
a95a7133 17760static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17761 PyObject *resultobj;
17762 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17763 wxDC *arg2 = 0 ;
17764 PyObject * obj0 = 0 ;
17765 PyObject * obj1 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self",(char *) "dc", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17774 SWIG_POINTER_EXCEPTION | 0)) == -1)
17775 SWIG_fail;
44127b65 17776 if (arg2 == NULL) {
2f4c0a16
RD
17777 PyErr_SetString(PyExc_TypeError,"null reference");
17778 SWIG_fail;
44127b65
RD
17779 }
17780 {
17781 PyThreadState* __tstate = wxPyBeginAllowThreads();
17782 (arg1)->base_OnErase(*arg2);
17783
17784 wxPyEndAllowThreads(__tstate);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 }
17787 Py_INCREF(Py_None); resultobj = Py_None;
17788 return resultobj;
17789 fail:
17790 return NULL;
17791}
17792
17793
a95a7133 17794static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17795 PyObject *resultobj;
17796 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17797 wxDC *arg2 = 0 ;
17798 PyObject * obj0 = 0 ;
17799 PyObject * obj1 = 0 ;
17800 char *kwnames[] = {
17801 (char *) "self",(char *) "dc", NULL
17802 };
17803
17804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17808 SWIG_POINTER_EXCEPTION | 0)) == -1)
17809 SWIG_fail;
44127b65 17810 if (arg2 == NULL) {
2f4c0a16
RD
17811 PyErr_SetString(PyExc_TypeError,"null reference");
17812 SWIG_fail;
44127b65
RD
17813 }
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 (arg1)->base_OnEraseContents(*arg2);
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 Py_INCREF(Py_None); resultobj = Py_None;
17822 return resultobj;
17823 fail:
17824 return NULL;
17825}
17826
17827
a95a7133 17828static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17829 PyObject *resultobj;
17830 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17831 wxDC *arg2 = 0 ;
17832 PyObject * obj0 = 0 ;
17833 PyObject * obj1 = 0 ;
17834 char *kwnames[] = {
17835 (char *) "self",(char *) "dc", NULL
17836 };
17837
17838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17842 SWIG_POINTER_EXCEPTION | 0)) == -1)
17843 SWIG_fail;
44127b65 17844 if (arg2 == NULL) {
2f4c0a16
RD
17845 PyErr_SetString(PyExc_TypeError,"null reference");
17846 SWIG_fail;
44127b65
RD
17847 }
17848 {
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 (arg1)->base_OnHighlight(*arg2);
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 Py_INCREF(Py_None); resultobj = Py_None;
17856 return resultobj;
17857 fail:
17858 return NULL;
17859}
17860
17861
a95a7133 17862static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17863 PyObject *resultobj;
17864 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17865 double arg2 ;
17866 double arg3 ;
17867 int arg4 = (int) 0 ;
17868 int arg5 = (int) 0 ;
17869 PyObject * obj0 = 0 ;
8edf1c75
RD
17870 PyObject * obj1 = 0 ;
17871 PyObject * obj2 = 0 ;
17872 PyObject * obj3 = 0 ;
17873 PyObject * obj4 = 0 ;
44127b65
RD
17874 char *kwnames[] = {
17875 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17876 };
17877
8edf1c75 17878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17881 arg2 = (double) SWIG_AsDouble(obj1);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 arg3 = (double) SWIG_AsDouble(obj2);
17884 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17885 if (obj3) {
2f4c0a16
RD
17886 arg4 = (int) SWIG_AsInt(obj3);
17887 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17888 }
17889 if (obj4) {
2f4c0a16
RD
17890 arg5 = (int) SWIG_AsInt(obj4);
17891 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17892 }
44127b65
RD
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 Py_INCREF(Py_None); resultobj = Py_None;
17901 return resultobj;
17902 fail:
17903 return NULL;
17904}
17905
17906
a95a7133 17907static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17908 PyObject *resultobj;
17909 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17910 double arg2 ;
17911 double arg3 ;
17912 int arg4 = (int) 0 ;
17913 int arg5 = (int) 0 ;
17914 PyObject * obj0 = 0 ;
8edf1c75
RD
17915 PyObject * obj1 = 0 ;
17916 PyObject * obj2 = 0 ;
17917 PyObject * obj3 = 0 ;
17918 PyObject * obj4 = 0 ;
44127b65
RD
17919 char *kwnames[] = {
17920 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17921 };
17922
8edf1c75 17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17926 arg2 = (double) SWIG_AsDouble(obj1);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 arg3 = (double) SWIG_AsDouble(obj2);
17929 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17930 if (obj3) {
2f4c0a16
RD
17931 arg4 = (int) SWIG_AsInt(obj3);
17932 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17933 }
17934 if (obj4) {
2f4c0a16
RD
17935 arg5 = (int) SWIG_AsInt(obj4);
17936 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17937 }
44127b65
RD
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17941
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 Py_INCREF(Py_None); resultobj = Py_None;
17946 return resultobj;
17947 fail:
17948 return NULL;
17949}
17950
17951
a95a7133 17952static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17953 PyObject *resultobj;
17954 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17955 double arg2 ;
17956 double arg3 ;
17957 int arg4 = (int) 0 ;
17958 int arg5 = (int) 0 ;
17959 PyObject * obj0 = 0 ;
8edf1c75
RD
17960 PyObject * obj1 = 0 ;
17961 PyObject * obj2 = 0 ;
17962 PyObject * obj3 = 0 ;
17963 PyObject * obj4 = 0 ;
44127b65
RD
17964 char *kwnames[] = {
17965 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17966 };
17967
8edf1c75 17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17971 arg2 = (double) SWIG_AsDouble(obj1);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 arg3 = (double) SWIG_AsDouble(obj2);
17974 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17975 if (obj3) {
2f4c0a16
RD
17976 arg4 = (int) SWIG_AsInt(obj3);
17977 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17978 }
17979 if (obj4) {
2f4c0a16
RD
17980 arg5 = (int) SWIG_AsInt(obj4);
17981 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17982 }
44127b65
RD
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17986
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 Py_INCREF(Py_None); resultobj = Py_None;
17991 return resultobj;
17992 fail:
17993 return NULL;
17994}
17995
17996
a95a7133 17997static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17998 PyObject *resultobj;
17999 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18000 double arg2 ;
18001 double arg3 ;
18002 PyObject * obj0 = 0 ;
8edf1c75
RD
18003 PyObject * obj1 = 0 ;
18004 PyObject * obj2 = 0 ;
44127b65
RD
18005 char *kwnames[] = {
18006 (char *) "self",(char *) "x",(char *) "y", NULL
18007 };
18008
8edf1c75 18009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18012 arg2 = (double) SWIG_AsDouble(obj1);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 arg3 = (double) SWIG_AsDouble(obj2);
18015 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->base_OnSize(arg2,arg3);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 return resultobj;
18025 fail:
18026 return NULL;
18027}
18028
18029
a95a7133 18030static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18031 PyObject *resultobj;
18032 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18033 wxDC *arg2 = 0 ;
18034 double arg3 ;
18035 double arg4 ;
18036 double arg5 ;
18037 double arg6 ;
18038 bool arg7 = (bool) True ;
18039 bool result;
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
8edf1c75
RD
18042 PyObject * obj2 = 0 ;
18043 PyObject * obj3 = 0 ;
18044 PyObject * obj4 = 0 ;
18045 PyObject * obj5 = 0 ;
44127b65
RD
18046 PyObject * obj6 = 0 ;
18047 char *kwnames[] = {
18048 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18049 };
18050
8edf1c75 18051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18055 SWIG_POINTER_EXCEPTION | 0)) == -1)
18056 SWIG_fail;
44127b65 18057 if (arg2 == NULL) {
2f4c0a16
RD
18058 PyErr_SetString(PyExc_TypeError,"null reference");
18059 SWIG_fail;
18060 }
18061 arg3 = (double) SWIG_AsDouble(obj2);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 arg4 = (double) SWIG_AsDouble(obj3);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 arg5 = (double) SWIG_AsDouble(obj4);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 arg6 = (double) SWIG_AsDouble(obj5);
18068 if (PyErr_Occurred()) SWIG_fail;
44127b65 18069 if (obj6) {
2f4c0a16
RD
18070 arg7 = (bool) SWIG_AsBool(obj6);
18071 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18072 }
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
fbc46b20
RD
18080 {
18081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18082 }
44127b65
RD
18083 return resultobj;
18084 fail:
18085 return NULL;
18086}
18087
18088
a95a7133 18089static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18090 PyObject *resultobj;
18091 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18092 wxDC *arg2 = 0 ;
18093 double arg3 ;
18094 double arg4 ;
18095 double arg5 ;
18096 double arg6 ;
18097 bool arg7 = (bool) True ;
18098 PyObject * obj0 = 0 ;
18099 PyObject * obj1 = 0 ;
8edf1c75
RD
18100 PyObject * obj2 = 0 ;
18101 PyObject * obj3 = 0 ;
18102 PyObject * obj4 = 0 ;
18103 PyObject * obj5 = 0 ;
44127b65
RD
18104 PyObject * obj6 = 0 ;
18105 char *kwnames[] = {
18106 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18107 };
18108
8edf1c75 18109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18113 SWIG_POINTER_EXCEPTION | 0)) == -1)
18114 SWIG_fail;
44127b65 18115 if (arg2 == NULL) {
2f4c0a16
RD
18116 PyErr_SetString(PyExc_TypeError,"null reference");
18117 SWIG_fail;
18118 }
18119 arg3 = (double) SWIG_AsDouble(obj2);
18120 if (PyErr_Occurred()) SWIG_fail;
18121 arg4 = (double) SWIG_AsDouble(obj3);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 arg5 = (double) SWIG_AsDouble(obj4);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 arg6 = (double) SWIG_AsDouble(obj5);
18126 if (PyErr_Occurred()) SWIG_fail;
44127b65 18127 if (obj6) {
2f4c0a16
RD
18128 arg7 = (bool) SWIG_AsBool(obj6);
18129 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18130 }
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 Py_INCREF(Py_None); resultobj = Py_None;
18139 return resultobj;
18140 fail:
18141 return NULL;
18142}
18143
18144
a95a7133 18145static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18146 PyObject *resultobj;
18147 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18148 bool arg2 ;
18149 double arg3 ;
18150 double arg4 ;
18151 int arg5 = (int) 0 ;
18152 int arg6 = (int) 0 ;
18153 PyObject * obj0 = 0 ;
18154 PyObject * obj1 = 0 ;
8edf1c75
RD
18155 PyObject * obj2 = 0 ;
18156 PyObject * obj3 = 0 ;
18157 PyObject * obj4 = 0 ;
18158 PyObject * obj5 = 0 ;
44127b65
RD
18159 char *kwnames[] = {
18160 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18161 };
18162
8edf1c75 18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18166 arg2 = (bool) SWIG_AsBool(obj1);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 arg3 = (double) SWIG_AsDouble(obj2);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 arg4 = (double) SWIG_AsDouble(obj3);
18171 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18172 if (obj4) {
2f4c0a16
RD
18173 arg5 = (int) SWIG_AsInt(obj4);
18174 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18175 }
18176 if (obj5) {
2f4c0a16
RD
18177 arg6 = (int) SWIG_AsInt(obj5);
18178 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18179 }
44127b65
RD
18180 {
18181 PyThreadState* __tstate = wxPyBeginAllowThreads();
18182 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18183
18184 wxPyEndAllowThreads(__tstate);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 }
18187 Py_INCREF(Py_None); resultobj = Py_None;
18188 return resultobj;
18189 fail:
18190 return NULL;
18191}
18192
18193
a95a7133 18194static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18195 PyObject *resultobj;
18196 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18197 double arg2 ;
18198 double arg3 ;
18199 int arg4 = (int) 0 ;
18200 int arg5 = (int) 0 ;
18201 PyObject * obj0 = 0 ;
8edf1c75
RD
18202 PyObject * obj1 = 0 ;
18203 PyObject * obj2 = 0 ;
18204 PyObject * obj3 = 0 ;
18205 PyObject * obj4 = 0 ;
44127b65
RD
18206 char *kwnames[] = {
18207 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18208 };
18209
8edf1c75 18210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18213 arg2 = (double) SWIG_AsDouble(obj1);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 arg3 = (double) SWIG_AsDouble(obj2);
18216 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18217 if (obj3) {
2f4c0a16
RD
18218 arg4 = (int) SWIG_AsInt(obj3);
18219 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18220 }
18221 if (obj4) {
2f4c0a16
RD
18222 arg5 = (int) SWIG_AsInt(obj4);
18223 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18224 }
44127b65
RD
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 Py_INCREF(Py_None); resultobj = Py_None;
18233 return resultobj;
18234 fail:
18235 return NULL;
18236}
18237
18238
a95a7133 18239static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18240 PyObject *resultobj;
18241 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18242 double arg2 ;
18243 double arg3 ;
18244 int arg4 = (int) 0 ;
18245 int arg5 = (int) 0 ;
18246 PyObject * obj0 = 0 ;
8edf1c75
RD
18247 PyObject * obj1 = 0 ;
18248 PyObject * obj2 = 0 ;
18249 PyObject * obj3 = 0 ;
18250 PyObject * obj4 = 0 ;
44127b65
RD
18251 char *kwnames[] = {
18252 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18253 };
18254
8edf1c75 18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18258 arg2 = (double) SWIG_AsDouble(obj1);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 arg3 = (double) SWIG_AsDouble(obj2);
18261 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18262 if (obj3) {
2f4c0a16
RD
18263 arg4 = (int) SWIG_AsInt(obj3);
18264 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18265 }
18266 if (obj4) {
2f4c0a16
RD
18267 arg5 = (int) SWIG_AsInt(obj4);
18268 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18269 }
44127b65
RD
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18273
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 Py_INCREF(Py_None); resultobj = Py_None;
18278 return resultobj;
18279 fail:
18280 return NULL;
18281}
18282
18283
a95a7133 18284static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18285 PyObject *resultobj;
18286 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18287 bool arg2 ;
18288 double arg3 ;
18289 double arg4 ;
18290 int arg5 = (int) 0 ;
18291 int arg6 = (int) 0 ;
18292 PyObject * obj0 = 0 ;
18293 PyObject * obj1 = 0 ;
8edf1c75
RD
18294 PyObject * obj2 = 0 ;
18295 PyObject * obj3 = 0 ;
18296 PyObject * obj4 = 0 ;
18297 PyObject * obj5 = 0 ;
44127b65
RD
18298 char *kwnames[] = {
18299 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18300 };
18301
8edf1c75 18302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18305 arg2 = (bool) SWIG_AsBool(obj1);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 arg3 = (double) SWIG_AsDouble(obj2);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 arg4 = (double) SWIG_AsDouble(obj3);
18310 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18311 if (obj4) {
2f4c0a16
RD
18312 arg5 = (int) SWIG_AsInt(obj4);
18313 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18314 }
18315 if (obj5) {
2f4c0a16
RD
18316 arg6 = (int) SWIG_AsInt(obj5);
18317 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18318 }
44127b65
RD
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 Py_INCREF(Py_None); resultobj = Py_None;
18327 return resultobj;
18328 fail:
18329 return NULL;
18330}
18331
18332
a95a7133 18333static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18334 PyObject *resultobj;
18335 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18336 double arg2 ;
18337 double arg3 ;
18338 int arg4 = (int) 0 ;
18339 int arg5 = (int) 0 ;
18340 PyObject * obj0 = 0 ;
8edf1c75
RD
18341 PyObject * obj1 = 0 ;
18342 PyObject * obj2 = 0 ;
18343 PyObject * obj3 = 0 ;
18344 PyObject * obj4 = 0 ;
44127b65
RD
18345 char *kwnames[] = {
18346 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18347 };
18348
8edf1c75 18349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18352 arg2 = (double) SWIG_AsDouble(obj1);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 arg3 = (double) SWIG_AsDouble(obj2);
18355 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18356 if (obj3) {
2f4c0a16
RD
18357 arg4 = (int) SWIG_AsInt(obj3);
18358 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18359 }
18360 if (obj4) {
2f4c0a16
RD
18361 arg5 = (int) SWIG_AsInt(obj4);
18362 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18363 }
44127b65
RD
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 Py_INCREF(Py_None); resultobj = Py_None;
18372 return resultobj;
18373 fail:
18374 return NULL;
18375}
18376
18377
a95a7133 18378static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18379 PyObject *resultobj;
18380 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18381 double arg2 ;
18382 double arg3 ;
18383 int arg4 = (int) 0 ;
18384 int arg5 = (int) 0 ;
18385 PyObject * obj0 = 0 ;
8edf1c75
RD
18386 PyObject * obj1 = 0 ;
18387 PyObject * obj2 = 0 ;
18388 PyObject * obj3 = 0 ;
18389 PyObject * obj4 = 0 ;
44127b65
RD
18390 char *kwnames[] = {
18391 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18392 };
18393
8edf1c75 18394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18397 arg2 = (double) SWIG_AsDouble(obj1);
18398 if (PyErr_Occurred()) SWIG_fail;
18399 arg3 = (double) SWIG_AsDouble(obj2);
18400 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18401 if (obj3) {
2f4c0a16
RD
18402 arg4 = (int) SWIG_AsInt(obj3);
18403 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18404 }
18405 if (obj4) {
2f4c0a16
RD
18406 arg5 = (int) SWIG_AsInt(obj4);
18407 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18408 }
44127b65
RD
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 Py_INCREF(Py_None); resultobj = Py_None;
18417 return resultobj;
18418 fail:
18419 return NULL;
18420}
18421
18422
a95a7133 18423static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18424 PyObject *resultobj;
18425 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18426 wxDC *arg2 = 0 ;
18427 double arg3 ;
18428 double arg4 ;
18429 double arg5 ;
18430 double arg6 ;
18431 PyObject * obj0 = 0 ;
18432 PyObject * obj1 = 0 ;
8edf1c75
RD
18433 PyObject * obj2 = 0 ;
18434 PyObject * obj3 = 0 ;
18435 PyObject * obj4 = 0 ;
18436 PyObject * obj5 = 0 ;
44127b65
RD
18437 char *kwnames[] = {
18438 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18439 };
18440
8edf1c75 18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18445 SWIG_POINTER_EXCEPTION | 0)) == -1)
18446 SWIG_fail;
44127b65 18447 if (arg2 == NULL) {
2f4c0a16
RD
18448 PyErr_SetString(PyExc_TypeError,"null reference");
18449 SWIG_fail;
8edf1c75 18450 }
2f4c0a16
RD
18451 arg3 = (double) SWIG_AsDouble(obj2);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 arg4 = (double) SWIG_AsDouble(obj3);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 arg5 = (double) SWIG_AsDouble(obj4);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 arg6 = (double) SWIG_AsDouble(obj5);
18458 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 Py_INCREF(Py_None); resultobj = Py_None;
18467 return resultobj;
18468 fail:
18469 return NULL;
18470}
18471
18472
a95a7133 18473static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18474 PyObject *resultobj;
18475 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18476 wxDC *arg2 = 0 ;
18477 PyObject * obj0 = 0 ;
18478 PyObject * obj1 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "self",(char *) "dc", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18486 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18487 SWIG_POINTER_EXCEPTION | 0)) == -1)
18488 SWIG_fail;
44127b65 18489 if (arg2 == NULL) {
2f4c0a16
RD
18490 PyErr_SetString(PyExc_TypeError,"null reference");
18491 SWIG_fail;
44127b65
RD
18492 }
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 (arg1)->base_OnDrawControlPoints(*arg2);
18496
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 Py_INCREF(Py_None); resultobj = Py_None;
18501 return resultobj;
18502 fail:
18503 return NULL;
18504}
18505
18506
a95a7133 18507static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18508 PyObject *resultobj;
18509 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18510 wxDC *arg2 = 0 ;
18511 PyObject * obj0 = 0 ;
18512 PyObject * obj1 = 0 ;
18513 char *kwnames[] = {
18514 (char *) "self",(char *) "dc", NULL
18515 };
18516
18517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18520 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18521 SWIG_POINTER_EXCEPTION | 0)) == -1)
18522 SWIG_fail;
44127b65 18523 if (arg2 == NULL) {
2f4c0a16
RD
18524 PyErr_SetString(PyExc_TypeError,"null reference");
18525 SWIG_fail;
44127b65
RD
18526 }
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 (arg1)->base_OnEraseControlPoints(*arg2);
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 Py_INCREF(Py_None); resultobj = Py_None;
18535 return resultobj;
18536 fail:
18537 return NULL;
18538}
18539
18540
a95a7133 18541static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18542 PyObject *resultobj;
18543 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18544 wxDC *arg2 = 0 ;
18545 bool arg3 = (bool) True ;
18546 PyObject * obj0 = 0 ;
18547 PyObject * obj1 = 0 ;
18548 PyObject * obj2 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18557 SWIG_POINTER_EXCEPTION | 0)) == -1)
18558 SWIG_fail;
44127b65 18559 if (arg2 == NULL) {
2f4c0a16
RD
18560 PyErr_SetString(PyExc_TypeError,"null reference");
18561 SWIG_fail;
44127b65
RD
18562 }
18563 if (obj2) {
2f4c0a16
RD
18564 arg3 = (bool) SWIG_AsBool(obj2);
18565 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18566 }
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 (arg1)->base_OnMoveLink(*arg2,arg3);
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 Py_INCREF(Py_None); resultobj = Py_None;
18575 return resultobj;
18576 fail:
18577 return NULL;
18578}
18579
18580
a95a7133 18581static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18582 PyObject *resultobj;
18583 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18584 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18585 bool arg3 ;
18586 double arg4 ;
18587 double arg5 ;
18588 int arg6 = (int) 0 ;
18589 int arg7 = (int) 0 ;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 PyObject * obj2 = 0 ;
8edf1c75
RD
18593 PyObject * obj3 = 0 ;
18594 PyObject * obj4 = 0 ;
18595 PyObject * obj5 = 0 ;
18596 PyObject * obj6 = 0 ;
44127b65
RD
18597 char *kwnames[] = {
18598 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18599 };
18600
8edf1c75 18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18606 arg3 = (bool) SWIG_AsBool(obj2);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 arg4 = (double) SWIG_AsDouble(obj3);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 arg5 = (double) SWIG_AsDouble(obj4);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 if (obj5) {
18613 arg6 = (int) SWIG_AsInt(obj5);
2dbef272
RD
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
2f4c0a16
RD
18616 if (obj6) {
18617 arg7 = (int) SWIG_AsInt(obj6);
8edf1c75
RD
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
18620 {
2f4c0a16
RD
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18623
18624 wxPyEndAllowThreads(__tstate);
44127b65
RD
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 Py_INCREF(Py_None); resultobj = Py_None;
18628 return resultobj;
18629 fail:
18630 return NULL;
18631}
18632
18633
a95a7133 18634static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18635 PyObject *resultobj;
18636 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18637 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18638 double arg3 ;
18639 double arg4 ;
18640 int arg5 = (int) 0 ;
18641 int arg6 = (int) 0 ;
18642 PyObject * obj0 = 0 ;
18643 PyObject * obj1 = 0 ;
8edf1c75
RD
18644 PyObject * obj2 = 0 ;
18645 PyObject * obj3 = 0 ;
18646 PyObject * obj4 = 0 ;
18647 PyObject * obj5 = 0 ;
44127b65
RD
18648 char *kwnames[] = {
18649 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18650 };
18651
8edf1c75 18652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18657 arg3 = (double) SWIG_AsDouble(obj2);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 arg4 = (double) SWIG_AsDouble(obj3);
18660 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18661 if (obj4) {
2f4c0a16
RD
18662 arg5 = (int) SWIG_AsInt(obj4);
18663 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18664 }
18665 if (obj5) {
2f4c0a16
RD
18666 arg6 = (int) SWIG_AsInt(obj5);
18667 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18668 }
44127b65
RD
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 Py_INCREF(Py_None); resultobj = Py_None;
18677 return resultobj;
18678 fail:
18679 return NULL;
18680}
18681
18682
a95a7133 18683static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18684 PyObject *resultobj;
18685 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18686 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18687 double arg3 ;
18688 double arg4 ;
18689 int arg5 = (int) 0 ;
18690 int arg6 = (int) 0 ;
18691 PyObject * obj0 = 0 ;
18692 PyObject * obj1 = 0 ;
8edf1c75
RD
18693 PyObject * obj2 = 0 ;
18694 PyObject * obj3 = 0 ;
18695 PyObject * obj4 = 0 ;
18696 PyObject * obj5 = 0 ;
44127b65
RD
18697 char *kwnames[] = {
18698 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18699 };
18700
8edf1c75 18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18706 arg3 = (double) SWIG_AsDouble(obj2);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 arg4 = (double) SWIG_AsDouble(obj3);
18709 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18710 if (obj4) {
2f4c0a16
RD
18711 arg5 = (int) SWIG_AsInt(obj4);
18712 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18713 }
18714 if (obj5) {
2f4c0a16
RD
18715 arg6 = (int) SWIG_AsInt(obj5);
18716 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18717 }
44127b65
RD
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 Py_INCREF(Py_None); resultobj = Py_None;
18726 return resultobj;
18727 fail:
18728 return NULL;
18729}
18730
18731
a95a7133 18732static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18733 PyObject *resultobj;
18734 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18735 double arg2 ;
18736 double arg3 ;
18737 PyObject * obj0 = 0 ;
8edf1c75
RD
18738 PyObject * obj1 = 0 ;
18739 PyObject * obj2 = 0 ;
44127b65
RD
18740 char *kwnames[] = {
18741 (char *) "self",(char *) "w",(char *) "h", NULL
18742 };
18743
8edf1c75 18744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18747 arg2 = (double) SWIG_AsDouble(obj1);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 arg3 = (double) SWIG_AsDouble(obj2);
18750 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 (arg1)->base_OnBeginSize(arg2,arg3);
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 Py_INCREF(Py_None); resultobj = Py_None;
18759 return resultobj;
18760 fail:
18761 return NULL;
18762}
18763
18764
a95a7133 18765static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18766 PyObject *resultobj;
18767 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18768 double arg2 ;
18769 double arg3 ;
18770 PyObject * obj0 = 0 ;
8edf1c75
RD
18771 PyObject * obj1 = 0 ;
18772 PyObject * obj2 = 0 ;
44127b65
RD
18773 char *kwnames[] = {
18774 (char *) "self",(char *) "w",(char *) "h", NULL
18775 };
18776
8edf1c75 18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18780 arg2 = (double) SWIG_AsDouble(obj1);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 arg3 = (double) SWIG_AsDouble(obj2);
18783 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 (arg1)->base_OnEndSize(arg2,arg3);
18787
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 Py_INCREF(Py_None); resultobj = Py_None;
18792 return resultobj;
18793 fail:
18794 return NULL;
18795}
18796
18797
a95a7133 18798static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
18799 PyObject *obj;
18800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18801 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
18802 Py_INCREF(obj);
18803 return Py_BuildValue((char *)"");
18804}
a95a7133 18805static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18806 PyObject *resultobj;
18807 double arg1 = (double) 0.0 ;
18808 double arg2 = (double) 0.0 ;
18809 wxPyDividedShape *result;
8edf1c75
RD
18810 PyObject * obj0 = 0 ;
18811 PyObject * obj1 = 0 ;
44127b65
RD
18812 char *kwnames[] = {
18813 (char *) "width",(char *) "height", NULL
18814 };
18815
8edf1c75
RD
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
18817 if (obj0) {
2f4c0a16
RD
18818 arg1 = (double) SWIG_AsDouble(obj0);
18819 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18820 }
18821 if (obj1) {
2f4c0a16
RD
18822 arg2 = (double) SWIG_AsDouble(obj1);
18823 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18824 }
44127b65
RD
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
18828
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
2f4c0a16 18832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
44127b65
RD
18833 return resultobj;
18834 fail:
18835 return NULL;
18836}
18837
18838
a95a7133 18839static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18840 PyObject *resultobj;
18841 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18842 PyObject *arg2 = (PyObject *) 0 ;
18843 PyObject *arg3 = (PyObject *) 0 ;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 PyObject * obj2 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "self",(char *) "_class", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18854 arg2 = obj1;
18855 arg3 = obj2;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 (arg1)->_setCallbackInfo(arg2,arg3);
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 Py_INCREF(Py_None); resultobj = Py_None;
18864 return resultobj;
18865 fail:
18866 return NULL;
18867}
18868
18869
a95a7133 18870static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18871 PyObject *resultobj;
18872 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18873 PyObject * obj0 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 (arg1)->EditRegions();
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 Py_INCREF(Py_None); resultobj = Py_None;
18889 return resultobj;
18890 fail:
18891 return NULL;
18892}
18893
18894
a95a7133 18895static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18896 PyObject *resultobj;
18897 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18898 PyObject * obj0 = 0 ;
18899 char *kwnames[] = {
18900 (char *) "self", NULL
18901 };
18902
18903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18906 {
18907 PyThreadState* __tstate = wxPyBeginAllowThreads();
18908 (arg1)->SetRegionSizes();
18909
18910 wxPyEndAllowThreads(__tstate);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 }
18913 Py_INCREF(Py_None); resultobj = Py_None;
18914 return resultobj;
18915 fail:
18916 return NULL;
18917}
18918
18919
a95a7133 18920static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18921 PyObject *resultobj;
18922 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18923 PyObject * obj0 = 0 ;
18924 char *kwnames[] = {
18925 (char *) "self", NULL
18926 };
18927
18928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18931 {
18932 PyThreadState* __tstate = wxPyBeginAllowThreads();
18933 (arg1)->base_OnDelete();
18934
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 Py_INCREF(Py_None); resultobj = Py_None;
18939 return resultobj;
18940 fail:
18941 return NULL;
18942}
18943
18944
a95a7133 18945static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18946 PyObject *resultobj;
18947 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18948 wxDC *arg2 = 0 ;
18949 PyObject * obj0 = 0 ;
18950 PyObject * obj1 = 0 ;
18951 char *kwnames[] = {
18952 (char *) "self",(char *) "dc", NULL
18953 };
18954
18955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18959 SWIG_POINTER_EXCEPTION | 0)) == -1)
18960 SWIG_fail;
44127b65 18961 if (arg2 == NULL) {
2f4c0a16
RD
18962 PyErr_SetString(PyExc_TypeError,"null reference");
18963 SWIG_fail;
44127b65
RD
18964 }
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 (arg1)->base_OnDraw(*arg2);
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 Py_INCREF(Py_None); resultobj = Py_None;
18973 return resultobj;
18974 fail:
18975 return NULL;
18976}
18977
18978
a95a7133 18979static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18980 PyObject *resultobj;
18981 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18982 wxDC *arg2 = 0 ;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "dc", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18993 SWIG_POINTER_EXCEPTION | 0)) == -1)
18994 SWIG_fail;
44127b65 18995 if (arg2 == NULL) {
2f4c0a16
RD
18996 PyErr_SetString(PyExc_TypeError,"null reference");
18997 SWIG_fail;
44127b65
RD
18998 }
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->base_OnDrawContents(*arg2);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 Py_INCREF(Py_None); resultobj = Py_None;
19007 return resultobj;
19008 fail:
19009 return NULL;
19010}
19011
19012
a95a7133 19013static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19014 PyObject *resultobj;
19015 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19016 wxDC *arg2 = 0 ;
19017 bool arg3 = (bool) FALSE ;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 PyObject * obj2 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "dc",(char *) "erase", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19029 SWIG_POINTER_EXCEPTION | 0)) == -1)
19030 SWIG_fail;
44127b65 19031 if (arg2 == NULL) {
2f4c0a16
RD
19032 PyErr_SetString(PyExc_TypeError,"null reference");
19033 SWIG_fail;
44127b65
RD
19034 }
19035 if (obj2) {
2f4c0a16
RD
19036 arg3 = (bool) SWIG_AsBool(obj2);
19037 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19038 }
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 (arg1)->base_OnDrawBranches(*arg2,arg3);
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 Py_INCREF(Py_None); resultobj = Py_None;
19047 return resultobj;
19048 fail:
19049 return NULL;
19050}
19051
19052
a95a7133 19053static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19054 PyObject *resultobj;
19055 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19056 wxDC *arg2 = 0 ;
19057 PyObject * obj0 = 0 ;
19058 PyObject * obj1 = 0 ;
19059 char *kwnames[] = {
19060 (char *) "self",(char *) "dc", NULL
19061 };
19062
19063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19067 SWIG_POINTER_EXCEPTION | 0)) == -1)
19068 SWIG_fail;
44127b65 19069 if (arg2 == NULL) {
2f4c0a16
RD
19070 PyErr_SetString(PyExc_TypeError,"null reference");
19071 SWIG_fail;
44127b65
RD
19072 }
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 (arg1)->base_OnMoveLinks(*arg2);
19076
19077 wxPyEndAllowThreads(__tstate);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 Py_INCREF(Py_None); resultobj = Py_None;
19081 return resultobj;
19082 fail:
19083 return NULL;
19084}
19085
19086
a95a7133 19087static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19088 PyObject *resultobj;
19089 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19090 wxDC *arg2 = 0 ;
19091 PyObject * obj0 = 0 ;
19092 PyObject * obj1 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self",(char *) "dc", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19101 SWIG_POINTER_EXCEPTION | 0)) == -1)
19102 SWIG_fail;
44127b65 19103 if (arg2 == NULL) {
2f4c0a16
RD
19104 PyErr_SetString(PyExc_TypeError,"null reference");
19105 SWIG_fail;
44127b65
RD
19106 }
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 (arg1)->base_OnErase(*arg2);
19110
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 Py_INCREF(Py_None); resultobj = Py_None;
19115 return resultobj;
19116 fail:
19117 return NULL;
19118}
19119
19120
a95a7133 19121static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19122 PyObject *resultobj;
19123 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19124 wxDC *arg2 = 0 ;
19125 PyObject * obj0 = 0 ;
19126 PyObject * obj1 = 0 ;
19127 char *kwnames[] = {
19128 (char *) "self",(char *) "dc", NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19135 SWIG_POINTER_EXCEPTION | 0)) == -1)
19136 SWIG_fail;
44127b65 19137 if (arg2 == NULL) {
2f4c0a16
RD
19138 PyErr_SetString(PyExc_TypeError,"null reference");
19139 SWIG_fail;
44127b65
RD
19140 }
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 (arg1)->base_OnEraseContents(*arg2);
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
19148 Py_INCREF(Py_None); resultobj = Py_None;
19149 return resultobj;
19150 fail:
19151 return NULL;
19152}
19153
19154
a95a7133 19155static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19156 PyObject *resultobj;
19157 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19158 wxDC *arg2 = 0 ;
19159 PyObject * obj0 = 0 ;
19160 PyObject * obj1 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self",(char *) "dc", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19169 SWIG_POINTER_EXCEPTION | 0)) == -1)
19170 SWIG_fail;
44127b65 19171 if (arg2 == NULL) {
2f4c0a16
RD
19172 PyErr_SetString(PyExc_TypeError,"null reference");
19173 SWIG_fail;
44127b65
RD
19174 }
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 (arg1)->base_OnHighlight(*arg2);
19178
19179 wxPyEndAllowThreads(__tstate);
19180 if (PyErr_Occurred()) SWIG_fail;
19181 }
19182 Py_INCREF(Py_None); resultobj = Py_None;
19183 return resultobj;
19184 fail:
19185 return NULL;
19186}
19187
19188
a95a7133 19189static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19190 PyObject *resultobj;
19191 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19192 double arg2 ;
19193 double arg3 ;
19194 int arg4 = (int) 0 ;
19195 int arg5 = (int) 0 ;
19196 PyObject * obj0 = 0 ;
8edf1c75
RD
19197 PyObject * obj1 = 0 ;
19198 PyObject * obj2 = 0 ;
19199 PyObject * obj3 = 0 ;
19200 PyObject * obj4 = 0 ;
44127b65
RD
19201 char *kwnames[] = {
19202 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19203 };
19204
8edf1c75 19205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19208 arg2 = (double) SWIG_AsDouble(obj1);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 arg3 = (double) SWIG_AsDouble(obj2);
19211 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19212 if (obj3) {
2f4c0a16
RD
19213 arg4 = (int) SWIG_AsInt(obj3);
19214 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19215 }
19216 if (obj4) {
2f4c0a16
RD
19217 arg5 = (int) SWIG_AsInt(obj4);
19218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19219 }
44127b65
RD
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 Py_INCREF(Py_None); resultobj = Py_None;
19228 return resultobj;
19229 fail:
19230 return NULL;
19231}
19232
19233
a95a7133 19234static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19235 PyObject *resultobj;
19236 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19237 double arg2 ;
19238 double arg3 ;
19239 int arg4 = (int) 0 ;
19240 int arg5 = (int) 0 ;
19241 PyObject * obj0 = 0 ;
8edf1c75
RD
19242 PyObject * obj1 = 0 ;
19243 PyObject * obj2 = 0 ;
19244 PyObject * obj3 = 0 ;
19245 PyObject * obj4 = 0 ;
44127b65
RD
19246 char *kwnames[] = {
19247 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19248 };
19249
8edf1c75 19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19253 arg2 = (double) SWIG_AsDouble(obj1);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 arg3 = (double) SWIG_AsDouble(obj2);
19256 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19257 if (obj3) {
2f4c0a16
RD
19258 arg4 = (int) SWIG_AsInt(obj3);
19259 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19260 }
19261 if (obj4) {
2f4c0a16
RD
19262 arg5 = (int) SWIG_AsInt(obj4);
19263 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19264 }
44127b65
RD
19265 {
19266 PyThreadState* __tstate = wxPyBeginAllowThreads();
19267 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19268
19269 wxPyEndAllowThreads(__tstate);
19270 if (PyErr_Occurred()) SWIG_fail;
19271 }
19272 Py_INCREF(Py_None); resultobj = Py_None;
19273 return resultobj;
19274 fail:
19275 return NULL;
19276}
19277
19278
a95a7133 19279static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19280 PyObject *resultobj;
19281 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19282 double arg2 ;
19283 double arg3 ;
19284 int arg4 = (int) 0 ;
19285 int arg5 = (int) 0 ;
19286 PyObject * obj0 = 0 ;
8edf1c75
RD
19287 PyObject * obj1 = 0 ;
19288 PyObject * obj2 = 0 ;
19289 PyObject * obj3 = 0 ;
19290 PyObject * obj4 = 0 ;
44127b65
RD
19291 char *kwnames[] = {
19292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19293 };
19294
8edf1c75 19295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19298 arg2 = (double) SWIG_AsDouble(obj1);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 arg3 = (double) SWIG_AsDouble(obj2);
19301 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19302 if (obj3) {
2f4c0a16
RD
19303 arg4 = (int) SWIG_AsInt(obj3);
19304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19305 }
19306 if (obj4) {
2f4c0a16
RD
19307 arg5 = (int) SWIG_AsInt(obj4);
19308 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19309 }
44127b65
RD
19310 {
19311 PyThreadState* __tstate = wxPyBeginAllowThreads();
19312 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19313
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 Py_INCREF(Py_None); resultobj = Py_None;
19318 return resultobj;
19319 fail:
19320 return NULL;
19321}
19322
19323
a95a7133 19324static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19325 PyObject *resultobj;
19326 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19327 double arg2 ;
19328 double arg3 ;
19329 PyObject * obj0 = 0 ;
8edf1c75
RD
19330 PyObject * obj1 = 0 ;
19331 PyObject * obj2 = 0 ;
44127b65
RD
19332 char *kwnames[] = {
19333 (char *) "self",(char *) "x",(char *) "y", NULL
19334 };
19335
8edf1c75 19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19339 arg2 = (double) SWIG_AsDouble(obj1);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 arg3 = (double) SWIG_AsDouble(obj2);
19342 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 (arg1)->base_OnSize(arg2,arg3);
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 Py_INCREF(Py_None); resultobj = Py_None;
19351 return resultobj;
19352 fail:
19353 return NULL;
19354}
19355
19356
a95a7133 19357static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19358 PyObject *resultobj;
19359 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19360 wxDC *arg2 = 0 ;
19361 double arg3 ;
19362 double arg4 ;
19363 double arg5 ;
19364 double arg6 ;
19365 bool arg7 = (bool) True ;
19366 bool result;
19367 PyObject * obj0 = 0 ;
19368 PyObject * obj1 = 0 ;
8edf1c75
RD
19369 PyObject * obj2 = 0 ;
19370 PyObject * obj3 = 0 ;
19371 PyObject * obj4 = 0 ;
19372 PyObject * obj5 = 0 ;
44127b65
RD
19373 PyObject * obj6 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19376 };
19377
8edf1c75 19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
19379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1)
19383 SWIG_fail;
44127b65 19384 if (arg2 == NULL) {
2f4c0a16
RD
19385 PyErr_SetString(PyExc_TypeError,"null reference");
19386 SWIG_fail;
19387 }
19388 arg3 = (double) SWIG_AsDouble(obj2);
19389 if (PyErr_Occurred()) SWIG_fail;
19390 arg4 = (double) SWIG_AsDouble(obj3);
19391 if (PyErr_Occurred()) SWIG_fail;
19392 arg5 = (double) SWIG_AsDouble(obj4);
19393 if (PyErr_Occurred()) SWIG_fail;
19394 arg6 = (double) SWIG_AsDouble(obj5);
19395 if (PyErr_Occurred()) SWIG_fail;
44127b65 19396 if (obj6) {
2f4c0a16
RD
19397 arg7 = (bool) SWIG_AsBool(obj6);
19398 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19399 }
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
fbc46b20
RD
19407 {
19408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19409 }
44127b65
RD
19410 return resultobj;
19411 fail:
19412 return NULL;
19413}
19414
19415
a95a7133 19416static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19417 PyObject *resultobj;
19418 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19419 wxDC *arg2 = 0 ;
19420 double arg3 ;
19421 double arg4 ;
19422 double arg5 ;
19423 double arg6 ;
19424 bool arg7 = (bool) True ;
19425 PyObject * obj0 = 0 ;
19426 PyObject * obj1 = 0 ;
8edf1c75
RD
19427 PyObject * obj2 = 0 ;
19428 PyObject * obj3 = 0 ;
19429 PyObject * obj4 = 0 ;
19430 PyObject * obj5 = 0 ;
44127b65
RD
19431 PyObject * obj6 = 0 ;
19432 char *kwnames[] = {
19433 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19434 };
19435
8edf1c75 19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
19437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19440 SWIG_POINTER_EXCEPTION | 0)) == -1)
19441 SWIG_fail;
44127b65 19442 if (arg2 == NULL) {
2f4c0a16
RD
19443 PyErr_SetString(PyExc_TypeError,"null reference");
19444 SWIG_fail;
19445 }
19446 arg3 = (double) SWIG_AsDouble(obj2);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 arg4 = (double) SWIG_AsDouble(obj3);
19449 if (PyErr_Occurred()) SWIG_fail;
19450 arg5 = (double) SWIG_AsDouble(obj4);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 arg6 = (double) SWIG_AsDouble(obj5);
19453 if (PyErr_Occurred()) SWIG_fail;
44127b65 19454 if (obj6) {
2f4c0a16
RD
19455 arg7 = (bool) SWIG_AsBool(obj6);
19456 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19457 }
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 Py_INCREF(Py_None); resultobj = Py_None;
19466 return resultobj;
19467 fail:
19468 return NULL;
19469}
19470
19471
a95a7133 19472static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19473 PyObject *resultobj;
19474 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19475 bool arg2 ;
19476 double arg3 ;
19477 double arg4 ;
19478 int arg5 = (int) 0 ;
19479 int arg6 = (int) 0 ;
19480 PyObject * obj0 = 0 ;
19481 PyObject * obj1 = 0 ;
8edf1c75
RD
19482 PyObject * obj2 = 0 ;
19483 PyObject * obj3 = 0 ;
19484 PyObject * obj4 = 0 ;
19485 PyObject * obj5 = 0 ;
44127b65
RD
19486 char *kwnames[] = {
19487 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19488 };
19489
8edf1c75 19490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19493 arg2 = (bool) SWIG_AsBool(obj1);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 arg3 = (double) SWIG_AsDouble(obj2);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 arg4 = (double) SWIG_AsDouble(obj3);
19498 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19499 if (obj4) {
2f4c0a16
RD
19500 arg5 = (int) SWIG_AsInt(obj4);
19501 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19502 }
19503 if (obj5) {
2f4c0a16
RD
19504 arg6 = (int) SWIG_AsInt(obj5);
19505 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19506 }
44127b65
RD
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19510
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
19514 Py_INCREF(Py_None); resultobj = Py_None;
19515 return resultobj;
19516 fail:
19517 return NULL;
19518}
19519
19520
a95a7133 19521static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19522 PyObject *resultobj;
19523 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19524 double arg2 ;
19525 double arg3 ;
19526 int arg4 = (int) 0 ;
19527 int arg5 = (int) 0 ;
19528 PyObject * obj0 = 0 ;
8edf1c75
RD
19529 PyObject * obj1 = 0 ;
19530 PyObject * obj2 = 0 ;
19531 PyObject * obj3 = 0 ;
19532 PyObject * obj4 = 0 ;
44127b65
RD
19533 char *kwnames[] = {
19534 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19535 };
19536
8edf1c75 19537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19540 arg2 = (double) SWIG_AsDouble(obj1);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 arg3 = (double) SWIG_AsDouble(obj2);
19543 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19544 if (obj3) {
2f4c0a16
RD
19545 arg4 = (int) SWIG_AsInt(obj3);
19546 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19547 }
19548 if (obj4) {
2f4c0a16
RD
19549 arg5 = (int) SWIG_AsInt(obj4);
19550 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19551 }
44127b65
RD
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 Py_INCREF(Py_None); resultobj = Py_None;
19560 return resultobj;
19561 fail:
19562 return NULL;
19563}
19564
19565
a95a7133 19566static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19567 PyObject *resultobj;
19568 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19569 double arg2 ;
19570 double arg3 ;
19571 int arg4 = (int) 0 ;
19572 int arg5 = (int) 0 ;
19573 PyObject * obj0 = 0 ;
8edf1c75
RD
19574 PyObject * obj1 = 0 ;
19575 PyObject * obj2 = 0 ;
19576 PyObject * obj3 = 0 ;
19577 PyObject * obj4 = 0 ;
44127b65
RD
19578 char *kwnames[] = {
19579 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19580 };
19581
8edf1c75 19582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19585 arg2 = (double) SWIG_AsDouble(obj1);
19586 if (PyErr_Occurred()) SWIG_fail;
19587 arg3 = (double) SWIG_AsDouble(obj2);
19588 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19589 if (obj3) {
2f4c0a16
RD
19590 arg4 = (int) SWIG_AsInt(obj3);
19591 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19592 }
19593 if (obj4) {
2f4c0a16
RD
19594 arg5 = (int) SWIG_AsInt(obj4);
19595 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19596 }
44127b65
RD
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
19599 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19600
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
19604 Py_INCREF(Py_None); resultobj = Py_None;
19605 return resultobj;
19606 fail:
19607 return NULL;
19608}
19609
19610
a95a7133 19611static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19612 PyObject *resultobj;
19613 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19614 bool arg2 ;
19615 double arg3 ;
19616 double arg4 ;
19617 int arg5 = (int) 0 ;
19618 int arg6 = (int) 0 ;
19619 PyObject * obj0 = 0 ;
19620 PyObject * obj1 = 0 ;
8edf1c75
RD
19621 PyObject * obj2 = 0 ;
19622 PyObject * obj3 = 0 ;
19623 PyObject * obj4 = 0 ;
19624 PyObject * obj5 = 0 ;
44127b65
RD
19625 char *kwnames[] = {
19626 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19627 };
19628
8edf1c75 19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19632 arg2 = (bool) SWIG_AsBool(obj1);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 arg3 = (double) SWIG_AsDouble(obj2);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 arg4 = (double) SWIG_AsDouble(obj3);
19637 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19638 if (obj4) {
2f4c0a16
RD
19639 arg5 = (int) SWIG_AsInt(obj4);
19640 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19641 }
19642 if (obj5) {
2f4c0a16
RD
19643 arg6 = (int) SWIG_AsInt(obj5);
19644 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19645 }
44127b65
RD
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 Py_INCREF(Py_None); resultobj = Py_None;
19654 return resultobj;
19655 fail:
19656 return NULL;
19657}
19658
19659
a95a7133 19660static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19661 PyObject *resultobj;
19662 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19663 double arg2 ;
19664 double arg3 ;
19665 int arg4 = (int) 0 ;
19666 int arg5 = (int) 0 ;
19667 PyObject * obj0 = 0 ;
8edf1c75
RD
19668 PyObject * obj1 = 0 ;
19669 PyObject * obj2 = 0 ;
19670 PyObject * obj3 = 0 ;
19671 PyObject * obj4 = 0 ;
44127b65
RD
19672 char *kwnames[] = {
19673 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19674 };
19675
8edf1c75 19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19679 arg2 = (double) SWIG_AsDouble(obj1);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 arg3 = (double) SWIG_AsDouble(obj2);
19682 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19683 if (obj3) {
2f4c0a16
RD
19684 arg4 = (int) SWIG_AsInt(obj3);
19685 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19686 }
19687 if (obj4) {
2f4c0a16
RD
19688 arg5 = (int) SWIG_AsInt(obj4);
19689 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19690 }
44127b65
RD
19691 {
19692 PyThreadState* __tstate = wxPyBeginAllowThreads();
19693 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19694
19695 wxPyEndAllowThreads(__tstate);
19696 if (PyErr_Occurred()) SWIG_fail;
19697 }
19698 Py_INCREF(Py_None); resultobj = Py_None;
19699 return resultobj;
19700 fail:
19701 return NULL;
19702}
19703
19704
a95a7133 19705static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19706 PyObject *resultobj;
19707 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19708 double arg2 ;
19709 double arg3 ;
19710 int arg4 = (int) 0 ;
19711 int arg5 = (int) 0 ;
19712 PyObject * obj0 = 0 ;
8edf1c75
RD
19713 PyObject * obj1 = 0 ;
19714 PyObject * obj2 = 0 ;
19715 PyObject * obj3 = 0 ;
19716 PyObject * obj4 = 0 ;
44127b65
RD
19717 char *kwnames[] = {
19718 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19719 };
19720
8edf1c75 19721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19724 arg2 = (double) SWIG_AsDouble(obj1);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 arg3 = (double) SWIG_AsDouble(obj2);
19727 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19728 if (obj3) {
2f4c0a16
RD
19729 arg4 = (int) SWIG_AsInt(obj3);
19730 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19731 }
19732 if (obj4) {
2f4c0a16
RD
19733 arg5 = (int) SWIG_AsInt(obj4);
19734 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19735 }
44127b65
RD
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 Py_INCREF(Py_None); resultobj = Py_None;
19744 return resultobj;
19745 fail:
19746 return NULL;
19747}
19748
19749
a95a7133 19750static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19751 PyObject *resultobj;
19752 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19753 wxDC *arg2 = 0 ;
19754 double arg3 ;
19755 double arg4 ;
19756 double arg5 ;
19757 double arg6 ;
19758 PyObject * obj0 = 0 ;
19759 PyObject * obj1 = 0 ;
8edf1c75
RD
19760 PyObject * obj2 = 0 ;
19761 PyObject * obj3 = 0 ;
19762 PyObject * obj4 = 0 ;
19763 PyObject * obj5 = 0 ;
44127b65
RD
19764 char *kwnames[] = {
19765 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19766 };
19767
8edf1c75 19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1)
19773 SWIG_fail;
44127b65 19774 if (arg2 == NULL) {
2f4c0a16
RD
19775 PyErr_SetString(PyExc_TypeError,"null reference");
19776 SWIG_fail;
8edf1c75 19777 }
2f4c0a16
RD
19778 arg3 = (double) SWIG_AsDouble(obj2);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 arg4 = (double) SWIG_AsDouble(obj3);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 arg5 = (double) SWIG_AsDouble(obj4);
19783 if (PyErr_Occurred()) SWIG_fail;
19784 arg6 = (double) SWIG_AsDouble(obj5);
19785 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 Py_INCREF(Py_None); resultobj = Py_None;
19794 return resultobj;
19795 fail:
19796 return NULL;
19797}
19798
19799
a95a7133 19800static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19801 PyObject *resultobj;
19802 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19803 wxDC *arg2 = 0 ;
19804 PyObject * obj0 = 0 ;
19805 PyObject * obj1 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self",(char *) "dc", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19814 SWIG_POINTER_EXCEPTION | 0)) == -1)
19815 SWIG_fail;
44127b65 19816 if (arg2 == NULL) {
2f4c0a16
RD
19817 PyErr_SetString(PyExc_TypeError,"null reference");
19818 SWIG_fail;
44127b65
RD
19819 }
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->base_OnDrawControlPoints(*arg2);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 Py_INCREF(Py_None); resultobj = Py_None;
19828 return resultobj;
19829 fail:
19830 return NULL;
19831}
19832
19833
a95a7133 19834static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19835 PyObject *resultobj;
19836 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19837 wxDC *arg2 = 0 ;
19838 PyObject * obj0 = 0 ;
19839 PyObject * obj1 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self",(char *) "dc", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19848 SWIG_POINTER_EXCEPTION | 0)) == -1)
19849 SWIG_fail;
44127b65 19850 if (arg2 == NULL) {
2f4c0a16
RD
19851 PyErr_SetString(PyExc_TypeError,"null reference");
19852 SWIG_fail;
44127b65
RD
19853 }
19854 {
19855 PyThreadState* __tstate = wxPyBeginAllowThreads();
19856 (arg1)->base_OnEraseControlPoints(*arg2);
19857
19858 wxPyEndAllowThreads(__tstate);
19859 if (PyErr_Occurred()) SWIG_fail;
19860 }
19861 Py_INCREF(Py_None); resultobj = Py_None;
19862 return resultobj;
19863 fail:
19864 return NULL;
19865}
19866
19867
a95a7133 19868static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19869 PyObject *resultobj;
19870 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19871 wxDC *arg2 = 0 ;
19872 bool arg3 = (bool) True ;
19873 PyObject * obj0 = 0 ;
19874 PyObject * obj1 = 0 ;
19875 PyObject * obj2 = 0 ;
19876 char *kwnames[] = {
19877 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19878 };
19879
19880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19884 SWIG_POINTER_EXCEPTION | 0)) == -1)
19885 SWIG_fail;
44127b65 19886 if (arg2 == NULL) {
2f4c0a16
RD
19887 PyErr_SetString(PyExc_TypeError,"null reference");
19888 SWIG_fail;
44127b65
RD
19889 }
19890 if (obj2) {
2f4c0a16
RD
19891 arg3 = (bool) SWIG_AsBool(obj2);
19892 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19893 }
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 (arg1)->base_OnMoveLink(*arg2,arg3);
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 Py_INCREF(Py_None); resultobj = Py_None;
19902 return resultobj;
19903 fail:
19904 return NULL;
19905}
19906
19907
a95a7133 19908static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19909 PyObject *resultobj;
19910 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19911 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19912 bool arg3 ;
19913 double arg4 ;
19914 double arg5 ;
19915 int arg6 = (int) 0 ;
19916 int arg7 = (int) 0 ;
19917 PyObject * obj0 = 0 ;
19918 PyObject * obj1 = 0 ;
19919 PyObject * obj2 = 0 ;
8edf1c75
RD
19920 PyObject * obj3 = 0 ;
19921 PyObject * obj4 = 0 ;
19922 PyObject * obj5 = 0 ;
19923 PyObject * obj6 = 0 ;
44127b65
RD
19924 char *kwnames[] = {
19925 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19926 };
19927
8edf1c75 19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
19929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19933 arg3 = (bool) SWIG_AsBool(obj2);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 arg4 = (double) SWIG_AsDouble(obj3);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 arg5 = (double) SWIG_AsDouble(obj4);
19938 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19939 if (obj5) {
2f4c0a16
RD
19940 arg6 = (int) SWIG_AsInt(obj5);
19941 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19942 }
19943 if (obj6) {
2f4c0a16
RD
19944 arg7 = (int) SWIG_AsInt(obj6);
19945 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19946 }
44127b65
RD
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 Py_INCREF(Py_None); resultobj = Py_None;
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
a95a7133 19961static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19962 PyObject *resultobj;
19963 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19964 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19965 double arg3 ;
19966 double arg4 ;
19967 int arg5 = (int) 0 ;
19968 int arg6 = (int) 0 ;
19969 PyObject * obj0 = 0 ;
19970 PyObject * obj1 = 0 ;
8edf1c75
RD
19971 PyObject * obj2 = 0 ;
19972 PyObject * obj3 = 0 ;
19973 PyObject * obj4 = 0 ;
19974 PyObject * obj5 = 0 ;
44127b65
RD
19975 char *kwnames[] = {
19976 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19977 };
19978
8edf1c75 19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19984 arg3 = (double) SWIG_AsDouble(obj2);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 arg4 = (double) SWIG_AsDouble(obj3);
19987 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19988 if (obj4) {
2f4c0a16
RD
19989 arg5 = (int) SWIG_AsInt(obj4);
19990 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19991 }
19992 if (obj5) {
2f4c0a16
RD
19993 arg6 = (int) SWIG_AsInt(obj5);
19994 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19995 }
44127b65
RD
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 Py_INCREF(Py_None); resultobj = Py_None;
20004 return resultobj;
20005 fail:
20006 return NULL;
20007}
20008
20009
a95a7133 20010static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20011 PyObject *resultobj;
20012 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20013 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20014 double arg3 ;
20015 double arg4 ;
20016 int arg5 = (int) 0 ;
20017 int arg6 = (int) 0 ;
20018 PyObject * obj0 = 0 ;
20019 PyObject * obj1 = 0 ;
8edf1c75
RD
20020 PyObject * obj2 = 0 ;
20021 PyObject * obj3 = 0 ;
20022 PyObject * obj4 = 0 ;
20023 PyObject * obj5 = 0 ;
44127b65
RD
20024 char *kwnames[] = {
20025 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20026 };
20027
8edf1c75 20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
20029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20033 arg3 = (double) SWIG_AsDouble(obj2);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 arg4 = (double) SWIG_AsDouble(obj3);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 if (obj4) {
20038 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
2f4c0a16
RD
20041 if (obj5) {
20042 arg6 = (int) SWIG_AsInt(obj5);
8edf1c75
RD
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
44127b65
RD
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 Py_INCREF(Py_None); resultobj = Py_None;
20053 return resultobj;
20054 fail:
20055 return NULL;
20056}
20057
20058
a95a7133 20059static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20060 PyObject *resultobj;
20061 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20062 double arg2 ;
20063 double arg3 ;
20064 PyObject * obj0 = 0 ;
8edf1c75
RD
20065 PyObject * obj1 = 0 ;
20066 PyObject * obj2 = 0 ;
44127b65
RD
20067 char *kwnames[] = {
20068 (char *) "self",(char *) "w",(char *) "h", NULL
20069 };
20070
8edf1c75 20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20074 arg2 = (double) SWIG_AsDouble(obj1);
20075 if (PyErr_Occurred()) SWIG_fail;
20076 arg3 = (double) SWIG_AsDouble(obj2);
20077 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->base_OnBeginSize(arg2,arg3);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
a95a7133 20092static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20093 PyObject *resultobj;
20094 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20095 double arg2 ;
20096 double arg3 ;
20097 PyObject * obj0 = 0 ;
8edf1c75
RD
20098 PyObject * obj1 = 0 ;
20099 PyObject * obj2 = 0 ;
44127b65
RD
20100 char *kwnames[] = {
20101 (char *) "self",(char *) "w",(char *) "h", NULL
20102 };
20103
8edf1c75 20104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20107 arg2 = (double) SWIG_AsDouble(obj1);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 arg3 = (double) SWIG_AsDouble(obj2);
20110 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 (arg1)->base_OnEndSize(arg2,arg3);
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 Py_INCREF(Py_None); resultobj = Py_None;
20119 return resultobj;
20120 fail:
20121 return NULL;
20122}
20123
20124
a95a7133 20125static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
20126 PyObject *obj;
20127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20128 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20129 Py_INCREF(obj);
20130 return Py_BuildValue((char *)"");
20131}
a95a7133 20132static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20133 PyObject *resultobj;
20134 wxPyDivisionShape *result;
20135 char *kwnames[] = {
20136 NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20143
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 {
20148 resultobj = wxPyMake_wxShapeEvtHandler(result);
20149 }
20150 return resultobj;
20151 fail:
20152 return NULL;
20153}
20154
20155
a95a7133 20156static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20157 PyObject *resultobj;
20158 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20159 PyObject *arg2 = (PyObject *) 0 ;
20160 PyObject *arg3 = (PyObject *) 0 ;
20161 PyObject * obj0 = 0 ;
20162 PyObject * obj1 = 0 ;
20163 PyObject * obj2 = 0 ;
20164 char *kwnames[] = {
20165 (char *) "self",(char *) "self",(char *) "_class", NULL
20166 };
20167
20168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20171 arg2 = obj1;
20172 arg3 = obj2;
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 (arg1)->_setCallbackInfo(arg2,arg3);
20176
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 Py_INCREF(Py_None); resultobj = Py_None;
20181 return resultobj;
20182 fail:
20183 return NULL;
20184}
20185
20186
a95a7133 20187static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20188 PyObject *resultobj;
20189 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20190 double arg2 ;
20191 bool arg3 ;
20192 PyObject * obj0 = 0 ;
8edf1c75 20193 PyObject * obj1 = 0 ;
44127b65
RD
20194 PyObject * obj2 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self",(char *) "bottom",(char *) "test", NULL
20197 };
20198
8edf1c75 20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 arg2 = (double) SWIG_AsDouble(obj1);
20203 if (PyErr_Occurred()) SWIG_fail;
20204 arg3 = (bool) SWIG_AsBool(obj2);
20205 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20206 {
20207 PyThreadState* __tstate = wxPyBeginAllowThreads();
20208 (arg1)->AdjustBottom(arg2,arg3);
20209
20210 wxPyEndAllowThreads(__tstate);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 Py_INCREF(Py_None); resultobj = Py_None;
20214 return resultobj;
20215 fail:
20216 return NULL;
20217}
20218
20219
a95a7133 20220static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20221 PyObject *resultobj;
20222 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20223 double arg2 ;
20224 bool arg3 ;
20225 PyObject * obj0 = 0 ;
8edf1c75 20226 PyObject * obj1 = 0 ;
44127b65
RD
20227 PyObject * obj2 = 0 ;
20228 char *kwnames[] = {
20229 (char *) "self",(char *) "left",(char *) "test", NULL
20230 };
20231
8edf1c75 20232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20235 arg2 = (double) SWIG_AsDouble(obj1);
20236 if (PyErr_Occurred()) SWIG_fail;
20237 arg3 = (bool) SWIG_AsBool(obj2);
20238 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20239 {
20240 PyThreadState* __tstate = wxPyBeginAllowThreads();
20241 (arg1)->AdjustLeft(arg2,arg3);
20242
20243 wxPyEndAllowThreads(__tstate);
20244 if (PyErr_Occurred()) SWIG_fail;
20245 }
20246 Py_INCREF(Py_None); resultobj = Py_None;
20247 return resultobj;
20248 fail:
20249 return NULL;
20250}
20251
20252
a95a7133 20253static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20254 PyObject *resultobj;
20255 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20256 double arg2 ;
20257 bool arg3 ;
20258 PyObject * obj0 = 0 ;
8edf1c75 20259 PyObject * obj1 = 0 ;
44127b65
RD
20260 PyObject * obj2 = 0 ;
20261 char *kwnames[] = {
20262 (char *) "self",(char *) "right",(char *) "test", NULL
20263 };
20264
8edf1c75 20265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20268 arg2 = (double) SWIG_AsDouble(obj1);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 arg3 = (bool) SWIG_AsBool(obj2);
20271 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 (arg1)->AdjustRight(arg2,arg3);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 Py_INCREF(Py_None); resultobj = Py_None;
20280 return resultobj;
20281 fail:
20282 return NULL;
20283}
20284
20285
a95a7133 20286static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20287 PyObject *resultobj;
20288 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20289 double arg2 ;
20290 bool arg3 ;
20291 PyObject * obj0 = 0 ;
8edf1c75 20292 PyObject * obj1 = 0 ;
44127b65
RD
20293 PyObject * obj2 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self",(char *) "top",(char *) "test", NULL
20296 };
20297
8edf1c75 20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20301 arg2 = (double) SWIG_AsDouble(obj1);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 arg3 = (bool) SWIG_AsBool(obj2);
20304 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20305 {
20306 PyThreadState* __tstate = wxPyBeginAllowThreads();
20307 (arg1)->AdjustTop(arg2,arg3);
20308
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 Py_INCREF(Py_None); resultobj = Py_None;
20313 return resultobj;
20314 fail:
20315 return NULL;
20316}
20317
20318
a95a7133 20319static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20320 PyObject *resultobj;
20321 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20322 int arg2 ;
20323 PyObject * obj0 = 0 ;
8edf1c75 20324 PyObject * obj1 = 0 ;
44127b65
RD
20325 char *kwnames[] = {
20326 (char *) "self",(char *) "direction", NULL
20327 };
20328
8edf1c75 20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20332 arg2 = (int) SWIG_AsInt(obj1);
20333 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 (arg1)->Divide(arg2);
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 Py_INCREF(Py_None); resultobj = Py_None;
20342 return resultobj;
20343 fail:
20344 return NULL;
20345}
20346
20347
a95a7133 20348static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20349 PyObject *resultobj;
20350 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20351 int arg2 ;
20352 PyObject * obj0 = 0 ;
8edf1c75 20353 PyObject * obj1 = 0 ;
44127b65
RD
20354 char *kwnames[] = {
20355 (char *) "self",(char *) "side", NULL
20356 };
20357
8edf1c75 20358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20361 arg2 = (int) SWIG_AsInt(obj1);
20362 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 (arg1)->EditEdge(arg2);
20366
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 Py_INCREF(Py_None); resultobj = Py_None;
20371 return resultobj;
20372 fail:
20373 return NULL;
20374}
20375
20376
a95a7133 20377static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20378 PyObject *resultobj;
20379 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20380 wxPyDivisionShape *result;
20381 PyObject * obj0 = 0 ;
20382 char *kwnames[] = {
20383 (char *) "self", NULL
20384 };
20385
20386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 {
20397 resultobj = wxPyMake_wxShapeEvtHandler(result);
20398 }
20399 return resultobj;
20400 fail:
20401 return NULL;
20402}
20403
20404
a95a7133 20405static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20406 PyObject *resultobj;
20407 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20408 int result;
20409 PyObject * obj0 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 result = (int)(arg1)->GetHandleSide();
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
2f4c0a16 20424 resultobj = SWIG_FromInt((int)result);
44127b65
RD
20425 return resultobj;
20426 fail:
20427 return NULL;
20428}
20429
20430
a95a7133 20431static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20432 PyObject *resultobj;
20433 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20434 wxPyDivisionShape *result;
20435 PyObject * obj0 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 {
20451 resultobj = wxPyMake_wxShapeEvtHandler(result);
20452 }
20453 return resultobj;
20454 fail:
20455 return NULL;
20456}
20457
20458
a95a7133 20459static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20460 PyObject *resultobj;
20461 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20462 wxString result;
20463 PyObject * obj0 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = (arg1)->GetLeftSideColour();
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 {
20479#if wxUSE_UNICODE
20480 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20481#else
20482 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20483#endif
20484 }
20485 return resultobj;
20486 fail:
20487 return NULL;
20488}
20489
20490
a95a7133 20491static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20492 PyObject *resultobj;
20493 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20494 wxPen *result;
20495 PyObject * obj0 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "self", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 result = (wxPen *)(arg1)->GetLeftSidePen();
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
2f4c0a16 20510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
a95a7133 20517static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20518 PyObject *resultobj;
20519 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20520 wxPyDivisionShape *result;
20521 PyObject * obj0 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20532
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 {
20537 resultobj = wxPyMake_wxShapeEvtHandler(result);
20538 }
20539 return resultobj;
20540 fail:
20541 return NULL;
20542}
20543
20544
a95a7133 20545static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20546 PyObject *resultobj;
20547 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20548 wxPyDivisionShape *result;
20549 PyObject * obj0 = 0 ;
20550 char *kwnames[] = {
20551 (char *) "self", NULL
20552 };
20553
20554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 {
20565 resultobj = wxPyMake_wxShapeEvtHandler(result);
20566 }
20567 return resultobj;
20568 fail:
20569 return NULL;
20570}
20571
20572
a95a7133 20573static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20574 PyObject *resultobj;
20575 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20576 wxPen *result;
20577 PyObject * obj0 = 0 ;
20578 char *kwnames[] = {
20579 (char *) "self", NULL
20580 };
20581
20582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20585 {
20586 PyThreadState* __tstate = wxPyBeginAllowThreads();
20587 result = (wxPen *)(arg1)->GetTopSidePen();
20588
20589 wxPyEndAllowThreads(__tstate);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 }
2f4c0a16 20592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
20593 return resultobj;
20594 fail:
20595 return NULL;
20596}
20597
20598
a95a7133 20599static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20600 PyObject *resultobj;
20601 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20602 int arg2 ;
20603 double arg3 ;
20604 bool arg4 ;
20605 PyObject * obj0 = 0 ;
8edf1c75
RD
20606 PyObject * obj1 = 0 ;
20607 PyObject * obj2 = 0 ;
44127b65
RD
20608 PyObject * obj3 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20611 };
20612
8edf1c75 20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
20614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20616 arg2 = (int) SWIG_AsInt(obj1);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 arg3 = (double) SWIG_AsDouble(obj2);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 arg4 = (bool) SWIG_AsBool(obj3);
20621 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20625
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 Py_INCREF(Py_None); resultobj = Py_None;
20630 return resultobj;
20631 fail:
20632 return NULL;
20633}
20634
20635
a95a7133 20636static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20637 PyObject *resultobj;
20638 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20639 double arg2 ;
20640 double arg3 ;
20641 PyObject * obj0 = 0 ;
8edf1c75
RD
20642 PyObject * obj1 = 0 ;
20643 PyObject * obj2 = 0 ;
44127b65
RD
20644 char *kwnames[] = {
20645 (char *) "self",(char *) "x",(char *) "y", NULL
20646 };
20647
8edf1c75 20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20651 arg2 = (double) SWIG_AsDouble(obj1);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 arg3 = (double) SWIG_AsDouble(obj2);
20654 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 (arg1)->PopupMenu(arg2,arg3);
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 Py_INCREF(Py_None); resultobj = Py_None;
20663 return resultobj;
20664 fail:
20665 return NULL;
20666}
20667
20668
a95a7133 20669static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20670 PyObject *resultobj;
20671 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20672 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20673 PyObject * obj0 = 0 ;
20674 PyObject * obj1 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self",(char *) "shape", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 (arg1)->SetBottomSide(arg2);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 Py_INCREF(Py_None); resultobj = Py_None;
20692 return resultobj;
20693 fail:
20694 return NULL;
20695}
20696
20697
a95a7133 20698static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20699 PyObject *resultobj;
20700 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20701 int arg2 ;
20702 PyObject * obj0 = 0 ;
8edf1c75 20703 PyObject * obj1 = 0 ;
44127b65
RD
20704 char *kwnames[] = {
20705 (char *) "self",(char *) "side", NULL
20706 };
20707
8edf1c75 20708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20711 arg2 = (int) SWIG_AsInt(obj1);
20712 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20713 {
20714 PyThreadState* __tstate = wxPyBeginAllowThreads();
20715 (arg1)->SetHandleSide(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
a95a7133 20727static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20728 PyObject *resultobj;
20729 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20730 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20731 PyObject * obj0 = 0 ;
20732 PyObject * obj1 = 0 ;
20733 char *kwnames[] = {
20734 (char *) "self",(char *) "shape", NULL
20735 };
20736
20737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 (arg1)->SetLeftSide(arg2);
20745
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
20749 Py_INCREF(Py_None); resultobj = Py_None;
20750 return resultobj;
20751 fail:
20752 return NULL;
20753}
20754
20755
a95a7133 20756static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20757 PyObject *resultobj;
20758 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20759 wxString *arg2 = 0 ;
20760 bool temp2 = False ;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self",(char *) "colour", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20770 {
20771 arg2 = wxString_in_helper(obj1);
20772 if (arg2 == NULL) SWIG_fail;
20773 temp2 = True;
20774 }
20775 {
20776 PyThreadState* __tstate = wxPyBeginAllowThreads();
20777 (arg1)->SetLeftSideColour((wxString const &)*arg2);
20778
20779 wxPyEndAllowThreads(__tstate);
20780 if (PyErr_Occurred()) SWIG_fail;
20781 }
20782 Py_INCREF(Py_None); resultobj = Py_None;
20783 {
20784 if (temp2)
20785 delete arg2;
20786 }
20787 return resultobj;
20788 fail:
20789 {
20790 if (temp2)
20791 delete arg2;
20792 }
20793 return NULL;
20794}
20795
20796
a95a7133 20797static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20798 PyObject *resultobj;
20799 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20800 wxPen *arg2 = (wxPen *) 0 ;
20801 PyObject * obj0 = 0 ;
20802 PyObject * obj1 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self",(char *) "pen", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20810 {
20811 wxPen* temp;
20812 if (obj1) {
20813 if (obj1 == Py_None) {
20814 temp = NULL;
20815 }
20816 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20817 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20818 return NULL;
20819 }
20820 }
20821 if (temp)
20822 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20823 temp->GetWidth(),
20824 temp->GetStyle());
20825 else
20826 arg2 = NULL;
20827 }
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 (arg1)->SetLeftSidePen(arg2);
20831
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 Py_INCREF(Py_None); resultobj = Py_None;
20836 return resultobj;
20837 fail:
20838 return NULL;
20839}
20840
20841
a95a7133 20842static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20843 PyObject *resultobj;
20844 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20845 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self",(char *) "shape", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 (arg1)->SetRightSide(arg2);
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 Py_INCREF(Py_None); resultobj = Py_None;
20865 return resultobj;
20866 fail:
20867 return NULL;
20868}
20869
20870
a95a7133 20871static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20872 PyObject *resultobj;
20873 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20874 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20875 PyObject * obj0 = 0 ;
20876 PyObject * obj1 = 0 ;
20877 char *kwnames[] = {
20878 (char *) "self",(char *) "shape", NULL
20879 };
20880
20881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 (arg1)->SetTopSide(arg2);
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 Py_INCREF(Py_None); resultobj = Py_None;
20894 return resultobj;
20895 fail:
20896 return NULL;
20897}
20898
20899
a95a7133 20900static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20901 PyObject *resultobj;
20902 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20903 wxString *arg2 = 0 ;
20904 bool temp2 = False ;
20905 PyObject * obj0 = 0 ;
20906 PyObject * obj1 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self",(char *) "colour", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20914 {
20915 arg2 = wxString_in_helper(obj1);
20916 if (arg2 == NULL) SWIG_fail;
20917 temp2 = True;
20918 }
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 (arg1)->SetTopSideColour((wxString const &)*arg2);
20922
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 Py_INCREF(Py_None); resultobj = Py_None;
20927 {
20928 if (temp2)
20929 delete arg2;
20930 }
20931 return resultobj;
20932 fail:
20933 {
20934 if (temp2)
20935 delete arg2;
20936 }
20937 return NULL;
20938}
20939
20940
a95a7133 20941static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20942 PyObject *resultobj;
20943 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20944 wxPen *arg2 = (wxPen *) 0 ;
20945 PyObject * obj0 = 0 ;
20946 PyObject * obj1 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "self",(char *) "pen", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20954 {
20955 wxPen* temp;
20956 if (obj1) {
20957 if (obj1 == Py_None) {
20958 temp = NULL;
20959 }
20960 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20961 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20962 return NULL;
20963 }
20964 }
20965 if (temp)
20966 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20967 temp->GetWidth(),
20968 temp->GetStyle());
20969 else
20970 arg2 = NULL;
20971 }
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 (arg1)->SetTopSidePen(arg2);
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 Py_INCREF(Py_None); resultobj = Py_None;
20980 return resultobj;
20981 fail:
20982 return NULL;
20983}
20984
20985
a95a7133 20986static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20987 PyObject *resultobj;
20988 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20989 PyObject * obj0 = 0 ;
20990 char *kwnames[] = {
20991 (char *) "self", NULL
20992 };
20993
20994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 (arg1)->base_OnDelete();
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 Py_INCREF(Py_None); resultobj = Py_None;
21005 return resultobj;
21006 fail:
21007 return NULL;
21008}
21009
21010
a95a7133 21011static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21012 PyObject *resultobj;
21013 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21014 wxDC *arg2 = 0 ;
21015 PyObject * obj0 = 0 ;
21016 PyObject * obj1 = 0 ;
21017 char *kwnames[] = {
21018 (char *) "self",(char *) "dc", NULL
21019 };
21020
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21025 SWIG_POINTER_EXCEPTION | 0)) == -1)
21026 SWIG_fail;
44127b65 21027 if (arg2 == NULL) {
2f4c0a16
RD
21028 PyErr_SetString(PyExc_TypeError,"null reference");
21029 SWIG_fail;
44127b65
RD
21030 }
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 (arg1)->base_OnDraw(*arg2);
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 Py_INCREF(Py_None); resultobj = Py_None;
21039 return resultobj;
21040 fail:
21041 return NULL;
21042}
21043
21044
a95a7133 21045static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21046 PyObject *resultobj;
21047 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21048 wxDC *arg2 = 0 ;
21049 PyObject * obj0 = 0 ;
21050 PyObject * obj1 = 0 ;
21051 char *kwnames[] = {
21052 (char *) "self",(char *) "dc", NULL
21053 };
21054
21055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21059 SWIG_POINTER_EXCEPTION | 0)) == -1)
21060 SWIG_fail;
44127b65 21061 if (arg2 == NULL) {
2f4c0a16
RD
21062 PyErr_SetString(PyExc_TypeError,"null reference");
21063 SWIG_fail;
44127b65
RD
21064 }
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 (arg1)->base_OnDrawContents(*arg2);
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 Py_INCREF(Py_None); resultobj = Py_None;
21073 return resultobj;
21074 fail:
21075 return NULL;
21076}
21077
21078
a95a7133 21079static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21080 PyObject *resultobj;
21081 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21082 wxDC *arg2 = 0 ;
21083 bool arg3 = (bool) FALSE ;
21084 PyObject * obj0 = 0 ;
21085 PyObject * obj1 = 0 ;
21086 PyObject * obj2 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self",(char *) "dc",(char *) "erase", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21095 SWIG_POINTER_EXCEPTION | 0)) == -1)
21096 SWIG_fail;
44127b65 21097 if (arg2 == NULL) {
2f4c0a16
RD
21098 PyErr_SetString(PyExc_TypeError,"null reference");
21099 SWIG_fail;
44127b65
RD
21100 }
21101 if (obj2) {
2f4c0a16
RD
21102 arg3 = (bool) SWIG_AsBool(obj2);
21103 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21104 }
21105 {
21106 PyThreadState* __tstate = wxPyBeginAllowThreads();
21107 (arg1)->base_OnDrawBranches(*arg2,arg3);
21108
21109 wxPyEndAllowThreads(__tstate);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 Py_INCREF(Py_None); resultobj = Py_None;
21113 return resultobj;
21114 fail:
21115 return NULL;
21116}
21117
21118
a95a7133 21119static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21120 PyObject *resultobj;
21121 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21122 wxDC *arg2 = 0 ;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self",(char *) "dc", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21133 SWIG_POINTER_EXCEPTION | 0)) == -1)
21134 SWIG_fail;
44127b65 21135 if (arg2 == NULL) {
2f4c0a16
RD
21136 PyErr_SetString(PyExc_TypeError,"null reference");
21137 SWIG_fail;
44127b65
RD
21138 }
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 (arg1)->base_OnMoveLinks(*arg2);
21142
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
21146 Py_INCREF(Py_None); resultobj = Py_None;
21147 return resultobj;
21148 fail:
21149 return NULL;
21150}
21151
21152
a95a7133 21153static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21154 PyObject *resultobj;
21155 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21156 wxDC *arg2 = 0 ;
21157 PyObject * obj0 = 0 ;
21158 PyObject * obj1 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self",(char *) "dc", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21167 SWIG_POINTER_EXCEPTION | 0)) == -1)
21168 SWIG_fail;
44127b65 21169 if (arg2 == NULL) {
2f4c0a16
RD
21170 PyErr_SetString(PyExc_TypeError,"null reference");
21171 SWIG_fail;
44127b65
RD
21172 }
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 (arg1)->base_OnErase(*arg2);
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
21180 Py_INCREF(Py_None); resultobj = Py_None;
21181 return resultobj;
21182 fail:
21183 return NULL;
21184}
21185
21186
a95a7133 21187static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21188 PyObject *resultobj;
21189 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21190 wxDC *arg2 = 0 ;
21191 PyObject * obj0 = 0 ;
21192 PyObject * obj1 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self",(char *) "dc", NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21201 SWIG_POINTER_EXCEPTION | 0)) == -1)
21202 SWIG_fail;
44127b65 21203 if (arg2 == NULL) {
2f4c0a16
RD
21204 PyErr_SetString(PyExc_TypeError,"null reference");
21205 SWIG_fail;
44127b65
RD
21206 }
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 (arg1)->base_OnEraseContents(*arg2);
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 Py_INCREF(Py_None); resultobj = Py_None;
21215 return resultobj;
21216 fail:
21217 return NULL;
21218}
21219
21220
a95a7133 21221static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21222 PyObject *resultobj;
21223 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21224 wxDC *arg2 = 0 ;
21225 PyObject * obj0 = 0 ;
21226 PyObject * obj1 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "self",(char *) "dc", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21235 SWIG_POINTER_EXCEPTION | 0)) == -1)
21236 SWIG_fail;
44127b65 21237 if (arg2 == NULL) {
2f4c0a16
RD
21238 PyErr_SetString(PyExc_TypeError,"null reference");
21239 SWIG_fail;
44127b65
RD
21240 }
21241 {
21242 PyThreadState* __tstate = wxPyBeginAllowThreads();
21243 (arg1)->base_OnHighlight(*arg2);
21244
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
21248 Py_INCREF(Py_None); resultobj = Py_None;
21249 return resultobj;
21250 fail:
21251 return NULL;
21252}
21253
21254
a95a7133 21255static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21256 PyObject *resultobj;
21257 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21258 double arg2 ;
21259 double arg3 ;
21260 int arg4 = (int) 0 ;
21261 int arg5 = (int) 0 ;
21262 PyObject * obj0 = 0 ;
8edf1c75
RD
21263 PyObject * obj1 = 0 ;
21264 PyObject * obj2 = 0 ;
21265 PyObject * obj3 = 0 ;
21266 PyObject * obj4 = 0 ;
44127b65
RD
21267 char *kwnames[] = {
21268 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21269 };
21270
8edf1c75 21271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21274 arg2 = (double) SWIG_AsDouble(obj1);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 arg3 = (double) SWIG_AsDouble(obj2);
21277 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21278 if (obj3) {
2f4c0a16
RD
21279 arg4 = (int) SWIG_AsInt(obj3);
21280 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21281 }
21282 if (obj4) {
2f4c0a16
RD
21283 arg5 = (int) SWIG_AsInt(obj4);
21284 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21285 }
44127b65
RD
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 Py_INCREF(Py_None); resultobj = Py_None;
21294 return resultobj;
21295 fail:
21296 return NULL;
21297}
21298
21299
a95a7133 21300static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21301 PyObject *resultobj;
21302 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21303 double arg2 ;
21304 double arg3 ;
21305 int arg4 = (int) 0 ;
21306 int arg5 = (int) 0 ;
21307 PyObject * obj0 = 0 ;
8edf1c75
RD
21308 PyObject * obj1 = 0 ;
21309 PyObject * obj2 = 0 ;
21310 PyObject * obj3 = 0 ;
21311 PyObject * obj4 = 0 ;
44127b65
RD
21312 char *kwnames[] = {
21313 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21314 };
21315
8edf1c75 21316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21319 arg2 = (double) SWIG_AsDouble(obj1);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 arg3 = (double) SWIG_AsDouble(obj2);
21322 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21323 if (obj3) {
2f4c0a16
RD
21324 arg4 = (int) SWIG_AsInt(obj3);
21325 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21326 }
21327 if (obj4) {
2f4c0a16
RD
21328 arg5 = (int) SWIG_AsInt(obj4);
21329 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21330 }
44127b65
RD
21331 {
21332 PyThreadState* __tstate = wxPyBeginAllowThreads();
21333 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21334
21335 wxPyEndAllowThreads(__tstate);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 }
21338 Py_INCREF(Py_None); resultobj = Py_None;
21339 return resultobj;
21340 fail:
21341 return NULL;
21342}
21343
21344
a95a7133 21345static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21346 PyObject *resultobj;
21347 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21348 double arg2 ;
21349 double arg3 ;
21350 int arg4 = (int) 0 ;
21351 int arg5 = (int) 0 ;
21352 PyObject * obj0 = 0 ;
8edf1c75
RD
21353 PyObject * obj1 = 0 ;
21354 PyObject * obj2 = 0 ;
21355 PyObject * obj3 = 0 ;
21356 PyObject * obj4 = 0 ;
44127b65
RD
21357 char *kwnames[] = {
21358 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21359 };
21360
8edf1c75 21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21364 arg2 = (double) SWIG_AsDouble(obj1);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 arg3 = (double) SWIG_AsDouble(obj2);
21367 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21368 if (obj3) {
2f4c0a16
RD
21369 arg4 = (int) SWIG_AsInt(obj3);
21370 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21371 }
21372 if (obj4) {
2f4c0a16
RD
21373 arg5 = (int) SWIG_AsInt(obj4);
21374 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21375 }
44127b65
RD
21376 {
21377 PyThreadState* __tstate = wxPyBeginAllowThreads();
21378 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21379
21380 wxPyEndAllowThreads(__tstate);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 }
21383 Py_INCREF(Py_None); resultobj = Py_None;
21384 return resultobj;
21385 fail:
21386 return NULL;
21387}
21388
21389
a95a7133 21390static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21391 PyObject *resultobj;
21392 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21393 double arg2 ;
21394 double arg3 ;
21395 PyObject * obj0 = 0 ;
8edf1c75
RD
21396 PyObject * obj1 = 0 ;
21397 PyObject * obj2 = 0 ;
44127b65
RD
21398 char *kwnames[] = {
21399 (char *) "self",(char *) "x",(char *) "y", NULL
21400 };
21401
8edf1c75 21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21405 arg2 = (double) SWIG_AsDouble(obj1);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 arg3 = (double) SWIG_AsDouble(obj2);
21408 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->base_OnSize(arg2,arg3);
21412
21413 wxPyEndAllowThreads(__tstate);
21414 if (PyErr_Occurred()) SWIG_fail;
21415 }
21416 Py_INCREF(Py_None); resultobj = Py_None;
21417 return resultobj;
21418 fail:
21419 return NULL;
21420}
21421
21422
a95a7133 21423static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21424 PyObject *resultobj;
21425 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21426 wxDC *arg2 = 0 ;
21427 double arg3 ;
21428 double arg4 ;
21429 double arg5 ;
21430 double arg6 ;
21431 bool arg7 = (bool) True ;
21432 bool result;
21433 PyObject * obj0 = 0 ;
21434 PyObject * obj1 = 0 ;
8edf1c75
RD
21435 PyObject * obj2 = 0 ;
21436 PyObject * obj3 = 0 ;
21437 PyObject * obj4 = 0 ;
21438 PyObject * obj5 = 0 ;
44127b65
RD
21439 PyObject * obj6 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21442 };
21443
8edf1c75 21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21448 SWIG_POINTER_EXCEPTION | 0)) == -1)
21449 SWIG_fail;
44127b65 21450 if (arg2 == NULL) {
2f4c0a16
RD
21451 PyErr_SetString(PyExc_TypeError,"null reference");
21452 SWIG_fail;
21453 }
21454 arg3 = (double) SWIG_AsDouble(obj2);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 arg4 = (double) SWIG_AsDouble(obj3);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 arg5 = (double) SWIG_AsDouble(obj4);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 arg6 = (double) SWIG_AsDouble(obj5);
21461 if (PyErr_Occurred()) SWIG_fail;
44127b65 21462 if (obj6) {
2f4c0a16
RD
21463 arg7 = (bool) SWIG_AsBool(obj6);
21464 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
fbc46b20
RD
21473 {
21474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21475 }
44127b65
RD
21476 return resultobj;
21477 fail:
21478 return NULL;
21479}
21480
21481
a95a7133 21482static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21483 PyObject *resultobj;
21484 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21485 wxDC *arg2 = 0 ;
21486 double arg3 ;
21487 double arg4 ;
21488 double arg5 ;
21489 double arg6 ;
21490 bool arg7 = (bool) True ;
21491 PyObject * obj0 = 0 ;
21492 PyObject * obj1 = 0 ;
8edf1c75
RD
21493 PyObject * obj2 = 0 ;
21494 PyObject * obj3 = 0 ;
21495 PyObject * obj4 = 0 ;
21496 PyObject * obj5 = 0 ;
44127b65
RD
21497 PyObject * obj6 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21500 };
21501
8edf1c75 21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21506 SWIG_POINTER_EXCEPTION | 0)) == -1)
21507 SWIG_fail;
44127b65 21508 if (arg2 == NULL) {
2f4c0a16
RD
21509 PyErr_SetString(PyExc_TypeError,"null reference");
21510 SWIG_fail;
21511 }
21512 arg3 = (double) SWIG_AsDouble(obj2);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 arg4 = (double) SWIG_AsDouble(obj3);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 arg5 = (double) SWIG_AsDouble(obj4);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 arg6 = (double) SWIG_AsDouble(obj5);
21519 if (PyErr_Occurred()) SWIG_fail;
44127b65 21520 if (obj6) {
2f4c0a16
RD
21521 arg7 = (bool) SWIG_AsBool(obj6);
21522 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21523 }
21524 {
21525 PyThreadState* __tstate = wxPyBeginAllowThreads();
21526 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21527
21528 wxPyEndAllowThreads(__tstate);
21529 if (PyErr_Occurred()) SWIG_fail;
21530 }
21531 Py_INCREF(Py_None); resultobj = Py_None;
21532 return resultobj;
21533 fail:
21534 return NULL;
21535}
21536
21537
a95a7133 21538static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21539 PyObject *resultobj;
21540 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21541 bool arg2 ;
21542 double arg3 ;
21543 double arg4 ;
21544 int arg5 = (int) 0 ;
21545 int arg6 = (int) 0 ;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
8edf1c75
RD
21548 PyObject * obj2 = 0 ;
21549 PyObject * obj3 = 0 ;
21550 PyObject * obj4 = 0 ;
21551 PyObject * obj5 = 0 ;
44127b65
RD
21552 char *kwnames[] = {
21553 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21554 };
21555
8edf1c75 21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21559 arg2 = (bool) SWIG_AsBool(obj1);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 arg3 = (double) SWIG_AsDouble(obj2);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 arg4 = (double) SWIG_AsDouble(obj3);
21564 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21565 if (obj4) {
2f4c0a16
RD
21566 arg5 = (int) SWIG_AsInt(obj4);
21567 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21568 }
21569 if (obj5) {
2f4c0a16
RD
21570 arg6 = (int) SWIG_AsInt(obj5);
21571 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21572 }
44127b65
RD
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 Py_INCREF(Py_None); resultobj = Py_None;
21581 return resultobj;
21582 fail:
21583 return NULL;
21584}
21585
21586
a95a7133 21587static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21588 PyObject *resultobj;
21589 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21590 double arg2 ;
21591 double arg3 ;
21592 int arg4 = (int) 0 ;
21593 int arg5 = (int) 0 ;
21594 PyObject * obj0 = 0 ;
8edf1c75
RD
21595 PyObject * obj1 = 0 ;
21596 PyObject * obj2 = 0 ;
21597 PyObject * obj3 = 0 ;
21598 PyObject * obj4 = 0 ;
44127b65
RD
21599 char *kwnames[] = {
21600 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21601 };
21602
8edf1c75 21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21606 arg2 = (double) SWIG_AsDouble(obj1);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 arg3 = (double) SWIG_AsDouble(obj2);
21609 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21610 if (obj3) {
2f4c0a16
RD
21611 arg4 = (int) SWIG_AsInt(obj3);
21612 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21613 }
21614 if (obj4) {
2f4c0a16
RD
21615 arg5 = (int) SWIG_AsInt(obj4);
21616 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21617 }
44127b65
RD
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 return resultobj;
21627 fail:
21628 return NULL;
21629}
21630
21631
a95a7133 21632static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21633 PyObject *resultobj;
21634 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21635 double arg2 ;
21636 double arg3 ;
21637 int arg4 = (int) 0 ;
21638 int arg5 = (int) 0 ;
21639 PyObject * obj0 = 0 ;
8edf1c75
RD
21640 PyObject * obj1 = 0 ;
21641 PyObject * obj2 = 0 ;
21642 PyObject * obj3 = 0 ;
21643 PyObject * obj4 = 0 ;
44127b65
RD
21644 char *kwnames[] = {
21645 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21646 };
21647
8edf1c75 21648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21651 arg2 = (double) SWIG_AsDouble(obj1);
21652 if (PyErr_Occurred()) SWIG_fail;
21653 arg3 = (double) SWIG_AsDouble(obj2);
21654 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21655 if (obj3) {
2f4c0a16
RD
21656 arg4 = (int) SWIG_AsInt(obj3);
21657 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21658 }
21659 if (obj4) {
2f4c0a16
RD
21660 arg5 = (int) SWIG_AsInt(obj4);
21661 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21662 }
44127b65
RD
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 Py_INCREF(Py_None); resultobj = Py_None;
21671 return resultobj;
21672 fail:
21673 return NULL;
21674}
21675
21676
a95a7133 21677static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21678 PyObject *resultobj;
21679 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21680 bool arg2 ;
21681 double arg3 ;
21682 double arg4 ;
21683 int arg5 = (int) 0 ;
21684 int arg6 = (int) 0 ;
21685 PyObject * obj0 = 0 ;
21686 PyObject * obj1 = 0 ;
8edf1c75
RD
21687 PyObject * obj2 = 0 ;
21688 PyObject * obj3 = 0 ;
21689 PyObject * obj4 = 0 ;
21690 PyObject * obj5 = 0 ;
44127b65
RD
21691 char *kwnames[] = {
21692 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21693 };
21694
8edf1c75 21695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21698 arg2 = (bool) SWIG_AsBool(obj1);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 arg3 = (double) SWIG_AsDouble(obj2);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 arg4 = (double) SWIG_AsDouble(obj3);
21703 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21704 if (obj4) {
2f4c0a16
RD
21705 arg5 = (int) SWIG_AsInt(obj4);
21706 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21707 }
21708 if (obj5) {
2f4c0a16
RD
21709 arg6 = (int) SWIG_AsInt(obj5);
21710 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21711 }
44127b65
RD
21712 {
21713 PyThreadState* __tstate = wxPyBeginAllowThreads();
21714 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
21715
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 Py_INCREF(Py_None); resultobj = Py_None;
21720 return resultobj;
21721 fail:
21722 return NULL;
21723}
21724
21725
a95a7133 21726static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21727 PyObject *resultobj;
21728 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21729 double arg2 ;
21730 double arg3 ;
21731 int arg4 = (int) 0 ;
21732 int arg5 = (int) 0 ;
21733 PyObject * obj0 = 0 ;
8edf1c75
RD
21734 PyObject * obj1 = 0 ;
21735 PyObject * obj2 = 0 ;
21736 PyObject * obj3 = 0 ;
21737 PyObject * obj4 = 0 ;
44127b65
RD
21738 char *kwnames[] = {
21739 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21740 };
21741
8edf1c75 21742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21745 arg2 = (double) SWIG_AsDouble(obj1);
21746 if (PyErr_Occurred()) SWIG_fail;
21747 arg3 = (double) SWIG_AsDouble(obj2);
21748 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21749 if (obj3) {
2f4c0a16
RD
21750 arg4 = (int) SWIG_AsInt(obj3);
21751 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21752 }
21753 if (obj4) {
2f4c0a16
RD
21754 arg5 = (int) SWIG_AsInt(obj4);
21755 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21756 }
44127b65
RD
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 Py_INCREF(Py_None); resultobj = Py_None;
21765 return resultobj;
21766 fail:
21767 return NULL;
21768}
21769
21770
a95a7133 21771static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21772 PyObject *resultobj;
21773 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21774 double arg2 ;
21775 double arg3 ;
21776 int arg4 = (int) 0 ;
21777 int arg5 = (int) 0 ;
21778 PyObject * obj0 = 0 ;
8edf1c75
RD
21779 PyObject * obj1 = 0 ;
21780 PyObject * obj2 = 0 ;
21781 PyObject * obj3 = 0 ;
21782 PyObject * obj4 = 0 ;
44127b65
RD
21783 char *kwnames[] = {
21784 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21785 };
21786
8edf1c75 21787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21790 arg2 = (double) SWIG_AsDouble(obj1);
21791 if (PyErr_Occurred()) SWIG_fail;
21792 arg3 = (double) SWIG_AsDouble(obj2);
21793 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21794 if (obj3) {
2f4c0a16
RD
21795 arg4 = (int) SWIG_AsInt(obj3);
21796 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21797 }
21798 if (obj4) {
2f4c0a16
RD
21799 arg5 = (int) SWIG_AsInt(obj4);
21800 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21801 }
44127b65
RD
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 Py_INCREF(Py_None); resultobj = Py_None;
21810 return resultobj;
21811 fail:
21812 return NULL;
21813}
21814
21815
a95a7133 21816static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21817 PyObject *resultobj;
21818 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21819 wxDC *arg2 = 0 ;
21820 double arg3 ;
21821 double arg4 ;
21822 double arg5 ;
21823 double arg6 ;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
8edf1c75
RD
21826 PyObject * obj2 = 0 ;
21827 PyObject * obj3 = 0 ;
21828 PyObject * obj4 = 0 ;
21829 PyObject * obj5 = 0 ;
44127b65
RD
21830 char *kwnames[] = {
21831 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21832 };
21833
8edf1c75 21834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21838 SWIG_POINTER_EXCEPTION | 0)) == -1)
21839 SWIG_fail;
44127b65 21840 if (arg2 == NULL) {
2f4c0a16
RD
21841 PyErr_SetString(PyExc_TypeError,"null reference");
21842 SWIG_fail;
8edf1c75 21843 }
2f4c0a16
RD
21844 arg3 = (double) SWIG_AsDouble(obj2);
21845 if (PyErr_Occurred()) SWIG_fail;
21846 arg4 = (double) SWIG_AsDouble(obj3);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 arg5 = (double) SWIG_AsDouble(obj4);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 arg6 = (double) SWIG_AsDouble(obj5);
21851 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21852 {
21853 PyThreadState* __tstate = wxPyBeginAllowThreads();
21854 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21855
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 Py_INCREF(Py_None); resultobj = Py_None;
21860 return resultobj;
21861 fail:
21862 return NULL;
21863}
21864
21865
a95a7133 21866static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21867 PyObject *resultobj;
21868 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21869 wxDC *arg2 = 0 ;
21870 PyObject * obj0 = 0 ;
21871 PyObject * obj1 = 0 ;
21872 char *kwnames[] = {
21873 (char *) "self",(char *) "dc", NULL
21874 };
21875
21876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21880 SWIG_POINTER_EXCEPTION | 0)) == -1)
21881 SWIG_fail;
44127b65 21882 if (arg2 == NULL) {
2f4c0a16
RD
21883 PyErr_SetString(PyExc_TypeError,"null reference");
21884 SWIG_fail;
44127b65
RD
21885 }
21886 {
21887 PyThreadState* __tstate = wxPyBeginAllowThreads();
21888 (arg1)->base_OnDrawControlPoints(*arg2);
21889
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 Py_INCREF(Py_None); resultobj = Py_None;
21894 return resultobj;
21895 fail:
21896 return NULL;
21897}
21898
21899
a95a7133 21900static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21901 PyObject *resultobj;
21902 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21903 wxDC *arg2 = 0 ;
21904 PyObject * obj0 = 0 ;
21905 PyObject * obj1 = 0 ;
21906 char *kwnames[] = {
21907 (char *) "self",(char *) "dc", NULL
21908 };
21909
21910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21914 SWIG_POINTER_EXCEPTION | 0)) == -1)
21915 SWIG_fail;
44127b65 21916 if (arg2 == NULL) {
2f4c0a16
RD
21917 PyErr_SetString(PyExc_TypeError,"null reference");
21918 SWIG_fail;
44127b65
RD
21919 }
21920 {
21921 PyThreadState* __tstate = wxPyBeginAllowThreads();
21922 (arg1)->base_OnEraseControlPoints(*arg2);
21923
21924 wxPyEndAllowThreads(__tstate);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 }
21927 Py_INCREF(Py_None); resultobj = Py_None;
21928 return resultobj;
21929 fail:
21930 return NULL;
21931}
21932
21933
a95a7133 21934static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21935 PyObject *resultobj;
21936 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21937 wxDC *arg2 = 0 ;
21938 bool arg3 = (bool) True ;
21939 PyObject * obj0 = 0 ;
21940 PyObject * obj1 = 0 ;
21941 PyObject * obj2 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21950 SWIG_POINTER_EXCEPTION | 0)) == -1)
21951 SWIG_fail;
44127b65 21952 if (arg2 == NULL) {
2f4c0a16
RD
21953 PyErr_SetString(PyExc_TypeError,"null reference");
21954 SWIG_fail;
44127b65
RD
21955 }
21956 if (obj2) {
2f4c0a16
RD
21957 arg3 = (bool) SWIG_AsBool(obj2);
21958 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 (arg1)->base_OnMoveLink(*arg2,arg3);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 Py_INCREF(Py_None); resultobj = Py_None;
21968 return resultobj;
21969 fail:
21970 return NULL;
21971}
21972
21973
a95a7133 21974static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21975 PyObject *resultobj;
21976 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21977 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21978 bool arg3 ;
21979 double arg4 ;
21980 double arg5 ;
21981 int arg6 = (int) 0 ;
21982 int arg7 = (int) 0 ;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 PyObject * obj2 = 0 ;
8edf1c75
RD
21986 PyObject * obj3 = 0 ;
21987 PyObject * obj4 = 0 ;
21988 PyObject * obj5 = 0 ;
21989 PyObject * obj6 = 0 ;
44127b65
RD
21990 char *kwnames[] = {
21991 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21992 };
21993
8edf1c75 21994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21999 arg3 = (bool) SWIG_AsBool(obj2);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 arg4 = (double) SWIG_AsDouble(obj3);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 arg5 = (double) SWIG_AsDouble(obj4);
22004 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22005 if (obj5) {
2f4c0a16
RD
22006 arg6 = (int) SWIG_AsInt(obj5);
22007 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22008 }
22009 if (obj6) {
2f4c0a16
RD
22010 arg7 = (int) SWIG_AsInt(obj6);
22011 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22012 }
44127b65
RD
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 Py_INCREF(Py_None); resultobj = Py_None;
22021 return resultobj;
22022 fail:
22023 return NULL;
22024}
22025
22026
a95a7133 22027static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22028 PyObject *resultobj;
22029 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22030 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22031 double arg3 ;
22032 double arg4 ;
22033 int arg5 = (int) 0 ;
22034 int arg6 = (int) 0 ;
22035 PyObject * obj0 = 0 ;
22036 PyObject * obj1 = 0 ;
8edf1c75
RD
22037 PyObject * obj2 = 0 ;
22038 PyObject * obj3 = 0 ;
22039 PyObject * obj4 = 0 ;
22040 PyObject * obj5 = 0 ;
44127b65
RD
22041 char *kwnames[] = {
22042 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22043 };
22044
8edf1c75 22045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22050 arg3 = (double) SWIG_AsDouble(obj2);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 arg4 = (double) SWIG_AsDouble(obj3);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 if (obj4) {
22055 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
22056 if (PyErr_Occurred()) SWIG_fail;
22057 }
2f4c0a16
RD
22058 if (obj5) {
22059 arg6 = (int) SWIG_AsInt(obj5);
8edf1c75
RD
22060 if (PyErr_Occurred()) SWIG_fail;
22061 }
44127b65
RD
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
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
a95a7133 22076static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22077 PyObject *resultobj;
22078 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22079 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
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 *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22092 };
22093
8edf1c75 22094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22099 arg3 = (double) SWIG_AsDouble(obj2);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 arg4 = (double) SWIG_AsDouble(obj3);
22102 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22103 if (obj4) {
2f4c0a16
RD
22104 arg5 = (int) SWIG_AsInt(obj4);
22105 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22106 }
22107 if (obj5) {
2f4c0a16
RD
22108 arg6 = (int) SWIG_AsInt(obj5);
22109 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22110 }
44127b65
RD
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 Py_INCREF(Py_None); resultobj = Py_None;
22119 return resultobj;
22120 fail:
22121 return NULL;
22122}
22123
22124
a95a7133 22125static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22126 PyObject *resultobj;
22127 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22128 double arg2 ;
22129 double arg3 ;
22130 PyObject * obj0 = 0 ;
8edf1c75
RD
22131 PyObject * obj1 = 0 ;
22132 PyObject * obj2 = 0 ;
44127b65
RD
22133 char *kwnames[] = {
22134 (char *) "self",(char *) "w",(char *) "h", NULL
22135 };
22136
8edf1c75 22137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22140 arg2 = (double) SWIG_AsDouble(obj1);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 arg3 = (double) SWIG_AsDouble(obj2);
22143 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 (arg1)->base_OnBeginSize(arg2,arg3);
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 Py_INCREF(Py_None); resultobj = Py_None;
22152 return resultobj;
22153 fail:
22154 return NULL;
22155}
22156
22157
a95a7133 22158static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22159 PyObject *resultobj;
22160 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22161 double arg2 ;
22162 double arg3 ;
22163 PyObject * obj0 = 0 ;
8edf1c75
RD
22164 PyObject * obj1 = 0 ;
22165 PyObject * obj2 = 0 ;
44127b65
RD
22166 char *kwnames[] = {
22167 (char *) "self",(char *) "w",(char *) "h", NULL
22168 };
22169
8edf1c75 22170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22173 arg2 = (double) SWIG_AsDouble(obj1);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 arg3 = (double) SWIG_AsDouble(obj2);
22176 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 (arg1)->base_OnEndSize(arg2,arg3);
22180
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 Py_INCREF(Py_None); resultobj = Py_None;
22185 return resultobj;
22186 fail:
22187 return NULL;
22188}
22189
22190
a95a7133 22191static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
22192 PyObject *obj;
22193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22194 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22195 Py_INCREF(obj);
22196 return Py_BuildValue((char *)"");
22197}
a95a7133 22198static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22199 PyObject *resultobj;
22200 double arg1 = (double) 0.0 ;
22201 double arg2 = (double) 0.0 ;
22202 wxPyEllipseShape *result;
8edf1c75
RD
22203 PyObject * obj0 = 0 ;
22204 PyObject * obj1 = 0 ;
44127b65
RD
22205 char *kwnames[] = {
22206 (char *) "width",(char *) "height", NULL
22207 };
22208
8edf1c75
RD
22209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22210 if (obj0) {
2f4c0a16
RD
22211 arg1 = (double) SWIG_AsDouble(obj0);
22212 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22213 }
22214 if (obj1) {
2f4c0a16
RD
22215 arg2 = (double) SWIG_AsDouble(obj1);
22216 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22217 }
44127b65
RD
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
2f4c0a16 22225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
44127b65
RD
22226 return resultobj;
22227 fail:
22228 return NULL;
22229}
22230
22231
a95a7133 22232static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22233 PyObject *resultobj;
22234 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22235 PyObject *arg2 = (PyObject *) 0 ;
22236 PyObject *arg3 = (PyObject *) 0 ;
22237 PyObject * obj0 = 0 ;
22238 PyObject * obj1 = 0 ;
22239 PyObject * obj2 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self",(char *) "self",(char *) "_class", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
22247 arg2 = obj1;
22248 arg3 = obj2;
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 (arg1)->_setCallbackInfo(arg2,arg3);
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 Py_INCREF(Py_None); resultobj = Py_None;
22257 return resultobj;
22258 fail:
22259 return NULL;
22260}
22261
22262
a95a7133 22263static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22264 PyObject *resultobj;
22265 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22266 wxDC *arg2 = 0 ;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 char *kwnames[] = {
22270 (char *) "self",(char *) "dc", NULL
22271 };
22272
22273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22277 SWIG_POINTER_EXCEPTION | 0)) == -1)
22278 SWIG_fail;
44127b65 22279 if (arg2 == NULL) {
2f4c0a16
RD
22280 PyErr_SetString(PyExc_TypeError,"null reference");
22281 SWIG_fail;
44127b65
RD
22282 }
22283 {
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 (arg1)->base_OnDraw(*arg2);
22286
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
22290 Py_INCREF(Py_None); resultobj = Py_None;
22291 return resultobj;
22292 fail:
22293 return NULL;
22294}
22295
22296
a95a7133 22297static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22298 PyObject *resultobj;
22299 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22300 wxDC *arg2 = 0 ;
22301 PyObject * obj0 = 0 ;
22302 PyObject * obj1 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self",(char *) "dc", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22311 SWIG_POINTER_EXCEPTION | 0)) == -1)
22312 SWIG_fail;
44127b65 22313 if (arg2 == NULL) {
2f4c0a16
RD
22314 PyErr_SetString(PyExc_TypeError,"null reference");
22315 SWIG_fail;
44127b65
RD
22316 }
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 (arg1)->base_OnDrawContents(*arg2);
22320
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 Py_INCREF(Py_None); resultobj = Py_None;
22325 return resultobj;
22326 fail:
22327 return NULL;
22328}
22329
22330
a95a7133 22331static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22332 PyObject *resultobj;
22333 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22334 wxDC *arg2 = 0 ;
22335 bool arg3 = (bool) FALSE ;
22336 PyObject * obj0 = 0 ;
22337 PyObject * obj1 = 0 ;
22338 PyObject * obj2 = 0 ;
22339 char *kwnames[] = {
22340 (char *) "self",(char *) "dc",(char *) "erase", NULL
22341 };
22342
22343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22347 SWIG_POINTER_EXCEPTION | 0)) == -1)
22348 SWIG_fail;
44127b65 22349 if (arg2 == NULL) {
2f4c0a16
RD
22350 PyErr_SetString(PyExc_TypeError,"null reference");
22351 SWIG_fail;
44127b65
RD
22352 }
22353 if (obj2) {
2f4c0a16
RD
22354 arg3 = (bool) SWIG_AsBool(obj2);
22355 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22356 }
22357 {
22358 PyThreadState* __tstate = wxPyBeginAllowThreads();
22359 (arg1)->base_OnDrawBranches(*arg2,arg3);
22360
22361 wxPyEndAllowThreads(__tstate);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 Py_INCREF(Py_None); resultobj = Py_None;
22365 return resultobj;
22366 fail:
22367 return NULL;
22368}
22369
22370
a95a7133 22371static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22372 PyObject *resultobj;
22373 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22374 wxDC *arg2 = 0 ;
22375 PyObject * obj0 = 0 ;
22376 PyObject * obj1 = 0 ;
22377 char *kwnames[] = {
22378 (char *) "self",(char *) "dc", NULL
22379 };
22380
22381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22385 SWIG_POINTER_EXCEPTION | 0)) == -1)
22386 SWIG_fail;
44127b65 22387 if (arg2 == NULL) {
2f4c0a16
RD
22388 PyErr_SetString(PyExc_TypeError,"null reference");
22389 SWIG_fail;
44127b65
RD
22390 }
22391 {
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 (arg1)->base_OnMoveLinks(*arg2);
22394
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 Py_INCREF(Py_None); resultobj = Py_None;
22399 return resultobj;
22400 fail:
22401 return NULL;
22402}
22403
22404
a95a7133 22405static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22406 PyObject *resultobj;
22407 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22408 wxDC *arg2 = 0 ;
22409 PyObject * obj0 = 0 ;
22410 PyObject * obj1 = 0 ;
22411 char *kwnames[] = {
22412 (char *) "self",(char *) "dc", NULL
22413 };
22414
22415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22419 SWIG_POINTER_EXCEPTION | 0)) == -1)
22420 SWIG_fail;
44127b65 22421 if (arg2 == NULL) {
2f4c0a16
RD
22422 PyErr_SetString(PyExc_TypeError,"null reference");
22423 SWIG_fail;
44127b65
RD
22424 }
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 (arg1)->base_OnErase(*arg2);
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 Py_INCREF(Py_None); resultobj = Py_None;
22433 return resultobj;
22434 fail:
22435 return NULL;
22436}
22437
22438
a95a7133 22439static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22440 PyObject *resultobj;
22441 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22442 wxDC *arg2 = 0 ;
22443 PyObject * obj0 = 0 ;
22444 PyObject * obj1 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "dc", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22453 SWIG_POINTER_EXCEPTION | 0)) == -1)
22454 SWIG_fail;
44127b65 22455 if (arg2 == NULL) {
2f4c0a16
RD
22456 PyErr_SetString(PyExc_TypeError,"null reference");
22457 SWIG_fail;
44127b65
RD
22458 }
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 (arg1)->base_OnEraseContents(*arg2);
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 Py_INCREF(Py_None); resultobj = Py_None;
22467 return resultobj;
22468 fail:
22469 return NULL;
22470}
22471
22472
a95a7133 22473static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22474 PyObject *resultobj;
22475 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22476 wxDC *arg2 = 0 ;
22477 PyObject * obj0 = 0 ;
22478 PyObject * obj1 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self",(char *) "dc", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22486 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22487 SWIG_POINTER_EXCEPTION | 0)) == -1)
22488 SWIG_fail;
44127b65 22489 if (arg2 == NULL) {
2f4c0a16
RD
22490 PyErr_SetString(PyExc_TypeError,"null reference");
22491 SWIG_fail;
44127b65
RD
22492 }
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 (arg1)->base_OnHighlight(*arg2);
22496
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 Py_INCREF(Py_None); resultobj = Py_None;
22501 return resultobj;
22502 fail:
22503 return NULL;
22504}
22505
22506
a95a7133 22507static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22508 PyObject *resultobj;
22509 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22510 double arg2 ;
22511 double arg3 ;
22512 int arg4 = (int) 0 ;
22513 int arg5 = (int) 0 ;
22514 PyObject * obj0 = 0 ;
8edf1c75
RD
22515 PyObject * obj1 = 0 ;
22516 PyObject * obj2 = 0 ;
22517 PyObject * obj3 = 0 ;
22518 PyObject * obj4 = 0 ;
44127b65
RD
22519 char *kwnames[] = {
22520 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22521 };
22522
8edf1c75 22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22526 arg2 = (double) SWIG_AsDouble(obj1);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 arg3 = (double) SWIG_AsDouble(obj2);
22529 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22530 if (obj3) {
2f4c0a16
RD
22531 arg4 = (int) SWIG_AsInt(obj3);
22532 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22533 }
22534 if (obj4) {
2f4c0a16
RD
22535 arg5 = (int) SWIG_AsInt(obj4);
22536 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22537 }
44127b65
RD
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22541
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 Py_INCREF(Py_None); resultobj = Py_None;
22546 return resultobj;
22547 fail:
22548 return NULL;
22549}
22550
22551
a95a7133 22552static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22553 PyObject *resultobj;
22554 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22555 double arg2 ;
22556 double arg3 ;
22557 int arg4 = (int) 0 ;
22558 int arg5 = (int) 0 ;
22559 PyObject * obj0 = 0 ;
8edf1c75
RD
22560 PyObject * obj1 = 0 ;
22561 PyObject * obj2 = 0 ;
22562 PyObject * obj3 = 0 ;
22563 PyObject * obj4 = 0 ;
44127b65
RD
22564 char *kwnames[] = {
22565 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22566 };
22567
8edf1c75 22568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22571 arg2 = (double) SWIG_AsDouble(obj1);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 arg3 = (double) SWIG_AsDouble(obj2);
22574 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22575 if (obj3) {
2f4c0a16
RD
22576 arg4 = (int) SWIG_AsInt(obj3);
22577 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22578 }
22579 if (obj4) {
2f4c0a16
RD
22580 arg5 = (int) SWIG_AsInt(obj4);
22581 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22582 }
44127b65
RD
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
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
a95a7133 22597static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22598 PyObject *resultobj;
22599 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22600 double arg2 ;
22601 double arg3 ;
22602 int arg4 = (int) 0 ;
22603 int arg5 = (int) 0 ;
22604 PyObject * obj0 = 0 ;
8edf1c75
RD
22605 PyObject * obj1 = 0 ;
22606 PyObject * obj2 = 0 ;
22607 PyObject * obj3 = 0 ;
22608 PyObject * obj4 = 0 ;
44127b65
RD
22609 char *kwnames[] = {
22610 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22611 };
22612
8edf1c75 22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22616 arg2 = (double) SWIG_AsDouble(obj1);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 arg3 = (double) SWIG_AsDouble(obj2);
22619 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22620 if (obj3) {
2f4c0a16
RD
22621 arg4 = (int) SWIG_AsInt(obj3);
22622 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22623 }
22624 if (obj4) {
2f4c0a16
RD
22625 arg5 = (int) SWIG_AsInt(obj4);
22626 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22627 }
44127b65
RD
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 Py_INCREF(Py_None); resultobj = Py_None;
22636 return resultobj;
22637 fail:
22638 return NULL;
22639}
22640
22641
a95a7133 22642static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22643 PyObject *resultobj;
22644 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22645 double arg2 ;
22646 double arg3 ;
22647 PyObject * obj0 = 0 ;
8edf1c75
RD
22648 PyObject * obj1 = 0 ;
22649 PyObject * obj2 = 0 ;
44127b65
RD
22650 char *kwnames[] = {
22651 (char *) "self",(char *) "x",(char *) "y", NULL
22652 };
22653
8edf1c75 22654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22657 arg2 = (double) SWIG_AsDouble(obj1);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 arg3 = (double) SWIG_AsDouble(obj2);
22660 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 (arg1)->base_OnSize(arg2,arg3);
22664
22665 wxPyEndAllowThreads(__tstate);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 Py_INCREF(Py_None); resultobj = Py_None;
22669 return resultobj;
22670 fail:
22671 return NULL;
22672}
22673
22674
a95a7133 22675static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22676 PyObject *resultobj;
22677 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22678 wxDC *arg2 = 0 ;
22679 double arg3 ;
22680 double arg4 ;
22681 double arg5 ;
22682 double arg6 ;
22683 bool arg7 = (bool) True ;
22684 bool result;
22685 PyObject * obj0 = 0 ;
22686 PyObject * obj1 = 0 ;
8edf1c75
RD
22687 PyObject * obj2 = 0 ;
22688 PyObject * obj3 = 0 ;
22689 PyObject * obj4 = 0 ;
22690 PyObject * obj5 = 0 ;
44127b65
RD
22691 PyObject * obj6 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22694 };
22695
8edf1c75 22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22700 SWIG_POINTER_EXCEPTION | 0)) == -1)
22701 SWIG_fail;
44127b65 22702 if (arg2 == NULL) {
2f4c0a16
RD
22703 PyErr_SetString(PyExc_TypeError,"null reference");
22704 SWIG_fail;
22705 }
22706 arg3 = (double) SWIG_AsDouble(obj2);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 arg4 = (double) SWIG_AsDouble(obj3);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 arg5 = (double) SWIG_AsDouble(obj4);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 arg6 = (double) SWIG_AsDouble(obj5);
22713 if (PyErr_Occurred()) SWIG_fail;
44127b65 22714 if (obj6) {
2f4c0a16
RD
22715 arg7 = (bool) SWIG_AsBool(obj6);
22716 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22717 }
22718 {
22719 PyThreadState* __tstate = wxPyBeginAllowThreads();
22720 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22721
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
fbc46b20
RD
22725 {
22726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22727 }
44127b65
RD
22728 return resultobj;
22729 fail:
22730 return NULL;
22731}
22732
22733
a95a7133 22734static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22735 PyObject *resultobj;
22736 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22737 wxDC *arg2 = 0 ;
22738 double arg3 ;
22739 double arg4 ;
22740 double arg5 ;
22741 double arg6 ;
22742 bool arg7 = (bool) True ;
22743 PyObject * obj0 = 0 ;
22744 PyObject * obj1 = 0 ;
8edf1c75
RD
22745 PyObject * obj2 = 0 ;
22746 PyObject * obj3 = 0 ;
22747 PyObject * obj4 = 0 ;
22748 PyObject * obj5 = 0 ;
44127b65
RD
22749 PyObject * obj6 = 0 ;
22750 char *kwnames[] = {
22751 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22752 };
22753
8edf1c75 22754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22758 SWIG_POINTER_EXCEPTION | 0)) == -1)
22759 SWIG_fail;
44127b65 22760 if (arg2 == NULL) {
2f4c0a16
RD
22761 PyErr_SetString(PyExc_TypeError,"null reference");
22762 SWIG_fail;
22763 }
22764 arg3 = (double) SWIG_AsDouble(obj2);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 arg4 = (double) SWIG_AsDouble(obj3);
22767 if (PyErr_Occurred()) SWIG_fail;
22768 arg5 = (double) SWIG_AsDouble(obj4);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 arg6 = (double) SWIG_AsDouble(obj5);
22771 if (PyErr_Occurred()) SWIG_fail;
44127b65 22772 if (obj6) {
2f4c0a16
RD
22773 arg7 = (bool) SWIG_AsBool(obj6);
22774 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22775 }
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22779
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 Py_INCREF(Py_None); resultobj = Py_None;
22784 return resultobj;
22785 fail:
22786 return NULL;
22787}
22788
22789
a95a7133 22790static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22791 PyObject *resultobj;
22792 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22793 bool arg2 ;
22794 double arg3 ;
22795 double arg4 ;
22796 int arg5 = (int) 0 ;
22797 int arg6 = (int) 0 ;
22798 PyObject * obj0 = 0 ;
22799 PyObject * obj1 = 0 ;
8edf1c75
RD
22800 PyObject * obj2 = 0 ;
22801 PyObject * obj3 = 0 ;
22802 PyObject * obj4 = 0 ;
22803 PyObject * obj5 = 0 ;
44127b65
RD
22804 char *kwnames[] = {
22805 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22806 };
22807
8edf1c75 22808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22811 arg2 = (bool) SWIG_AsBool(obj1);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 arg3 = (double) SWIG_AsDouble(obj2);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 arg4 = (double) SWIG_AsDouble(obj3);
22816 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22817 if (obj4) {
2f4c0a16
RD
22818 arg5 = (int) SWIG_AsInt(obj4);
22819 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22820 }
22821 if (obj5) {
2f4c0a16
RD
22822 arg6 = (int) SWIG_AsInt(obj5);
22823 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22824 }
44127b65
RD
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22828
22829 wxPyEndAllowThreads(__tstate);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 }
22832 Py_INCREF(Py_None); resultobj = Py_None;
22833 return resultobj;
22834 fail:
22835 return NULL;
22836}
22837
22838
a95a7133 22839static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22840 PyObject *resultobj;
22841 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22842 double arg2 ;
22843 double arg3 ;
22844 int arg4 = (int) 0 ;
22845 int arg5 = (int) 0 ;
22846 PyObject * obj0 = 0 ;
8edf1c75
RD
22847 PyObject * obj1 = 0 ;
22848 PyObject * obj2 = 0 ;
22849 PyObject * obj3 = 0 ;
22850 PyObject * obj4 = 0 ;
44127b65
RD
22851 char *kwnames[] = {
22852 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22853 };
22854
8edf1c75 22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22858 arg2 = (double) SWIG_AsDouble(obj1);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 arg3 = (double) SWIG_AsDouble(obj2);
22861 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22862 if (obj3) {
2f4c0a16
RD
22863 arg4 = (int) SWIG_AsInt(obj3);
22864 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22865 }
22866 if (obj4) {
2f4c0a16
RD
22867 arg5 = (int) SWIG_AsInt(obj4);
22868 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22869 }
44127b65
RD
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 Py_INCREF(Py_None); resultobj = Py_None;
22878 return resultobj;
22879 fail:
22880 return NULL;
22881}
22882
22883
a95a7133 22884static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22885 PyObject *resultobj;
22886 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22887 double arg2 ;
22888 double arg3 ;
22889 int arg4 = (int) 0 ;
22890 int arg5 = (int) 0 ;
22891 PyObject * obj0 = 0 ;
8edf1c75
RD
22892 PyObject * obj1 = 0 ;
22893 PyObject * obj2 = 0 ;
22894 PyObject * obj3 = 0 ;
22895 PyObject * obj4 = 0 ;
44127b65
RD
22896 char *kwnames[] = {
22897 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22898 };
22899
8edf1c75 22900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22903 arg2 = (double) SWIG_AsDouble(obj1);
22904 if (PyErr_Occurred()) SWIG_fail;
22905 arg3 = (double) SWIG_AsDouble(obj2);
22906 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22907 if (obj3) {
2f4c0a16
RD
22908 arg4 = (int) SWIG_AsInt(obj3);
22909 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22910 }
22911 if (obj4) {
2f4c0a16
RD
22912 arg5 = (int) SWIG_AsInt(obj4);
22913 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22914 }
44127b65
RD
22915 {
22916 PyThreadState* __tstate = wxPyBeginAllowThreads();
22917 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22918
22919 wxPyEndAllowThreads(__tstate);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 }
22922 Py_INCREF(Py_None); resultobj = Py_None;
22923 return resultobj;
22924 fail:
22925 return NULL;
22926}
22927
22928
a95a7133 22929static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22930 PyObject *resultobj;
22931 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22932 bool arg2 ;
22933 double arg3 ;
22934 double arg4 ;
22935 int arg5 = (int) 0 ;
22936 int arg6 = (int) 0 ;
22937 PyObject * obj0 = 0 ;
22938 PyObject * obj1 = 0 ;
8edf1c75
RD
22939 PyObject * obj2 = 0 ;
22940 PyObject * obj3 = 0 ;
22941 PyObject * obj4 = 0 ;
22942 PyObject * obj5 = 0 ;
44127b65
RD
22943 char *kwnames[] = {
22944 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22945 };
22946
8edf1c75 22947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22950 arg2 = (bool) SWIG_AsBool(obj1);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 arg3 = (double) SWIG_AsDouble(obj2);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 arg4 = (double) SWIG_AsDouble(obj3);
22955 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22956 if (obj4) {
2f4c0a16
RD
22957 arg5 = (int) SWIG_AsInt(obj4);
22958 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22959 }
22960 if (obj5) {
2f4c0a16
RD
22961 arg6 = (int) SWIG_AsInt(obj5);
22962 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22963 }
44127b65
RD
22964 {
22965 PyThreadState* __tstate = wxPyBeginAllowThreads();
22966 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
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
a95a7133 22978static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
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_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22997 arg2 = (double) SWIG_AsDouble(obj1);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 arg3 = (double) SWIG_AsDouble(obj2);
23000 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23001 if (obj3) {
2f4c0a16
RD
23002 arg4 = (int) SWIG_AsInt(obj3);
23003 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23004 }
23005 if (obj4) {
2f4c0a16
RD
23006 arg5 = (int) SWIG_AsInt(obj4);
23007 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23008 }
44127b65
RD
23009 {
23010 PyThreadState* __tstate = wxPyBeginAllowThreads();
23011 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23012
23013 wxPyEndAllowThreads(__tstate);
23014 if (PyErr_Occurred()) SWIG_fail;
23015 }
23016 Py_INCREF(Py_None); resultobj = Py_None;
23017 return resultobj;
23018 fail:
23019 return NULL;
23020}
23021
23022
a95a7133 23023static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23024 PyObject *resultobj;
23025 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23026 double arg2 ;
23027 double arg3 ;
23028 int arg4 = (int) 0 ;
23029 int arg5 = (int) 0 ;
23030 PyObject * obj0 = 0 ;
8edf1c75
RD
23031 PyObject * obj1 = 0 ;
23032 PyObject * obj2 = 0 ;
23033 PyObject * obj3 = 0 ;
23034 PyObject * obj4 = 0 ;
44127b65
RD
23035 char *kwnames[] = {
23036 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23037 };
23038
8edf1c75 23039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23042 arg2 = (double) SWIG_AsDouble(obj1);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 arg3 = (double) SWIG_AsDouble(obj2);
23045 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23046 if (obj3) {
2f4c0a16
RD
23047 arg4 = (int) SWIG_AsInt(obj3);
23048 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23049 }
23050 if (obj4) {
2f4c0a16
RD
23051 arg5 = (int) SWIG_AsInt(obj4);
23052 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23053 }
44127b65
RD
23054 {
23055 PyThreadState* __tstate = wxPyBeginAllowThreads();
23056 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23057
23058 wxPyEndAllowThreads(__tstate);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 }
23061 Py_INCREF(Py_None); resultobj = Py_None;
23062 return resultobj;
23063 fail:
23064 return NULL;
23065}
23066
23067
a95a7133 23068static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23069 PyObject *resultobj;
23070 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23071 wxDC *arg2 = 0 ;
23072 double arg3 ;
23073 double arg4 ;
23074 double arg5 ;
23075 double arg6 ;
23076 PyObject * obj0 = 0 ;
23077 PyObject * obj1 = 0 ;
8edf1c75
RD
23078 PyObject * obj2 = 0 ;
23079 PyObject * obj3 = 0 ;
23080 PyObject * obj4 = 0 ;
23081 PyObject * obj5 = 0 ;
44127b65
RD
23082 char *kwnames[] = {
23083 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23084 };
23085
8edf1c75 23086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23090 SWIG_POINTER_EXCEPTION | 0)) == -1)
23091 SWIG_fail;
44127b65 23092 if (arg2 == NULL) {
2f4c0a16
RD
23093 PyErr_SetString(PyExc_TypeError,"null reference");
23094 SWIG_fail;
8edf1c75 23095 }
2f4c0a16
RD
23096 arg3 = (double) SWIG_AsDouble(obj2);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 arg4 = (double) SWIG_AsDouble(obj3);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 arg5 = (double) SWIG_AsDouble(obj4);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 arg6 = (double) SWIG_AsDouble(obj5);
23103 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23104 {
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
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
a95a7133 23118static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23119 PyObject *resultobj;
23120 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23121 wxDC *arg2 = 0 ;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "dc", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23132 SWIG_POINTER_EXCEPTION | 0)) == -1)
23133 SWIG_fail;
44127b65 23134 if (arg2 == NULL) {
2f4c0a16
RD
23135 PyErr_SetString(PyExc_TypeError,"null reference");
23136 SWIG_fail;
44127b65
RD
23137 }
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 (arg1)->base_OnDrawControlPoints(*arg2);
23141
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 Py_INCREF(Py_None); resultobj = Py_None;
23146 return resultobj;
23147 fail:
23148 return NULL;
23149}
23150
23151
a95a7133 23152static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23153 PyObject *resultobj;
23154 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23155 wxDC *arg2 = 0 ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "dc", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1)
23167 SWIG_fail;
44127b65 23168 if (arg2 == NULL) {
2f4c0a16
RD
23169 PyErr_SetString(PyExc_TypeError,"null reference");
23170 SWIG_fail;
44127b65
RD
23171 }
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 (arg1)->base_OnEraseControlPoints(*arg2);
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 Py_INCREF(Py_None); resultobj = Py_None;
23180 return resultobj;
23181 fail:
23182 return NULL;
23183}
23184
23185
a95a7133 23186static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23187 PyObject *resultobj;
23188 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23189 wxDC *arg2 = 0 ;
23190 bool arg3 = (bool) True ;
23191 PyObject * obj0 = 0 ;
23192 PyObject * obj1 = 0 ;
23193 PyObject * obj2 = 0 ;
23194 char *kwnames[] = {
23195 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23196 };
23197
23198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23202 SWIG_POINTER_EXCEPTION | 0)) == -1)
23203 SWIG_fail;
44127b65 23204 if (arg2 == NULL) {
2f4c0a16
RD
23205 PyErr_SetString(PyExc_TypeError,"null reference");
23206 SWIG_fail;
44127b65
RD
23207 }
23208 if (obj2) {
2f4c0a16
RD
23209 arg3 = (bool) SWIG_AsBool(obj2);
23210 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23211 }
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 (arg1)->base_OnMoveLink(*arg2,arg3);
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 Py_INCREF(Py_None); resultobj = Py_None;
23220 return resultobj;
23221 fail:
23222 return NULL;
23223}
23224
23225
a95a7133 23226static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23227 PyObject *resultobj;
23228 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23229 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23230 bool arg3 ;
23231 double arg4 ;
23232 double arg5 ;
23233 int arg6 = (int) 0 ;
23234 int arg7 = (int) 0 ;
23235 PyObject * obj0 = 0 ;
23236 PyObject * obj1 = 0 ;
23237 PyObject * obj2 = 0 ;
8edf1c75
RD
23238 PyObject * obj3 = 0 ;
23239 PyObject * obj4 = 0 ;
23240 PyObject * obj5 = 0 ;
23241 PyObject * obj6 = 0 ;
44127b65
RD
23242 char *kwnames[] = {
23243 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23244 };
23245
8edf1c75 23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
23247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23251 arg3 = (bool) SWIG_AsBool(obj2);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 arg4 = (double) SWIG_AsDouble(obj3);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 arg5 = (double) SWIG_AsDouble(obj4);
23256 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23257 if (obj5) {
2f4c0a16
RD
23258 arg6 = (int) SWIG_AsInt(obj5);
23259 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23260 }
23261 if (obj6) {
2f4c0a16
RD
23262 arg7 = (int) SWIG_AsInt(obj6);
23263 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23264 }
44127b65
RD
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276}
23277
23278
a95a7133 23279static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23280 PyObject *resultobj;
23281 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23282 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23283 double arg3 ;
23284 double arg4 ;
23285 int arg5 = (int) 0 ;
23286 int arg6 = (int) 0 ;
23287 PyObject * obj0 = 0 ;
23288 PyObject * obj1 = 0 ;
8edf1c75
RD
23289 PyObject * obj2 = 0 ;
23290 PyObject * obj3 = 0 ;
23291 PyObject * obj4 = 0 ;
23292 PyObject * obj5 = 0 ;
44127b65
RD
23293 char *kwnames[] = {
23294 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23295 };
23296
8edf1c75 23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23302 arg3 = (double) SWIG_AsDouble(obj2);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 arg4 = (double) SWIG_AsDouble(obj3);
23305 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23306 if (obj4) {
2f4c0a16
RD
23307 arg5 = (int) SWIG_AsInt(obj4);
23308 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23309 }
23310 if (obj5) {
2f4c0a16
RD
23311 arg6 = (int) SWIG_AsInt(obj5);
23312 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23313 }
44127b65
RD
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 Py_INCREF(Py_None); resultobj = Py_None;
23322 return resultobj;
23323 fail:
23324 return NULL;
23325}
23326
23327
a95a7133 23328static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23329 PyObject *resultobj;
23330 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23331 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23332 double arg3 ;
23333 double arg4 ;
23334 int arg5 = (int) 0 ;
23335 int arg6 = (int) 0 ;
23336 PyObject * obj0 = 0 ;
23337 PyObject * obj1 = 0 ;
8edf1c75
RD
23338 PyObject * obj2 = 0 ;
23339 PyObject * obj3 = 0 ;
23340 PyObject * obj4 = 0 ;
23341 PyObject * obj5 = 0 ;
44127b65
RD
23342 char *kwnames[] = {
23343 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23344 };
23345
8edf1c75 23346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23351 arg3 = (double) SWIG_AsDouble(obj2);
23352 if (PyErr_Occurred()) SWIG_fail;
23353 arg4 = (double) SWIG_AsDouble(obj3);
23354 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23355 if (obj4) {
2f4c0a16
RD
23356 arg5 = (int) SWIG_AsInt(obj4);
23357 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23358 }
23359 if (obj5) {
2f4c0a16
RD
23360 arg6 = (int) SWIG_AsInt(obj5);
23361 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23362 }
44127b65
RD
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374}
23375
23376
a95a7133 23377static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23378 PyObject *resultobj;
23379 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23380 double arg2 ;
23381 double arg3 ;
23382 PyObject * obj0 = 0 ;
8edf1c75
RD
23383 PyObject * obj1 = 0 ;
23384 PyObject * obj2 = 0 ;
44127b65
RD
23385 char *kwnames[] = {
23386 (char *) "self",(char *) "w",(char *) "h", NULL
23387 };
23388
8edf1c75 23389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23392 arg2 = (double) SWIG_AsDouble(obj1);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 arg3 = (double) SWIG_AsDouble(obj2);
23395 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
23398 (arg1)->base_OnBeginSize(arg2,arg3);
23399
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 Py_INCREF(Py_None); resultobj = Py_None;
23404 return resultobj;
23405 fail:
23406 return NULL;
23407}
23408
23409
a95a7133 23410static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23411 PyObject *resultobj;
23412 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23413 double arg2 ;
23414 double arg3 ;
23415 PyObject * obj0 = 0 ;
8edf1c75
RD
23416 PyObject * obj1 = 0 ;
23417 PyObject * obj2 = 0 ;
44127b65
RD
23418 char *kwnames[] = {
23419 (char *) "self",(char *) "w",(char *) "h", NULL
23420 };
23421
8edf1c75 23422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23425 arg2 = (double) SWIG_AsDouble(obj1);
23426 if (PyErr_Occurred()) SWIG_fail;
23427 arg3 = (double) SWIG_AsDouble(obj2);
23428 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23429 {
2f4c0a16
RD
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 (arg1)->base_OnEndSize(arg2,arg3);
23432
23433 wxPyEndAllowThreads(__tstate);
44127b65
RD
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 Py_INCREF(Py_None); resultobj = Py_None;
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
a95a7133 23443static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
23444 PyObject *obj;
23445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23446 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23447 Py_INCREF(obj);
23448 return Py_BuildValue((char *)"");
23449}
a95a7133 23450static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23451 PyObject *resultobj;
23452 double arg1 = (double) 0.0 ;
23453 wxPyCircleShape *result;
8edf1c75 23454 PyObject * obj0 = 0 ;
44127b65
RD
23455 char *kwnames[] = {
23456 (char *) "width", NULL
23457 };
23458
8edf1c75
RD
23459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23460 if (obj0) {
2f4c0a16
RD
23461 arg1 = (double) SWIG_AsDouble(obj0);
23462 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23463 }
44127b65
RD
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23467
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
2f4c0a16 23471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
44127b65
RD
23472 return resultobj;
23473 fail:
23474 return NULL;
23475}
23476
23477
a95a7133 23478static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23479 PyObject *resultobj;
23480 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23481 PyObject *arg2 = (PyObject *) 0 ;
23482 PyObject *arg3 = (PyObject *) 0 ;
23483 PyObject * obj0 = 0 ;
23484 PyObject * obj1 = 0 ;
23485 PyObject * obj2 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self",(char *) "self",(char *) "_class", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
23493 arg2 = obj1;
23494 arg3 = obj2;
23495 {
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 (arg1)->_setCallbackInfo(arg2,arg3);
23498
23499 wxPyEndAllowThreads(__tstate);
23500 if (PyErr_Occurred()) SWIG_fail;
23501 }
23502 Py_INCREF(Py_None); resultobj = Py_None;
23503 return resultobj;
23504 fail:
23505 return NULL;
23506}
23507
23508
a95a7133 23509static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23510 PyObject *resultobj;
23511 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23512 wxDC *arg2 = 0 ;
23513 PyObject * obj0 = 0 ;
23514 PyObject * obj1 = 0 ;
23515 char *kwnames[] = {
23516 (char *) "self",(char *) "dc", NULL
23517 };
23518
23519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23523 SWIG_POINTER_EXCEPTION | 0)) == -1)
23524 SWIG_fail;
44127b65 23525 if (arg2 == NULL) {
2f4c0a16
RD
23526 PyErr_SetString(PyExc_TypeError,"null reference");
23527 SWIG_fail;
44127b65
RD
23528 }
23529 {
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 (arg1)->base_OnDraw(*arg2);
23532
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 Py_INCREF(Py_None); resultobj = Py_None;
23537 return resultobj;
23538 fail:
23539 return NULL;
23540}
23541
23542
a95a7133 23543static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23544 PyObject *resultobj;
23545 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23546 wxDC *arg2 = 0 ;
23547 PyObject * obj0 = 0 ;
23548 PyObject * obj1 = 0 ;
23549 char *kwnames[] = {
23550 (char *) "self",(char *) "dc", NULL
23551 };
23552
23553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23557 SWIG_POINTER_EXCEPTION | 0)) == -1)
23558 SWIG_fail;
44127b65 23559 if (arg2 == NULL) {
2f4c0a16
RD
23560 PyErr_SetString(PyExc_TypeError,"null reference");
23561 SWIG_fail;
44127b65
RD
23562 }
23563 {
23564 PyThreadState* __tstate = wxPyBeginAllowThreads();
23565 (arg1)->base_OnDrawContents(*arg2);
23566
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 Py_INCREF(Py_None); resultobj = Py_None;
23571 return resultobj;
23572 fail:
23573 return NULL;
23574}
23575
23576
a95a7133 23577static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23578 PyObject *resultobj;
23579 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23580 wxDC *arg2 = 0 ;
23581 bool arg3 = (bool) FALSE ;
23582 PyObject * obj0 = 0 ;
23583 PyObject * obj1 = 0 ;
23584 PyObject * obj2 = 0 ;
23585 char *kwnames[] = {
23586 (char *) "self",(char *) "dc",(char *) "erase", NULL
23587 };
23588
23589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23593 SWIG_POINTER_EXCEPTION | 0)) == -1)
23594 SWIG_fail;
44127b65 23595 if (arg2 == NULL) {
2f4c0a16
RD
23596 PyErr_SetString(PyExc_TypeError,"null reference");
23597 SWIG_fail;
44127b65
RD
23598 }
23599 if (obj2) {
2f4c0a16
RD
23600 arg3 = (bool) SWIG_AsBool(obj2);
23601 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23602 }
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 (arg1)->base_OnDrawBranches(*arg2,arg3);
23606
23607 wxPyEndAllowThreads(__tstate);
23608 if (PyErr_Occurred()) SWIG_fail;
23609 }
23610 Py_INCREF(Py_None); resultobj = Py_None;
23611 return resultobj;
23612 fail:
23613 return NULL;
23614}
23615
23616
a95a7133 23617static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23618 PyObject *resultobj;
23619 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23620 wxDC *arg2 = 0 ;
23621 PyObject * obj0 = 0 ;
23622 PyObject * obj1 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self",(char *) "dc", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23631 SWIG_POINTER_EXCEPTION | 0)) == -1)
23632 SWIG_fail;
44127b65 23633 if (arg2 == NULL) {
2f4c0a16
RD
23634 PyErr_SetString(PyExc_TypeError,"null reference");
23635 SWIG_fail;
44127b65
RD
23636 }
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 (arg1)->base_OnMoveLinks(*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
a95a7133 23651static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23652 PyObject *resultobj;
23653 wxPyCircleShape *arg1 = (wxPyCircleShape *) 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:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1)
23666 SWIG_fail;
44127b65 23667 if (arg2 == NULL) {
2f4c0a16
RD
23668 PyErr_SetString(PyExc_TypeError,"null reference");
23669 SWIG_fail;
44127b65
RD
23670 }
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 (arg1)->base_OnErase(*arg2);
23674
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
23678 Py_INCREF(Py_None); resultobj = Py_None;
23679 return resultobj;
23680 fail:
23681 return NULL;
23682}
23683
23684
a95a7133 23685static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23686 PyObject *resultobj;
23687 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23688 wxDC *arg2 = 0 ;
23689 PyObject * obj0 = 0 ;
23690 PyObject * obj1 = 0 ;
23691 char *kwnames[] = {
23692 (char *) "self",(char *) "dc", NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23699 SWIG_POINTER_EXCEPTION | 0)) == -1)
23700 SWIG_fail;
44127b65 23701 if (arg2 == NULL) {
2f4c0a16
RD
23702 PyErr_SetString(PyExc_TypeError,"null reference");
23703 SWIG_fail;
44127b65
RD
23704 }
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 (arg1)->base_OnEraseContents(*arg2);
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
a95a7133 23719static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23720 PyObject *resultobj;
23721 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23722 wxDC *arg2 = 0 ;
23723 PyObject * obj0 = 0 ;
23724 PyObject * obj1 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self",(char *) "dc", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23733 SWIG_POINTER_EXCEPTION | 0)) == -1)
23734 SWIG_fail;
44127b65 23735 if (arg2 == NULL) {
2f4c0a16
RD
23736 PyErr_SetString(PyExc_TypeError,"null reference");
23737 SWIG_fail;
44127b65
RD
23738 }
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 (arg1)->base_OnHighlight(*arg2);
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 Py_INCREF(Py_None); resultobj = Py_None;
23747 return resultobj;
23748 fail:
23749 return NULL;
23750}
23751
23752
a95a7133 23753static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23754 PyObject *resultobj;
23755 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23756 double arg2 ;
23757 double arg3 ;
23758 int arg4 = (int) 0 ;
23759 int arg5 = (int) 0 ;
23760 PyObject * obj0 = 0 ;
8edf1c75
RD
23761 PyObject * obj1 = 0 ;
23762 PyObject * obj2 = 0 ;
23763 PyObject * obj3 = 0 ;
23764 PyObject * obj4 = 0 ;
44127b65
RD
23765 char *kwnames[] = {
23766 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23767 };
23768
8edf1c75 23769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23772 arg2 = (double) SWIG_AsDouble(obj1);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 arg3 = (double) SWIG_AsDouble(obj2);
23775 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23776 if (obj3) {
2f4c0a16
RD
23777 arg4 = (int) SWIG_AsInt(obj3);
23778 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23779 }
23780 if (obj4) {
2f4c0a16
RD
23781 arg5 = (int) SWIG_AsInt(obj4);
23782 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23783 }
44127b65
RD
23784 {
23785 PyThreadState* __tstate = wxPyBeginAllowThreads();
23786 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23787
23788 wxPyEndAllowThreads(__tstate);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 }
23791 Py_INCREF(Py_None); resultobj = Py_None;
23792 return resultobj;
23793 fail:
23794 return NULL;
23795}
23796
23797
a95a7133 23798static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23799 PyObject *resultobj;
23800 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23801 double arg2 ;
23802 double arg3 ;
23803 int arg4 = (int) 0 ;
23804 int arg5 = (int) 0 ;
23805 PyObject * obj0 = 0 ;
8edf1c75
RD
23806 PyObject * obj1 = 0 ;
23807 PyObject * obj2 = 0 ;
23808 PyObject * obj3 = 0 ;
23809 PyObject * obj4 = 0 ;
44127b65
RD
23810 char *kwnames[] = {
23811 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23812 };
23813
8edf1c75 23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23817 arg2 = (double) SWIG_AsDouble(obj1);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 arg3 = (double) SWIG_AsDouble(obj2);
23820 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23821 if (obj3) {
2f4c0a16
RD
23822 arg4 = (int) SWIG_AsInt(obj3);
23823 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23824 }
23825 if (obj4) {
2f4c0a16
RD
23826 arg5 = (int) SWIG_AsInt(obj4);
23827 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23828 }
44127b65
RD
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 Py_INCREF(Py_None); resultobj = Py_None;
23837 return resultobj;
23838 fail:
23839 return NULL;
23840}
23841
23842
a95a7133 23843static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23844 PyObject *resultobj;
23845 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23846 double arg2 ;
23847 double arg3 ;
23848 int arg4 = (int) 0 ;
23849 int arg5 = (int) 0 ;
23850 PyObject * obj0 = 0 ;
8edf1c75
RD
23851 PyObject * obj1 = 0 ;
23852 PyObject * obj2 = 0 ;
23853 PyObject * obj3 = 0 ;
23854 PyObject * obj4 = 0 ;
44127b65
RD
23855 char *kwnames[] = {
23856 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23857 };
23858
8edf1c75 23859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23862 arg2 = (double) SWIG_AsDouble(obj1);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 arg3 = (double) SWIG_AsDouble(obj2);
23865 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23866 if (obj3) {
2f4c0a16
RD
23867 arg4 = (int) SWIG_AsInt(obj3);
23868 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23869 }
23870 if (obj4) {
2f4c0a16
RD
23871 arg5 = (int) SWIG_AsInt(obj4);
23872 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23873 }
44127b65
RD
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 Py_INCREF(Py_None); resultobj = Py_None;
23882 return resultobj;
23883 fail:
23884 return NULL;
23885}
23886
23887
a95a7133 23888static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23889 PyObject *resultobj;
23890 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23891 double arg2 ;
23892 double arg3 ;
23893 PyObject * obj0 = 0 ;
8edf1c75
RD
23894 PyObject * obj1 = 0 ;
23895 PyObject * obj2 = 0 ;
44127b65
RD
23896 char *kwnames[] = {
23897 (char *) "self",(char *) "x",(char *) "y", NULL
23898 };
23899
8edf1c75 23900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23903 arg2 = (double) SWIG_AsDouble(obj1);
23904 if (PyErr_Occurred()) SWIG_fail;
23905 arg3 = (double) SWIG_AsDouble(obj2);
23906 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 (arg1)->base_OnSize(arg2,arg3);
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 Py_INCREF(Py_None); resultobj = Py_None;
23915 return resultobj;
23916 fail:
23917 return NULL;
23918}
23919
23920
a95a7133 23921static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23922 PyObject *resultobj;
23923 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23924 wxDC *arg2 = 0 ;
23925 double arg3 ;
23926 double arg4 ;
23927 double arg5 ;
23928 double arg6 ;
23929 bool arg7 = (bool) True ;
23930 bool result;
23931 PyObject * obj0 = 0 ;
23932 PyObject * obj1 = 0 ;
8edf1c75
RD
23933 PyObject * obj2 = 0 ;
23934 PyObject * obj3 = 0 ;
23935 PyObject * obj4 = 0 ;
23936 PyObject * obj5 = 0 ;
44127b65
RD
23937 PyObject * obj6 = 0 ;
23938 char *kwnames[] = {
23939 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23940 };
23941
8edf1c75 23942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
23943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23946 SWIG_POINTER_EXCEPTION | 0)) == -1)
23947 SWIG_fail;
44127b65 23948 if (arg2 == NULL) {
2f4c0a16
RD
23949 PyErr_SetString(PyExc_TypeError,"null reference");
23950 SWIG_fail;
23951 }
23952 arg3 = (double) SWIG_AsDouble(obj2);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 arg4 = (double) SWIG_AsDouble(obj3);
23955 if (PyErr_Occurred()) SWIG_fail;
23956 arg5 = (double) SWIG_AsDouble(obj4);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 arg6 = (double) SWIG_AsDouble(obj5);
23959 if (PyErr_Occurred()) SWIG_fail;
44127b65 23960 if (obj6) {
2f4c0a16
RD
23961 arg7 = (bool) SWIG_AsBool(obj6);
23962 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23963 }
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23967
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
fbc46b20
RD
23971 {
23972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23973 }
44127b65
RD
23974 return resultobj;
23975 fail:
23976 return NULL;
23977}
23978
23979
a95a7133 23980static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23981 PyObject *resultobj;
23982 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23983 wxDC *arg2 = 0 ;
23984 double arg3 ;
23985 double arg4 ;
23986 double arg5 ;
23987 double arg6 ;
23988 bool arg7 = (bool) True ;
23989 PyObject * obj0 = 0 ;
23990 PyObject * obj1 = 0 ;
8edf1c75
RD
23991 PyObject * obj2 = 0 ;
23992 PyObject * obj3 = 0 ;
23993 PyObject * obj4 = 0 ;
23994 PyObject * obj5 = 0 ;
44127b65
RD
23995 PyObject * obj6 = 0 ;
23996 char *kwnames[] = {
23997 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23998 };
23999
8edf1c75 24000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
24001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24004 SWIG_POINTER_EXCEPTION | 0)) == -1)
24005 SWIG_fail;
44127b65 24006 if (arg2 == NULL) {
2f4c0a16
RD
24007 PyErr_SetString(PyExc_TypeError,"null reference");
24008 SWIG_fail;
24009 }
24010 arg3 = (double) SWIG_AsDouble(obj2);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 arg4 = (double) SWIG_AsDouble(obj3);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 arg5 = (double) SWIG_AsDouble(obj4);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 arg6 = (double) SWIG_AsDouble(obj5);
24017 if (PyErr_Occurred()) SWIG_fail;
44127b65 24018 if (obj6) {
2f4c0a16
RD
24019 arg7 = (bool) SWIG_AsBool(obj6);
24020 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24021 }
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 Py_INCREF(Py_None); resultobj = Py_None;
24030 return resultobj;
24031 fail:
24032 return NULL;
24033}
24034
24035
a95a7133 24036static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24037 PyObject *resultobj;
24038 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24039 bool arg2 ;
24040 double arg3 ;
24041 double arg4 ;
24042 int arg5 = (int) 0 ;
24043 int arg6 = (int) 0 ;
24044 PyObject * obj0 = 0 ;
24045 PyObject * obj1 = 0 ;
8edf1c75
RD
24046 PyObject * obj2 = 0 ;
24047 PyObject * obj3 = 0 ;
24048 PyObject * obj4 = 0 ;
24049 PyObject * obj5 = 0 ;
44127b65
RD
24050 char *kwnames[] = {
24051 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24052 };
24053
8edf1c75 24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24057 arg2 = (bool) SWIG_AsBool(obj1);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 arg3 = (double) SWIG_AsDouble(obj2);
24060 if (PyErr_Occurred()) SWIG_fail;
24061 arg4 = (double) SWIG_AsDouble(obj3);
24062 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24063 if (obj4) {
2f4c0a16
RD
24064 arg5 = (int) SWIG_AsInt(obj4);
24065 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24066 }
24067 if (obj5) {
2f4c0a16
RD
24068 arg6 = (int) SWIG_AsInt(obj5);
24069 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24070 }
44127b65
RD
24071 {
24072 PyThreadState* __tstate = wxPyBeginAllowThreads();
24073 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24074
24075 wxPyEndAllowThreads(__tstate);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 }
24078 Py_INCREF(Py_None); resultobj = Py_None;
24079 return resultobj;
24080 fail:
24081 return NULL;
24082}
24083
24084
a95a7133 24085static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24086 PyObject *resultobj;
24087 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24088 double arg2 ;
24089 double arg3 ;
24090 int arg4 = (int) 0 ;
24091 int arg5 = (int) 0 ;
24092 PyObject * obj0 = 0 ;
8edf1c75
RD
24093 PyObject * obj1 = 0 ;
24094 PyObject * obj2 = 0 ;
24095 PyObject * obj3 = 0 ;
24096 PyObject * obj4 = 0 ;
44127b65
RD
24097 char *kwnames[] = {
24098 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24099 };
24100
8edf1c75 24101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24104 arg2 = (double) SWIG_AsDouble(obj1);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 arg3 = (double) SWIG_AsDouble(obj2);
24107 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24108 if (obj3) {
2f4c0a16
RD
24109 arg4 = (int) SWIG_AsInt(obj3);
24110 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24111 }
24112 if (obj4) {
2f4c0a16
RD
24113 arg5 = (int) SWIG_AsInt(obj4);
24114 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24115 }
44127b65
RD
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 Py_INCREF(Py_None); resultobj = Py_None;
24124 return resultobj;
24125 fail:
24126 return NULL;
24127}
24128
24129
a95a7133 24130static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24131 PyObject *resultobj;
24132 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24133 double arg2 ;
24134 double arg3 ;
24135 int arg4 = (int) 0 ;
24136 int arg5 = (int) 0 ;
24137 PyObject * obj0 = 0 ;
8edf1c75
RD
24138 PyObject * obj1 = 0 ;
24139 PyObject * obj2 = 0 ;
24140 PyObject * obj3 = 0 ;
24141 PyObject * obj4 = 0 ;
44127b65
RD
24142 char *kwnames[] = {
24143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24144 };
24145
8edf1c75 24146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24149 arg2 = (double) SWIG_AsDouble(obj1);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 arg3 = (double) SWIG_AsDouble(obj2);
24152 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24153 if (obj3) {
2f4c0a16
RD
24154 arg4 = (int) SWIG_AsInt(obj3);
24155 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24156 }
24157 if (obj4) {
2f4c0a16
RD
24158 arg5 = (int) SWIG_AsInt(obj4);
24159 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24160 }
44127b65
RD
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24164
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 Py_INCREF(Py_None); resultobj = Py_None;
24169 return resultobj;
24170 fail:
24171 return NULL;
24172}
24173
24174
a95a7133 24175static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24176 PyObject *resultobj;
24177 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24178 bool arg2 ;
24179 double arg3 ;
24180 double arg4 ;
24181 int arg5 = (int) 0 ;
24182 int arg6 = (int) 0 ;
24183 PyObject * obj0 = 0 ;
24184 PyObject * obj1 = 0 ;
8edf1c75
RD
24185 PyObject * obj2 = 0 ;
24186 PyObject * obj3 = 0 ;
24187 PyObject * obj4 = 0 ;
24188 PyObject * obj5 = 0 ;
44127b65
RD
24189 char *kwnames[] = {
24190 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24191 };
24192
8edf1c75 24193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24196 arg2 = (bool) SWIG_AsBool(obj1);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 arg3 = (double) SWIG_AsDouble(obj2);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 arg4 = (double) SWIG_AsDouble(obj3);
24201 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24202 if (obj4) {
2f4c0a16
RD
24203 arg5 = (int) SWIG_AsInt(obj4);
24204 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24205 }
24206 if (obj5) {
2f4c0a16
RD
24207 arg6 = (int) SWIG_AsInt(obj5);
24208 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24209 }
44127b65
RD
24210 {
24211 PyThreadState* __tstate = wxPyBeginAllowThreads();
24212 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24213
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
24217 Py_INCREF(Py_None); resultobj = Py_None;
24218 return resultobj;
24219 fail:
24220 return NULL;
24221}
24222
24223
a95a7133 24224static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24225 PyObject *resultobj;
24226 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24227 double arg2 ;
24228 double arg3 ;
24229 int arg4 = (int) 0 ;
24230 int arg5 = (int) 0 ;
24231 PyObject * obj0 = 0 ;
8edf1c75
RD
24232 PyObject * obj1 = 0 ;
24233 PyObject * obj2 = 0 ;
24234 PyObject * obj3 = 0 ;
24235 PyObject * obj4 = 0 ;
44127b65
RD
24236 char *kwnames[] = {
24237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24238 };
24239
8edf1c75 24240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24243 arg2 = (double) SWIG_AsDouble(obj1);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 arg3 = (double) SWIG_AsDouble(obj2);
24246 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24247 if (obj3) {
2f4c0a16
RD
24248 arg4 = (int) SWIG_AsInt(obj3);
24249 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24250 }
24251 if (obj4) {
2f4c0a16
RD
24252 arg5 = (int) SWIG_AsInt(obj4);
24253 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24254 }
44127b65
RD
24255 {
24256 PyThreadState* __tstate = wxPyBeginAllowThreads();
24257 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24258
24259 wxPyEndAllowThreads(__tstate);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 }
24262 Py_INCREF(Py_None); resultobj = Py_None;
24263 return resultobj;
24264 fail:
24265 return NULL;
24266}
24267
24268
a95a7133 24269static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24270 PyObject *resultobj;
24271 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24272 double arg2 ;
24273 double arg3 ;
24274 int arg4 = (int) 0 ;
24275 int arg5 = (int) 0 ;
24276 PyObject * obj0 = 0 ;
8edf1c75
RD
24277 PyObject * obj1 = 0 ;
24278 PyObject * obj2 = 0 ;
24279 PyObject * obj3 = 0 ;
24280 PyObject * obj4 = 0 ;
44127b65
RD
24281 char *kwnames[] = {
24282 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24283 };
24284
8edf1c75 24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24288 arg2 = (double) SWIG_AsDouble(obj1);
24289 if (PyErr_Occurred()) SWIG_fail;
24290 arg3 = (double) SWIG_AsDouble(obj2);
24291 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24292 if (obj3) {
2f4c0a16
RD
24293 arg4 = (int) SWIG_AsInt(obj3);
24294 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24295 }
24296 if (obj4) {
2f4c0a16
RD
24297 arg5 = (int) SWIG_AsInt(obj4);
24298 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24299 }
44127b65
RD
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 Py_INCREF(Py_None); resultobj = Py_None;
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
a95a7133 24314static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24315 PyObject *resultobj;
24316 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24317 wxDC *arg2 = 0 ;
24318 double arg3 ;
24319 double arg4 ;
24320 double arg5 ;
24321 double arg6 ;
24322 PyObject * obj0 = 0 ;
24323 PyObject * obj1 = 0 ;
8edf1c75
RD
24324 PyObject * obj2 = 0 ;
24325 PyObject * obj3 = 0 ;
24326 PyObject * obj4 = 0 ;
24327 PyObject * obj5 = 0 ;
44127b65
RD
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24330 };
24331
8edf1c75 24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24336 SWIG_POINTER_EXCEPTION | 0)) == -1)
24337 SWIG_fail;
44127b65 24338 if (arg2 == NULL) {
2f4c0a16
RD
24339 PyErr_SetString(PyExc_TypeError,"null reference");
24340 SWIG_fail;
8edf1c75 24341 }
2f4c0a16
RD
24342 arg3 = (double) SWIG_AsDouble(obj2);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 arg4 = (double) SWIG_AsDouble(obj3);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 arg5 = (double) SWIG_AsDouble(obj4);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 arg6 = (double) SWIG_AsDouble(obj5);
24349 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24353
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 Py_INCREF(Py_None); resultobj = Py_None;
24358 return resultobj;
24359 fail:
24360 return NULL;
24361}
24362
24363
a95a7133 24364static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24365 PyObject *resultobj;
24366 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24367 wxDC *arg2 = 0 ;
24368 PyObject * obj0 = 0 ;
24369 PyObject * obj1 = 0 ;
24370 char *kwnames[] = {
24371 (char *) "self",(char *) "dc", NULL
24372 };
24373
24374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24378 SWIG_POINTER_EXCEPTION | 0)) == -1)
24379 SWIG_fail;
44127b65 24380 if (arg2 == NULL) {
2f4c0a16
RD
24381 PyErr_SetString(PyExc_TypeError,"null reference");
24382 SWIG_fail;
44127b65
RD
24383 }
24384 {
24385 PyThreadState* __tstate = wxPyBeginAllowThreads();
24386 (arg1)->base_OnDrawControlPoints(*arg2);
24387
24388 wxPyEndAllowThreads(__tstate);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 Py_INCREF(Py_None); resultobj = Py_None;
24392 return resultobj;
24393 fail:
24394 return NULL;
24395}
24396
24397
a95a7133 24398static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24399 PyObject *resultobj;
24400 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24401 wxDC *arg2 = 0 ;
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "dc", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24412 SWIG_POINTER_EXCEPTION | 0)) == -1)
24413 SWIG_fail;
44127b65 24414 if (arg2 == NULL) {
2f4c0a16
RD
24415 PyErr_SetString(PyExc_TypeError,"null reference");
24416 SWIG_fail;
44127b65
RD
24417 }
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 (arg1)->base_OnEraseControlPoints(*arg2);
24421
24422 wxPyEndAllowThreads(__tstate);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
24425 Py_INCREF(Py_None); resultobj = Py_None;
24426 return resultobj;
24427 fail:
24428 return NULL;
24429}
24430
24431
a95a7133 24432static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24433 PyObject *resultobj;
24434 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24435 wxDC *arg2 = 0 ;
24436 bool arg3 = (bool) True ;
24437 PyObject * obj0 = 0 ;
24438 PyObject * obj1 = 0 ;
24439 PyObject * obj2 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24448 SWIG_POINTER_EXCEPTION | 0)) == -1)
24449 SWIG_fail;
44127b65 24450 if (arg2 == NULL) {
2f4c0a16
RD
24451 PyErr_SetString(PyExc_TypeError,"null reference");
24452 SWIG_fail;
44127b65
RD
24453 }
24454 if (obj2) {
2f4c0a16
RD
24455 arg3 = (bool) SWIG_AsBool(obj2);
24456 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24457 }
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 (arg1)->base_OnMoveLink(*arg2,arg3);
24461
24462 wxPyEndAllowThreads(__tstate);
24463 if (PyErr_Occurred()) SWIG_fail;
24464 }
24465 Py_INCREF(Py_None); resultobj = Py_None;
24466 return resultobj;
24467 fail:
24468 return NULL;
24469}
24470
24471
a95a7133 24472static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24473 PyObject *resultobj;
24474 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24475 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24476 bool arg3 ;
24477 double arg4 ;
24478 double arg5 ;
24479 int arg6 = (int) 0 ;
24480 int arg7 = (int) 0 ;
24481 PyObject * obj0 = 0 ;
24482 PyObject * obj1 = 0 ;
24483 PyObject * obj2 = 0 ;
8edf1c75
RD
24484 PyObject * obj3 = 0 ;
24485 PyObject * obj4 = 0 ;
24486 PyObject * obj5 = 0 ;
24487 PyObject * obj6 = 0 ;
44127b65
RD
24488 char *kwnames[] = {
24489 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24490 };
24491
8edf1c75 24492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
24493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24497 arg3 = (bool) SWIG_AsBool(obj2);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 arg4 = (double) SWIG_AsDouble(obj3);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 arg5 = (double) SWIG_AsDouble(obj4);
24502 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24503 if (obj5) {
2f4c0a16
RD
24504 arg6 = (int) SWIG_AsInt(obj5);
24505 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24506 }
24507 if (obj6) {
2f4c0a16
RD
24508 arg7 = (int) SWIG_AsInt(obj6);
24509 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24510 }
44127b65
RD
24511 {
24512 PyThreadState* __tstate = wxPyBeginAllowThreads();
24513 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24514
24515 wxPyEndAllowThreads(__tstate);
24516 if (PyErr_Occurred()) SWIG_fail;
24517 }
24518 Py_INCREF(Py_None); resultobj = Py_None;
24519 return resultobj;
24520 fail:
24521 return NULL;
24522}
24523
24524
a95a7133 24525static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24526 PyObject *resultobj;
24527 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24528 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24529 double arg3 ;
24530 double arg4 ;
24531 int arg5 = (int) 0 ;
24532 int arg6 = (int) 0 ;
24533 PyObject * obj0 = 0 ;
24534 PyObject * obj1 = 0 ;
8edf1c75
RD
24535 PyObject * obj2 = 0 ;
24536 PyObject * obj3 = 0 ;
24537 PyObject * obj4 = 0 ;
24538 PyObject * obj5 = 0 ;
44127b65
RD
24539 char *kwnames[] = {
24540 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24541 };
24542
8edf1c75 24543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24548 arg3 = (double) SWIG_AsDouble(obj2);
24549 if (PyErr_Occurred()) SWIG_fail;
24550 arg4 = (double) SWIG_AsDouble(obj3);
24551 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24552 if (obj4) {
2f4c0a16
RD
24553 arg5 = (int) SWIG_AsInt(obj4);
24554 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24555 }
24556 if (obj5) {
2f4c0a16
RD
24557 arg6 = (int) SWIG_AsInt(obj5);
24558 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24559 }
44127b65
RD
24560 {
24561 PyThreadState* __tstate = wxPyBeginAllowThreads();
24562 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24563
24564 wxPyEndAllowThreads(__tstate);
24565 if (PyErr_Occurred()) SWIG_fail;
24566 }
24567 Py_INCREF(Py_None); resultobj = Py_None;
24568 return resultobj;
24569 fail:
24570 return NULL;
24571}
24572
24573
a95a7133 24574static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24575 PyObject *resultobj;
24576 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24577 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24578 double arg3 ;
24579 double arg4 ;
24580 int arg5 = (int) 0 ;
24581 int arg6 = (int) 0 ;
24582 PyObject * obj0 = 0 ;
24583 PyObject * obj1 = 0 ;
8edf1c75
RD
24584 PyObject * obj2 = 0 ;
24585 PyObject * obj3 = 0 ;
24586 PyObject * obj4 = 0 ;
24587 PyObject * obj5 = 0 ;
44127b65
RD
24588 char *kwnames[] = {
24589 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24590 };
24591
8edf1c75 24592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24597 arg3 = (double) SWIG_AsDouble(obj2);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 arg4 = (double) SWIG_AsDouble(obj3);
24600 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24601 if (obj4) {
2f4c0a16
RD
24602 arg5 = (int) SWIG_AsInt(obj4);
24603 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24604 }
24605 if (obj5) {
2f4c0a16
RD
24606 arg6 = (int) SWIG_AsInt(obj5);
24607 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24608 }
44127b65
RD
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24612
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 Py_INCREF(Py_None); resultobj = Py_None;
24617 return resultobj;
24618 fail:
24619 return NULL;
24620}
24621
24622
a95a7133 24623static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24624 PyObject *resultobj;
24625 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24626 double arg2 ;
24627 double arg3 ;
24628 PyObject * obj0 = 0 ;
8edf1c75
RD
24629 PyObject * obj1 = 0 ;
24630 PyObject * obj2 = 0 ;
44127b65
RD
24631 char *kwnames[] = {
24632 (char *) "self",(char *) "w",(char *) "h", NULL
24633 };
24634
8edf1c75 24635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24638 arg2 = (double) SWIG_AsDouble(obj1);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 arg3 = (double) SWIG_AsDouble(obj2);
24641 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24642 {
24643 PyThreadState* __tstate = wxPyBeginAllowThreads();
24644 (arg1)->base_OnBeginSize(arg2,arg3);
24645
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 Py_INCREF(Py_None); resultobj = Py_None;
24650 return resultobj;
24651 fail:
24652 return NULL;
24653}
24654
24655
a95a7133 24656static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24657 PyObject *resultobj;
24658 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24659 double arg2 ;
24660 double arg3 ;
24661 PyObject * obj0 = 0 ;
8edf1c75
RD
24662 PyObject * obj1 = 0 ;
24663 PyObject * obj2 = 0 ;
44127b65
RD
24664 char *kwnames[] = {
24665 (char *) "self",(char *) "w",(char *) "h", NULL
24666 };
24667
8edf1c75 24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24671 arg2 = (double) SWIG_AsDouble(obj1);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 arg3 = (double) SWIG_AsDouble(obj2);
24674 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24675 {
24676 PyThreadState* __tstate = wxPyBeginAllowThreads();
24677 (arg1)->base_OnEndSize(arg2,arg3);
24678
24679 wxPyEndAllowThreads(__tstate);
24680 if (PyErr_Occurred()) SWIG_fail;
24681 }
24682 Py_INCREF(Py_None); resultobj = Py_None;
24683 return resultobj;
24684 fail:
24685 return NULL;
24686}
24687
24688
a95a7133 24689static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
24690 PyObject *obj;
24691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24692 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
24693 Py_INCREF(obj);
24694 return Py_BuildValue((char *)"");
24695}
a95a7133 24696static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24697 PyObject *resultobj;
24698 int arg1 = (int) 0 ;
24699 int arg2 = (int) 0 ;
24700 double arg3 = (double) 0.0 ;
24701 double arg4 = (double) 0.0 ;
24702 wxString const &arg5_defvalue = wxPyEmptyString ;
24703 wxString *arg5 = (wxString *) &arg5_defvalue ;
24704 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
24705 long arg7 = (long) -1 ;
24706 wxArrowHead *result;
24707 bool temp5 = False ;
8edf1c75
RD
24708 PyObject * obj0 = 0 ;
24709 PyObject * obj1 = 0 ;
24710 PyObject * obj2 = 0 ;
24711 PyObject * obj3 = 0 ;
44127b65
RD
24712 PyObject * obj4 = 0 ;
24713 PyObject * obj5 = 0 ;
8edf1c75 24714 PyObject * obj6 = 0 ;
44127b65
RD
24715 char *kwnames[] = {
24716 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24717 };
24718
8edf1c75
RD
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24720 if (obj0) {
2f4c0a16
RD
24721 arg1 = (int) SWIG_AsInt(obj0);
24722 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24723 }
24724 if (obj1) {
2f4c0a16
RD
24725 arg2 = (int) SWIG_AsInt(obj1);
24726 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24727 }
24728 if (obj2) {
2f4c0a16
RD
24729 arg3 = (double) SWIG_AsDouble(obj2);
24730 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24731 }
24732 if (obj3) {
2f4c0a16
RD
24733 arg4 = (double) SWIG_AsDouble(obj3);
24734 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24735 }
44127b65
RD
24736 if (obj4) {
24737 {
24738 arg5 = wxString_in_helper(obj4);
24739 if (arg5 == NULL) SWIG_fail;
24740 temp5 = True;
24741 }
24742 }
24743 if (obj5) {
2f4c0a16
RD
24744 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPseudoMetaFile,
24745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 24746 }
8edf1c75 24747 if (obj6) {
2f4c0a16
RD
24748 arg7 = (long) SWIG_AsLong(obj6);
24749 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24750 }
44127b65
RD
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 {
24759 resultobj = wxPyMake_wxObject(result);
24760 }
24761 {
24762 if (temp5)
24763 delete arg5;
24764 }
24765 return resultobj;
24766 fail:
24767 {
24768 if (temp5)
24769 delete arg5;
24770 }
24771 return NULL;
24772}
24773
24774
a95a7133 24775static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24776 PyObject *resultobj;
24777 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24778 PyObject * obj0 = 0 ;
24779 char *kwnames[] = {
24780 (char *) "self", NULL
24781 };
24782
24783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 delete arg1;
24789
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 Py_INCREF(Py_None); resultobj = Py_None;
24794 return resultobj;
24795 fail:
24796 return NULL;
24797}
24798
24799
a95a7133 24800static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24801 PyObject *resultobj;
24802 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24803 int result;
24804 PyObject * obj0 = 0 ;
24805 char *kwnames[] = {
24806 (char *) "self", NULL
24807 };
24808
24809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 result = (int)(arg1)->_GetType();
24815
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
2f4c0a16 24819 resultobj = SWIG_FromInt((int)result);
44127b65
RD
24820 return resultobj;
24821 fail:
24822 return NULL;
24823}
24824
24825
a95a7133 24826static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24827 PyObject *resultobj;
24828 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24829 int result;
24830 PyObject * obj0 = 0 ;
24831 char *kwnames[] = {
24832 (char *) "self", NULL
24833 };
24834
24835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 result = (int)(arg1)->GetPosition();
24841
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
2f4c0a16 24845 resultobj = SWIG_FromInt((int)result);
44127b65
RD
24846 return resultobj;
24847 fail:
24848 return NULL;
24849}
24850
24851
a95a7133 24852static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24853 PyObject *resultobj;
24854 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24855 int arg2 ;
24856 PyObject * obj0 = 0 ;
8edf1c75 24857 PyObject * obj1 = 0 ;
44127b65
RD
24858 char *kwnames[] = {
24859 (char *) "self",(char *) "pos", NULL
24860 };
24861
8edf1c75 24862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24865 arg2 = (int) SWIG_AsInt(obj1);
24866 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 (arg1)->SetPosition(arg2);
24870
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 Py_INCREF(Py_None); resultobj = Py_None;
24875 return resultobj;
24876 fail:
24877 return NULL;
24878}
24879
24880
a95a7133 24881static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24882 PyObject *resultobj;
24883 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24884 double result;
24885 PyObject * obj0 = 0 ;
24886 char *kwnames[] = {
24887 (char *) "self", NULL
24888 };
24889
24890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24893 {
24894 PyThreadState* __tstate = wxPyBeginAllowThreads();
24895 result = (double)(arg1)->GetXOffset();
24896
24897 wxPyEndAllowThreads(__tstate);
24898 if (PyErr_Occurred()) SWIG_fail;
24899 }
2f4c0a16 24900 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
24901 return resultobj;
24902 fail:
24903 return NULL;
24904}
24905
24906
a95a7133 24907static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24908 PyObject *resultobj;
24909 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24910 double result;
24911 PyObject * obj0 = 0 ;
24912 char *kwnames[] = {
24913 (char *) "self", NULL
24914 };
24915
24916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24919 {
24920 PyThreadState* __tstate = wxPyBeginAllowThreads();
24921 result = (double)(arg1)->GetYOffset();
24922
24923 wxPyEndAllowThreads(__tstate);
24924 if (PyErr_Occurred()) SWIG_fail;
24925 }
2f4c0a16 24926 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
24927 return resultobj;
24928 fail:
24929 return NULL;
24930}
24931
24932
a95a7133 24933static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24934 PyObject *resultobj;
24935 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24936 double result;
24937 PyObject * obj0 = 0 ;
24938 char *kwnames[] = {
24939 (char *) "self", NULL
24940 };
24941
24942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 result = (double)(arg1)->GetSpacing();
24948
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
2f4c0a16 24952 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
24953 return resultobj;
24954 fail:
24955 return NULL;
24956}
24957
24958
a95a7133 24959static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24960 PyObject *resultobj;
24961 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24962 double result;
24963 PyObject * obj0 = 0 ;
24964 char *kwnames[] = {
24965 (char *) "self", NULL
24966 };
24967
24968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 result = (double)(arg1)->GetSize();
24974
24975 wxPyEndAllowThreads(__tstate);
24976 if (PyErr_Occurred()) SWIG_fail;
24977 }
2f4c0a16 24978 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
24979 return resultobj;
24980 fail:
24981 return NULL;
24982}
24983
24984
a95a7133 24985static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24986 PyObject *resultobj;
24987 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24988 wxString result;
24989 PyObject * obj0 = 0 ;
24990 char *kwnames[] = {
24991 (char *) "self", NULL
24992 };
24993
24994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 result = (arg1)->GetName();
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 {
25005#if wxUSE_UNICODE
25006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25007#else
25008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25009#endif
25010 }
25011 return resultobj;
25012 fail:
25013 return NULL;
25014}
25015
25016
a95a7133 25017static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25018 PyObject *resultobj;
25019 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25020 double arg2 ;
25021 PyObject * obj0 = 0 ;
8edf1c75 25022 PyObject * obj1 = 0 ;
44127b65
RD
25023 char *kwnames[] = {
25024 (char *) "self",(char *) "x", NULL
25025 };
25026
8edf1c75 25027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25030 arg2 = (double) SWIG_AsDouble(obj1);
25031 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 (arg1)->SetXOffset(arg2);
25035
25036 wxPyEndAllowThreads(__tstate);
25037 if (PyErr_Occurred()) SWIG_fail;
25038 }
25039 Py_INCREF(Py_None); resultobj = Py_None;
25040 return resultobj;
25041 fail:
25042 return NULL;
25043}
25044
25045
a95a7133 25046static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25047 PyObject *resultobj;
25048 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25049 double arg2 ;
25050 PyObject * obj0 = 0 ;
8edf1c75 25051 PyObject * obj1 = 0 ;
44127b65
RD
25052 char *kwnames[] = {
25053 (char *) "self",(char *) "y", NULL
25054 };
25055
8edf1c75 25056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25059 arg2 = (double) SWIG_AsDouble(obj1);
25060 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25061 {
25062 PyThreadState* __tstate = wxPyBeginAllowThreads();
25063 (arg1)->SetYOffset(arg2);
25064
25065 wxPyEndAllowThreads(__tstate);
25066 if (PyErr_Occurred()) SWIG_fail;
25067 }
25068 Py_INCREF(Py_None); resultobj = Py_None;
25069 return resultobj;
25070 fail:
25071 return NULL;
25072}
25073
25074
a95a7133 25075static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25076 PyObject *resultobj;
25077 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25078 wxPseudoMetaFile *result;
25079 PyObject * obj0 = 0 ;
25080 char *kwnames[] = {
25081 (char *) "self", NULL
25082 };
25083
25084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
25090
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 {
25095 resultobj = wxPyMake_wxObject(result);
25096 }
25097 return resultobj;
25098 fail:
25099 return NULL;
25100}
25101
25102
a95a7133 25103static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25104 PyObject *resultobj;
25105 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25106 long result;
25107 PyObject * obj0 = 0 ;
25108 char *kwnames[] = {
25109 (char *) "self", NULL
25110 };
25111
25112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25115 {
25116 PyThreadState* __tstate = wxPyBeginAllowThreads();
25117 result = (long)(arg1)->GetId();
25118
25119 wxPyEndAllowThreads(__tstate);
25120 if (PyErr_Occurred()) SWIG_fail;
25121 }
2f4c0a16 25122 resultobj = SWIG_FromLong((long)result);
44127b65
RD
25123 return resultobj;
25124 fail:
25125 return NULL;
25126}
25127
25128
a95a7133 25129static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25130 PyObject *resultobj;
25131 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25132 int result;
25133 PyObject * obj0 = 0 ;
25134 char *kwnames[] = {
25135 (char *) "self", NULL
25136 };
25137
25138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 result = (int)(arg1)->GetArrowEnd();
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
2f4c0a16 25148 resultobj = SWIG_FromInt((int)result);
44127b65
RD
25149 return resultobj;
25150 fail:
25151 return NULL;
25152}
25153
25154
a95a7133 25155static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25156 PyObject *resultobj;
25157 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25158 double result;
25159 PyObject * obj0 = 0 ;
25160 char *kwnames[] = {
25161 (char *) "self", NULL
25162 };
25163
25164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25167 {
25168 PyThreadState* __tstate = wxPyBeginAllowThreads();
25169 result = (double)(arg1)->GetArrowSize();
25170
25171 wxPyEndAllowThreads(__tstate);
25172 if (PyErr_Occurred()) SWIG_fail;
25173 }
2f4c0a16 25174 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
25175 return resultobj;
25176 fail:
25177 return NULL;
25178}
25179
25180
a95a7133 25181static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25182 PyObject *resultobj;
25183 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25184 double arg2 ;
25185 PyObject * obj0 = 0 ;
8edf1c75 25186 PyObject * obj1 = 0 ;
44127b65
RD
25187 char *kwnames[] = {
25188 (char *) "self",(char *) "size", NULL
25189 };
25190
8edf1c75 25191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25194 arg2 = (double) SWIG_AsDouble(obj1);
25195 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 (arg1)->SetSize(arg2);
25199
25200 wxPyEndAllowThreads(__tstate);
25201 if (PyErr_Occurred()) SWIG_fail;
25202 }
25203 Py_INCREF(Py_None); resultobj = Py_None;
25204 return resultobj;
25205 fail:
25206 return NULL;
25207}
25208
25209
a95a7133 25210static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25211 PyObject *resultobj;
25212 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25213 double arg2 ;
25214 PyObject * obj0 = 0 ;
8edf1c75 25215 PyObject * obj1 = 0 ;
44127b65
RD
25216 char *kwnames[] = {
25217 (char *) "self",(char *) "sp", NULL
25218 };
25219
8edf1c75 25220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25223 arg2 = (double) SWIG_AsDouble(obj1);
25224 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25225 {
25226 PyThreadState* __tstate = wxPyBeginAllowThreads();
25227 (arg1)->SetSpacing(arg2);
25228
25229 wxPyEndAllowThreads(__tstate);
25230 if (PyErr_Occurred()) SWIG_fail;
25231 }
25232 Py_INCREF(Py_None); resultobj = Py_None;
25233 return resultobj;
25234 fail:
25235 return NULL;
25236}
25237
25238
a95a7133 25239static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
25240 PyObject *obj;
25241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25242 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25243 Py_INCREF(obj);
25244 return Py_BuildValue((char *)"");
25245}
a95a7133 25246static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25247 PyObject *resultobj;
25248 wxPyLineShape *result;
25249 char *kwnames[] = {
25250 NULL
25251 };
25252
25253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (wxPyLineShape *)new wxPyLineShape();
25257
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
2f4c0a16 25261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
44127b65
RD
25262 return resultobj;
25263 fail:
25264 return NULL;
25265}
25266
25267
a95a7133 25268static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25269 PyObject *resultobj;
25270 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25271 PyObject *arg2 = (PyObject *) 0 ;
25272 PyObject *arg3 = (PyObject *) 0 ;
25273 PyObject * obj0 = 0 ;
25274 PyObject * obj1 = 0 ;
25275 PyObject * obj2 = 0 ;
25276 char *kwnames[] = {
25277 (char *) "self",(char *) "self",(char *) "_class", NULL
25278 };
25279
25280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25283 arg2 = obj1;
25284 arg3 = obj2;
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 (arg1)->_setCallbackInfo(arg2,arg3);
25288
25289 wxPyEndAllowThreads(__tstate);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 }
25292 Py_INCREF(Py_None); resultobj = Py_None;
25293 return resultobj;
25294 fail:
25295 return NULL;
25296}
25297
25298
a95a7133 25299static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25300 PyObject *resultobj;
25301 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25302 int arg2 ;
25303 int arg3 = (int) ARROW_POSITION_END ;
25304 double arg4 = (double) 10.0 ;
25305 double arg5 = (double) 0.0 ;
25306 wxString const &arg6_defvalue = wxPyEmptyString ;
25307 wxString *arg6 = (wxString *) &arg6_defvalue ;
25308 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25309 long arg8 = (long) -1 ;
25310 bool temp6 = False ;
25311 PyObject * obj0 = 0 ;
8edf1c75
RD
25312 PyObject * obj1 = 0 ;
25313 PyObject * obj2 = 0 ;
25314 PyObject * obj3 = 0 ;
25315 PyObject * obj4 = 0 ;
44127b65
RD
25316 PyObject * obj5 = 0 ;
25317 PyObject * obj6 = 0 ;
8edf1c75 25318 PyObject * obj7 = 0 ;
44127b65
RD
25319 char *kwnames[] = {
25320 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25321 };
25322
8edf1c75 25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
25324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25326 arg2 = (int) SWIG_AsInt(obj1);
25327 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25328 if (obj2) {
2f4c0a16
RD
25329 arg3 = (int) SWIG_AsInt(obj2);
25330 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25331 }
25332 if (obj3) {
2f4c0a16
RD
25333 arg4 = (double) SWIG_AsDouble(obj3);
25334 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25335 }
25336 if (obj4) {
2f4c0a16
RD
25337 arg5 = (double) SWIG_AsDouble(obj4);
25338 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25339 }
44127b65
RD
25340 if (obj5) {
25341 {
25342 arg6 = wxString_in_helper(obj5);
25343 if (arg6 == NULL) SWIG_fail;
25344 temp6 = True;
25345 }
25346 }
25347 if (obj6) {
2f4c0a16
RD
25348 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPseudoMetaFile,
25349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 25350 }
8edf1c75 25351 if (obj7) {
2f4c0a16
RD
25352 arg8 = (long) SWIG_AsLong(obj7);
25353 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25354 }
44127b65
RD
25355 {
25356 PyThreadState* __tstate = wxPyBeginAllowThreads();
25357 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25358
25359 wxPyEndAllowThreads(__tstate);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 Py_INCREF(Py_None); resultobj = Py_None;
25363 {
25364 if (temp6)
25365 delete arg6;
25366 }
25367 return resultobj;
25368 fail:
25369 {
25370 if (temp6)
25371 delete arg6;
25372 }
25373 return NULL;
25374}
25375
25376
a95a7133 25377static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25378 PyObject *resultobj;
25379 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25380 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25381 PyObject *arg3 = (PyObject *) 0 ;
25382 int arg4 ;
25383 PyObject * obj0 = 0 ;
25384 PyObject * obj1 = 0 ;
25385 PyObject * obj2 = 0 ;
8edf1c75 25386 PyObject * obj3 = 0 ;
44127b65
RD
25387 char *kwnames[] = {
25388 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25389 };
25390
8edf1c75 25391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
25395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 25396 arg3 = obj2;
2f4c0a16
RD
25397 arg4 = (int) SWIG_AsInt(obj3);
25398 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 Py_INCREF(Py_None); resultobj = Py_None;
25407 return resultobj;
25408 fail:
25409 return NULL;
25410}
25411
25412
a95a7133 25413static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25414 PyObject *resultobj;
25415 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25416 wxString *arg2 = 0 ;
25417 bool result;
25418 bool temp2 = False ;
25419 PyObject * obj0 = 0 ;
25420 PyObject * obj1 = 0 ;
25421 char *kwnames[] = {
25422 (char *) "self",(char *) "name", NULL
25423 };
25424
25425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25428 {
25429 arg2 = wxString_in_helper(obj1);
25430 if (arg2 == NULL) SWIG_fail;
25431 temp2 = True;
25432 }
25433 {
25434 PyThreadState* __tstate = wxPyBeginAllowThreads();
25435 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
25436
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
fbc46b20
RD
25440 {
25441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25442 }
44127b65
RD
25443 {
25444 if (temp2)
25445 delete arg2;
25446 }
25447 return resultobj;
25448 fail:
25449 {
25450 if (temp2)
25451 delete arg2;
25452 }
25453 return NULL;
25454}
25455
25456
a95a7133 25457static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25458 PyObject *resultobj;
25459 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25460 int arg2 = (int) -1 ;
25461 PyObject * obj0 = 0 ;
8edf1c75 25462 PyObject * obj1 = 0 ;
44127b65
RD
25463 char *kwnames[] = {
25464 (char *) "self",(char *) "position", NULL
25465 };
25466
8edf1c75 25467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 25470 if (obj1) {
2f4c0a16
RD
25471 arg2 = (int) SWIG_AsInt(obj1);
25472 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25473 }
44127b65
RD
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 (arg1)->ClearArrowsAtPosition(arg2);
25477
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 Py_INCREF(Py_None); resultobj = Py_None;
25482 return resultobj;
25483 fail:
25484 return NULL;
25485}
25486
25487
a95a7133 25488static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25489 PyObject *resultobj;
25490 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25491 wxDC *arg2 = 0 ;
25492 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
25493 double arg4 ;
25494 bool arg5 ;
25495 PyObject * obj0 = 0 ;
25496 PyObject * obj1 = 0 ;
25497 PyObject * obj2 = 0 ;
8edf1c75 25498 PyObject * obj3 = 0 ;
44127b65
RD
25499 PyObject * obj4 = 0 ;
25500 char *kwnames[] = {
25501 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25502 };
25503
8edf1c75 25504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25508 SWIG_POINTER_EXCEPTION | 0)) == -1)
25509 SWIG_fail;
44127b65 25510 if (arg2 == NULL) {
2f4c0a16
RD
25511 PyErr_SetString(PyExc_TypeError,"null reference");
25512 SWIG_fail;
2dbef272 25513 }
2f4c0a16
RD
25514 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
25515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25516 arg4 = (double) SWIG_AsDouble(obj3);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 arg5 = (bool) SWIG_AsBool(obj4);
25519 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25520 {
25521 PyThreadState* __tstate = wxPyBeginAllowThreads();
25522 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
25523
25524 wxPyEndAllowThreads(__tstate);
25525 if (PyErr_Occurred()) SWIG_fail;
25526 }
25527 Py_INCREF(Py_None); resultobj = Py_None;
25528 return resultobj;
25529 fail:
25530 return NULL;
25531}
25532
25533
a95a7133 25534static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25535 PyObject *resultobj;
25536 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25537 long arg2 ;
25538 bool result;
25539 PyObject * obj0 = 0 ;
8edf1c75 25540 PyObject * obj1 = 0 ;
44127b65
RD
25541 char *kwnames[] = {
25542 (char *) "self",(char *) "arrowId", NULL
25543 };
25544
8edf1c75 25545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25548 arg2 = (long) SWIG_AsLong(obj1);
25549 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 result = (bool)(arg1)->DeleteArrowHead(arg2);
25553
25554 wxPyEndAllowThreads(__tstate);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
fbc46b20
RD
25557 {
25558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25559 }
44127b65
RD
25560 return resultobj;
25561 fail:
25562 return NULL;
25563}
25564
25565
a95a7133 25566static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25567 PyObject *resultobj;
25568 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25569 int arg2 ;
25570 wxString *arg3 = 0 ;
25571 bool result;
25572 bool temp3 = False ;
25573 PyObject * obj0 = 0 ;
8edf1c75 25574 PyObject * obj1 = 0 ;
44127b65
RD
25575 PyObject * obj2 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self",(char *) "position",(char *) "name", NULL
25578 };
25579
8edf1c75 25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25583 arg2 = (int) SWIG_AsInt(obj1);
25584 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25585 {
25586 arg3 = wxString_in_helper(obj2);
25587 if (arg3 == NULL) SWIG_fail;
25588 temp3 = True;
25589 }
25590 {
25591 PyThreadState* __tstate = wxPyBeginAllowThreads();
25592 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
25593
25594 wxPyEndAllowThreads(__tstate);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
fbc46b20
RD
25597 {
25598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25599 }
44127b65
RD
25600 {
25601 if (temp3)
25602 delete arg3;
25603 }
25604 return resultobj;
25605 fail:
25606 {
25607 if (temp3)
25608 delete arg3;
25609 }
25610 return NULL;
25611}
25612
25613
a95a7133 25614static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25615 PyObject *resultobj;
25616 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25617 bool result;
25618 PyObject * obj0 = 0 ;
25619 char *kwnames[] = {
25620 (char *) "self", NULL
25621 };
25622
25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 result = (bool)(arg1)->DeleteLineControlPoint();
25629
25630 wxPyEndAllowThreads(__tstate);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 }
fbc46b20
RD
25633 {
25634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25635 }
44127b65
RD
25636 return resultobj;
25637 fail:
25638 return NULL;
25639}
25640
25641
a95a7133 25642static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25643 PyObject *resultobj;
25644 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25645 wxDC *arg2 = 0 ;
25646 PyObject * obj0 = 0 ;
25647 PyObject * obj1 = 0 ;
25648 char *kwnames[] = {
25649 (char *) "self",(char *) "dc", NULL
25650 };
25651
25652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25656 SWIG_POINTER_EXCEPTION | 0)) == -1)
25657 SWIG_fail;
44127b65 25658 if (arg2 == NULL) {
2f4c0a16
RD
25659 PyErr_SetString(PyExc_TypeError,"null reference");
25660 SWIG_fail;
44127b65
RD
25661 }
25662 {
25663 PyThreadState* __tstate = wxPyBeginAllowThreads();
25664 (arg1)->DrawArrows(*arg2);
25665
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
25669 Py_INCREF(Py_None); resultobj = Py_None;
25670 return resultobj;
25671 fail:
25672 return NULL;
25673}
25674
25675
a95a7133 25676static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25677 PyObject *resultobj;
25678 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25679 wxDC *arg2 = 0 ;
25680 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25681 double arg4 ;
25682 double arg5 ;
25683 PyObject * obj0 = 0 ;
25684 PyObject * obj1 = 0 ;
25685 PyObject * obj2 = 0 ;
8edf1c75
RD
25686 PyObject * obj3 = 0 ;
25687 PyObject * obj4 = 0 ;
44127b65
RD
25688 char *kwnames[] = {
25689 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25690 };
25691
8edf1c75 25692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25696 SWIG_POINTER_EXCEPTION | 0)) == -1)
25697 SWIG_fail;
44127b65 25698 if (arg2 == NULL) {
2f4c0a16
RD
25699 PyErr_SetString(PyExc_TypeError,"null reference");
25700 SWIG_fail;
8edf1c75 25701 }
2f4c0a16
RD
25702 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25704 arg4 = (double) SWIG_AsDouble(obj3);
25705 if (PyErr_Occurred()) SWIG_fail;
25706 arg5 = (double) SWIG_AsDouble(obj4);
25707 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25708 {
25709 PyThreadState* __tstate = wxPyBeginAllowThreads();
25710 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
25711
25712 wxPyEndAllowThreads(__tstate);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 }
25715 Py_INCREF(Py_None); resultobj = Py_None;
25716 return resultobj;
25717 fail:
25718 return NULL;
25719}
25720
25721
a95a7133 25722static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25723 PyObject *resultobj;
25724 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25725 wxDC *arg2 = 0 ;
25726 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25727 double arg4 ;
25728 double arg5 ;
25729 PyObject * obj0 = 0 ;
25730 PyObject * obj1 = 0 ;
25731 PyObject * obj2 = 0 ;
8edf1c75
RD
25732 PyObject * obj3 = 0 ;
25733 PyObject * obj4 = 0 ;
44127b65
RD
25734 char *kwnames[] = {
25735 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25736 };
25737
8edf1c75 25738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25742 SWIG_POINTER_EXCEPTION | 0)) == -1)
25743 SWIG_fail;
44127b65 25744 if (arg2 == NULL) {
2f4c0a16
RD
25745 PyErr_SetString(PyExc_TypeError,"null reference");
25746 SWIG_fail;
8edf1c75 25747 }
2f4c0a16
RD
25748 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25750 arg4 = (double) SWIG_AsDouble(obj3);
25751 if (PyErr_Occurred()) SWIG_fail;
25752 arg5 = (double) SWIG_AsDouble(obj4);
25753 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25754 {
25755 PyThreadState* __tstate = wxPyBeginAllowThreads();
25756 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
25757
25758 wxPyEndAllowThreads(__tstate);
25759 if (PyErr_Occurred()) SWIG_fail;
25760 }
25761 Py_INCREF(Py_None); resultobj = Py_None;
25762 return resultobj;
25763 fail:
25764 return NULL;
25765}
25766
25767
a95a7133 25768static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25769 PyObject *resultobj;
25770 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25771 long arg2 ;
25772 wxArrowHead *result;
25773 PyObject * obj0 = 0 ;
8edf1c75 25774 PyObject * obj1 = 0 ;
44127b65
RD
25775 char *kwnames[] = {
25776 (char *) "self",(char *) "arrowId", NULL
25777 };
25778
8edf1c75 25779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25782 arg2 = (long) SWIG_AsLong(obj1);
25783 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
25787
25788 wxPyEndAllowThreads(__tstate);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
25791 {
25792 resultobj = wxPyMake_wxObject(result);
25793 }
25794 return resultobj;
25795 fail:
25796 return NULL;
25797}
25798
25799
a95a7133 25800static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25801 PyObject *resultobj;
25802 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25803 int arg2 ;
25804 wxString *arg3 = 0 ;
25805 wxArrowHead *result;
25806 bool temp3 = False ;
25807 PyObject * obj0 = 0 ;
8edf1c75 25808 PyObject * obj1 = 0 ;
44127b65
RD
25809 PyObject * obj2 = 0 ;
25810 char *kwnames[] = {
25811 (char *) "self",(char *) "position",(char *) "name", NULL
25812 };
25813
8edf1c75 25814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25817 arg2 = (int) SWIG_AsInt(obj1);
25818 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25819 {
25820 arg3 = wxString_in_helper(obj2);
25821 if (arg3 == NULL) SWIG_fail;
25822 temp3 = True;
25823 }
25824 {
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
25827
25828 wxPyEndAllowThreads(__tstate);
25829 if (PyErr_Occurred()) SWIG_fail;
25830 }
25831 {
25832 resultobj = wxPyMake_wxObject(result);
25833 }
25834 {
25835 if (temp3)
25836 delete arg3;
25837 }
25838 return resultobj;
25839 fail:
25840 {
25841 if (temp3)
25842 delete arg3;
25843 }
25844 return NULL;
25845}
25846
25847
a95a7133 25848static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25849 PyObject *resultobj;
25850 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25851 double *arg2 = (double *) 0 ;
25852 double *arg3 = (double *) 0 ;
25853 double *arg4 = (double *) 0 ;
25854 double *arg5 = (double *) 0 ;
25855 double temp2 ;
25856 double temp3 ;
25857 double temp4 ;
25858 double temp5 ;
25859 PyObject * obj0 = 0 ;
25860 char *kwnames[] = {
25861 (char *) "self", NULL
25862 };
25863
25864 arg2 = &temp2;
25865 arg3 = &temp3;
25866 arg4 = &temp4;
25867 arg5 = &temp5;
25868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25871 {
25872 PyThreadState* __tstate = wxPyBeginAllowThreads();
25873 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
25874
25875 wxPyEndAllowThreads(__tstate);
25876 if (PyErr_Occurred()) SWIG_fail;
25877 }
25878 Py_INCREF(Py_None); resultobj = Py_None;
25879 {
25880 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25881 resultobj = t_output_helper(resultobj,o);
25882 }
25883 {
25884 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25885 resultobj = t_output_helper(resultobj,o);
25886 }
25887 {
25888 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25889 resultobj = t_output_helper(resultobj,o);
25890 }
25891 {
25892 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25893 resultobj = t_output_helper(resultobj,o);
25894 }
25895 return resultobj;
25896 fail:
25897 return NULL;
25898}
25899
25900
a95a7133 25901static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25902 PyObject *resultobj;
25903 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25904 double arg2 ;
25905 double arg3 ;
25906 int result;
25907 PyObject * obj0 = 0 ;
8edf1c75
RD
25908 PyObject * obj1 = 0 ;
25909 PyObject * obj2 = 0 ;
44127b65
RD
25910 char *kwnames[] = {
25911 (char *) "self",(char *) "x",(char *) "y", NULL
25912 };
25913
8edf1c75 25914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25917 arg2 = (double) SWIG_AsDouble(obj1);
25918 if (PyErr_Occurred()) SWIG_fail;
25919 arg3 = (double) SWIG_AsDouble(obj2);
25920 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25921 {
25922 PyThreadState* __tstate = wxPyBeginAllowThreads();
25923 result = (int)(arg1)->FindLinePosition(arg2,arg3);
25924
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
2f4c0a16 25928 resultobj = SWIG_FromInt((int)result);
44127b65
RD
25929 return resultobj;
25930 fail:
25931 return NULL;
25932}
25933
25934
a95a7133 25935static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25936 PyObject *resultobj;
25937 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25938 double result;
25939 PyObject * obj0 = 0 ;
25940 char *kwnames[] = {
25941 (char *) "self", NULL
25942 };
25943
25944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 result = (double)(arg1)->FindMinimumWidth();
25950
25951 wxPyEndAllowThreads(__tstate);
25952 if (PyErr_Occurred()) SWIG_fail;
25953 }
2f4c0a16 25954 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
25955 return resultobj;
25956 fail:
25957 return NULL;
25958}
25959
25960
a95a7133 25961static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25962 PyObject *resultobj;
25963 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25964 wxPyShape *arg2 = (wxPyShape *) 0 ;
25965 int *arg3 = (int *) 0 ;
25966 int *arg4 = (int *) 0 ;
25967 bool arg5 ;
25968 int temp3 ;
25969 int temp4 ;
25970 PyObject * obj0 = 0 ;
25971 PyObject * obj1 = 0 ;
25972 PyObject * obj2 = 0 ;
25973 char *kwnames[] = {
25974 (char *) "self",(char *) "image",(char *) "incoming", NULL
25975 };
25976
25977 arg3 = &temp3;
25978 arg4 = &temp4;
25979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
25983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25984 arg5 = (bool) SWIG_AsBool(obj2);
25985 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 (arg1)->FindNth(arg2,arg3,arg4,arg5);
25989
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 Py_INCREF(Py_None); resultobj = Py_None;
25994 {
25995 PyObject *o = PyInt_FromLong((long) (*arg3));
25996 resultobj = t_output_helper(resultobj,o);
25997 }
25998 {
25999 PyObject *o = PyInt_FromLong((long) (*arg4));
26000 resultobj = t_output_helper(resultobj,o);
26001 }
26002 return resultobj;
26003 fail:
26004 return NULL;
26005}
26006
26007
a95a7133 26008static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26009 PyObject *resultobj;
26010 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26011 int result;
26012 PyObject * obj0 = 0 ;
26013 char *kwnames[] = {
26014 (char *) "self", NULL
26015 };
26016
26017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26020 {
26021 PyThreadState* __tstate = wxPyBeginAllowThreads();
26022 result = (int)(arg1)->GetAttachmentFrom();
26023
26024 wxPyEndAllowThreads(__tstate);
26025 if (PyErr_Occurred()) SWIG_fail;
26026 }
2f4c0a16 26027 resultobj = SWIG_FromInt((int)result);
44127b65
RD
26028 return resultobj;
26029 fail:
26030 return NULL;
26031}
26032
26033
a95a7133 26034static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26035 PyObject *resultobj;
26036 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26037 int result;
26038 PyObject * obj0 = 0 ;
26039 char *kwnames[] = {
26040 (char *) "self", NULL
26041 };
26042
26043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 result = (int)(arg1)->GetAttachmentTo();
26049
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
2f4c0a16 26053 resultobj = SWIG_FromInt((int)result);
44127b65
RD
26054 return resultobj;
26055 fail:
26056 return NULL;
26057}
26058
26059
a95a7133 26060static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26061 PyObject *resultobj;
26062 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26063 double *arg2 = (double *) 0 ;
26064 double *arg3 = (double *) 0 ;
26065 double *arg4 = (double *) 0 ;
26066 double *arg5 = (double *) 0 ;
26067 double temp2 ;
26068 double temp3 ;
26069 double temp4 ;
26070 double temp5 ;
26071 PyObject * obj0 = 0 ;
26072 char *kwnames[] = {
26073 (char *) "self", NULL
26074 };
26075
26076 arg2 = &temp2;
26077 arg3 = &temp3;
26078 arg4 = &temp4;
26079 arg5 = &temp5;
26080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26083 {
26084 PyThreadState* __tstate = wxPyBeginAllowThreads();
26085 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
26086
26087 wxPyEndAllowThreads(__tstate);
26088 if (PyErr_Occurred()) SWIG_fail;
26089 }
26090 Py_INCREF(Py_None); resultobj = Py_None;
26091 {
26092 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26093 resultobj = t_output_helper(resultobj,o);
26094 }
26095 {
26096 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26097 resultobj = t_output_helper(resultobj,o);
26098 }
26099 {
26100 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26101 resultobj = t_output_helper(resultobj,o);
26102 }
26103 {
26104 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26105 resultobj = t_output_helper(resultobj,o);
26106 }
26107 return resultobj;
26108 fail:
26109 return NULL;
26110}
26111
26112
a95a7133 26113static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26114 PyObject *resultobj;
26115 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26116 wxPyShape *result;
26117 PyObject * obj0 = 0 ;
26118 char *kwnames[] = {
26119 (char *) "self", NULL
26120 };
26121
26122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 result = (wxPyShape *)(arg1)->GetFrom();
26128
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
26132 {
26133 resultobj = wxPyMake_wxShapeEvtHandler(result);
26134 }
26135 return resultobj;
26136 fail:
26137 return NULL;
26138}
26139
26140
a95a7133 26141static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26142 PyObject *resultobj;
26143 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26144 int arg2 ;
26145 double *arg3 = (double *) 0 ;
26146 double *arg4 = (double *) 0 ;
26147 double temp3 ;
26148 double temp4 ;
26149 PyObject * obj0 = 0 ;
8edf1c75 26150 PyObject * obj1 = 0 ;
44127b65
RD
26151 char *kwnames[] = {
26152 (char *) "self",(char *) "position", NULL
26153 };
26154
26155 arg3 = &temp3;
26156 arg4 = &temp4;
8edf1c75 26157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26160 arg2 = (int) SWIG_AsInt(obj1);
26161 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26162 {
26163 PyThreadState* __tstate = wxPyBeginAllowThreads();
26164 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26165
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
26169 Py_INCREF(Py_None); resultobj = Py_None;
26170 {
26171 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26172 resultobj = t_output_helper(resultobj,o);
26173 }
26174 {
26175 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26176 resultobj = t_output_helper(resultobj,o);
26177 }
26178 return resultobj;
26179 fail:
26180 return NULL;
26181}
26182
26183
a95a7133 26184static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26185 PyObject *resultobj;
26186 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26187 wxPyShape *arg2 = (wxPyShape *) 0 ;
26188 wxRealPoint *result;
26189 PyObject * obj0 = 0 ;
26190 PyObject * obj1 = 0 ;
26191 char *kwnames[] = {
26192 (char *) "self",(char *) "shape", NULL
26193 };
26194
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
2f4c0a16 26207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
44127b65
RD
26208 return resultobj;
26209 fail:
26210 return NULL;
26211}
26212
26213
a95a7133 26214static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26215 PyObject *resultobj;
26216 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26217 wxPyShape *result;
26218 PyObject * obj0 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self", NULL
26221 };
26222
26223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = (wxPyShape *)(arg1)->GetTo();
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 {
26234 resultobj = wxPyMake_wxShapeEvtHandler(result);
26235 }
26236 return resultobj;
26237 fail:
26238 return NULL;
26239}
26240
26241
a95a7133 26242static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26243 PyObject *resultobj;
26244 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26245 PyObject * obj0 = 0 ;
26246 char *kwnames[] = {
26247 (char *) "self", NULL
26248 };
26249
26250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 (arg1)->Initialise();
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
a95a7133 26267static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26268 PyObject *resultobj;
26269 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26270 wxDC *arg2 = (wxDC *) 0 ;
26271 PyObject * obj0 = 0 ;
26272 PyObject * obj1 = 0 ;
26273 char *kwnames[] = {
26274 (char *) "self",(char *) "dc", NULL
26275 };
26276
26277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 (arg1)->InsertLineControlPoint(arg2);
26285
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 Py_INCREF(Py_None); resultobj = Py_None;
26290 return resultobj;
26291 fail:
26292 return NULL;
26293}
26294
26295
a95a7133 26296static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26297 PyObject *resultobj;
26298 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26299 wxPyShape *arg2 = (wxPyShape *) 0 ;
26300 bool result;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self",(char *) "shape", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 result = (bool)(arg1)->IsEnd(arg2);
26315
26316 wxPyEndAllowThreads(__tstate);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
fbc46b20
RD
26319 {
26320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26321 }
44127b65
RD
26322 return resultobj;
26323 fail:
26324 return NULL;
26325}
26326
26327
a95a7133 26328static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26329 PyObject *resultobj;
26330 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26331 bool result;
26332 PyObject * obj0 = 0 ;
26333 char *kwnames[] = {
26334 (char *) "self", NULL
26335 };
26336
26337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26340 {
26341 PyThreadState* __tstate = wxPyBeginAllowThreads();
26342 result = (bool)(arg1)->IsSpline();
26343
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
fbc46b20
RD
26347 {
26348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26349 }
44127b65
RD
26350 return resultobj;
26351 fail:
26352 return NULL;
26353}
26354
26355
a95a7133 26356static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26357 PyObject *resultobj;
26358 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26359 int arg2 ;
26360 PyObject * obj0 = 0 ;
8edf1c75 26361 PyObject * obj1 = 0 ;
44127b65
RD
26362 char *kwnames[] = {
26363 (char *) "self",(char *) "n", NULL
26364 };
26365
8edf1c75 26366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26369 arg2 = (int) SWIG_AsInt(obj1);
26370 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26371 {
26372 PyThreadState* __tstate = wxPyBeginAllowThreads();
26373 (arg1)->MakeLineControlPoints(arg2);
26374
26375 wxPyEndAllowThreads(__tstate);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 }
26378 Py_INCREF(Py_None); resultobj = Py_None;
26379 return resultobj;
26380 fail:
26381 return NULL;
26382}
26383
26384
a95a7133 26385static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26386 PyObject *resultobj;
26387 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26388 PyObject *result;
26389 PyObject * obj0 = 0 ;
26390 char *kwnames[] = {
26391 (char *) "self", NULL
26392 };
26393
26394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26400
26401 wxPyEndAllowThreads(__tstate);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
26404 resultobj = result;
26405 return resultobj;
26406 fail:
26407 return NULL;
26408}
26409
26410
0346c964
RD
26411static PyObject *_wrap_PyLineShape_SetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26412 PyObject *resultobj;
26413 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26414 PyObject *arg2 = (PyObject *) 0 ;
26415 PyObject * obj0 = 0 ;
26416 PyObject * obj1 = 0 ;
26417 char *kwnames[] = {
26418 (char *) "self",(char *) "list", NULL
26419 };
26420
26421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26424 arg2 = obj1;
26425 {
26426 PyThreadState* __tstate = wxPyBeginAllowThreads();
26427 wxPyLineShape_SetLineControlPoints(arg1,arg2);
26428
26429 wxPyEndAllowThreads(__tstate);
26430 if (PyErr_Occurred()) SWIG_fail;
26431 }
26432 Py_INCREF(Py_None); resultobj = Py_None;
26433 return resultobj;
26434 fail:
26435 return NULL;
26436}
26437
26438
a95a7133 26439static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26440 PyObject *resultobj;
26441 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26442 int arg2 ;
26443 PyObject * obj0 = 0 ;
8edf1c75 26444 PyObject * obj1 = 0 ;
44127b65
RD
26445 char *kwnames[] = {
26446 (char *) "self",(char *) "fromAttach", NULL
26447 };
26448
8edf1c75 26449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26452 arg2 = (int) SWIG_AsInt(obj1);
26453 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26454 {
26455 PyThreadState* __tstate = wxPyBeginAllowThreads();
26456 (arg1)->SetAttachmentFrom(arg2);
26457
26458 wxPyEndAllowThreads(__tstate);
26459 if (PyErr_Occurred()) SWIG_fail;
26460 }
26461 Py_INCREF(Py_None); resultobj = Py_None;
26462 return resultobj;
26463 fail:
26464 return NULL;
26465}
26466
26467
a95a7133 26468static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26469 PyObject *resultobj;
26470 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26471 int arg2 ;
26472 int arg3 ;
26473 PyObject * obj0 = 0 ;
8edf1c75
RD
26474 PyObject * obj1 = 0 ;
26475 PyObject * obj2 = 0 ;
44127b65
RD
26476 char *kwnames[] = {
26477 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26478 };
26479
8edf1c75 26480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26483 arg2 = (int) SWIG_AsInt(obj1);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 arg3 = (int) SWIG_AsInt(obj2);
26486 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
26489 (arg1)->SetAttachments(arg2,arg3);
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 Py_INCREF(Py_None); resultobj = Py_None;
26495 return resultobj;
26496 fail:
26497 return NULL;
26498}
26499
26500
a95a7133 26501static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26502 PyObject *resultobj;
26503 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26504 int arg2 ;
26505 PyObject * obj0 = 0 ;
8edf1c75 26506 PyObject * obj1 = 0 ;
44127b65
RD
26507 char *kwnames[] = {
26508 (char *) "self",(char *) "toAttach", NULL
26509 };
26510
8edf1c75 26511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26514 arg2 = (int) SWIG_AsInt(obj1);
26515 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 (arg1)->SetAttachmentTo(arg2);
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 Py_INCREF(Py_None); resultobj = Py_None;
26524 return resultobj;
26525 fail:
26526 return NULL;
26527}
26528
26529
a95a7133 26530static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26531 PyObject *resultobj;
26532 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26533 double arg2 ;
26534 double arg3 ;
26535 double arg4 ;
26536 double arg5 ;
26537 PyObject * obj0 = 0 ;
8edf1c75
RD
26538 PyObject * obj1 = 0 ;
26539 PyObject * obj2 = 0 ;
26540 PyObject * obj3 = 0 ;
26541 PyObject * obj4 = 0 ;
44127b65
RD
26542 char *kwnames[] = {
26543 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26544 };
26545
8edf1c75 26546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
26547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26549 arg2 = (double) SWIG_AsDouble(obj1);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 arg3 = (double) SWIG_AsDouble(obj2);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 arg4 = (double) SWIG_AsDouble(obj3);
26554 if (PyErr_Occurred()) SWIG_fail;
26555 arg5 = (double) SWIG_AsDouble(obj4);
26556 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
26560
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 Py_INCREF(Py_None); resultobj = Py_None;
26565 return resultobj;
26566 fail:
26567 return NULL;
26568}
26569
26570
a95a7133 26571static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26572 PyObject *resultobj;
26573 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26574 wxPyShape *arg2 = (wxPyShape *) 0 ;
26575 PyObject * obj0 = 0 ;
26576 PyObject * obj1 = 0 ;
26577 char *kwnames[] = {
26578 (char *) "self",(char *) "object", NULL
26579 };
26580
26581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26586 {
26587 PyThreadState* __tstate = wxPyBeginAllowThreads();
26588 (arg1)->SetFrom(arg2);
26589
26590 wxPyEndAllowThreads(__tstate);
26591 if (PyErr_Occurred()) SWIG_fail;
26592 }
26593 Py_INCREF(Py_None); resultobj = Py_None;
26594 return resultobj;
26595 fail:
26596 return NULL;
26597}
26598
26599
a95a7133 26600static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26601 PyObject *resultobj;
26602 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26603 bool arg2 ;
26604 PyObject * obj0 = 0 ;
26605 PyObject * obj1 = 0 ;
26606 char *kwnames[] = {
26607 (char *) "self",(char *) "ignore", NULL
26608 };
26609
26610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26613 arg2 = (bool) SWIG_AsBool(obj1);
26614 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26615 {
26616 PyThreadState* __tstate = wxPyBeginAllowThreads();
26617 (arg1)->SetIgnoreOffsets(arg2);
26618
26619 wxPyEndAllowThreads(__tstate);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 }
26622 Py_INCREF(Py_None); resultobj = Py_None;
26623 return resultobj;
26624 fail:
26625 return NULL;
26626}
26627
26628
a95a7133 26629static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26630 PyObject *resultobj;
26631 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26632 bool arg2 ;
26633 PyObject * obj0 = 0 ;
26634 PyObject * obj1 = 0 ;
26635 char *kwnames[] = {
26636 (char *) "self",(char *) "spline", NULL
26637 };
26638
26639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26642 arg2 = (bool) SWIG_AsBool(obj1);
26643 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26644 {
26645 PyThreadState* __tstate = wxPyBeginAllowThreads();
26646 (arg1)->SetSpline(arg2);
26647
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 Py_INCREF(Py_None); resultobj = Py_None;
26652 return resultobj;
26653 fail:
26654 return NULL;
26655}
26656
26657
a95a7133 26658static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26659 PyObject *resultobj;
26660 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26661 wxPyShape *arg2 = (wxPyShape *) 0 ;
26662 PyObject * obj0 = 0 ;
26663 PyObject * obj1 = 0 ;
26664 char *kwnames[] = {
26665 (char *) "self",(char *) "object", NULL
26666 };
26667
26668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26673 {
26674 PyThreadState* __tstate = wxPyBeginAllowThreads();
26675 (arg1)->SetTo(arg2);
26676
26677 wxPyEndAllowThreads(__tstate);
26678 if (PyErr_Occurred()) SWIG_fail;
26679 }
26680 Py_INCREF(Py_None); resultobj = Py_None;
26681 return resultobj;
26682 fail:
26683 return NULL;
26684}
26685
26686
a95a7133 26687static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26688 PyObject *resultobj;
26689 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26690 wxDC *arg2 = (wxDC *) NULL ;
26691 PyObject * obj0 = 0 ;
26692 PyObject * obj1 = 0 ;
26693 char *kwnames[] = {
26694 (char *) "self",(char *) "dc", NULL
26695 };
26696
26697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 26700 if (obj1) {
2f4c0a16
RD
26701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26703 }
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 (arg1)->Straighten(arg2);
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 Py_INCREF(Py_None); resultobj = Py_None;
26712 return resultobj;
26713 fail:
26714 return NULL;
26715}
26716
26717
a95a7133 26718static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26719 PyObject *resultobj;
26720 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26721 PyObject * obj0 = 0 ;
26722 char *kwnames[] = {
26723 (char *) "self", NULL
26724 };
26725
26726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26729 {
26730 PyThreadState* __tstate = wxPyBeginAllowThreads();
26731 (arg1)->Unlink();
26732
26733 wxPyEndAllowThreads(__tstate);
26734 if (PyErr_Occurred()) SWIG_fail;
26735 }
26736 Py_INCREF(Py_None); resultobj = Py_None;
26737 return resultobj;
26738 fail:
26739 return NULL;
26740}
26741
26742
a95a7133 26743static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26744 PyObject *resultobj;
26745 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26746 bool arg2 ;
26747 bool arg3 ;
26748 PyObject * obj0 = 0 ;
26749 PyObject * obj1 = 0 ;
26750 PyObject * obj2 = 0 ;
26751 char *kwnames[] = {
26752 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26753 };
26754
26755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26758 arg2 = (bool) SWIG_AsBool(obj1);
26759 if (PyErr_Occurred()) SWIG_fail;
26760 arg3 = (bool) SWIG_AsBool(obj2);
26761 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26762 {
26763 PyThreadState* __tstate = wxPyBeginAllowThreads();
26764 (arg1)->SetAlignmentOrientation(arg2,arg3);
26765
26766 wxPyEndAllowThreads(__tstate);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 }
26769 Py_INCREF(Py_None); resultobj = Py_None;
26770 return resultobj;
26771 fail:
26772 return NULL;
26773}
26774
26775
a95a7133 26776static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26777 PyObject *resultobj;
26778 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26779 bool arg2 ;
26780 int arg3 ;
26781 PyObject * obj0 = 0 ;
26782 PyObject * obj1 = 0 ;
8edf1c75 26783 PyObject * obj2 = 0 ;
7a0a63ae
RD
26784 char *kwnames[] = {
26785 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26786 };
26787
8edf1c75 26788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26791 arg2 = (bool) SWIG_AsBool(obj1);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 arg3 = (int) SWIG_AsInt(obj2);
26794 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26795 {
26796 PyThreadState* __tstate = wxPyBeginAllowThreads();
26797 (arg1)->SetAlignmentType(arg2,arg3);
26798
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 Py_INCREF(Py_None); resultobj = Py_None;
26803 return resultobj;
26804 fail:
26805 return NULL;
26806}
26807
26808
a95a7133 26809static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26810 PyObject *resultobj;
26811 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26812 bool arg2 ;
26813 bool result;
26814 PyObject * obj0 = 0 ;
26815 PyObject * obj1 = 0 ;
26816 char *kwnames[] = {
26817 (char *) "self",(char *) "isEnd", NULL
26818 };
26819
26820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26823 arg2 = (bool) SWIG_AsBool(obj1);
26824 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
fbc46b20
RD
26832 {
26833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26834 }
7a0a63ae
RD
26835 return resultobj;
26836 fail:
26837 return NULL;
26838}
26839
26840
a95a7133 26841static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26842 PyObject *resultobj;
26843 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26844 bool arg2 ;
26845 int result;
26846 PyObject * obj0 = 0 ;
26847 PyObject * obj1 = 0 ;
26848 char *kwnames[] = {
26849 (char *) "self",(char *) "isEnd", NULL
26850 };
26851
26852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26855 arg2 = (bool) SWIG_AsBool(obj1);
26856 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26857 {
26858 PyThreadState* __tstate = wxPyBeginAllowThreads();
26859 result = (int)(arg1)->GetAlignmentType(arg2);
26860
26861 wxPyEndAllowThreads(__tstate);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 }
2f4c0a16 26864 resultobj = SWIG_FromInt((int)result);
7a0a63ae
RD
26865 return resultobj;
26866 fail:
26867 return NULL;
26868}
26869
26870
a95a7133 26871static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26872 PyObject *resultobj;
26873 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26874 int result;
26875 PyObject * obj0 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "self", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
2f4c0a16 26890 resultobj = SWIG_FromInt((int)result);
7a0a63ae
RD
26891 return resultobj;
26892 fail:
26893 return NULL;
26894}
26895
26896
a95a7133 26897static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26898 PyObject *resultobj;
26899 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26900 int result;
26901 PyObject * obj0 = 0 ;
26902 char *kwnames[] = {
26903 (char *) "self", NULL
26904 };
26905
26906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
26909 {
26910 PyThreadState* __tstate = wxPyBeginAllowThreads();
26911 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
26912
26913 wxPyEndAllowThreads(__tstate);
26914 if (PyErr_Occurred()) SWIG_fail;
26915 }
2f4c0a16 26916 resultobj = SWIG_FromInt((int)result);
7a0a63ae
RD
26917 return resultobj;
26918 fail:
26919 return NULL;
26920}
26921
26922
a95a7133 26923static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26924 PyObject *resultobj;
26925 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26926 wxDC *arg2 = 0 ;
26927 PyObject * obj0 = 0 ;
26928 PyObject * obj1 = 0 ;
26929 char *kwnames[] = {
26930 (char *) "self",(char *) "dc", NULL
26931 };
26932
26933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26937 SWIG_POINTER_EXCEPTION | 0)) == -1)
26938 SWIG_fail;
44127b65 26939 if (arg2 == NULL) {
2f4c0a16
RD
26940 PyErr_SetString(PyExc_TypeError,"null reference");
26941 SWIG_fail;
44127b65
RD
26942 }
26943 {
26944 PyThreadState* __tstate = wxPyBeginAllowThreads();
26945 (arg1)->base_OnDraw(*arg2);
26946
26947 wxPyEndAllowThreads(__tstate);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 Py_INCREF(Py_None); resultobj = Py_None;
26951 return resultobj;
26952 fail:
26953 return NULL;
26954}
26955
26956
a95a7133 26957static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26958 PyObject *resultobj;
26959 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26960 wxDC *arg2 = 0 ;
26961 PyObject * obj0 = 0 ;
26962 PyObject * obj1 = 0 ;
26963 char *kwnames[] = {
26964 (char *) "self",(char *) "dc", NULL
26965 };
26966
26967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26971 SWIG_POINTER_EXCEPTION | 0)) == -1)
26972 SWIG_fail;
44127b65 26973 if (arg2 == NULL) {
2f4c0a16
RD
26974 PyErr_SetString(PyExc_TypeError,"null reference");
26975 SWIG_fail;
44127b65
RD
26976 }
26977 {
26978 PyThreadState* __tstate = wxPyBeginAllowThreads();
26979 (arg1)->base_OnDrawContents(*arg2);
26980
26981 wxPyEndAllowThreads(__tstate);
26982 if (PyErr_Occurred()) SWIG_fail;
26983 }
26984 Py_INCREF(Py_None); resultobj = Py_None;
26985 return resultobj;
26986 fail:
26987 return NULL;
26988}
26989
26990
a95a7133 26991static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26992 PyObject *resultobj;
26993 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26994 wxDC *arg2 = 0 ;
26995 bool arg3 = (bool) FALSE ;
26996 PyObject * obj0 = 0 ;
26997 PyObject * obj1 = 0 ;
26998 PyObject * obj2 = 0 ;
26999 char *kwnames[] = {
27000 (char *) "self",(char *) "dc",(char *) "erase", NULL
27001 };
27002
27003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27007 SWIG_POINTER_EXCEPTION | 0)) == -1)
27008 SWIG_fail;
44127b65 27009 if (arg2 == NULL) {
2f4c0a16
RD
27010 PyErr_SetString(PyExc_TypeError,"null reference");
27011 SWIG_fail;
44127b65
RD
27012 }
27013 if (obj2) {
2f4c0a16
RD
27014 arg3 = (bool) SWIG_AsBool(obj2);
27015 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27016 }
27017 {
27018 PyThreadState* __tstate = wxPyBeginAllowThreads();
27019 (arg1)->base_OnDrawBranches(*arg2,arg3);
27020
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 Py_INCREF(Py_None); resultobj = Py_None;
27025 return resultobj;
27026 fail:
27027 return NULL;
27028}
27029
27030
a95a7133 27031static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27032 PyObject *resultobj;
27033 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27034 wxDC *arg2 = 0 ;
27035 PyObject * obj0 = 0 ;
27036 PyObject * obj1 = 0 ;
27037 char *kwnames[] = {
27038 (char *) "self",(char *) "dc", NULL
27039 };
27040
27041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27045 SWIG_POINTER_EXCEPTION | 0)) == -1)
27046 SWIG_fail;
44127b65 27047 if (arg2 == NULL) {
2f4c0a16
RD
27048 PyErr_SetString(PyExc_TypeError,"null reference");
27049 SWIG_fail;
44127b65
RD
27050 }
27051 {
27052 PyThreadState* __tstate = wxPyBeginAllowThreads();
27053 (arg1)->base_OnMoveLinks(*arg2);
27054
27055 wxPyEndAllowThreads(__tstate);
27056 if (PyErr_Occurred()) SWIG_fail;
27057 }
27058 Py_INCREF(Py_None); resultobj = Py_None;
27059 return resultobj;
27060 fail:
27061 return NULL;
27062}
27063
27064
a95a7133 27065static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27066 PyObject *resultobj;
27067 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27068 wxDC *arg2 = 0 ;
27069 PyObject * obj0 = 0 ;
27070 PyObject * obj1 = 0 ;
27071 char *kwnames[] = {
27072 (char *) "self",(char *) "dc", NULL
27073 };
27074
27075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27079 SWIG_POINTER_EXCEPTION | 0)) == -1)
27080 SWIG_fail;
44127b65 27081 if (arg2 == NULL) {
2f4c0a16
RD
27082 PyErr_SetString(PyExc_TypeError,"null reference");
27083 SWIG_fail;
44127b65
RD
27084 }
27085 {
27086 PyThreadState* __tstate = wxPyBeginAllowThreads();
27087 (arg1)->base_OnErase(*arg2);
27088
27089 wxPyEndAllowThreads(__tstate);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
27092 Py_INCREF(Py_None); resultobj = Py_None;
27093 return resultobj;
27094 fail:
27095 return NULL;
27096}
27097
27098
a95a7133 27099static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27100 PyObject *resultobj;
27101 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27102 wxDC *arg2 = 0 ;
27103 PyObject * obj0 = 0 ;
27104 PyObject * obj1 = 0 ;
27105 char *kwnames[] = {
27106 (char *) "self",(char *) "dc", NULL
27107 };
27108
27109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27113 SWIG_POINTER_EXCEPTION | 0)) == -1)
27114 SWIG_fail;
44127b65 27115 if (arg2 == NULL) {
2f4c0a16
RD
27116 PyErr_SetString(PyExc_TypeError,"null reference");
27117 SWIG_fail;
44127b65
RD
27118 }
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
27121 (arg1)->base_OnEraseContents(*arg2);
27122
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 Py_INCREF(Py_None); resultobj = Py_None;
27127 return resultobj;
27128 fail:
27129 return NULL;
27130}
27131
27132
a95a7133 27133static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27134 PyObject *resultobj;
27135 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27136 wxDC *arg2 = 0 ;
27137 PyObject * obj0 = 0 ;
27138 PyObject * obj1 = 0 ;
27139 char *kwnames[] = {
27140 (char *) "self",(char *) "dc", NULL
27141 };
27142
27143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27147 SWIG_POINTER_EXCEPTION | 0)) == -1)
27148 SWIG_fail;
44127b65 27149 if (arg2 == NULL) {
2f4c0a16
RD
27150 PyErr_SetString(PyExc_TypeError,"null reference");
27151 SWIG_fail;
44127b65
RD
27152 }
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 (arg1)->base_OnHighlight(*arg2);
27156
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
27160 Py_INCREF(Py_None); resultobj = Py_None;
27161 return resultobj;
27162 fail:
27163 return NULL;
27164}
27165
27166
a95a7133 27167static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27168 PyObject *resultobj;
27169 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27170 double arg2 ;
27171 double arg3 ;
27172 int arg4 = (int) 0 ;
27173 int arg5 = (int) 0 ;
27174 PyObject * obj0 = 0 ;
8edf1c75
RD
27175 PyObject * obj1 = 0 ;
27176 PyObject * obj2 = 0 ;
27177 PyObject * obj3 = 0 ;
27178 PyObject * obj4 = 0 ;
44127b65
RD
27179 char *kwnames[] = {
27180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27181 };
27182
8edf1c75 27183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27186 arg2 = (double) SWIG_AsDouble(obj1);
27187 if (PyErr_Occurred()) SWIG_fail;
27188 arg3 = (double) SWIG_AsDouble(obj2);
27189 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27190 if (obj3) {
2f4c0a16
RD
27191 arg4 = (int) SWIG_AsInt(obj3);
27192 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27193 }
27194 if (obj4) {
2f4c0a16
RD
27195 arg5 = (int) SWIG_AsInt(obj4);
27196 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27197 }
44127b65
RD
27198 {
27199 PyThreadState* __tstate = wxPyBeginAllowThreads();
27200 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27201
27202 wxPyEndAllowThreads(__tstate);
27203 if (PyErr_Occurred()) SWIG_fail;
27204 }
27205 Py_INCREF(Py_None); resultobj = Py_None;
27206 return resultobj;
27207 fail:
27208 return NULL;
27209}
27210
27211
a95a7133 27212static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27213 PyObject *resultobj;
27214 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27215 double arg2 ;
27216 double arg3 ;
27217 int arg4 = (int) 0 ;
27218 int arg5 = (int) 0 ;
27219 PyObject * obj0 = 0 ;
8edf1c75
RD
27220 PyObject * obj1 = 0 ;
27221 PyObject * obj2 = 0 ;
27222 PyObject * obj3 = 0 ;
27223 PyObject * obj4 = 0 ;
44127b65
RD
27224 char *kwnames[] = {
27225 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27226 };
27227
8edf1c75 27228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27231 arg2 = (double) SWIG_AsDouble(obj1);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 arg3 = (double) SWIG_AsDouble(obj2);
27234 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27235 if (obj3) {
2f4c0a16
RD
27236 arg4 = (int) SWIG_AsInt(obj3);
27237 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27238 }
27239 if (obj4) {
2f4c0a16
RD
27240 arg5 = (int) SWIG_AsInt(obj4);
27241 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27242 }
44127b65
RD
27243 {
27244 PyThreadState* __tstate = wxPyBeginAllowThreads();
27245 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27246
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 Py_INCREF(Py_None); resultobj = Py_None;
27251 return resultobj;
27252 fail:
27253 return NULL;
27254}
27255
27256
a95a7133 27257static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27258 PyObject *resultobj;
27259 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27260 double arg2 ;
27261 double arg3 ;
27262 int arg4 = (int) 0 ;
27263 int arg5 = (int) 0 ;
27264 PyObject * obj0 = 0 ;
8edf1c75
RD
27265 PyObject * obj1 = 0 ;
27266 PyObject * obj2 = 0 ;
27267 PyObject * obj3 = 0 ;
27268 PyObject * obj4 = 0 ;
44127b65
RD
27269 char *kwnames[] = {
27270 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27271 };
27272
8edf1c75 27273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27276 arg2 = (double) SWIG_AsDouble(obj1);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 arg3 = (double) SWIG_AsDouble(obj2);
27279 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27280 if (obj3) {
2f4c0a16
RD
27281 arg4 = (int) SWIG_AsInt(obj3);
27282 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27283 }
27284 if (obj4) {
2f4c0a16
RD
27285 arg5 = (int) SWIG_AsInt(obj4);
27286 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27287 }
44127b65
RD
27288 {
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27291
27292 wxPyEndAllowThreads(__tstate);
27293 if (PyErr_Occurred()) SWIG_fail;
27294 }
27295 Py_INCREF(Py_None); resultobj = Py_None;
27296 return resultobj;
27297 fail:
27298 return NULL;
27299}
27300
27301
a95a7133 27302static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27303 PyObject *resultobj;
27304 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27305 double arg2 ;
27306 double arg3 ;
27307 PyObject * obj0 = 0 ;
8edf1c75
RD
27308 PyObject * obj1 = 0 ;
27309 PyObject * obj2 = 0 ;
44127b65
RD
27310 char *kwnames[] = {
27311 (char *) "self",(char *) "x",(char *) "y", NULL
27312 };
27313
8edf1c75 27314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27317 arg2 = (double) SWIG_AsDouble(obj1);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 arg3 = (double) SWIG_AsDouble(obj2);
27320 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 (arg1)->base_OnSize(arg2,arg3);
27324
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 Py_INCREF(Py_None); resultobj = Py_None;
27329 return resultobj;
27330 fail:
27331 return NULL;
27332}
27333
27334
a95a7133 27335static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27336 PyObject *resultobj;
27337 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27338 wxDC *arg2 = 0 ;
27339 double arg3 ;
27340 double arg4 ;
27341 double arg5 ;
27342 double arg6 ;
27343 bool arg7 = (bool) True ;
27344 bool result;
27345 PyObject * obj0 = 0 ;
27346 PyObject * obj1 = 0 ;
8edf1c75
RD
27347 PyObject * obj2 = 0 ;
27348 PyObject * obj3 = 0 ;
27349 PyObject * obj4 = 0 ;
27350 PyObject * obj5 = 0 ;
44127b65
RD
27351 PyObject * obj6 = 0 ;
27352 char *kwnames[] = {
27353 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27354 };
27355
8edf1c75 27356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27360 SWIG_POINTER_EXCEPTION | 0)) == -1)
27361 SWIG_fail;
44127b65 27362 if (arg2 == NULL) {
2f4c0a16
RD
27363 PyErr_SetString(PyExc_TypeError,"null reference");
27364 SWIG_fail;
27365 }
27366 arg3 = (double) SWIG_AsDouble(obj2);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 arg4 = (double) SWIG_AsDouble(obj3);
27369 if (PyErr_Occurred()) SWIG_fail;
27370 arg5 = (double) SWIG_AsDouble(obj4);
27371 if (PyErr_Occurred()) SWIG_fail;
27372 arg6 = (double) SWIG_AsDouble(obj5);
27373 if (PyErr_Occurred()) SWIG_fail;
44127b65 27374 if (obj6) {
2f4c0a16
RD
27375 arg7 = (bool) SWIG_AsBool(obj6);
27376 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27377 }
27378 {
27379 PyThreadState* __tstate = wxPyBeginAllowThreads();
27380 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27381
27382 wxPyEndAllowThreads(__tstate);
27383 if (PyErr_Occurred()) SWIG_fail;
27384 }
fbc46b20
RD
27385 {
27386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27387 }
44127b65
RD
27388 return resultobj;
27389 fail:
27390 return NULL;
27391}
27392
27393
a95a7133 27394static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27395 PyObject *resultobj;
27396 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27397 wxDC *arg2 = 0 ;
27398 double arg3 ;
27399 double arg4 ;
27400 double arg5 ;
27401 double arg6 ;
27402 bool arg7 = (bool) True ;
27403 PyObject * obj0 = 0 ;
27404 PyObject * obj1 = 0 ;
8edf1c75
RD
27405 PyObject * obj2 = 0 ;
27406 PyObject * obj3 = 0 ;
27407 PyObject * obj4 = 0 ;
27408 PyObject * obj5 = 0 ;
44127b65
RD
27409 PyObject * obj6 = 0 ;
27410 char *kwnames[] = {
27411 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27412 };
27413
8edf1c75 27414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27418 SWIG_POINTER_EXCEPTION | 0)) == -1)
27419 SWIG_fail;
44127b65 27420 if (arg2 == NULL) {
2f4c0a16
RD
27421 PyErr_SetString(PyExc_TypeError,"null reference");
27422 SWIG_fail;
27423 }
27424 arg3 = (double) SWIG_AsDouble(obj2);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 arg4 = (double) SWIG_AsDouble(obj3);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 arg5 = (double) SWIG_AsDouble(obj4);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 arg6 = (double) SWIG_AsDouble(obj5);
27431 if (PyErr_Occurred()) SWIG_fail;
44127b65 27432 if (obj6) {
2f4c0a16
RD
27433 arg7 = (bool) SWIG_AsBool(obj6);
27434 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27435 }
27436 {
27437 PyThreadState* __tstate = wxPyBeginAllowThreads();
27438 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27439
27440 wxPyEndAllowThreads(__tstate);
27441 if (PyErr_Occurred()) SWIG_fail;
27442 }
27443 Py_INCREF(Py_None); resultobj = Py_None;
27444 return resultobj;
27445 fail:
27446 return NULL;
27447}
27448
27449
a95a7133 27450static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27451 PyObject *resultobj;
27452 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27453 bool arg2 ;
27454 double arg3 ;
27455 double arg4 ;
27456 int arg5 = (int) 0 ;
27457 int arg6 = (int) 0 ;
27458 PyObject * obj0 = 0 ;
27459 PyObject * obj1 = 0 ;
8edf1c75
RD
27460 PyObject * obj2 = 0 ;
27461 PyObject * obj3 = 0 ;
27462 PyObject * obj4 = 0 ;
27463 PyObject * obj5 = 0 ;
44127b65
RD
27464 char *kwnames[] = {
27465 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27466 };
27467
8edf1c75 27468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27471 arg2 = (bool) SWIG_AsBool(obj1);
27472 if (PyErr_Occurred()) SWIG_fail;
27473 arg3 = (double) SWIG_AsDouble(obj2);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 arg4 = (double) SWIG_AsDouble(obj3);
27476 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27477 if (obj4) {
2f4c0a16
RD
27478 arg5 = (int) SWIG_AsInt(obj4);
27479 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27480 }
27481 if (obj5) {
2f4c0a16
RD
27482 arg6 = (int) SWIG_AsInt(obj5);
27483 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27484 }
44127b65
RD
27485 {
27486 PyThreadState* __tstate = wxPyBeginAllowThreads();
27487 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27488
27489 wxPyEndAllowThreads(__tstate);
27490 if (PyErr_Occurred()) SWIG_fail;
27491 }
27492 Py_INCREF(Py_None); resultobj = Py_None;
27493 return resultobj;
27494 fail:
27495 return NULL;
27496}
27497
27498
a95a7133 27499static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27500 PyObject *resultobj;
27501 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27502 double arg2 ;
27503 double arg3 ;
27504 int arg4 = (int) 0 ;
27505 int arg5 = (int) 0 ;
27506 PyObject * obj0 = 0 ;
8edf1c75
RD
27507 PyObject * obj1 = 0 ;
27508 PyObject * obj2 = 0 ;
27509 PyObject * obj3 = 0 ;
27510 PyObject * obj4 = 0 ;
44127b65
RD
27511 char *kwnames[] = {
27512 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27513 };
27514
8edf1c75 27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27518 arg2 = (double) SWIG_AsDouble(obj1);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 arg3 = (double) SWIG_AsDouble(obj2);
27521 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27522 if (obj3) {
2f4c0a16
RD
27523 arg4 = (int) SWIG_AsInt(obj3);
27524 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27525 }
27526 if (obj4) {
2f4c0a16
RD
27527 arg5 = (int) SWIG_AsInt(obj4);
27528 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27529 }
44127b65
RD
27530 {
27531 PyThreadState* __tstate = wxPyBeginAllowThreads();
27532 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27533
27534 wxPyEndAllowThreads(__tstate);
27535 if (PyErr_Occurred()) SWIG_fail;
27536 }
27537 Py_INCREF(Py_None); resultobj = Py_None;
27538 return resultobj;
27539 fail:
27540 return NULL;
27541}
27542
27543
a95a7133 27544static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27545 PyObject *resultobj;
27546 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27547 double arg2 ;
27548 double arg3 ;
27549 int arg4 = (int) 0 ;
27550 int arg5 = (int) 0 ;
27551 PyObject * obj0 = 0 ;
8edf1c75
RD
27552 PyObject * obj1 = 0 ;
27553 PyObject * obj2 = 0 ;
27554 PyObject * obj3 = 0 ;
27555 PyObject * obj4 = 0 ;
44127b65
RD
27556 char *kwnames[] = {
27557 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27558 };
27559
8edf1c75 27560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27563 arg2 = (double) SWIG_AsDouble(obj1);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 arg3 = (double) SWIG_AsDouble(obj2);
27566 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27567 if (obj3) {
2f4c0a16
RD
27568 arg4 = (int) SWIG_AsInt(obj3);
27569 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27570 }
27571 if (obj4) {
2f4c0a16
RD
27572 arg5 = (int) SWIG_AsInt(obj4);
27573 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27574 }
44127b65
RD
27575 {
27576 PyThreadState* __tstate = wxPyBeginAllowThreads();
27577 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27578
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 Py_INCREF(Py_None); resultobj = Py_None;
27583 return resultobj;
27584 fail:
27585 return NULL;
27586}
27587
27588
a95a7133 27589static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27590 PyObject *resultobj;
27591 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27592 bool arg2 ;
27593 double arg3 ;
27594 double arg4 ;
27595 int arg5 = (int) 0 ;
27596 int arg6 = (int) 0 ;
27597 PyObject * obj0 = 0 ;
27598 PyObject * obj1 = 0 ;
8edf1c75
RD
27599 PyObject * obj2 = 0 ;
27600 PyObject * obj3 = 0 ;
27601 PyObject * obj4 = 0 ;
27602 PyObject * obj5 = 0 ;
44127b65
RD
27603 char *kwnames[] = {
27604 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27605 };
27606
8edf1c75 27607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27610 arg2 = (bool) SWIG_AsBool(obj1);
27611 if (PyErr_Occurred()) SWIG_fail;
27612 arg3 = (double) SWIG_AsDouble(obj2);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 arg4 = (double) SWIG_AsDouble(obj3);
27615 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27616 if (obj4) {
2f4c0a16
RD
27617 arg5 = (int) SWIG_AsInt(obj4);
27618 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27619 }
27620 if (obj5) {
2f4c0a16
RD
27621 arg6 = (int) SWIG_AsInt(obj5);
27622 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27623 }
44127b65
RD
27624 {
27625 PyThreadState* __tstate = wxPyBeginAllowThreads();
27626 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27627
27628 wxPyEndAllowThreads(__tstate);
27629 if (PyErr_Occurred()) SWIG_fail;
27630 }
27631 Py_INCREF(Py_None); resultobj = Py_None;
27632 return resultobj;
27633 fail:
27634 return NULL;
27635}
27636
27637
a95a7133 27638static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27639 PyObject *resultobj;
27640 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27641 double arg2 ;
27642 double arg3 ;
27643 int arg4 = (int) 0 ;
27644 int arg5 = (int) 0 ;
27645 PyObject * obj0 = 0 ;
8edf1c75
RD
27646 PyObject * obj1 = 0 ;
27647 PyObject * obj2 = 0 ;
27648 PyObject * obj3 = 0 ;
27649 PyObject * obj4 = 0 ;
44127b65
RD
27650 char *kwnames[] = {
27651 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27652 };
27653
8edf1c75 27654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27657 arg2 = (double) SWIG_AsDouble(obj1);
27658 if (PyErr_Occurred()) SWIG_fail;
27659 arg3 = (double) SWIG_AsDouble(obj2);
27660 if (PyErr_Occurred()) SWIG_fail;
27661 if (obj3) {
27662 arg4 = (int) SWIG_AsInt(obj3);
8edf1c75
RD
27663 if (PyErr_Occurred()) SWIG_fail;
27664 }
2f4c0a16
RD
27665 if (obj4) {
27666 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
27667 if (PyErr_Occurred()) SWIG_fail;
27668 }
44127b65
RD
27669 {
27670 PyThreadState* __tstate = wxPyBeginAllowThreads();
27671 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27672
27673 wxPyEndAllowThreads(__tstate);
27674 if (PyErr_Occurred()) SWIG_fail;
27675 }
27676 Py_INCREF(Py_None); resultobj = Py_None;
27677 return resultobj;
27678 fail:
27679 return NULL;
27680}
27681
27682
a95a7133 27683static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27684 PyObject *resultobj;
27685 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27686 double arg2 ;
27687 double arg3 ;
27688 int arg4 = (int) 0 ;
27689 int arg5 = (int) 0 ;
27690 PyObject * obj0 = 0 ;
8edf1c75
RD
27691 PyObject * obj1 = 0 ;
27692 PyObject * obj2 = 0 ;
27693 PyObject * obj3 = 0 ;
27694 PyObject * obj4 = 0 ;
44127b65
RD
27695 char *kwnames[] = {
27696 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27697 };
27698
8edf1c75 27699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27702 arg2 = (double) SWIG_AsDouble(obj1);
27703 if (PyErr_Occurred()) SWIG_fail;
27704 arg3 = (double) SWIG_AsDouble(obj2);
27705 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27706 if (obj3) {
2f4c0a16
RD
27707 arg4 = (int) SWIG_AsInt(obj3);
27708 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27709 }
27710 if (obj4) {
2f4c0a16
RD
27711 arg5 = (int) SWIG_AsInt(obj4);
27712 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27713 }
44127b65
RD
27714 {
27715 PyThreadState* __tstate = wxPyBeginAllowThreads();
27716 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27717
27718 wxPyEndAllowThreads(__tstate);
27719 if (PyErr_Occurred()) SWIG_fail;
27720 }
27721 Py_INCREF(Py_None); resultobj = Py_None;
27722 return resultobj;
27723 fail:
27724 return NULL;
27725}
27726
27727
a95a7133 27728static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27729 PyObject *resultobj;
27730 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27731 wxDC *arg2 = 0 ;
27732 double arg3 ;
27733 double arg4 ;
27734 double arg5 ;
27735 double arg6 ;
27736 PyObject * obj0 = 0 ;
27737 PyObject * obj1 = 0 ;
8edf1c75
RD
27738 PyObject * obj2 = 0 ;
27739 PyObject * obj3 = 0 ;
27740 PyObject * obj4 = 0 ;
27741 PyObject * obj5 = 0 ;
44127b65
RD
27742 char *kwnames[] = {
27743 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27744 };
27745
8edf1c75 27746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27750 SWIG_POINTER_EXCEPTION | 0)) == -1)
27751 SWIG_fail;
44127b65 27752 if (arg2 == NULL) {
2f4c0a16
RD
27753 PyErr_SetString(PyExc_TypeError,"null reference");
27754 SWIG_fail;
8edf1c75 27755 }
2f4c0a16
RD
27756 arg3 = (double) SWIG_AsDouble(obj2);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 arg4 = (double) SWIG_AsDouble(obj3);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 arg5 = (double) SWIG_AsDouble(obj4);
27761 if (PyErr_Occurred()) SWIG_fail;
27762 arg6 = (double) SWIG_AsDouble(obj5);
27763 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27767
27768 wxPyEndAllowThreads(__tstate);
27769 if (PyErr_Occurred()) SWIG_fail;
27770 }
27771 Py_INCREF(Py_None); resultobj = Py_None;
27772 return resultobj;
27773 fail:
27774 return NULL;
27775}
27776
27777
a95a7133 27778static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27779 PyObject *resultobj;
27780 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27781 wxDC *arg2 = 0 ;
27782 PyObject * obj0 = 0 ;
27783 PyObject * obj1 = 0 ;
27784 char *kwnames[] = {
27785 (char *) "self",(char *) "dc", NULL
27786 };
27787
27788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27792 SWIG_POINTER_EXCEPTION | 0)) == -1)
27793 SWIG_fail;
44127b65 27794 if (arg2 == NULL) {
2f4c0a16
RD
27795 PyErr_SetString(PyExc_TypeError,"null reference");
27796 SWIG_fail;
44127b65
RD
27797 }
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 (arg1)->base_OnDrawControlPoints(*arg2);
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 Py_INCREF(Py_None); resultobj = Py_None;
27806 return resultobj;
27807 fail:
27808 return NULL;
27809}
27810
27811
a95a7133 27812static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27813 PyObject *resultobj;
27814 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27815 wxDC *arg2 = 0 ;
27816 PyObject * obj0 = 0 ;
27817 PyObject * obj1 = 0 ;
27818 char *kwnames[] = {
27819 (char *) "self",(char *) "dc", NULL
27820 };
27821
27822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27826 SWIG_POINTER_EXCEPTION | 0)) == -1)
27827 SWIG_fail;
44127b65 27828 if (arg2 == NULL) {
2f4c0a16
RD
27829 PyErr_SetString(PyExc_TypeError,"null reference");
27830 SWIG_fail;
44127b65
RD
27831 }
27832 {
27833 PyThreadState* __tstate = wxPyBeginAllowThreads();
27834 (arg1)->base_OnEraseControlPoints(*arg2);
27835
27836 wxPyEndAllowThreads(__tstate);
27837 if (PyErr_Occurred()) SWIG_fail;
27838 }
27839 Py_INCREF(Py_None); resultobj = Py_None;
27840 return resultobj;
27841 fail:
27842 return NULL;
27843}
27844
27845
a95a7133 27846static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27847 PyObject *resultobj;
27848 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27849 wxDC *arg2 = 0 ;
27850 bool arg3 = (bool) True ;
27851 PyObject * obj0 = 0 ;
27852 PyObject * obj1 = 0 ;
27853 PyObject * obj2 = 0 ;
27854 char *kwnames[] = {
27855 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27856 };
27857
27858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27862 SWIG_POINTER_EXCEPTION | 0)) == -1)
27863 SWIG_fail;
44127b65 27864 if (arg2 == NULL) {
2f4c0a16
RD
27865 PyErr_SetString(PyExc_TypeError,"null reference");
27866 SWIG_fail;
44127b65
RD
27867 }
27868 if (obj2) {
2f4c0a16
RD
27869 arg3 = (bool) SWIG_AsBool(obj2);
27870 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27871 }
27872 {
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 (arg1)->base_OnMoveLink(*arg2,arg3);
27875
27876 wxPyEndAllowThreads(__tstate);
27877 if (PyErr_Occurred()) SWIG_fail;
27878 }
27879 Py_INCREF(Py_None); resultobj = Py_None;
27880 return resultobj;
27881 fail:
27882 return NULL;
27883}
27884
27885
a95a7133 27886static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27887 PyObject *resultobj;
27888 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27889 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27890 bool arg3 ;
27891 double arg4 ;
27892 double arg5 ;
27893 int arg6 = (int) 0 ;
27894 int arg7 = (int) 0 ;
27895 PyObject * obj0 = 0 ;
27896 PyObject * obj1 = 0 ;
27897 PyObject * obj2 = 0 ;
8edf1c75
RD
27898 PyObject * obj3 = 0 ;
27899 PyObject * obj4 = 0 ;
27900 PyObject * obj5 = 0 ;
27901 PyObject * obj6 = 0 ;
44127b65
RD
27902 char *kwnames[] = {
27903 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27904 };
27905
8edf1c75 27906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27911 arg3 = (bool) SWIG_AsBool(obj2);
27912 if (PyErr_Occurred()) SWIG_fail;
27913 arg4 = (double) SWIG_AsDouble(obj3);
27914 if (PyErr_Occurred()) SWIG_fail;
27915 arg5 = (double) SWIG_AsDouble(obj4);
27916 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27917 if (obj5) {
2f4c0a16
RD
27918 arg6 = (int) SWIG_AsInt(obj5);
27919 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27920 }
27921 if (obj6) {
2f4c0a16
RD
27922 arg7 = (int) SWIG_AsInt(obj6);
27923 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27924 }
44127b65
RD
27925 {
27926 PyThreadState* __tstate = wxPyBeginAllowThreads();
27927 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
27928
27929 wxPyEndAllowThreads(__tstate);
27930 if (PyErr_Occurred()) SWIG_fail;
27931 }
27932 Py_INCREF(Py_None); resultobj = Py_None;
27933 return resultobj;
27934 fail:
27935 return NULL;
27936}
27937
27938
a95a7133 27939static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27940 PyObject *resultobj;
27941 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27942 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27943 double arg3 ;
27944 double arg4 ;
27945 int arg5 = (int) 0 ;
27946 int arg6 = (int) 0 ;
27947 PyObject * obj0 = 0 ;
27948 PyObject * obj1 = 0 ;
8edf1c75
RD
27949 PyObject * obj2 = 0 ;
27950 PyObject * obj3 = 0 ;
27951 PyObject * obj4 = 0 ;
27952 PyObject * obj5 = 0 ;
44127b65
RD
27953 char *kwnames[] = {
27954 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27955 };
27956
8edf1c75 27957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27962 arg3 = (double) SWIG_AsDouble(obj2);
27963 if (PyErr_Occurred()) SWIG_fail;
27964 arg4 = (double) SWIG_AsDouble(obj3);
27965 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27966 if (obj4) {
2f4c0a16
RD
27967 arg5 = (int) SWIG_AsInt(obj4);
27968 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27969 }
27970 if (obj5) {
2f4c0a16
RD
27971 arg6 = (int) SWIG_AsInt(obj5);
27972 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27973 }
44127b65
RD
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
27977
27978 wxPyEndAllowThreads(__tstate);
27979 if (PyErr_Occurred()) SWIG_fail;
27980 }
27981 Py_INCREF(Py_None); resultobj = Py_None;
27982 return resultobj;
27983 fail:
27984 return NULL;
27985}
27986
27987
a95a7133 27988static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27989 PyObject *resultobj;
27990 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27991 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27992 double arg3 ;
27993 double arg4 ;
27994 int arg5 = (int) 0 ;
27995 int arg6 = (int) 0 ;
27996 PyObject * obj0 = 0 ;
27997 PyObject * obj1 = 0 ;
8edf1c75
RD
27998 PyObject * obj2 = 0 ;
27999 PyObject * obj3 = 0 ;
28000 PyObject * obj4 = 0 ;
28001 PyObject * obj5 = 0 ;
44127b65
RD
28002 char *kwnames[] = {
28003 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28004 };
28005
8edf1c75 28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
28007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
28010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28011 arg3 = (double) SWIG_AsDouble(obj2);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 arg4 = (double) SWIG_AsDouble(obj3);
28014 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28015 if (obj4) {
2f4c0a16
RD
28016 arg5 = (int) SWIG_AsInt(obj4);
28017 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28018 }
28019 if (obj5) {
2f4c0a16
RD
28020 arg6 = (int) SWIG_AsInt(obj5);
28021 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28022 }
44127b65
RD
28023 {
28024 PyThreadState* __tstate = wxPyBeginAllowThreads();
28025 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
28026
28027 wxPyEndAllowThreads(__tstate);
28028 if (PyErr_Occurred()) SWIG_fail;
28029 }
28030 Py_INCREF(Py_None); resultobj = Py_None;
28031 return resultobj;
28032 fail:
28033 return NULL;
28034}
28035
28036
a95a7133 28037static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28038 PyObject *resultobj;
28039 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28040 double arg2 ;
28041 double arg3 ;
28042 PyObject * obj0 = 0 ;
8edf1c75
RD
28043 PyObject * obj1 = 0 ;
28044 PyObject * obj2 = 0 ;
44127b65
RD
28045 char *kwnames[] = {
28046 (char *) "self",(char *) "w",(char *) "h", NULL
28047 };
28048
8edf1c75 28049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28052 arg2 = (double) SWIG_AsDouble(obj1);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 arg3 = (double) SWIG_AsDouble(obj2);
28055 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28056 {
28057 PyThreadState* __tstate = wxPyBeginAllowThreads();
28058 (arg1)->base_OnBeginSize(arg2,arg3);
28059
28060 wxPyEndAllowThreads(__tstate);
28061 if (PyErr_Occurred()) SWIG_fail;
28062 }
28063 Py_INCREF(Py_None); resultobj = Py_None;
28064 return resultobj;
28065 fail:
28066 return NULL;
28067}
28068
28069
a95a7133 28070static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28071 PyObject *resultobj;
28072 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28073 double arg2 ;
28074 double arg3 ;
28075 PyObject * obj0 = 0 ;
8edf1c75
RD
28076 PyObject * obj1 = 0 ;
28077 PyObject * obj2 = 0 ;
44127b65
RD
28078 char *kwnames[] = {
28079 (char *) "self",(char *) "w",(char *) "h", NULL
28080 };
28081
8edf1c75 28082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28085 arg2 = (double) SWIG_AsDouble(obj1);
28086 if (PyErr_Occurred()) SWIG_fail;
28087 arg3 = (double) SWIG_AsDouble(obj2);
28088 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28089 {
28090 PyThreadState* __tstate = wxPyBeginAllowThreads();
28091 (arg1)->base_OnEndSize(arg2,arg3);
28092
28093 wxPyEndAllowThreads(__tstate);
28094 if (PyErr_Occurred()) SWIG_fail;
28095 }
28096 Py_INCREF(Py_None); resultobj = Py_None;
28097 return resultobj;
28098 fail:
28099 return NULL;
28100}
28101
28102
a95a7133 28103static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
28104 PyObject *obj;
28105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28106 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
28107 Py_INCREF(obj);
28108 return Py_BuildValue((char *)"");
28109}
a95a7133 28110static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28111 PyObject *resultobj;
28112 wxPyPolygonShape *result;
28113 char *kwnames[] = {
28114 NULL
28115 };
28116
28117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 result = (wxPyPolygonShape *)new wxPyPolygonShape();
28121
28122 wxPyEndAllowThreads(__tstate);
28123 if (PyErr_Occurred()) SWIG_fail;
28124 }
2f4c0a16 28125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
44127b65
RD
28126 return resultobj;
28127 fail:
28128 return NULL;
28129}
28130
28131
a95a7133 28132static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28133 PyObject *resultobj;
28134 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28135 PyObject *arg2 = (PyObject *) 0 ;
28136 PyObject *arg3 = (PyObject *) 0 ;
28137 PyObject * obj0 = 0 ;
28138 PyObject * obj1 = 0 ;
28139 PyObject * obj2 = 0 ;
28140 char *kwnames[] = {
28141 (char *) "self",(char *) "self",(char *) "_class", NULL
28142 };
28143
28144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28147 arg2 = obj1;
28148 arg3 = obj2;
28149 {
28150 PyThreadState* __tstate = wxPyBeginAllowThreads();
28151 (arg1)->_setCallbackInfo(arg2,arg3);
28152
28153 wxPyEndAllowThreads(__tstate);
28154 if (PyErr_Occurred()) SWIG_fail;
28155 }
28156 Py_INCREF(Py_None); resultobj = Py_None;
28157 return resultobj;
28158 fail:
28159 return NULL;
28160}
28161
28162
a95a7133 28163static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28164 PyObject *resultobj;
28165 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28166 PyObject *arg2 = (PyObject *) 0 ;
28167 PyObject *result;
28168 PyObject * obj0 = 0 ;
28169 PyObject * obj1 = 0 ;
28170 char *kwnames[] = {
28171 (char *) "self",(char *) "points", NULL
28172 };
28173
28174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28177 arg2 = obj1;
28178 {
28179 PyThreadState* __tstate = wxPyBeginAllowThreads();
28180 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28181
28182 wxPyEndAllowThreads(__tstate);
28183 if (PyErr_Occurred()) SWIG_fail;
28184 }
28185 resultobj = result;
28186 return resultobj;
28187 fail:
28188 return NULL;
28189}
28190
28191
a95a7133 28192static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28193 PyObject *resultobj;
28194 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28195 int arg2 = (int) 0 ;
28196 PyObject * obj0 = 0 ;
8edf1c75 28197 PyObject * obj1 = 0 ;
44127b65
RD
28198 char *kwnames[] = {
28199 (char *) "self",(char *) "pos", NULL
28200 };
28201
8edf1c75 28202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 28205 if (obj1) {
2f4c0a16
RD
28206 arg2 = (int) SWIG_AsInt(obj1);
28207 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28208 }
44127b65
RD
28209 {
28210 PyThreadState* __tstate = wxPyBeginAllowThreads();
28211 (arg1)->AddPolygonPoint(arg2);
28212
28213 wxPyEndAllowThreads(__tstate);
28214 if (PyErr_Occurred()) SWIG_fail;
28215 }
28216 Py_INCREF(Py_None); resultobj = Py_None;
28217 return resultobj;
28218 fail:
28219 return NULL;
28220}
28221
28222
a95a7133 28223static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28224 PyObject *resultobj;
28225 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28226 PyObject * obj0 = 0 ;
28227 char *kwnames[] = {
28228 (char *) "self", NULL
28229 };
28230
28231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28234 {
28235 PyThreadState* __tstate = wxPyBeginAllowThreads();
28236 (arg1)->CalculatePolygonCentre();
28237
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
28241 Py_INCREF(Py_None); resultobj = Py_None;
28242 return resultobj;
28243 fail:
28244 return NULL;
28245}
28246
28247
a95a7133 28248static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28249 PyObject *resultobj;
28250 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28251 int arg2 = (int) 0 ;
28252 PyObject * obj0 = 0 ;
8edf1c75 28253 PyObject * obj1 = 0 ;
44127b65
RD
28254 char *kwnames[] = {
28255 (char *) "self",(char *) "pos", NULL
28256 };
28257
8edf1c75 28258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 28261 if (obj1) {
2f4c0a16
RD
28262 arg2 = (int) SWIG_AsInt(obj1);
28263 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28264 }
44127b65
RD
28265 {
28266 PyThreadState* __tstate = wxPyBeginAllowThreads();
28267 (arg1)->DeletePolygonPoint(arg2);
28268
28269 wxPyEndAllowThreads(__tstate);
28270 if (PyErr_Occurred()) SWIG_fail;
28271 }
28272 Py_INCREF(Py_None); resultobj = Py_None;
28273 return resultobj;
28274 fail:
28275 return NULL;
28276}
28277
28278
a95a7133 28279static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28280 PyObject *resultobj;
28281 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28282 PyObject *result;
28283 PyObject * obj0 = 0 ;
28284 char *kwnames[] = {
28285 (char *) "self", NULL
28286 };
28287
28288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28291 {
28292 PyThreadState* __tstate = wxPyBeginAllowThreads();
28293 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28294
28295 wxPyEndAllowThreads(__tstate);
28296 if (PyErr_Occurred()) SWIG_fail;
28297 }
28298 resultobj = result;
28299 return resultobj;
28300 fail:
28301 return NULL;
28302}
28303
28304
a95a7133 28305static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28306 PyObject *resultobj;
28307 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28308 PyObject *result;
28309 PyObject * obj0 = 0 ;
28310 char *kwnames[] = {
28311 (char *) "self", NULL
28312 };
28313
28314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28317 {
28318 PyThreadState* __tstate = wxPyBeginAllowThreads();
28319 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28320
28321 wxPyEndAllowThreads(__tstate);
28322 if (PyErr_Occurred()) SWIG_fail;
28323 }
28324 resultobj = result;
28325 return resultobj;
28326 fail:
28327 return NULL;
28328}
28329
28330
a95a7133 28331static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28332 PyObject *resultobj;
28333 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28334 double result;
28335 PyObject * obj0 = 0 ;
28336 char *kwnames[] = {
28337 (char *) "self", NULL
28338 };
28339
28340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28343 {
28344 PyThreadState* __tstate = wxPyBeginAllowThreads();
28345 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28346
28347 wxPyEndAllowThreads(__tstate);
28348 if (PyErr_Occurred()) SWIG_fail;
28349 }
2f4c0a16 28350 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
28351 return resultobj;
28352 fail:
28353 return NULL;
28354}
28355
28356
a95a7133 28357static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28358 PyObject *resultobj;
28359 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28360 double result;
28361 PyObject * obj0 = 0 ;
28362 char *kwnames[] = {
28363 (char *) "self", NULL
28364 };
28365
28366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28369 {
28370 PyThreadState* __tstate = wxPyBeginAllowThreads();
28371 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28372
28373 wxPyEndAllowThreads(__tstate);
28374 if (PyErr_Occurred()) SWIG_fail;
28375 }
2f4c0a16 28376 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
28377 return resultobj;
28378 fail:
28379 return NULL;
28380}
28381
28382
a95a7133 28383static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28384 PyObject *resultobj;
28385 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28386 double arg2 ;
28387 PyObject * obj0 = 0 ;
8edf1c75 28388 PyObject * obj1 = 0 ;
7a0a63ae
RD
28389 char *kwnames[] = {
28390 (char *) "self",(char *) "w", NULL
28391 };
28392
8edf1c75 28393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28396 arg2 = (double) SWIG_AsDouble(obj1);
28397 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
28398 {
28399 PyThreadState* __tstate = wxPyBeginAllowThreads();
28400 (arg1)->SetOriginalWidth(arg2);
28401
28402 wxPyEndAllowThreads(__tstate);
28403 if (PyErr_Occurred()) SWIG_fail;
28404 }
28405 Py_INCREF(Py_None); resultobj = Py_None;
28406 return resultobj;
28407 fail:
28408 return NULL;
28409}
28410
28411
a95a7133 28412static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28413 PyObject *resultobj;
28414 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28415 double arg2 ;
28416 PyObject * obj0 = 0 ;
8edf1c75 28417 PyObject * obj1 = 0 ;
7a0a63ae
RD
28418 char *kwnames[] = {
28419 (char *) "self",(char *) "h", NULL
28420 };
28421
8edf1c75 28422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28425 arg2 = (double) SWIG_AsDouble(obj1);
28426 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 (arg1)->SetOriginalHeight(arg2);
28430
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 Py_INCREF(Py_None); resultobj = Py_None;
28435 return resultobj;
28436 fail:
28437 return NULL;
28438}
28439
28440
a95a7133 28441static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28442 PyObject *resultobj;
28443 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28444 PyObject * obj0 = 0 ;
28445 char *kwnames[] = {
28446 (char *) "self", NULL
28447 };
28448
28449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28452 {
28453 PyThreadState* __tstate = wxPyBeginAllowThreads();
28454 (arg1)->UpdateOriginalPoints();
28455
28456 wxPyEndAllowThreads(__tstate);
28457 if (PyErr_Occurred()) SWIG_fail;
28458 }
28459 Py_INCREF(Py_None); resultobj = Py_None;
28460 return resultobj;
28461 fail:
28462 return NULL;
28463}
28464
28465
a95a7133 28466static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28467 PyObject *resultobj;
28468 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28469 wxDC *arg2 = 0 ;
28470 PyObject * obj0 = 0 ;
28471 PyObject * obj1 = 0 ;
28472 char *kwnames[] = {
28473 (char *) "self",(char *) "dc", NULL
28474 };
28475
28476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28480 SWIG_POINTER_EXCEPTION | 0)) == -1)
28481 SWIG_fail;
44127b65 28482 if (arg2 == NULL) {
2f4c0a16
RD
28483 PyErr_SetString(PyExc_TypeError,"null reference");
28484 SWIG_fail;
44127b65
RD
28485 }
28486 {
28487 PyThreadState* __tstate = wxPyBeginAllowThreads();
28488 (arg1)->base_OnDraw(*arg2);
28489
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
28493 Py_INCREF(Py_None); resultobj = Py_None;
28494 return resultobj;
28495 fail:
28496 return NULL;
28497}
28498
28499
a95a7133 28500static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28501 PyObject *resultobj;
28502 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28503 wxDC *arg2 = 0 ;
28504 PyObject * obj0 = 0 ;
28505 PyObject * obj1 = 0 ;
28506 char *kwnames[] = {
28507 (char *) "self",(char *) "dc", NULL
28508 };
28509
28510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28514 SWIG_POINTER_EXCEPTION | 0)) == -1)
28515 SWIG_fail;
44127b65 28516 if (arg2 == NULL) {
2f4c0a16
RD
28517 PyErr_SetString(PyExc_TypeError,"null reference");
28518 SWIG_fail;
44127b65
RD
28519 }
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 (arg1)->base_OnDrawContents(*arg2);
28523
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 Py_INCREF(Py_None); resultobj = Py_None;
28528 return resultobj;
28529 fail:
28530 return NULL;
28531}
28532
28533
a95a7133 28534static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28535 PyObject *resultobj;
28536 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28537 wxDC *arg2 = 0 ;
28538 bool arg3 = (bool) FALSE ;
28539 PyObject * obj0 = 0 ;
28540 PyObject * obj1 = 0 ;
28541 PyObject * obj2 = 0 ;
28542 char *kwnames[] = {
28543 (char *) "self",(char *) "dc",(char *) "erase", NULL
28544 };
28545
28546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28550 SWIG_POINTER_EXCEPTION | 0)) == -1)
28551 SWIG_fail;
44127b65 28552 if (arg2 == NULL) {
2f4c0a16
RD
28553 PyErr_SetString(PyExc_TypeError,"null reference");
28554 SWIG_fail;
44127b65
RD
28555 }
28556 if (obj2) {
2f4c0a16
RD
28557 arg3 = (bool) SWIG_AsBool(obj2);
28558 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28559 }
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 (arg1)->base_OnDrawBranches(*arg2,arg3);
28563
28564 wxPyEndAllowThreads(__tstate);
28565 if (PyErr_Occurred()) SWIG_fail;
28566 }
28567 Py_INCREF(Py_None); resultobj = Py_None;
28568 return resultobj;
28569 fail:
28570 return NULL;
28571}
28572
28573
a95a7133 28574static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28575 PyObject *resultobj;
28576 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28577 wxDC *arg2 = 0 ;
28578 PyObject * obj0 = 0 ;
28579 PyObject * obj1 = 0 ;
28580 char *kwnames[] = {
28581 (char *) "self",(char *) "dc", NULL
28582 };
28583
28584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28588 SWIG_POINTER_EXCEPTION | 0)) == -1)
28589 SWIG_fail;
44127b65 28590 if (arg2 == NULL) {
2f4c0a16
RD
28591 PyErr_SetString(PyExc_TypeError,"null reference");
28592 SWIG_fail;
44127b65
RD
28593 }
28594 {
28595 PyThreadState* __tstate = wxPyBeginAllowThreads();
28596 (arg1)->base_OnMoveLinks(*arg2);
28597
28598 wxPyEndAllowThreads(__tstate);
28599 if (PyErr_Occurred()) SWIG_fail;
28600 }
28601 Py_INCREF(Py_None); resultobj = Py_None;
28602 return resultobj;
28603 fail:
28604 return NULL;
28605}
28606
28607
a95a7133 28608static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28609 PyObject *resultobj;
28610 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28611 wxDC *arg2 = 0 ;
28612 PyObject * obj0 = 0 ;
28613 PyObject * obj1 = 0 ;
28614 char *kwnames[] = {
28615 (char *) "self",(char *) "dc", NULL
28616 };
28617
28618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28622 SWIG_POINTER_EXCEPTION | 0)) == -1)
28623 SWIG_fail;
44127b65 28624 if (arg2 == NULL) {
2f4c0a16
RD
28625 PyErr_SetString(PyExc_TypeError,"null reference");
28626 SWIG_fail;
44127b65
RD
28627 }
28628 {
28629 PyThreadState* __tstate = wxPyBeginAllowThreads();
28630 (arg1)->base_OnErase(*arg2);
28631
28632 wxPyEndAllowThreads(__tstate);
28633 if (PyErr_Occurred()) SWIG_fail;
28634 }
28635 Py_INCREF(Py_None); resultobj = Py_None;
28636 return resultobj;
28637 fail:
28638 return NULL;
28639}
28640
28641
a95a7133 28642static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28643 PyObject *resultobj;
28644 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28645 wxDC *arg2 = 0 ;
28646 PyObject * obj0 = 0 ;
28647 PyObject * obj1 = 0 ;
28648 char *kwnames[] = {
28649 (char *) "self",(char *) "dc", NULL
28650 };
28651
28652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28656 SWIG_POINTER_EXCEPTION | 0)) == -1)
28657 SWIG_fail;
44127b65 28658 if (arg2 == NULL) {
2f4c0a16
RD
28659 PyErr_SetString(PyExc_TypeError,"null reference");
28660 SWIG_fail;
44127b65
RD
28661 }
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 (arg1)->base_OnEraseContents(*arg2);
28665
28666 wxPyEndAllowThreads(__tstate);
28667 if (PyErr_Occurred()) SWIG_fail;
28668 }
28669 Py_INCREF(Py_None); resultobj = Py_None;
28670 return resultobj;
28671 fail:
28672 return NULL;
28673}
28674
28675
a95a7133 28676static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28677 PyObject *resultobj;
28678 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28679 wxDC *arg2 = 0 ;
28680 PyObject * obj0 = 0 ;
28681 PyObject * obj1 = 0 ;
28682 char *kwnames[] = {
28683 (char *) "self",(char *) "dc", NULL
28684 };
28685
28686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28690 SWIG_POINTER_EXCEPTION | 0)) == -1)
28691 SWIG_fail;
44127b65 28692 if (arg2 == NULL) {
2f4c0a16
RD
28693 PyErr_SetString(PyExc_TypeError,"null reference");
28694 SWIG_fail;
44127b65
RD
28695 }
28696 {
28697 PyThreadState* __tstate = wxPyBeginAllowThreads();
28698 (arg1)->base_OnHighlight(*arg2);
28699
28700 wxPyEndAllowThreads(__tstate);
28701 if (PyErr_Occurred()) SWIG_fail;
28702 }
28703 Py_INCREF(Py_None); resultobj = Py_None;
28704 return resultobj;
28705 fail:
28706 return NULL;
28707}
28708
28709
a95a7133 28710static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28711 PyObject *resultobj;
28712 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28713 double arg2 ;
28714 double arg3 ;
28715 int arg4 = (int) 0 ;
28716 int arg5 = (int) 0 ;
28717 PyObject * obj0 = 0 ;
8edf1c75
RD
28718 PyObject * obj1 = 0 ;
28719 PyObject * obj2 = 0 ;
28720 PyObject * obj3 = 0 ;
28721 PyObject * obj4 = 0 ;
44127b65
RD
28722 char *kwnames[] = {
28723 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28724 };
28725
8edf1c75 28726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28729 arg2 = (double) SWIG_AsDouble(obj1);
28730 if (PyErr_Occurred()) SWIG_fail;
28731 arg3 = (double) SWIG_AsDouble(obj2);
28732 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28733 if (obj3) {
2f4c0a16
RD
28734 arg4 = (int) SWIG_AsInt(obj3);
28735 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28736 }
28737 if (obj4) {
2f4c0a16
RD
28738 arg5 = (int) SWIG_AsInt(obj4);
28739 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28740 }
44127b65
RD
28741 {
28742 PyThreadState* __tstate = wxPyBeginAllowThreads();
28743 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
28744
28745 wxPyEndAllowThreads(__tstate);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 Py_INCREF(Py_None); resultobj = Py_None;
28749 return resultobj;
28750 fail:
28751 return NULL;
28752}
28753
28754
a95a7133 28755static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28756 PyObject *resultobj;
28757 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28758 double arg2 ;
28759 double arg3 ;
28760 int arg4 = (int) 0 ;
28761 int arg5 = (int) 0 ;
28762 PyObject * obj0 = 0 ;
8edf1c75
RD
28763 PyObject * obj1 = 0 ;
28764 PyObject * obj2 = 0 ;
28765 PyObject * obj3 = 0 ;
28766 PyObject * obj4 = 0 ;
44127b65
RD
28767 char *kwnames[] = {
28768 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28769 };
28770
8edf1c75 28771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28774 arg2 = (double) SWIG_AsDouble(obj1);
28775 if (PyErr_Occurred()) SWIG_fail;
28776 arg3 = (double) SWIG_AsDouble(obj2);
28777 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28778 if (obj3) {
2f4c0a16
RD
28779 arg4 = (int) SWIG_AsInt(obj3);
28780 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28781 }
28782 if (obj4) {
2f4c0a16
RD
28783 arg5 = (int) SWIG_AsInt(obj4);
28784 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28785 }
44127b65
RD
28786 {
28787 PyThreadState* __tstate = wxPyBeginAllowThreads();
28788 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
28789
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 Py_INCREF(Py_None); resultobj = Py_None;
28794 return resultobj;
28795 fail:
28796 return NULL;
28797}
28798
28799
a95a7133 28800static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28801 PyObject *resultobj;
28802 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28803 double arg2 ;
28804 double arg3 ;
28805 int arg4 = (int) 0 ;
28806 int arg5 = (int) 0 ;
28807 PyObject * obj0 = 0 ;
8edf1c75
RD
28808 PyObject * obj1 = 0 ;
28809 PyObject * obj2 = 0 ;
28810 PyObject * obj3 = 0 ;
28811 PyObject * obj4 = 0 ;
44127b65
RD
28812 char *kwnames[] = {
28813 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28814 };
28815
8edf1c75 28816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28819 arg2 = (double) SWIG_AsDouble(obj1);
28820 if (PyErr_Occurred()) SWIG_fail;
28821 arg3 = (double) SWIG_AsDouble(obj2);
28822 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28823 if (obj3) {
2f4c0a16
RD
28824 arg4 = (int) SWIG_AsInt(obj3);
28825 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28826 }
28827 if (obj4) {
2f4c0a16
RD
28828 arg5 = (int) SWIG_AsInt(obj4);
28829 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28830 }
44127b65
RD
28831 {
28832 PyThreadState* __tstate = wxPyBeginAllowThreads();
28833 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
28834
28835 wxPyEndAllowThreads(__tstate);
28836 if (PyErr_Occurred()) SWIG_fail;
28837 }
28838 Py_INCREF(Py_None); resultobj = Py_None;
28839 return resultobj;
28840 fail:
28841 return NULL;
28842}
28843
28844
a95a7133 28845static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28846 PyObject *resultobj;
28847 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28848 double arg2 ;
28849 double arg3 ;
28850 PyObject * obj0 = 0 ;
8edf1c75
RD
28851 PyObject * obj1 = 0 ;
28852 PyObject * obj2 = 0 ;
44127b65
RD
28853 char *kwnames[] = {
28854 (char *) "self",(char *) "x",(char *) "y", NULL
28855 };
28856
8edf1c75 28857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28860 arg2 = (double) SWIG_AsDouble(obj1);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 arg3 = (double) SWIG_AsDouble(obj2);
28863 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28864 {
28865 PyThreadState* __tstate = wxPyBeginAllowThreads();
28866 (arg1)->base_OnSize(arg2,arg3);
28867
28868 wxPyEndAllowThreads(__tstate);
28869 if (PyErr_Occurred()) SWIG_fail;
28870 }
28871 Py_INCREF(Py_None); resultobj = Py_None;
28872 return resultobj;
28873 fail:
28874 return NULL;
28875}
28876
28877
a95a7133 28878static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28879 PyObject *resultobj;
28880 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28881 wxDC *arg2 = 0 ;
28882 double arg3 ;
28883 double arg4 ;
28884 double arg5 ;
28885 double arg6 ;
28886 bool arg7 = (bool) True ;
28887 bool result;
28888 PyObject * obj0 = 0 ;
28889 PyObject * obj1 = 0 ;
8edf1c75
RD
28890 PyObject * obj2 = 0 ;
28891 PyObject * obj3 = 0 ;
28892 PyObject * obj4 = 0 ;
28893 PyObject * obj5 = 0 ;
44127b65
RD
28894 PyObject * obj6 = 0 ;
28895 char *kwnames[] = {
28896 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28897 };
28898
8edf1c75 28899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
28900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28903 SWIG_POINTER_EXCEPTION | 0)) == -1)
28904 SWIG_fail;
44127b65 28905 if (arg2 == NULL) {
2f4c0a16
RD
28906 PyErr_SetString(PyExc_TypeError,"null reference");
28907 SWIG_fail;
28908 }
28909 arg3 = (double) SWIG_AsDouble(obj2);
28910 if (PyErr_Occurred()) SWIG_fail;
28911 arg4 = (double) SWIG_AsDouble(obj3);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 arg5 = (double) SWIG_AsDouble(obj4);
28914 if (PyErr_Occurred()) SWIG_fail;
28915 arg6 = (double) SWIG_AsDouble(obj5);
28916 if (PyErr_Occurred()) SWIG_fail;
44127b65 28917 if (obj6) {
2f4c0a16
RD
28918 arg7 = (bool) SWIG_AsBool(obj6);
28919 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28920 }
28921 {
28922 PyThreadState* __tstate = wxPyBeginAllowThreads();
28923 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
28924
28925 wxPyEndAllowThreads(__tstate);
28926 if (PyErr_Occurred()) SWIG_fail;
28927 }
fbc46b20
RD
28928 {
28929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28930 }
44127b65
RD
28931 return resultobj;
28932 fail:
28933 return NULL;
28934}
28935
28936
a95a7133 28937static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28938 PyObject *resultobj;
28939 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28940 wxDC *arg2 = 0 ;
28941 double arg3 ;
28942 double arg4 ;
28943 double arg5 ;
28944 double arg6 ;
28945 bool arg7 = (bool) True ;
28946 PyObject * obj0 = 0 ;
28947 PyObject * obj1 = 0 ;
8edf1c75
RD
28948 PyObject * obj2 = 0 ;
28949 PyObject * obj3 = 0 ;
28950 PyObject * obj4 = 0 ;
28951 PyObject * obj5 = 0 ;
44127b65
RD
28952 PyObject * obj6 = 0 ;
28953 char *kwnames[] = {
28954 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28955 };
28956
8edf1c75 28957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
28958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28961 SWIG_POINTER_EXCEPTION | 0)) == -1)
28962 SWIG_fail;
44127b65 28963 if (arg2 == NULL) {
2f4c0a16
RD
28964 PyErr_SetString(PyExc_TypeError,"null reference");
28965 SWIG_fail;
28966 }
28967 arg3 = (double) SWIG_AsDouble(obj2);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 arg4 = (double) SWIG_AsDouble(obj3);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 arg5 = (double) SWIG_AsDouble(obj4);
28972 if (PyErr_Occurred()) SWIG_fail;
28973 arg6 = (double) SWIG_AsDouble(obj5);
28974 if (PyErr_Occurred()) SWIG_fail;
44127b65 28975 if (obj6) {
2f4c0a16
RD
28976 arg7 = (bool) SWIG_AsBool(obj6);
28977 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28978 }
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
28982
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 Py_INCREF(Py_None); resultobj = Py_None;
28987 return resultobj;
28988 fail:
28989 return NULL;
28990}
28991
28992
a95a7133 28993static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28994 PyObject *resultobj;
28995 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28996 bool arg2 ;
28997 double arg3 ;
28998 double arg4 ;
28999 int arg5 = (int) 0 ;
29000 int arg6 = (int) 0 ;
29001 PyObject * obj0 = 0 ;
29002 PyObject * obj1 = 0 ;
8edf1c75
RD
29003 PyObject * obj2 = 0 ;
29004 PyObject * obj3 = 0 ;
29005 PyObject * obj4 = 0 ;
29006 PyObject * obj5 = 0 ;
44127b65
RD
29007 char *kwnames[] = {
29008 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29009 };
29010
8edf1c75 29011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29014 arg2 = (bool) SWIG_AsBool(obj1);
29015 if (PyErr_Occurred()) SWIG_fail;
29016 arg3 = (double) SWIG_AsDouble(obj2);
29017 if (PyErr_Occurred()) SWIG_fail;
29018 arg4 = (double) SWIG_AsDouble(obj3);
29019 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29020 if (obj4) {
2f4c0a16
RD
29021 arg5 = (int) SWIG_AsInt(obj4);
29022 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29023 }
29024 if (obj5) {
2f4c0a16
RD
29025 arg6 = (int) SWIG_AsInt(obj5);
29026 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29027 }
44127b65
RD
29028 {
29029 PyThreadState* __tstate = wxPyBeginAllowThreads();
29030 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
29031
29032 wxPyEndAllowThreads(__tstate);
29033 if (PyErr_Occurred()) SWIG_fail;
29034 }
29035 Py_INCREF(Py_None); resultobj = Py_None;
29036 return resultobj;
29037 fail:
29038 return NULL;
29039}
29040
29041
a95a7133 29042static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29043 PyObject *resultobj;
29044 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29045 double arg2 ;
29046 double arg3 ;
29047 int arg4 = (int) 0 ;
29048 int arg5 = (int) 0 ;
29049 PyObject * obj0 = 0 ;
8edf1c75
RD
29050 PyObject * obj1 = 0 ;
29051 PyObject * obj2 = 0 ;
29052 PyObject * obj3 = 0 ;
29053 PyObject * obj4 = 0 ;
44127b65
RD
29054 char *kwnames[] = {
29055 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29056 };
29057
8edf1c75 29058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29061 arg2 = (double) SWIG_AsDouble(obj1);
29062 if (PyErr_Occurred()) SWIG_fail;
29063 arg3 = (double) SWIG_AsDouble(obj2);
29064 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29065 if (obj3) {
2f4c0a16
RD
29066 arg4 = (int) SWIG_AsInt(obj3);
29067 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29068 }
29069 if (obj4) {
2f4c0a16
RD
29070 arg5 = (int) SWIG_AsInt(obj4);
29071 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29072 }
44127b65
RD
29073 {
29074 PyThreadState* __tstate = wxPyBeginAllowThreads();
29075 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
29076
29077 wxPyEndAllowThreads(__tstate);
29078 if (PyErr_Occurred()) SWIG_fail;
29079 }
29080 Py_INCREF(Py_None); resultobj = Py_None;
29081 return resultobj;
29082 fail:
29083 return NULL;
29084}
29085
29086
a95a7133 29087static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29088 PyObject *resultobj;
29089 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29090 double arg2 ;
29091 double arg3 ;
29092 int arg4 = (int) 0 ;
29093 int arg5 = (int) 0 ;
29094 PyObject * obj0 = 0 ;
8edf1c75
RD
29095 PyObject * obj1 = 0 ;
29096 PyObject * obj2 = 0 ;
29097 PyObject * obj3 = 0 ;
29098 PyObject * obj4 = 0 ;
44127b65
RD
29099 char *kwnames[] = {
29100 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29101 };
29102
8edf1c75 29103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29106 arg2 = (double) SWIG_AsDouble(obj1);
29107 if (PyErr_Occurred()) SWIG_fail;
29108 arg3 = (double) SWIG_AsDouble(obj2);
29109 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29110 if (obj3) {
2f4c0a16
RD
29111 arg4 = (int) SWIG_AsInt(obj3);
29112 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29113 }
29114 if (obj4) {
2f4c0a16
RD
29115 arg5 = (int) SWIG_AsInt(obj4);
29116 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29117 }
44127b65
RD
29118 {
29119 PyThreadState* __tstate = wxPyBeginAllowThreads();
29120 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
29121
29122 wxPyEndAllowThreads(__tstate);
29123 if (PyErr_Occurred()) SWIG_fail;
29124 }
29125 Py_INCREF(Py_None); resultobj = Py_None;
29126 return resultobj;
29127 fail:
29128 return NULL;
29129}
29130
29131
a95a7133 29132static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29133 PyObject *resultobj;
29134 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29135 bool arg2 ;
29136 double arg3 ;
29137 double arg4 ;
29138 int arg5 = (int) 0 ;
29139 int arg6 = (int) 0 ;
29140 PyObject * obj0 = 0 ;
29141 PyObject * obj1 = 0 ;
8edf1c75
RD
29142 PyObject * obj2 = 0 ;
29143 PyObject * obj3 = 0 ;
29144 PyObject * obj4 = 0 ;
29145 PyObject * obj5 = 0 ;
44127b65
RD
29146 char *kwnames[] = {
29147 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29148 };
29149
8edf1c75 29150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29153 arg2 = (bool) SWIG_AsBool(obj1);
29154 if (PyErr_Occurred()) SWIG_fail;
29155 arg3 = (double) SWIG_AsDouble(obj2);
29156 if (PyErr_Occurred()) SWIG_fail;
29157 arg4 = (double) SWIG_AsDouble(obj3);
29158 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29159 if (obj4) {
2f4c0a16
RD
29160 arg5 = (int) SWIG_AsInt(obj4);
29161 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29162 }
29163 if (obj5) {
2f4c0a16
RD
29164 arg6 = (int) SWIG_AsInt(obj5);
29165 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29166 }
44127b65
RD
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29170
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 Py_INCREF(Py_None); resultobj = Py_None;
29175 return resultobj;
29176 fail:
29177 return NULL;
29178}
29179
29180
a95a7133 29181static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29182 PyObject *resultobj;
29183 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29184 double arg2 ;
29185 double arg3 ;
29186 int arg4 = (int) 0 ;
29187 int arg5 = (int) 0 ;
29188 PyObject * obj0 = 0 ;
8edf1c75
RD
29189 PyObject * obj1 = 0 ;
29190 PyObject * obj2 = 0 ;
29191 PyObject * obj3 = 0 ;
29192 PyObject * obj4 = 0 ;
44127b65
RD
29193 char *kwnames[] = {
29194 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29195 };
29196
8edf1c75 29197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29200 arg2 = (double) SWIG_AsDouble(obj1);
29201 if (PyErr_Occurred()) SWIG_fail;
29202 arg3 = (double) SWIG_AsDouble(obj2);
29203 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29204 if (obj3) {
2f4c0a16
RD
29205 arg4 = (int) SWIG_AsInt(obj3);
29206 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29207 }
29208 if (obj4) {
2f4c0a16
RD
29209 arg5 = (int) SWIG_AsInt(obj4);
29210 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29211 }
44127b65
RD
29212 {
29213 PyThreadState* __tstate = wxPyBeginAllowThreads();
29214 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29215
29216 wxPyEndAllowThreads(__tstate);
29217 if (PyErr_Occurred()) SWIG_fail;
29218 }
29219 Py_INCREF(Py_None); resultobj = Py_None;
29220 return resultobj;
29221 fail:
29222 return NULL;
29223}
29224
29225
a95a7133 29226static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29227 PyObject *resultobj;
29228 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29229 double arg2 ;
29230 double arg3 ;
29231 int arg4 = (int) 0 ;
29232 int arg5 = (int) 0 ;
29233 PyObject * obj0 = 0 ;
8edf1c75
RD
29234 PyObject * obj1 = 0 ;
29235 PyObject * obj2 = 0 ;
29236 PyObject * obj3 = 0 ;
29237 PyObject * obj4 = 0 ;
44127b65
RD
29238 char *kwnames[] = {
29239 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29240 };
29241
8edf1c75 29242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29245 arg2 = (double) SWIG_AsDouble(obj1);
29246 if (PyErr_Occurred()) SWIG_fail;
29247 arg3 = (double) SWIG_AsDouble(obj2);
29248 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29249 if (obj3) {
2f4c0a16
RD
29250 arg4 = (int) SWIG_AsInt(obj3);
29251 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29252 }
29253 if (obj4) {
2f4c0a16
RD
29254 arg5 = (int) SWIG_AsInt(obj4);
29255 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29256 }
44127b65
RD
29257 {
29258 PyThreadState* __tstate = wxPyBeginAllowThreads();
29259 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29260
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
29264 Py_INCREF(Py_None); resultobj = Py_None;
29265 return resultobj;
29266 fail:
29267 return NULL;
29268}
29269
29270
a95a7133 29271static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29272 PyObject *resultobj;
29273 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29274 wxDC *arg2 = 0 ;
29275 double arg3 ;
29276 double arg4 ;
29277 double arg5 ;
29278 double arg6 ;
29279 PyObject * obj0 = 0 ;
29280 PyObject * obj1 = 0 ;
8edf1c75
RD
29281 PyObject * obj2 = 0 ;
29282 PyObject * obj3 = 0 ;
29283 PyObject * obj4 = 0 ;
29284 PyObject * obj5 = 0 ;
44127b65
RD
29285 char *kwnames[] = {
29286 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29287 };
29288
8edf1c75 29289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29293 SWIG_POINTER_EXCEPTION | 0)) == -1)
29294 SWIG_fail;
44127b65 29295 if (arg2 == NULL) {
2f4c0a16
RD
29296 PyErr_SetString(PyExc_TypeError,"null reference");
29297 SWIG_fail;
8edf1c75 29298 }
2f4c0a16
RD
29299 arg3 = (double) SWIG_AsDouble(obj2);
29300 if (PyErr_Occurred()) SWIG_fail;
29301 arg4 = (double) SWIG_AsDouble(obj3);
29302 if (PyErr_Occurred()) SWIG_fail;
29303 arg5 = (double) SWIG_AsDouble(obj4);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 arg6 = (double) SWIG_AsDouble(obj5);
29306 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29307 {
29308 PyThreadState* __tstate = wxPyBeginAllowThreads();
29309 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29310
29311 wxPyEndAllowThreads(__tstate);
29312 if (PyErr_Occurred()) SWIG_fail;
29313 }
29314 Py_INCREF(Py_None); resultobj = Py_None;
29315 return resultobj;
29316 fail:
29317 return NULL;
29318}
29319
29320
a95a7133 29321static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29322 PyObject *resultobj;
29323 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29324 wxDC *arg2 = 0 ;
29325 PyObject * obj0 = 0 ;
29326 PyObject * obj1 = 0 ;
29327 char *kwnames[] = {
29328 (char *) "self",(char *) "dc", NULL
29329 };
29330
29331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29335 SWIG_POINTER_EXCEPTION | 0)) == -1)
29336 SWIG_fail;
44127b65 29337 if (arg2 == NULL) {
2f4c0a16
RD
29338 PyErr_SetString(PyExc_TypeError,"null reference");
29339 SWIG_fail;
44127b65
RD
29340 }
29341 {
29342 PyThreadState* __tstate = wxPyBeginAllowThreads();
29343 (arg1)->base_OnDrawControlPoints(*arg2);
29344
29345 wxPyEndAllowThreads(__tstate);
29346 if (PyErr_Occurred()) SWIG_fail;
29347 }
29348 Py_INCREF(Py_None); resultobj = Py_None;
29349 return resultobj;
29350 fail:
29351 return NULL;
29352}
29353
29354
a95a7133 29355static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29356 PyObject *resultobj;
29357 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29358 wxDC *arg2 = 0 ;
29359 PyObject * obj0 = 0 ;
29360 PyObject * obj1 = 0 ;
29361 char *kwnames[] = {
29362 (char *) "self",(char *) "dc", NULL
29363 };
29364
29365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29369 SWIG_POINTER_EXCEPTION | 0)) == -1)
29370 SWIG_fail;
44127b65 29371 if (arg2 == NULL) {
2f4c0a16
RD
29372 PyErr_SetString(PyExc_TypeError,"null reference");
29373 SWIG_fail;
44127b65
RD
29374 }
29375 {
29376 PyThreadState* __tstate = wxPyBeginAllowThreads();
29377 (arg1)->base_OnEraseControlPoints(*arg2);
29378
29379 wxPyEndAllowThreads(__tstate);
29380 if (PyErr_Occurred()) SWIG_fail;
29381 }
29382 Py_INCREF(Py_None); resultobj = Py_None;
29383 return resultobj;
29384 fail:
29385 return NULL;
29386}
29387
29388
a95a7133 29389static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29390 PyObject *resultobj;
29391 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29392 wxDC *arg2 = 0 ;
29393 bool arg3 = (bool) True ;
29394 PyObject * obj0 = 0 ;
29395 PyObject * obj1 = 0 ;
29396 PyObject * obj2 = 0 ;
29397 char *kwnames[] = {
29398 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29399 };
29400
29401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29405 SWIG_POINTER_EXCEPTION | 0)) == -1)
29406 SWIG_fail;
44127b65 29407 if (arg2 == NULL) {
2f4c0a16
RD
29408 PyErr_SetString(PyExc_TypeError,"null reference");
29409 SWIG_fail;
44127b65
RD
29410 }
29411 if (obj2) {
2f4c0a16
RD
29412 arg3 = (bool) SWIG_AsBool(obj2);
29413 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29414 }
29415 {
29416 PyThreadState* __tstate = wxPyBeginAllowThreads();
29417 (arg1)->base_OnMoveLink(*arg2,arg3);
29418
29419 wxPyEndAllowThreads(__tstate);
29420 if (PyErr_Occurred()) SWIG_fail;
29421 }
29422 Py_INCREF(Py_None); resultobj = Py_None;
29423 return resultobj;
29424 fail:
29425 return NULL;
29426}
29427
29428
a95a7133 29429static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29430 PyObject *resultobj;
29431 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29432 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29433 bool arg3 ;
29434 double arg4 ;
29435 double arg5 ;
29436 int arg6 = (int) 0 ;
29437 int arg7 = (int) 0 ;
29438 PyObject * obj0 = 0 ;
29439 PyObject * obj1 = 0 ;
29440 PyObject * obj2 = 0 ;
8edf1c75
RD
29441 PyObject * obj3 = 0 ;
29442 PyObject * obj4 = 0 ;
29443 PyObject * obj5 = 0 ;
29444 PyObject * obj6 = 0 ;
44127b65
RD
29445 char *kwnames[] = {
29446 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29447 };
29448
8edf1c75 29449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
29450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29454 arg3 = (bool) SWIG_AsBool(obj2);
29455 if (PyErr_Occurred()) SWIG_fail;
29456 arg4 = (double) SWIG_AsDouble(obj3);
29457 if (PyErr_Occurred()) SWIG_fail;
29458 arg5 = (double) SWIG_AsDouble(obj4);
29459 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29460 if (obj5) {
2f4c0a16
RD
29461 arg6 = (int) SWIG_AsInt(obj5);
29462 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29463 }
29464 if (obj6) {
2f4c0a16
RD
29465 arg7 = (int) SWIG_AsInt(obj6);
29466 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29467 }
44127b65
RD
29468 {
29469 PyThreadState* __tstate = wxPyBeginAllowThreads();
29470 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
29471
29472 wxPyEndAllowThreads(__tstate);
29473 if (PyErr_Occurred()) SWIG_fail;
29474 }
29475 Py_INCREF(Py_None); resultobj = Py_None;
29476 return resultobj;
29477 fail:
29478 return NULL;
29479}
29480
29481
a95a7133 29482static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29483 PyObject *resultobj;
29484 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29485 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29486 double arg3 ;
29487 double arg4 ;
29488 int arg5 = (int) 0 ;
29489 int arg6 = (int) 0 ;
29490 PyObject * obj0 = 0 ;
29491 PyObject * obj1 = 0 ;
8edf1c75
RD
29492 PyObject * obj2 = 0 ;
29493 PyObject * obj3 = 0 ;
29494 PyObject * obj4 = 0 ;
29495 PyObject * obj5 = 0 ;
44127b65
RD
29496 char *kwnames[] = {
29497 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29498 };
29499
8edf1c75 29500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29505 arg3 = (double) SWIG_AsDouble(obj2);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 arg4 = (double) SWIG_AsDouble(obj3);
29508 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29509 if (obj4) {
2f4c0a16
RD
29510 arg5 = (int) SWIG_AsInt(obj4);
29511 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29512 }
29513 if (obj5) {
2f4c0a16
RD
29514 arg6 = (int) SWIG_AsInt(obj5);
29515 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29516 }
44127b65
RD
29517 {
29518 PyThreadState* __tstate = wxPyBeginAllowThreads();
29519 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
29520
29521 wxPyEndAllowThreads(__tstate);
29522 if (PyErr_Occurred()) SWIG_fail;
29523 }
29524 Py_INCREF(Py_None); resultobj = Py_None;
29525 return resultobj;
29526 fail:
29527 return NULL;
29528}
29529
29530
a95a7133 29531static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29532 PyObject *resultobj;
29533 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29534 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29535 double arg3 ;
29536 double arg4 ;
29537 int arg5 = (int) 0 ;
29538 int arg6 = (int) 0 ;
29539 PyObject * obj0 = 0 ;
29540 PyObject * obj1 = 0 ;
8edf1c75
RD
29541 PyObject * obj2 = 0 ;
29542 PyObject * obj3 = 0 ;
29543 PyObject * obj4 = 0 ;
29544 PyObject * obj5 = 0 ;
44127b65
RD
29545 char *kwnames[] = {
29546 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29547 };
29548
8edf1c75 29549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29554 arg3 = (double) SWIG_AsDouble(obj2);
29555 if (PyErr_Occurred()) SWIG_fail;
29556 arg4 = (double) SWIG_AsDouble(obj3);
29557 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29558 if (obj4) {
2f4c0a16
RD
29559 arg5 = (int) SWIG_AsInt(obj4);
29560 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29561 }
29562 if (obj5) {
2f4c0a16
RD
29563 arg6 = (int) SWIG_AsInt(obj5);
29564 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29565 }
44127b65
RD
29566 {
29567 PyThreadState* __tstate = wxPyBeginAllowThreads();
29568 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
29569
29570 wxPyEndAllowThreads(__tstate);
29571 if (PyErr_Occurred()) SWIG_fail;
29572 }
29573 Py_INCREF(Py_None); resultobj = Py_None;
29574 return resultobj;
29575 fail:
29576 return NULL;
29577}
29578
29579
a95a7133 29580static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29581 PyObject *resultobj;
29582 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29583 double arg2 ;
29584 double arg3 ;
29585 PyObject * obj0 = 0 ;
8edf1c75
RD
29586 PyObject * obj1 = 0 ;
29587 PyObject * obj2 = 0 ;
44127b65
RD
29588 char *kwnames[] = {
29589 (char *) "self",(char *) "w",(char *) "h", NULL
29590 };
29591
8edf1c75 29592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29595 arg2 = (double) SWIG_AsDouble(obj1);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 arg3 = (double) SWIG_AsDouble(obj2);
29598 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29599 {
29600 PyThreadState* __tstate = wxPyBeginAllowThreads();
29601 (arg1)->base_OnBeginSize(arg2,arg3);
29602
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 Py_INCREF(Py_None); resultobj = Py_None;
29607 return resultobj;
29608 fail:
29609 return NULL;
29610}
29611
29612
a95a7133 29613static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29614 PyObject *resultobj;
29615 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29616 double arg2 ;
29617 double arg3 ;
29618 PyObject * obj0 = 0 ;
8edf1c75
RD
29619 PyObject * obj1 = 0 ;
29620 PyObject * obj2 = 0 ;
44127b65
RD
29621 char *kwnames[] = {
29622 (char *) "self",(char *) "w",(char *) "h", NULL
29623 };
29624
8edf1c75 29625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29628 arg2 = (double) SWIG_AsDouble(obj1);
29629 if (PyErr_Occurred()) SWIG_fail;
29630 arg3 = (double) SWIG_AsDouble(obj2);
29631 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29632 {
29633 PyThreadState* __tstate = wxPyBeginAllowThreads();
29634 (arg1)->base_OnEndSize(arg2,arg3);
29635
29636 wxPyEndAllowThreads(__tstate);
29637 if (PyErr_Occurred()) SWIG_fail;
29638 }
29639 Py_INCREF(Py_None); resultobj = Py_None;
29640 return resultobj;
29641 fail:
29642 return NULL;
29643}
29644
29645
a95a7133 29646static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
29647 PyObject *obj;
29648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29649 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
29650 Py_INCREF(obj);
29651 return Py_BuildValue((char *)"");
29652}
a95a7133 29653static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29654 PyObject *resultobj;
29655 double arg1 = (double) 0.0 ;
29656 double arg2 = (double) 0.0 ;
29657 wxPyTextShape *result;
8edf1c75
RD
29658 PyObject * obj0 = 0 ;
29659 PyObject * obj1 = 0 ;
44127b65
RD
29660 char *kwnames[] = {
29661 (char *) "width",(char *) "height", NULL
29662 };
29663
8edf1c75
RD
29664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
29665 if (obj0) {
2f4c0a16
RD
29666 arg1 = (double) SWIG_AsDouble(obj0);
29667 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29668 }
29669 if (obj1) {
2f4c0a16
RD
29670 arg2 = (double) SWIG_AsDouble(obj1);
29671 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29672 }
44127b65
RD
29673 {
29674 PyThreadState* __tstate = wxPyBeginAllowThreads();
29675 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
29676
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
2f4c0a16 29680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
44127b65
RD
29681 return resultobj;
29682 fail:
29683 return NULL;
29684}
29685
29686
a95a7133 29687static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29688 PyObject *resultobj;
29689 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29690 PyObject *arg2 = (PyObject *) 0 ;
29691 PyObject *arg3 = (PyObject *) 0 ;
29692 PyObject * obj0 = 0 ;
29693 PyObject * obj1 = 0 ;
29694 PyObject * obj2 = 0 ;
29695 char *kwnames[] = {
29696 (char *) "self",(char *) "self",(char *) "_class", NULL
29697 };
29698
29699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
29702 arg2 = obj1;
29703 arg3 = obj2;
29704 {
29705 PyThreadState* __tstate = wxPyBeginAllowThreads();
29706 (arg1)->_setCallbackInfo(arg2,arg3);
29707
29708 wxPyEndAllowThreads(__tstate);
29709 if (PyErr_Occurred()) SWIG_fail;
29710 }
29711 Py_INCREF(Py_None); resultobj = Py_None;
29712 return resultobj;
29713 fail:
29714 return NULL;
29715}
29716
29717
a95a7133 29718static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29719 PyObject *resultobj;
29720 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29721 PyObject * obj0 = 0 ;
29722 char *kwnames[] = {
29723 (char *) "self", NULL
29724 };
29725
29726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
29729 {
29730 PyThreadState* __tstate = wxPyBeginAllowThreads();
29731 (arg1)->base_OnDelete();
29732
29733 wxPyEndAllowThreads(__tstate);
29734 if (PyErr_Occurred()) SWIG_fail;
29735 }
29736 Py_INCREF(Py_None); resultobj = Py_None;
29737 return resultobj;
29738 fail:
29739 return NULL;
29740}
29741
29742
a95a7133 29743static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29744 PyObject *resultobj;
29745 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29746 wxDC *arg2 = 0 ;
29747 PyObject * obj0 = 0 ;
29748 PyObject * obj1 = 0 ;
29749 char *kwnames[] = {
29750 (char *) "self",(char *) "dc", NULL
29751 };
29752
29753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29757 SWIG_POINTER_EXCEPTION | 0)) == -1)
29758 SWIG_fail;
44127b65 29759 if (arg2 == NULL) {
2f4c0a16
RD
29760 PyErr_SetString(PyExc_TypeError,"null reference");
29761 SWIG_fail;
44127b65
RD
29762 }
29763 {
29764 PyThreadState* __tstate = wxPyBeginAllowThreads();
29765 (arg1)->base_OnDraw(*arg2);
29766
29767 wxPyEndAllowThreads(__tstate);
29768 if (PyErr_Occurred()) SWIG_fail;
29769 }
29770 Py_INCREF(Py_None); resultobj = Py_None;
29771 return resultobj;
29772 fail:
29773 return NULL;
29774}
29775
29776
a95a7133 29777static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29778 PyObject *resultobj;
29779 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29780 wxDC *arg2 = 0 ;
29781 PyObject * obj0 = 0 ;
29782 PyObject * obj1 = 0 ;
29783 char *kwnames[] = {
29784 (char *) "self",(char *) "dc", NULL
29785 };
29786
29787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29791 SWIG_POINTER_EXCEPTION | 0)) == -1)
29792 SWIG_fail;
44127b65 29793 if (arg2 == NULL) {
2f4c0a16
RD
29794 PyErr_SetString(PyExc_TypeError,"null reference");
29795 SWIG_fail;
44127b65
RD
29796 }
29797 {
29798 PyThreadState* __tstate = wxPyBeginAllowThreads();
29799 (arg1)->base_OnDrawContents(*arg2);
29800
29801 wxPyEndAllowThreads(__tstate);
29802 if (PyErr_Occurred()) SWIG_fail;
29803 }
29804 Py_INCREF(Py_None); resultobj = Py_None;
29805 return resultobj;
29806 fail:
29807 return NULL;
29808}
29809
29810
a95a7133 29811static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29812 PyObject *resultobj;
29813 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29814 wxDC *arg2 = 0 ;
29815 bool arg3 = (bool) FALSE ;
29816 PyObject * obj0 = 0 ;
29817 PyObject * obj1 = 0 ;
29818 PyObject * obj2 = 0 ;
29819 char *kwnames[] = {
29820 (char *) "self",(char *) "dc",(char *) "erase", NULL
29821 };
29822
29823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29827 SWIG_POINTER_EXCEPTION | 0)) == -1)
29828 SWIG_fail;
44127b65 29829 if (arg2 == NULL) {
2f4c0a16
RD
29830 PyErr_SetString(PyExc_TypeError,"null reference");
29831 SWIG_fail;
44127b65
RD
29832 }
29833 if (obj2) {
2f4c0a16
RD
29834 arg3 = (bool) SWIG_AsBool(obj2);
29835 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29836 }
29837 {
29838 PyThreadState* __tstate = wxPyBeginAllowThreads();
29839 (arg1)->base_OnDrawBranches(*arg2,arg3);
29840
29841 wxPyEndAllowThreads(__tstate);
29842 if (PyErr_Occurred()) SWIG_fail;
29843 }
29844 Py_INCREF(Py_None); resultobj = Py_None;
29845 return resultobj;
29846 fail:
29847 return NULL;
29848}
29849
29850
a95a7133 29851static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29852 PyObject *resultobj;
29853 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29854 wxDC *arg2 = 0 ;
29855 PyObject * obj0 = 0 ;
29856 PyObject * obj1 = 0 ;
29857 char *kwnames[] = {
29858 (char *) "self",(char *) "dc", NULL
29859 };
29860
29861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29865 SWIG_POINTER_EXCEPTION | 0)) == -1)
29866 SWIG_fail;
44127b65 29867 if (arg2 == NULL) {
2f4c0a16
RD
29868 PyErr_SetString(PyExc_TypeError,"null reference");
29869 SWIG_fail;
44127b65
RD
29870 }
29871 {
29872 PyThreadState* __tstate = wxPyBeginAllowThreads();
29873 (arg1)->base_OnMoveLinks(*arg2);
29874
29875 wxPyEndAllowThreads(__tstate);
29876 if (PyErr_Occurred()) SWIG_fail;
29877 }
29878 Py_INCREF(Py_None); resultobj = Py_None;
29879 return resultobj;
29880 fail:
29881 return NULL;
29882}
29883
29884
a95a7133 29885static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29886 PyObject *resultobj;
29887 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29888 wxDC *arg2 = 0 ;
29889 PyObject * obj0 = 0 ;
29890 PyObject * obj1 = 0 ;
29891 char *kwnames[] = {
29892 (char *) "self",(char *) "dc", NULL
29893 };
29894
29895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29899 SWIG_POINTER_EXCEPTION | 0)) == -1)
29900 SWIG_fail;
44127b65 29901 if (arg2 == NULL) {
2f4c0a16
RD
29902 PyErr_SetString(PyExc_TypeError,"null reference");
29903 SWIG_fail;
44127b65
RD
29904 }
29905 {
29906 PyThreadState* __tstate = wxPyBeginAllowThreads();
29907 (arg1)->base_OnErase(*arg2);
29908
29909 wxPyEndAllowThreads(__tstate);
29910 if (PyErr_Occurred()) SWIG_fail;
29911 }
29912 Py_INCREF(Py_None); resultobj = Py_None;
29913 return resultobj;
29914 fail:
29915 return NULL;
29916}
29917
29918
a95a7133 29919static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29920 PyObject *resultobj;
29921 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29922 wxDC *arg2 = 0 ;
29923 PyObject * obj0 = 0 ;
29924 PyObject * obj1 = 0 ;
29925 char *kwnames[] = {
29926 (char *) "self",(char *) "dc", NULL
29927 };
29928
29929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29933 SWIG_POINTER_EXCEPTION | 0)) == -1)
29934 SWIG_fail;
44127b65 29935 if (arg2 == NULL) {
2f4c0a16
RD
29936 PyErr_SetString(PyExc_TypeError,"null reference");
29937 SWIG_fail;
44127b65
RD
29938 }
29939 {
29940 PyThreadState* __tstate = wxPyBeginAllowThreads();
29941 (arg1)->base_OnEraseContents(*arg2);
29942
29943 wxPyEndAllowThreads(__tstate);
29944 if (PyErr_Occurred()) SWIG_fail;
29945 }
29946 Py_INCREF(Py_None); resultobj = Py_None;
29947 return resultobj;
29948 fail:
29949 return NULL;
29950}
29951
29952
a95a7133 29953static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29954 PyObject *resultobj;
29955 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29956 wxDC *arg2 = 0 ;
29957 PyObject * obj0 = 0 ;
29958 PyObject * obj1 = 0 ;
29959 char *kwnames[] = {
29960 (char *) "self",(char *) "dc", NULL
29961 };
29962
29963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29967 SWIG_POINTER_EXCEPTION | 0)) == -1)
29968 SWIG_fail;
44127b65 29969 if (arg2 == NULL) {
2f4c0a16
RD
29970 PyErr_SetString(PyExc_TypeError,"null reference");
29971 SWIG_fail;
44127b65
RD
29972 }
29973 {
29974 PyThreadState* __tstate = wxPyBeginAllowThreads();
29975 (arg1)->base_OnHighlight(*arg2);
29976
29977 wxPyEndAllowThreads(__tstate);
29978 if (PyErr_Occurred()) SWIG_fail;
29979 }
29980 Py_INCREF(Py_None); resultobj = Py_None;
29981 return resultobj;
29982 fail:
29983 return NULL;
29984}
29985
29986
a95a7133 29987static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29988 PyObject *resultobj;
29989 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29990 double arg2 ;
29991 double arg3 ;
29992 int arg4 = (int) 0 ;
29993 int arg5 = (int) 0 ;
29994 PyObject * obj0 = 0 ;
8edf1c75
RD
29995 PyObject * obj1 = 0 ;
29996 PyObject * obj2 = 0 ;
29997 PyObject * obj3 = 0 ;
29998 PyObject * obj4 = 0 ;
44127b65
RD
29999 char *kwnames[] = {
30000 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30001 };
30002
8edf1c75 30003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30006 arg2 = (double) SWIG_AsDouble(obj1);
30007 if (PyErr_Occurred()) SWIG_fail;
30008 arg3 = (double) SWIG_AsDouble(obj2);
30009 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30010 if (obj3) {
2f4c0a16
RD
30011 arg4 = (int) SWIG_AsInt(obj3);
30012 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30013 }
30014 if (obj4) {
2f4c0a16
RD
30015 arg5 = (int) SWIG_AsInt(obj4);
30016 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30017 }
44127b65
RD
30018 {
30019 PyThreadState* __tstate = wxPyBeginAllowThreads();
30020 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
30021
30022 wxPyEndAllowThreads(__tstate);
30023 if (PyErr_Occurred()) SWIG_fail;
30024 }
30025 Py_INCREF(Py_None); resultobj = Py_None;
30026 return resultobj;
30027 fail:
30028 return NULL;
30029}
30030
30031
a95a7133 30032static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30033 PyObject *resultobj;
30034 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30035 double arg2 ;
30036 double arg3 ;
30037 int arg4 = (int) 0 ;
30038 int arg5 = (int) 0 ;
30039 PyObject * obj0 = 0 ;
8edf1c75
RD
30040 PyObject * obj1 = 0 ;
30041 PyObject * obj2 = 0 ;
30042 PyObject * obj3 = 0 ;
30043 PyObject * obj4 = 0 ;
44127b65
RD
30044 char *kwnames[] = {
30045 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30046 };
30047
8edf1c75 30048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30051 arg2 = (double) SWIG_AsDouble(obj1);
30052 if (PyErr_Occurred()) SWIG_fail;
30053 arg3 = (double) SWIG_AsDouble(obj2);
30054 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30055 if (obj3) {
2f4c0a16
RD
30056 arg4 = (int) SWIG_AsInt(obj3);
30057 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30058 }
30059 if (obj4) {
2f4c0a16
RD
30060 arg5 = (int) SWIG_AsInt(obj4);
30061 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30062 }
44127b65
RD
30063 {
30064 PyThreadState* __tstate = wxPyBeginAllowThreads();
30065 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30066
30067 wxPyEndAllowThreads(__tstate);
30068 if (PyErr_Occurred()) SWIG_fail;
30069 }
30070 Py_INCREF(Py_None); resultobj = Py_None;
30071 return resultobj;
30072 fail:
30073 return NULL;
30074}
30075
30076
a95a7133 30077static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30078 PyObject *resultobj;
30079 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30080 double arg2 ;
30081 double arg3 ;
30082 int arg4 = (int) 0 ;
30083 int arg5 = (int) 0 ;
30084 PyObject * obj0 = 0 ;
8edf1c75
RD
30085 PyObject * obj1 = 0 ;
30086 PyObject * obj2 = 0 ;
30087 PyObject * obj3 = 0 ;
30088 PyObject * obj4 = 0 ;
44127b65
RD
30089 char *kwnames[] = {
30090 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30091 };
30092
8edf1c75 30093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30096 arg2 = (double) SWIG_AsDouble(obj1);
30097 if (PyErr_Occurred()) SWIG_fail;
30098 arg3 = (double) SWIG_AsDouble(obj2);
30099 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30100 if (obj3) {
2f4c0a16
RD
30101 arg4 = (int) SWIG_AsInt(obj3);
30102 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30103 }
30104 if (obj4) {
2f4c0a16
RD
30105 arg5 = (int) SWIG_AsInt(obj4);
30106 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30107 }
44127b65
RD
30108 {
30109 PyThreadState* __tstate = wxPyBeginAllowThreads();
30110 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30111
30112 wxPyEndAllowThreads(__tstate);
30113 if (PyErr_Occurred()) SWIG_fail;
30114 }
30115 Py_INCREF(Py_None); resultobj = Py_None;
30116 return resultobj;
30117 fail:
30118 return NULL;
30119}
30120
30121
a95a7133 30122static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30123 PyObject *resultobj;
30124 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30125 double arg2 ;
30126 double arg3 ;
30127 PyObject * obj0 = 0 ;
8edf1c75
RD
30128 PyObject * obj1 = 0 ;
30129 PyObject * obj2 = 0 ;
44127b65
RD
30130 char *kwnames[] = {
30131 (char *) "self",(char *) "x",(char *) "y", NULL
30132 };
30133
8edf1c75 30134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30137 arg2 = (double) SWIG_AsDouble(obj1);
30138 if (PyErr_Occurred()) SWIG_fail;
30139 arg3 = (double) SWIG_AsDouble(obj2);
30140 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30141 {
30142 PyThreadState* __tstate = wxPyBeginAllowThreads();
30143 (arg1)->base_OnSize(arg2,arg3);
30144
30145 wxPyEndAllowThreads(__tstate);
30146 if (PyErr_Occurred()) SWIG_fail;
30147 }
30148 Py_INCREF(Py_None); resultobj = Py_None;
30149 return resultobj;
30150 fail:
30151 return NULL;
30152}
30153
30154
a95a7133 30155static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30156 PyObject *resultobj;
30157 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30158 wxDC *arg2 = 0 ;
30159 double arg3 ;
30160 double arg4 ;
30161 double arg5 ;
30162 double arg6 ;
30163 bool arg7 = (bool) True ;
30164 bool result;
30165 PyObject * obj0 = 0 ;
30166 PyObject * obj1 = 0 ;
8edf1c75
RD
30167 PyObject * obj2 = 0 ;
30168 PyObject * obj3 = 0 ;
30169 PyObject * obj4 = 0 ;
30170 PyObject * obj5 = 0 ;
44127b65
RD
30171 PyObject * obj6 = 0 ;
30172 char *kwnames[] = {
30173 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30174 };
30175
8edf1c75 30176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30180 SWIG_POINTER_EXCEPTION | 0)) == -1)
30181 SWIG_fail;
44127b65 30182 if (arg2 == NULL) {
2f4c0a16
RD
30183 PyErr_SetString(PyExc_TypeError,"null reference");
30184 SWIG_fail;
30185 }
30186 arg3 = (double) SWIG_AsDouble(obj2);
30187 if (PyErr_Occurred()) SWIG_fail;
30188 arg4 = (double) SWIG_AsDouble(obj3);
30189 if (PyErr_Occurred()) SWIG_fail;
30190 arg5 = (double) SWIG_AsDouble(obj4);
30191 if (PyErr_Occurred()) SWIG_fail;
30192 arg6 = (double) SWIG_AsDouble(obj5);
30193 if (PyErr_Occurred()) SWIG_fail;
44127b65 30194 if (obj6) {
2f4c0a16
RD
30195 arg7 = (bool) SWIG_AsBool(obj6);
30196 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30197 }
30198 {
30199 PyThreadState* __tstate = wxPyBeginAllowThreads();
30200 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30201
30202 wxPyEndAllowThreads(__tstate);
30203 if (PyErr_Occurred()) SWIG_fail;
30204 }
fbc46b20
RD
30205 {
30206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30207 }
44127b65
RD
30208 return resultobj;
30209 fail:
30210 return NULL;
30211}
30212
30213
a95a7133 30214static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30215 PyObject *resultobj;
30216 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30217 wxDC *arg2 = 0 ;
30218 double arg3 ;
30219 double arg4 ;
30220 double arg5 ;
30221 double arg6 ;
30222 bool arg7 = (bool) True ;
30223 PyObject * obj0 = 0 ;
30224 PyObject * obj1 = 0 ;
8edf1c75
RD
30225 PyObject * obj2 = 0 ;
30226 PyObject * obj3 = 0 ;
30227 PyObject * obj4 = 0 ;
30228 PyObject * obj5 = 0 ;
44127b65
RD
30229 PyObject * obj6 = 0 ;
30230 char *kwnames[] = {
30231 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30232 };
30233
8edf1c75 30234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30238 SWIG_POINTER_EXCEPTION | 0)) == -1)
30239 SWIG_fail;
44127b65 30240 if (arg2 == NULL) {
2f4c0a16
RD
30241 PyErr_SetString(PyExc_TypeError,"null reference");
30242 SWIG_fail;
30243 }
30244 arg3 = (double) SWIG_AsDouble(obj2);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 arg4 = (double) SWIG_AsDouble(obj3);
30247 if (PyErr_Occurred()) SWIG_fail;
30248 arg5 = (double) SWIG_AsDouble(obj4);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 arg6 = (double) SWIG_AsDouble(obj5);
30251 if (PyErr_Occurred()) SWIG_fail;
44127b65 30252 if (obj6) {
2f4c0a16
RD
30253 arg7 = (bool) SWIG_AsBool(obj6);
30254 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30255 }
30256 {
30257 PyThreadState* __tstate = wxPyBeginAllowThreads();
30258 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30259
30260 wxPyEndAllowThreads(__tstate);
30261 if (PyErr_Occurred()) SWIG_fail;
30262 }
30263 Py_INCREF(Py_None); resultobj = Py_None;
30264 return resultobj;
30265 fail:
30266 return NULL;
30267}
30268
30269
a95a7133 30270static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30271 PyObject *resultobj;
30272 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30273 bool arg2 ;
30274 double arg3 ;
30275 double arg4 ;
30276 int arg5 = (int) 0 ;
30277 int arg6 = (int) 0 ;
30278 PyObject * obj0 = 0 ;
30279 PyObject * obj1 = 0 ;
8edf1c75
RD
30280 PyObject * obj2 = 0 ;
30281 PyObject * obj3 = 0 ;
30282 PyObject * obj4 = 0 ;
30283 PyObject * obj5 = 0 ;
44127b65
RD
30284 char *kwnames[] = {
30285 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30286 };
30287
8edf1c75 30288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30291 arg2 = (bool) SWIG_AsBool(obj1);
30292 if (PyErr_Occurred()) SWIG_fail;
30293 arg3 = (double) SWIG_AsDouble(obj2);
30294 if (PyErr_Occurred()) SWIG_fail;
30295 arg4 = (double) SWIG_AsDouble(obj3);
30296 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30297 if (obj4) {
2f4c0a16
RD
30298 arg5 = (int) SWIG_AsInt(obj4);
30299 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30300 }
30301 if (obj5) {
2f4c0a16
RD
30302 arg6 = (int) SWIG_AsInt(obj5);
30303 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30304 }
44127b65
RD
30305 {
30306 PyThreadState* __tstate = wxPyBeginAllowThreads();
30307 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
30308
30309 wxPyEndAllowThreads(__tstate);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 }
30312 Py_INCREF(Py_None); resultobj = Py_None;
30313 return resultobj;
30314 fail:
30315 return NULL;
30316}
30317
30318
a95a7133 30319static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30320 PyObject *resultobj;
30321 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30322 double arg2 ;
30323 double arg3 ;
30324 int arg4 = (int) 0 ;
30325 int arg5 = (int) 0 ;
30326 PyObject * obj0 = 0 ;
8edf1c75
RD
30327 PyObject * obj1 = 0 ;
30328 PyObject * obj2 = 0 ;
30329 PyObject * obj3 = 0 ;
30330 PyObject * obj4 = 0 ;
44127b65 30331 char *kwnames[] = {
2f4c0a16
RD
30332 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30333 };
30334
30335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30338 arg2 = (double) SWIG_AsDouble(obj1);
30339 if (PyErr_Occurred()) SWIG_fail;
30340 arg3 = (double) SWIG_AsDouble(obj2);
30341 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30342 if (obj3) {
2f4c0a16
RD
30343 arg4 = (int) SWIG_AsInt(obj3);
30344 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30345 }
30346 if (obj4) {
2f4c0a16
RD
30347 arg5 = (int) SWIG_AsInt(obj4);
30348 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30349 }
44127b65
RD
30350 {
30351 PyThreadState* __tstate = wxPyBeginAllowThreads();
30352 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
30353
30354 wxPyEndAllowThreads(__tstate);
30355 if (PyErr_Occurred()) SWIG_fail;
30356 }
30357 Py_INCREF(Py_None); resultobj = Py_None;
30358 return resultobj;
30359 fail:
30360 return NULL;
30361}
30362
30363
a95a7133 30364static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30365 PyObject *resultobj;
30366 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30367 double arg2 ;
30368 double arg3 ;
30369 int arg4 = (int) 0 ;
30370 int arg5 = (int) 0 ;
30371 PyObject * obj0 = 0 ;
8edf1c75
RD
30372 PyObject * obj1 = 0 ;
30373 PyObject * obj2 = 0 ;
30374 PyObject * obj3 = 0 ;
30375 PyObject * obj4 = 0 ;
44127b65
RD
30376 char *kwnames[] = {
30377 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30378 };
30379
8edf1c75 30380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30383 arg2 = (double) SWIG_AsDouble(obj1);
30384 if (PyErr_Occurred()) SWIG_fail;
30385 arg3 = (double) SWIG_AsDouble(obj2);
30386 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30387 if (obj3) {
2f4c0a16
RD
30388 arg4 = (int) SWIG_AsInt(obj3);
30389 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30390 }
30391 if (obj4) {
2f4c0a16
RD
30392 arg5 = (int) SWIG_AsInt(obj4);
30393 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30394 }
44127b65
RD
30395 {
30396 PyThreadState* __tstate = wxPyBeginAllowThreads();
30397 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
30398
30399 wxPyEndAllowThreads(__tstate);
30400 if (PyErr_Occurred()) SWIG_fail;
30401 }
30402 Py_INCREF(Py_None); resultobj = Py_None;
30403 return resultobj;
30404 fail:
30405 return NULL;
30406}
30407
30408
a95a7133 30409static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30410 PyObject *resultobj;
30411 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30412 bool arg2 ;
30413 double arg3 ;
30414 double arg4 ;
30415 int arg5 = (int) 0 ;
30416 int arg6 = (int) 0 ;
30417 PyObject * obj0 = 0 ;
30418 PyObject * obj1 = 0 ;
8edf1c75
RD
30419 PyObject * obj2 = 0 ;
30420 PyObject * obj3 = 0 ;
30421 PyObject * obj4 = 0 ;
30422 PyObject * obj5 = 0 ;
44127b65
RD
30423 char *kwnames[] = {
30424 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30425 };
30426
8edf1c75 30427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30430 arg2 = (bool) SWIG_AsBool(obj1);
30431 if (PyErr_Occurred()) SWIG_fail;
30432 arg3 = (double) SWIG_AsDouble(obj2);
30433 if (PyErr_Occurred()) SWIG_fail;
30434 arg4 = (double) SWIG_AsDouble(obj3);
30435 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30436 if (obj4) {
2f4c0a16
RD
30437 arg5 = (int) SWIG_AsInt(obj4);
30438 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30439 }
30440 if (obj5) {
2f4c0a16
RD
30441 arg6 = (int) SWIG_AsInt(obj5);
30442 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30443 }
44127b65
RD
30444 {
30445 PyThreadState* __tstate = wxPyBeginAllowThreads();
30446 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
30447
30448 wxPyEndAllowThreads(__tstate);
30449 if (PyErr_Occurred()) SWIG_fail;
30450 }
30451 Py_INCREF(Py_None); resultobj = Py_None;
30452 return resultobj;
30453 fail:
30454 return NULL;
30455}
30456
30457
a95a7133 30458static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30459 PyObject *resultobj;
30460 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30461 double arg2 ;
30462 double arg3 ;
30463 int arg4 = (int) 0 ;
30464 int arg5 = (int) 0 ;
30465 PyObject * obj0 = 0 ;
8edf1c75
RD
30466 PyObject * obj1 = 0 ;
30467 PyObject * obj2 = 0 ;
30468 PyObject * obj3 = 0 ;
30469 PyObject * obj4 = 0 ;
44127b65
RD
30470 char *kwnames[] = {
30471 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30472 };
30473
8edf1c75 30474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30477 arg2 = (double) SWIG_AsDouble(obj1);
30478 if (PyErr_Occurred()) SWIG_fail;
30479 arg3 = (double) SWIG_AsDouble(obj2);
30480 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30481 if (obj3) {
2f4c0a16
RD
30482 arg4 = (int) SWIG_AsInt(obj3);
30483 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30484 }
30485 if (obj4) {
2f4c0a16
RD
30486 arg5 = (int) SWIG_AsInt(obj4);
30487 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30488 }
44127b65
RD
30489 {
30490 PyThreadState* __tstate = wxPyBeginAllowThreads();
30491 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
30492
30493 wxPyEndAllowThreads(__tstate);
30494 if (PyErr_Occurred()) SWIG_fail;
30495 }
30496 Py_INCREF(Py_None); resultobj = Py_None;
30497 return resultobj;
30498 fail:
30499 return NULL;
30500}
30501
30502
a95a7133 30503static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30504 PyObject *resultobj;
30505 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30506 double arg2 ;
30507 double arg3 ;
30508 int arg4 = (int) 0 ;
30509 int arg5 = (int) 0 ;
30510 PyObject * obj0 = 0 ;
8edf1c75
RD
30511 PyObject * obj1 = 0 ;
30512 PyObject * obj2 = 0 ;
30513 PyObject * obj3 = 0 ;
30514 PyObject * obj4 = 0 ;
44127b65
RD
30515 char *kwnames[] = {
30516 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30517 };
30518
8edf1c75 30519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30522 arg2 = (double) SWIG_AsDouble(obj1);
30523 if (PyErr_Occurred()) SWIG_fail;
30524 arg3 = (double) SWIG_AsDouble(obj2);
30525 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30526 if (obj3) {
2f4c0a16
RD
30527 arg4 = (int) SWIG_AsInt(obj3);
30528 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30529 }
30530 if (obj4) {
2f4c0a16
RD
30531 arg5 = (int) SWIG_AsInt(obj4);
30532 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30533 }
44127b65
RD
30534 {
30535 PyThreadState* __tstate = wxPyBeginAllowThreads();
30536 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
30537
30538 wxPyEndAllowThreads(__tstate);
30539 if (PyErr_Occurred()) SWIG_fail;
30540 }
30541 Py_INCREF(Py_None); resultobj = Py_None;
30542 return resultobj;
30543 fail:
30544 return NULL;
30545}
30546
30547
a95a7133 30548static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30549 PyObject *resultobj;
30550 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30551 wxDC *arg2 = 0 ;
30552 double arg3 ;
30553 double arg4 ;
30554 double arg5 ;
30555 double arg6 ;
30556 PyObject * obj0 = 0 ;
30557 PyObject * obj1 = 0 ;
8edf1c75
RD
30558 PyObject * obj2 = 0 ;
30559 PyObject * obj3 = 0 ;
30560 PyObject * obj4 = 0 ;
30561 PyObject * obj5 = 0 ;
44127b65
RD
30562 char *kwnames[] = {
30563 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30564 };
30565
8edf1c75 30566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30570 SWIG_POINTER_EXCEPTION | 0)) == -1)
30571 SWIG_fail;
44127b65 30572 if (arg2 == NULL) {
2f4c0a16
RD
30573 PyErr_SetString(PyExc_TypeError,"null reference");
30574 SWIG_fail;
8edf1c75 30575 }
2f4c0a16
RD
30576 arg3 = (double) SWIG_AsDouble(obj2);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 arg4 = (double) SWIG_AsDouble(obj3);
30579 if (PyErr_Occurred()) SWIG_fail;
30580 arg5 = (double) SWIG_AsDouble(obj4);
30581 if (PyErr_Occurred()) SWIG_fail;
30582 arg6 = (double) SWIG_AsDouble(obj5);
30583 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30584 {
30585 PyThreadState* __tstate = wxPyBeginAllowThreads();
30586 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
30587
30588 wxPyEndAllowThreads(__tstate);
30589 if (PyErr_Occurred()) SWIG_fail;
30590 }
30591 Py_INCREF(Py_None); resultobj = Py_None;
30592 return resultobj;
30593 fail:
30594 return NULL;
30595}
30596
30597
a95a7133 30598static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30599 PyObject *resultobj;
30600 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30601 wxDC *arg2 = 0 ;
30602 PyObject * obj0 = 0 ;
30603 PyObject * obj1 = 0 ;
30604 char *kwnames[] = {
30605 (char *) "self",(char *) "dc", NULL
30606 };
30607
30608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30612 SWIG_POINTER_EXCEPTION | 0)) == -1)
30613 SWIG_fail;
44127b65 30614 if (arg2 == NULL) {
2f4c0a16
RD
30615 PyErr_SetString(PyExc_TypeError,"null reference");
30616 SWIG_fail;
44127b65
RD
30617 }
30618 {
30619 PyThreadState* __tstate = wxPyBeginAllowThreads();
30620 (arg1)->base_OnDrawControlPoints(*arg2);
30621
30622 wxPyEndAllowThreads(__tstate);
30623 if (PyErr_Occurred()) SWIG_fail;
30624 }
30625 Py_INCREF(Py_None); resultobj = Py_None;
30626 return resultobj;
30627 fail:
30628 return NULL;
30629}
30630
30631
a95a7133 30632static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30633 PyObject *resultobj;
30634 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30635 wxDC *arg2 = 0 ;
30636 PyObject * obj0 = 0 ;
30637 PyObject * obj1 = 0 ;
30638 char *kwnames[] = {
30639 (char *) "self",(char *) "dc", NULL
30640 };
30641
30642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30646 SWIG_POINTER_EXCEPTION | 0)) == -1)
30647 SWIG_fail;
44127b65 30648 if (arg2 == NULL) {
2f4c0a16
RD
30649 PyErr_SetString(PyExc_TypeError,"null reference");
30650 SWIG_fail;
44127b65
RD
30651 }
30652 {
30653 PyThreadState* __tstate = wxPyBeginAllowThreads();
30654 (arg1)->base_OnEraseControlPoints(*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
a95a7133 30666static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30667 PyObject *resultobj;
30668 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30669 wxDC *arg2 = 0 ;
30670 bool arg3 = (bool) True ;
30671 PyObject * obj0 = 0 ;
30672 PyObject * obj1 = 0 ;
30673 PyObject * obj2 = 0 ;
30674 char *kwnames[] = {
30675 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30676 };
30677
30678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30682 SWIG_POINTER_EXCEPTION | 0)) == -1)
30683 SWIG_fail;
44127b65 30684 if (arg2 == NULL) {
2f4c0a16
RD
30685 PyErr_SetString(PyExc_TypeError,"null reference");
30686 SWIG_fail;
44127b65
RD
30687 }
30688 if (obj2) {
2f4c0a16
RD
30689 arg3 = (bool) SWIG_AsBool(obj2);
30690 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30691 }
30692 {
30693 PyThreadState* __tstate = wxPyBeginAllowThreads();
30694 (arg1)->base_OnMoveLink(*arg2,arg3);
30695
30696 wxPyEndAllowThreads(__tstate);
30697 if (PyErr_Occurred()) SWIG_fail;
30698 }
30699 Py_INCREF(Py_None); resultobj = Py_None;
30700 return resultobj;
30701 fail:
30702 return NULL;
30703}
30704
30705
a95a7133 30706static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30707 PyObject *resultobj;
30708 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30709 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30710 bool arg3 ;
30711 double arg4 ;
30712 double arg5 ;
30713 int arg6 = (int) 0 ;
30714 int arg7 = (int) 0 ;
30715 PyObject * obj0 = 0 ;
30716 PyObject * obj1 = 0 ;
30717 PyObject * obj2 = 0 ;
8edf1c75
RD
30718 PyObject * obj3 = 0 ;
30719 PyObject * obj4 = 0 ;
30720 PyObject * obj5 = 0 ;
30721 PyObject * obj6 = 0 ;
44127b65
RD
30722 char *kwnames[] = {
30723 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30724 };
30725
8edf1c75 30726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30731 arg3 = (bool) SWIG_AsBool(obj2);
30732 if (PyErr_Occurred()) SWIG_fail;
30733 arg4 = (double) SWIG_AsDouble(obj3);
30734 if (PyErr_Occurred()) SWIG_fail;
30735 arg5 = (double) SWIG_AsDouble(obj4);
30736 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30737 if (obj5) {
2f4c0a16
RD
30738 arg6 = (int) SWIG_AsInt(obj5);
30739 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30740 }
30741 if (obj6) {
2f4c0a16
RD
30742 arg7 = (int) SWIG_AsInt(obj6);
30743 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30744 }
44127b65
RD
30745 {
30746 PyThreadState* __tstate = wxPyBeginAllowThreads();
30747 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30748
30749 wxPyEndAllowThreads(__tstate);
30750 if (PyErr_Occurred()) SWIG_fail;
30751 }
30752 Py_INCREF(Py_None); resultobj = Py_None;
30753 return resultobj;
30754 fail:
30755 return NULL;
30756}
30757
30758
a95a7133 30759static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30760 PyObject *resultobj;
30761 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30762 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30763 double arg3 ;
30764 double arg4 ;
30765 int arg5 = (int) 0 ;
30766 int arg6 = (int) 0 ;
30767 PyObject * obj0 = 0 ;
30768 PyObject * obj1 = 0 ;
8edf1c75
RD
30769 PyObject * obj2 = 0 ;
30770 PyObject * obj3 = 0 ;
30771 PyObject * obj4 = 0 ;
30772 PyObject * obj5 = 0 ;
44127b65
RD
30773 char *kwnames[] = {
30774 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30775 };
30776
8edf1c75 30777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30782 arg3 = (double) SWIG_AsDouble(obj2);
30783 if (PyErr_Occurred()) SWIG_fail;
30784 arg4 = (double) SWIG_AsDouble(obj3);
30785 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30786 if (obj4) {
2f4c0a16
RD
30787 arg5 = (int) SWIG_AsInt(obj4);
30788 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30789 }
30790 if (obj5) {
2f4c0a16
RD
30791 arg6 = (int) SWIG_AsInt(obj5);
30792 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30793 }
44127b65
RD
30794 {
30795 PyThreadState* __tstate = wxPyBeginAllowThreads();
30796 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30797
30798 wxPyEndAllowThreads(__tstate);
30799 if (PyErr_Occurred()) SWIG_fail;
30800 }
30801 Py_INCREF(Py_None); resultobj = Py_None;
30802 return resultobj;
30803 fail:
30804 return NULL;
30805}
30806
30807
a95a7133 30808static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30809 PyObject *resultobj;
30810 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30811 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30812 double arg3 ;
30813 double arg4 ;
30814 int arg5 = (int) 0 ;
30815 int arg6 = (int) 0 ;
30816 PyObject * obj0 = 0 ;
30817 PyObject * obj1 = 0 ;
8edf1c75
RD
30818 PyObject * obj2 = 0 ;
30819 PyObject * obj3 = 0 ;
30820 PyObject * obj4 = 0 ;
30821 PyObject * obj5 = 0 ;
44127b65
RD
30822 char *kwnames[] = {
30823 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30824 };
30825
8edf1c75 30826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30831 arg3 = (double) SWIG_AsDouble(obj2);
30832 if (PyErr_Occurred()) SWIG_fail;
30833 arg4 = (double) SWIG_AsDouble(obj3);
30834 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30835 if (obj4) {
2f4c0a16
RD
30836 arg5 = (int) SWIG_AsInt(obj4);
30837 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30838 }
30839 if (obj5) {
2f4c0a16
RD
30840 arg6 = (int) SWIG_AsInt(obj5);
30841 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30842 }
44127b65
RD
30843 {
30844 PyThreadState* __tstate = wxPyBeginAllowThreads();
30845 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30846
30847 wxPyEndAllowThreads(__tstate);
30848 if (PyErr_Occurred()) SWIG_fail;
30849 }
30850 Py_INCREF(Py_None); resultobj = Py_None;
30851 return resultobj;
30852 fail:
30853 return NULL;
30854}
30855
30856
a95a7133 30857static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30858 PyObject *resultobj;
30859 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30860 double arg2 ;
30861 double arg3 ;
30862 PyObject * obj0 = 0 ;
8edf1c75
RD
30863 PyObject * obj1 = 0 ;
30864 PyObject * obj2 = 0 ;
44127b65
RD
30865 char *kwnames[] = {
30866 (char *) "self",(char *) "w",(char *) "h", NULL
30867 };
30868
8edf1c75 30869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30872 arg2 = (double) SWIG_AsDouble(obj1);
30873 if (PyErr_Occurred()) SWIG_fail;
30874 arg3 = (double) SWIG_AsDouble(obj2);
30875 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30876 {
30877 PyThreadState* __tstate = wxPyBeginAllowThreads();
30878 (arg1)->base_OnBeginSize(arg2,arg3);
30879
30880 wxPyEndAllowThreads(__tstate);
30881 if (PyErr_Occurred()) SWIG_fail;
30882 }
30883 Py_INCREF(Py_None); resultobj = Py_None;
30884 return resultobj;
30885 fail:
30886 return NULL;
30887}
30888
30889
a95a7133 30890static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30891 PyObject *resultobj;
30892 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30893 double arg2 ;
30894 double arg3 ;
30895 PyObject * obj0 = 0 ;
8edf1c75
RD
30896 PyObject * obj1 = 0 ;
30897 PyObject * obj2 = 0 ;
44127b65
RD
30898 char *kwnames[] = {
30899 (char *) "self",(char *) "w",(char *) "h", NULL
30900 };
30901
8edf1c75 30902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30905 arg2 = (double) SWIG_AsDouble(obj1);
30906 if (PyErr_Occurred()) SWIG_fail;
30907 arg3 = (double) SWIG_AsDouble(obj2);
30908 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30909 {
30910 PyThreadState* __tstate = wxPyBeginAllowThreads();
30911 (arg1)->base_OnEndSize(arg2,arg3);
30912
30913 wxPyEndAllowThreads(__tstate);
30914 if (PyErr_Occurred()) SWIG_fail;
30915 }
30916 Py_INCREF(Py_None); resultobj = Py_None;
30917 return resultobj;
30918 fail:
30919 return NULL;
30920}
30921
30922
a95a7133 30923static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
30924 PyObject *obj;
30925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30926 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
30927 Py_INCREF(obj);
30928 return Py_BuildValue((char *)"");
30929}
a95a7133 30930static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30931 PyObject *resultobj;
30932 wxDiagram *result;
30933 char *kwnames[] = {
30934 NULL
30935 };
30936
30937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
30938 {
30939 PyThreadState* __tstate = wxPyBeginAllowThreads();
30940 result = (wxDiagram *)new wxDiagram();
30941
30942 wxPyEndAllowThreads(__tstate);
30943 if (PyErr_Occurred()) SWIG_fail;
30944 }
30945 {
30946 resultobj = wxPyMake_wxObject(result);
30947 }
30948 return resultobj;
30949 fail:
30950 return NULL;
30951}
30952
30953
a95a7133 30954static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30955 PyObject *resultobj;
30956 wxDiagram *arg1 = (wxDiagram *) 0 ;
30957 wxPyShape *arg2 = (wxPyShape *) 0 ;
30958 wxPyShape *arg3 = (wxPyShape *) NULL ;
30959 PyObject * obj0 = 0 ;
30960 PyObject * obj1 = 0 ;
30961 PyObject * obj2 = 0 ;
30962 char *kwnames[] = {
30963 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30964 };
30965
30966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
30970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 30971 if (obj2) {
2f4c0a16
RD
30972 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
30973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
30974 }
30975 {
30976 PyThreadState* __tstate = wxPyBeginAllowThreads();
30977 (arg1)->AddShape(arg2,arg3);
30978
30979 wxPyEndAllowThreads(__tstate);
30980 if (PyErr_Occurred()) SWIG_fail;
30981 }
30982 Py_INCREF(Py_None); resultobj = Py_None;
30983 return resultobj;
30984 fail:
30985 return NULL;
30986}
30987
30988
a95a7133 30989static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30990 PyObject *resultobj;
30991 wxDiagram *arg1 = (wxDiagram *) 0 ;
30992 wxDC *arg2 = 0 ;
30993 PyObject * obj0 = 0 ;
30994 PyObject * obj1 = 0 ;
30995 char *kwnames[] = {
30996 (char *) "self",(char *) "dc", NULL
30997 };
30998
30999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31003 SWIG_POINTER_EXCEPTION | 0)) == -1)
31004 SWIG_fail;
44127b65 31005 if (arg2 == NULL) {
2f4c0a16
RD
31006 PyErr_SetString(PyExc_TypeError,"null reference");
31007 SWIG_fail;
44127b65
RD
31008 }
31009 {
31010 PyThreadState* __tstate = wxPyBeginAllowThreads();
31011 (arg1)->Clear(*arg2);
31012
31013 wxPyEndAllowThreads(__tstate);
31014 if (PyErr_Occurred()) SWIG_fail;
31015 }
31016 Py_INCREF(Py_None); resultobj = Py_None;
31017 return resultobj;
31018 fail:
31019 return NULL;
31020}
31021
31022
a95a7133 31023static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31024 PyObject *resultobj;
31025 wxDiagram *arg1 = (wxDiagram *) 0 ;
31026 PyObject * obj0 = 0 ;
31027 char *kwnames[] = {
31028 (char *) "self", NULL
31029 };
31030
31031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31034 {
31035 PyThreadState* __tstate = wxPyBeginAllowThreads();
31036 (arg1)->DeleteAllShapes();
31037
31038 wxPyEndAllowThreads(__tstate);
31039 if (PyErr_Occurred()) SWIG_fail;
31040 }
31041 Py_INCREF(Py_None); resultobj = Py_None;
31042 return resultobj;
31043 fail:
31044 return NULL;
31045}
31046
31047
a95a7133 31048static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31049 PyObject *resultobj;
31050 wxDiagram *arg1 = (wxDiagram *) 0 ;
31051 wxDC *arg2 = 0 ;
31052 double arg3 ;
31053 double arg4 ;
31054 double arg5 ;
31055 double arg6 ;
31056 PyObject * obj0 = 0 ;
31057 PyObject * obj1 = 0 ;
8edf1c75
RD
31058 PyObject * obj2 = 0 ;
31059 PyObject * obj3 = 0 ;
31060 PyObject * obj4 = 0 ;
31061 PyObject * obj5 = 0 ;
44127b65
RD
31062 char *kwnames[] = {
31063 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31064 };
31065
8edf1c75 31066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
31067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31070 SWIG_POINTER_EXCEPTION | 0)) == -1)
31071 SWIG_fail;
44127b65 31072 if (arg2 == NULL) {
2f4c0a16
RD
31073 PyErr_SetString(PyExc_TypeError,"null reference");
31074 SWIG_fail;
8edf1c75 31075 }
2f4c0a16
RD
31076 arg3 = (double) SWIG_AsDouble(obj2);
31077 if (PyErr_Occurred()) SWIG_fail;
31078 arg4 = (double) SWIG_AsDouble(obj3);
31079 if (PyErr_Occurred()) SWIG_fail;
31080 arg5 = (double) SWIG_AsDouble(obj4);
31081 if (PyErr_Occurred()) SWIG_fail;
31082 arg6 = (double) SWIG_AsDouble(obj5);
31083 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31084 {
31085 PyThreadState* __tstate = wxPyBeginAllowThreads();
31086 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
31087
31088 wxPyEndAllowThreads(__tstate);
31089 if (PyErr_Occurred()) SWIG_fail;
31090 }
31091 Py_INCREF(Py_None); resultobj = Py_None;
31092 return resultobj;
31093 fail:
31094 return NULL;
31095}
31096
31097
a95a7133 31098static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31099 PyObject *resultobj;
31100 wxDiagram *arg1 = (wxDiagram *) 0 ;
31101 long arg2 ;
31102 wxPyShape *result;
31103 PyObject * obj0 = 0 ;
8edf1c75 31104 PyObject * obj1 = 0 ;
44127b65
RD
31105 char *kwnames[] = {
31106 (char *) "self",(char *) "id", NULL
31107 };
31108
8edf1c75 31109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31112 arg2 = (long) SWIG_AsLong(obj1);
31113 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31114 {
31115 PyThreadState* __tstate = wxPyBeginAllowThreads();
31116 result = (wxPyShape *)(arg1)->FindShape(arg2);
31117
31118 wxPyEndAllowThreads(__tstate);
31119 if (PyErr_Occurred()) SWIG_fail;
31120 }
31121 {
31122 resultobj = wxPyMake_wxShapeEvtHandler(result);
31123 }
31124 return resultobj;
31125 fail:
31126 return NULL;
31127}
31128
31129
a95a7133 31130static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31131 PyObject *resultobj;
31132 wxDiagram *arg1 = (wxDiagram *) 0 ;
31133 wxPyShapeCanvas *result;
31134 PyObject * obj0 = 0 ;
31135 char *kwnames[] = {
31136 (char *) "self", NULL
31137 };
31138
31139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31142 {
31143 PyThreadState* __tstate = wxPyBeginAllowThreads();
31144 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
31145
31146 wxPyEndAllowThreads(__tstate);
31147 if (PyErr_Occurred()) SWIG_fail;
31148 }
31149 {
31150 resultobj = wxPyMake_wxObject(result);
31151 }
31152 return resultobj;
31153 fail:
31154 return NULL;
31155}
31156
31157
a95a7133 31158static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31159 PyObject *resultobj;
31160 wxDiagram *arg1 = (wxDiagram *) 0 ;
31161 int result;
31162 PyObject * obj0 = 0 ;
31163 char *kwnames[] = {
31164 (char *) "self", NULL
31165 };
31166
31167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31170 {
31171 PyThreadState* __tstate = wxPyBeginAllowThreads();
31172 result = (int)(arg1)->GetCount();
31173
31174 wxPyEndAllowThreads(__tstate);
31175 if (PyErr_Occurred()) SWIG_fail;
31176 }
2f4c0a16 31177 resultobj = SWIG_FromInt((int)result);
44127b65
RD
31178 return resultobj;
31179 fail:
31180 return NULL;
31181}
31182
31183
a95a7133 31184static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31185 PyObject *resultobj;
31186 wxDiagram *arg1 = (wxDiagram *) 0 ;
31187 double result;
31188 PyObject * obj0 = 0 ;
31189 char *kwnames[] = {
31190 (char *) "self", NULL
31191 };
31192
31193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31196 {
31197 PyThreadState* __tstate = wxPyBeginAllowThreads();
31198 result = (double)(arg1)->GetGridSpacing();
31199
31200 wxPyEndAllowThreads(__tstate);
31201 if (PyErr_Occurred()) SWIG_fail;
31202 }
2f4c0a16 31203 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
31204 return resultobj;
31205 fail:
31206 return NULL;
31207}
31208
31209
a95a7133 31210static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31211 PyObject *resultobj;
31212 wxDiagram *arg1 = (wxDiagram *) 0 ;
31213 int result;
31214 PyObject * obj0 = 0 ;
31215 char *kwnames[] = {
31216 (char *) "self", NULL
31217 };
31218
31219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31222 {
31223 PyThreadState* __tstate = wxPyBeginAllowThreads();
31224 result = (int)(arg1)->GetMouseTolerance();
31225
31226 wxPyEndAllowThreads(__tstate);
31227 if (PyErr_Occurred()) SWIG_fail;
31228 }
2f4c0a16 31229 resultobj = SWIG_FromInt((int)result);
44127b65
RD
31230 return resultobj;
31231 fail:
31232 return NULL;
31233}
31234
31235
a95a7133 31236static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31237 PyObject *resultobj;
31238 wxDiagram *arg1 = (wxDiagram *) 0 ;
31239 PyObject *result;
31240 PyObject * obj0 = 0 ;
31241 char *kwnames[] = {
31242 (char *) "self", NULL
31243 };
31244
31245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31248 {
31249 PyThreadState* __tstate = wxPyBeginAllowThreads();
31250 result = (PyObject *)wxDiagram_GetShapeList(arg1);
31251
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
31255 resultobj = result;
31256 return resultobj;
31257 fail:
31258 return NULL;
31259}
31260
31261
a95a7133 31262static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31263 PyObject *resultobj;
31264 wxDiagram *arg1 = (wxDiagram *) 0 ;
31265 bool result;
31266 PyObject * obj0 = 0 ;
31267 char *kwnames[] = {
31268 (char *) "self", NULL
31269 };
31270
31271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31274 {
31275 PyThreadState* __tstate = wxPyBeginAllowThreads();
31276 result = (bool)(arg1)->GetQuickEditMode();
31277
31278 wxPyEndAllowThreads(__tstate);
31279 if (PyErr_Occurred()) SWIG_fail;
31280 }
fbc46b20
RD
31281 {
31282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31283 }
44127b65
RD
31284 return resultobj;
31285 fail:
31286 return NULL;
31287}
31288
31289
a95a7133 31290static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31291 PyObject *resultobj;
31292 wxDiagram *arg1 = (wxDiagram *) 0 ;
31293 bool result;
31294 PyObject * obj0 = 0 ;
31295 char *kwnames[] = {
31296 (char *) "self", NULL
31297 };
31298
31299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31302 {
31303 PyThreadState* __tstate = wxPyBeginAllowThreads();
31304 result = (bool)(arg1)->GetSnapToGrid();
31305
31306 wxPyEndAllowThreads(__tstate);
31307 if (PyErr_Occurred()) SWIG_fail;
31308 }
fbc46b20
RD
31309 {
31310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31311 }
44127b65
RD
31312 return resultobj;
31313 fail:
31314 return NULL;
31315}
31316
31317
a95a7133 31318static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31319 PyObject *resultobj;
31320 wxDiagram *arg1 = (wxDiagram *) 0 ;
31321 wxPyShape *arg2 = (wxPyShape *) 0 ;
31322 PyObject * obj0 = 0 ;
31323 PyObject * obj1 = 0 ;
31324 char *kwnames[] = {
31325 (char *) "self",(char *) "shape", NULL
31326 };
31327
31328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31333 {
31334 PyThreadState* __tstate = wxPyBeginAllowThreads();
31335 (arg1)->InsertShape(arg2);
31336
31337 wxPyEndAllowThreads(__tstate);
31338 if (PyErr_Occurred()) SWIG_fail;
31339 }
31340 Py_INCREF(Py_None); resultobj = Py_None;
31341 return resultobj;
31342 fail:
31343 return NULL;
31344}
31345
31346
a95a7133 31347static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31348 PyObject *resultobj;
31349 wxDiagram *arg1 = (wxDiagram *) 0 ;
31350 wxDC *arg2 = 0 ;
31351 PyObject * obj0 = 0 ;
31352 PyObject * obj1 = 0 ;
31353 char *kwnames[] = {
31354 (char *) "self",(char *) "dc", NULL
31355 };
31356
31357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31361 SWIG_POINTER_EXCEPTION | 0)) == -1)
31362 SWIG_fail;
44127b65 31363 if (arg2 == NULL) {
2f4c0a16
RD
31364 PyErr_SetString(PyExc_TypeError,"null reference");
31365 SWIG_fail;
44127b65
RD
31366 }
31367 {
31368 PyThreadState* __tstate = wxPyBeginAllowThreads();
31369 (arg1)->RecentreAll(*arg2);
31370
31371 wxPyEndAllowThreads(__tstate);
31372 if (PyErr_Occurred()) SWIG_fail;
31373 }
31374 Py_INCREF(Py_None); resultobj = Py_None;
31375 return resultobj;
31376 fail:
31377 return NULL;
31378}
31379
31380
a95a7133 31381static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31382 PyObject *resultobj;
31383 wxDiagram *arg1 = (wxDiagram *) 0 ;
31384 wxDC *arg2 = 0 ;
31385 PyObject * obj0 = 0 ;
31386 PyObject * obj1 = 0 ;
31387 char *kwnames[] = {
31388 (char *) "self",(char *) "dc", NULL
31389 };
31390
31391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31395 SWIG_POINTER_EXCEPTION | 0)) == -1)
31396 SWIG_fail;
44127b65 31397 if (arg2 == NULL) {
2f4c0a16
RD
31398 PyErr_SetString(PyExc_TypeError,"null reference");
31399 SWIG_fail;
44127b65
RD
31400 }
31401 {
31402 PyThreadState* __tstate = wxPyBeginAllowThreads();
31403 (arg1)->Redraw(*arg2);
31404
31405 wxPyEndAllowThreads(__tstate);
31406 if (PyErr_Occurred()) SWIG_fail;
31407 }
31408 Py_INCREF(Py_None); resultobj = Py_None;
31409 return resultobj;
31410 fail:
31411 return NULL;
31412}
31413
31414
a95a7133 31415static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31416 PyObject *resultobj;
31417 wxDiagram *arg1 = (wxDiagram *) 0 ;
31418 PyObject * obj0 = 0 ;
31419 char *kwnames[] = {
31420 (char *) "self", NULL
31421 };
31422
31423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31426 {
31427 PyThreadState* __tstate = wxPyBeginAllowThreads();
31428 (arg1)->RemoveAllShapes();
31429
31430 wxPyEndAllowThreads(__tstate);
31431 if (PyErr_Occurred()) SWIG_fail;
31432 }
31433 Py_INCREF(Py_None); resultobj = Py_None;
31434 return resultobj;
31435 fail:
31436 return NULL;
31437}
31438
31439
a95a7133 31440static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31441 PyObject *resultobj;
31442 wxDiagram *arg1 = (wxDiagram *) 0 ;
31443 wxPyShape *arg2 = (wxPyShape *) 0 ;
31444 PyObject * obj0 = 0 ;
31445 PyObject * obj1 = 0 ;
31446 char *kwnames[] = {
31447 (char *) "self",(char *) "shape", NULL
31448 };
31449
31450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31455 {
31456 PyThreadState* __tstate = wxPyBeginAllowThreads();
31457 (arg1)->RemoveShape(arg2);
31458
31459 wxPyEndAllowThreads(__tstate);
31460 if (PyErr_Occurred()) SWIG_fail;
31461 }
31462 Py_INCREF(Py_None); resultobj = Py_None;
31463 return resultobj;
31464 fail:
31465 return NULL;
31466}
31467
31468
a95a7133 31469static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31470 PyObject *resultobj;
31471 wxDiagram *arg1 = (wxDiagram *) 0 ;
31472 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
31473 PyObject * obj0 = 0 ;
31474 PyObject * obj1 = 0 ;
31475 char *kwnames[] = {
31476 (char *) "self",(char *) "canvas", NULL
31477 };
31478
31479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
31483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31484 {
31485 PyThreadState* __tstate = wxPyBeginAllowThreads();
31486 (arg1)->SetCanvas(arg2);
31487
31488 wxPyEndAllowThreads(__tstate);
31489 if (PyErr_Occurred()) SWIG_fail;
31490 }
31491 Py_INCREF(Py_None); resultobj = Py_None;
31492 return resultobj;
31493 fail:
31494 return NULL;
31495}
31496
31497
a95a7133 31498static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31499 PyObject *resultobj;
31500 wxDiagram *arg1 = (wxDiagram *) 0 ;
31501 double arg2 ;
31502 PyObject * obj0 = 0 ;
8edf1c75 31503 PyObject * obj1 = 0 ;
44127b65
RD
31504 char *kwnames[] = {
31505 (char *) "self",(char *) "spacing", NULL
31506 };
31507
8edf1c75 31508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31511 arg2 = (double) SWIG_AsDouble(obj1);
31512 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31513 {
31514 PyThreadState* __tstate = wxPyBeginAllowThreads();
31515 (arg1)->SetGridSpacing(arg2);
31516
31517 wxPyEndAllowThreads(__tstate);
31518 if (PyErr_Occurred()) SWIG_fail;
31519 }
31520 Py_INCREF(Py_None); resultobj = Py_None;
31521 return resultobj;
31522 fail:
31523 return NULL;
31524}
31525
31526
a95a7133 31527static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31528 PyObject *resultobj;
31529 wxDiagram *arg1 = (wxDiagram *) 0 ;
31530 int arg2 ;
31531 PyObject * obj0 = 0 ;
8edf1c75 31532 PyObject * obj1 = 0 ;
44127b65
RD
31533 char *kwnames[] = {
31534 (char *) "self",(char *) "tolerance", NULL
31535 };
31536
8edf1c75 31537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31540 arg2 = (int) SWIG_AsInt(obj1);
31541 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31542 {
31543 PyThreadState* __tstate = wxPyBeginAllowThreads();
31544 (arg1)->SetMouseTolerance(arg2);
31545
31546 wxPyEndAllowThreads(__tstate);
31547 if (PyErr_Occurred()) SWIG_fail;
31548 }
31549 Py_INCREF(Py_None); resultobj = Py_None;
31550 return resultobj;
31551 fail:
31552 return NULL;
31553}
31554
31555
a95a7133 31556static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31557 PyObject *resultobj;
31558 wxDiagram *arg1 = (wxDiagram *) 0 ;
31559 bool arg2 ;
31560 PyObject * obj0 = 0 ;
31561 PyObject * obj1 = 0 ;
31562 char *kwnames[] = {
31563 (char *) "self",(char *) "mode", NULL
31564 };
31565
31566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31569 arg2 = (bool) SWIG_AsBool(obj1);
31570 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31571 {
31572 PyThreadState* __tstate = wxPyBeginAllowThreads();
31573 (arg1)->SetQuickEditMode(arg2);
31574
31575 wxPyEndAllowThreads(__tstate);
31576 if (PyErr_Occurred()) SWIG_fail;
31577 }
31578 Py_INCREF(Py_None); resultobj = Py_None;
31579 return resultobj;
31580 fail:
31581 return NULL;
31582}
31583
31584
a95a7133 31585static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31586 PyObject *resultobj;
31587 wxDiagram *arg1 = (wxDiagram *) 0 ;
31588 bool arg2 ;
31589 PyObject * obj0 = 0 ;
31590 PyObject * obj1 = 0 ;
31591 char *kwnames[] = {
31592 (char *) "self",(char *) "snap", NULL
31593 };
31594
31595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31598 arg2 = (bool) SWIG_AsBool(obj1);
31599 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31600 {
31601 PyThreadState* __tstate = wxPyBeginAllowThreads();
31602 (arg1)->SetSnapToGrid(arg2);
31603
31604 wxPyEndAllowThreads(__tstate);
31605 if (PyErr_Occurred()) SWIG_fail;
31606 }
31607 Py_INCREF(Py_None); resultobj = Py_None;
31608 return resultobj;
31609 fail:
31610 return NULL;
31611}
31612
31613
a95a7133 31614static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31615 PyObject *resultobj;
31616 wxDiagram *arg1 = (wxDiagram *) 0 ;
31617 bool arg2 ;
31618 PyObject * obj0 = 0 ;
31619 PyObject * obj1 = 0 ;
31620 char *kwnames[] = {
31621 (char *) "self",(char *) "show", NULL
31622 };
31623
31624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31627 arg2 = (bool) SWIG_AsBool(obj1);
31628 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31629 {
31630 PyThreadState* __tstate = wxPyBeginAllowThreads();
31631 (arg1)->ShowAll(arg2);
31632
31633 wxPyEndAllowThreads(__tstate);
31634 if (PyErr_Occurred()) SWIG_fail;
31635 }
31636 Py_INCREF(Py_None); resultobj = Py_None;
31637 return resultobj;
31638 fail:
31639 return NULL;
31640}
31641
31642
a95a7133 31643static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31644 PyObject *resultobj;
31645 wxDiagram *arg1 = (wxDiagram *) 0 ;
31646 double *arg2 = (double *) 0 ;
31647 double *arg3 = (double *) 0 ;
31648 double temp2 ;
31649 double temp3 ;
31650 PyObject * obj0 = 0 ;
31651 PyObject * obj1 = 0 ;
31652 PyObject * obj2 = 0 ;
31653 char *kwnames[] = {
31654 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31655 };
31656
31657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31660 {
31661 temp2 = PyFloat_AsDouble(obj1);
31662 if (PyErr_Occurred()) SWIG_fail;
31663 arg2 = &temp2;
31664 }
31665 {
31666 temp3 = PyFloat_AsDouble(obj2);
31667 if (PyErr_Occurred()) SWIG_fail;
31668 arg3 = &temp3;
31669 }
31670 {
31671 PyThreadState* __tstate = wxPyBeginAllowThreads();
31672 (arg1)->Snap(arg2,arg3);
31673
31674 wxPyEndAllowThreads(__tstate);
31675 if (PyErr_Occurred()) SWIG_fail;
31676 }
31677 Py_INCREF(Py_None); resultobj = Py_None;
31678 {
31679 PyObject *o = PyFloat_FromDouble((double) (*arg2));
31680 resultobj = t_output_helper(resultobj,o);
31681 }
31682 {
31683 PyObject *o = PyFloat_FromDouble((double) (*arg3));
31684 resultobj = t_output_helper(resultobj,o);
31685 }
31686 return resultobj;
31687 fail:
31688 return NULL;
31689}
31690
31691
a95a7133 31692static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
31693 PyObject *obj;
31694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31695 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
31696 Py_INCREF(obj);
31697 return Py_BuildValue((char *)"");
31698}
a95a7133 31699static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31700 PyObject *resultobj;
31701 wxWindow *arg1 = (wxWindow *) NULL ;
31702 int arg2 = (int) -1 ;
31703 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31704 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31705 wxSize const &arg4_defvalue = wxDefaultSize ;
31706 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31707 long arg5 = (long) wxBORDER ;
31708 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
31709 wxString *arg6 = (wxString *) &arg6_defvalue ;
31710 wxPyShapeCanvas *result;
31711 wxPoint temp3 ;
31712 wxSize temp4 ;
31713 bool temp6 = False ;
31714 PyObject * obj0 = 0 ;
8edf1c75 31715 PyObject * obj1 = 0 ;
44127b65
RD
31716 PyObject * obj2 = 0 ;
31717 PyObject * obj3 = 0 ;
8edf1c75 31718 PyObject * obj4 = 0 ;
44127b65
RD
31719 PyObject * obj5 = 0 ;
31720 char *kwnames[] = {
31721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31722 };
31723
8edf1c75 31724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 31725 if (obj0) {
2f4c0a16
RD
31726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 31728 }
8edf1c75 31729 if (obj1) {
2f4c0a16
RD
31730 arg2 = (int) SWIG_AsInt(obj1);
31731 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31732 }
44127b65
RD
31733 if (obj2) {
31734 {
31735 arg3 = &temp3;
31736 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31737 }
31738 }
31739 if (obj3) {
31740 {
31741 arg4 = &temp4;
31742 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31743 }
31744 }
8edf1c75 31745 if (obj4) {
2f4c0a16
RD
31746 arg5 = (long) SWIG_AsLong(obj4);
31747 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31748 }
44127b65
RD
31749 if (obj5) {
31750 {
31751 arg6 = wxString_in_helper(obj5);
31752 if (arg6 == NULL) SWIG_fail;
31753 temp6 = True;
31754 }
31755 }
31756 {
31757 PyThreadState* __tstate = wxPyBeginAllowThreads();
31758 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31759
31760 wxPyEndAllowThreads(__tstate);
31761 if (PyErr_Occurred()) SWIG_fail;
31762 }
31763 {
31764 resultobj = wxPyMake_wxObject(result);
31765 }
31766 {
31767 if (temp6)
31768 delete arg6;
31769 }
31770 return resultobj;
31771 fail:
31772 {
31773 if (temp6)
31774 delete arg6;
31775 }
31776 return NULL;
31777}
31778
31779
a95a7133 31780static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31781 PyObject *resultobj;
31782 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31783 PyObject *arg2 = (PyObject *) 0 ;
31784 PyObject *arg3 = (PyObject *) 0 ;
31785 PyObject * obj0 = 0 ;
31786 PyObject * obj1 = 0 ;
31787 PyObject * obj2 = 0 ;
31788 char *kwnames[] = {
31789 (char *) "self",(char *) "self",(char *) "_class", NULL
31790 };
31791
31792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31795 arg2 = obj1;
31796 arg3 = obj2;
31797 {
31798 PyThreadState* __tstate = wxPyBeginAllowThreads();
31799 (arg1)->_setCallbackInfo(arg2,arg3);
31800
31801 wxPyEndAllowThreads(__tstate);
31802 if (PyErr_Occurred()) SWIG_fail;
31803 }
31804 Py_INCREF(Py_None); resultobj = Py_None;
31805 return resultobj;
31806 fail:
31807 return NULL;
31808}
31809
31810
a95a7133 31811static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31812 PyObject *resultobj;
31813 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31814 wxPyShape *arg2 = (wxPyShape *) 0 ;
31815 wxPyShape *arg3 = (wxPyShape *) NULL ;
31816 PyObject * obj0 = 0 ;
31817 PyObject * obj1 = 0 ;
31818 PyObject * obj2 = 0 ;
31819 char *kwnames[] = {
31820 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31821 };
31822
31823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 31828 if (obj2) {
2f4c0a16
RD
31829 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31831 }
31832 {
31833 PyThreadState* __tstate = wxPyBeginAllowThreads();
31834 (arg1)->AddShape(arg2,arg3);
31835
31836 wxPyEndAllowThreads(__tstate);
31837 if (PyErr_Occurred()) SWIG_fail;
31838 }
31839 Py_INCREF(Py_None); resultobj = Py_None;
31840 return resultobj;
31841 fail:
31842 return NULL;
31843}
31844
31845
a95a7133 31846static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31847 PyObject *resultobj;
31848 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31849 double arg2 ;
31850 double arg3 ;
31851 int *arg4 = (int *) 0 ;
31852 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
31853 wxPyShape *arg6 = (wxPyShape *) NULL ;
31854 wxPyShape *result;
31855 int temp4 ;
31856 PyObject * obj0 = 0 ;
8edf1c75
RD
31857 PyObject * obj1 = 0 ;
31858 PyObject * obj2 = 0 ;
44127b65
RD
31859 PyObject * obj3 = 0 ;
31860 PyObject * obj4 = 0 ;
31861 char *kwnames[] = {
31862 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31863 };
31864
31865 arg4 = &temp4;
8edf1c75 31866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
31867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31869 arg2 = (double) SWIG_AsDouble(obj1);
31870 if (PyErr_Occurred()) SWIG_fail;
31871 arg3 = (double) SWIG_AsDouble(obj2);
31872 if (PyErr_Occurred()) SWIG_fail;
44127b65 31873 if (obj3) {
2f4c0a16
RD
31874 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
31875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31876 }
31877 if (obj4) {
2f4c0a16
RD
31878 if ((SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_wxPyShape,
31879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31880 }
31881 {
31882 PyThreadState* __tstate = wxPyBeginAllowThreads();
31883 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
31884
31885 wxPyEndAllowThreads(__tstate);
31886 if (PyErr_Occurred()) SWIG_fail;
31887 }
31888 {
31889 resultobj = wxPyMake_wxShapeEvtHandler(result);
31890 }
31891 {
31892 PyObject *o = PyInt_FromLong((long) (*arg4));
31893 resultobj = t_output_helper(resultobj,o);
31894 }
31895 return resultobj;
31896 fail:
31897 return NULL;
31898}
31899
31900
a95a7133 31901static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31902 PyObject *resultobj;
31903 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31904 double arg2 ;
31905 double arg3 ;
31906 int *arg4 = (int *) 0 ;
31907 int arg5 ;
31908 wxPyShape *result;
31909 int temp4 ;
31910 PyObject * obj0 = 0 ;
8edf1c75
RD
31911 PyObject * obj1 = 0 ;
31912 PyObject * obj2 = 0 ;
31913 PyObject * obj3 = 0 ;
44127b65
RD
31914 char *kwnames[] = {
31915 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31916 };
31917
31918 arg4 = &temp4;
8edf1c75 31919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
31920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31922 arg2 = (double) SWIG_AsDouble(obj1);
31923 if (PyErr_Occurred()) SWIG_fail;
31924 arg3 = (double) SWIG_AsDouble(obj2);
31925 if (PyErr_Occurred()) SWIG_fail;
31926 arg5 = (int) SWIG_AsInt(obj3);
31927 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31928 {
31929 PyThreadState* __tstate = wxPyBeginAllowThreads();
31930 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
31931
31932 wxPyEndAllowThreads(__tstate);
31933 if (PyErr_Occurred()) SWIG_fail;
31934 }
31935 {
31936 resultobj = wxPyMake_wxShapeEvtHandler(result);
31937 }
31938 {
31939 PyObject *o = PyInt_FromLong((long) (*arg4));
31940 resultobj = t_output_helper(resultobj,o);
31941 }
31942 return resultobj;
31943 fail:
31944 return NULL;
31945}
31946
31947
a95a7133 31948static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31949 PyObject *resultobj;
31950 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31951 wxDiagram *result;
31952 PyObject * obj0 = 0 ;
31953 char *kwnames[] = {
31954 (char *) "self", NULL
31955 };
31956
31957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31960 {
31961 PyThreadState* __tstate = wxPyBeginAllowThreads();
31962 result = (wxDiagram *)(arg1)->GetDiagram();
31963
31964 wxPyEndAllowThreads(__tstate);
31965 if (PyErr_Occurred()) SWIG_fail;
31966 }
31967 {
31968 resultobj = wxPyMake_wxObject(result);
31969 }
31970 return resultobj;
31971 fail:
31972 return NULL;
31973}
31974
31975
a95a7133 31976static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31977 PyObject *resultobj;
31978 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31979 bool result;
31980 PyObject * obj0 = 0 ;
31981 char *kwnames[] = {
31982 (char *) "self", NULL
31983 };
31984
31985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31988 {
31989 PyThreadState* __tstate = wxPyBeginAllowThreads();
31990 result = (bool)(arg1)->GetQuickEditMode();
31991
31992 wxPyEndAllowThreads(__tstate);
31993 if (PyErr_Occurred()) SWIG_fail;
31994 }
fbc46b20
RD
31995 {
31996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31997 }
44127b65
RD
31998 return resultobj;
31999 fail:
32000 return NULL;
32001}
32002
32003
a95a7133 32004static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32005 PyObject *resultobj;
32006 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32007 wxPyShape *arg2 = (wxPyShape *) 0 ;
32008 PyObject * obj0 = 0 ;
32009 PyObject * obj1 = 0 ;
32010 char *kwnames[] = {
32011 (char *) "self",(char *) "shape", NULL
32012 };
32013
32014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32019 {
32020 PyThreadState* __tstate = wxPyBeginAllowThreads();
32021 (arg1)->InsertShape(arg2);
32022
32023 wxPyEndAllowThreads(__tstate);
32024 if (PyErr_Occurred()) SWIG_fail;
32025 }
32026 Py_INCREF(Py_None); resultobj = Py_None;
32027 return resultobj;
32028 fail:
32029 return NULL;
32030}
32031
32032
a95a7133 32033static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32034 PyObject *resultobj;
32035 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32036 double arg2 ;
32037 double arg3 ;
32038 int arg4 = (int) 0 ;
32039 PyObject * obj0 = 0 ;
8edf1c75
RD
32040 PyObject * obj1 = 0 ;
32041 PyObject * obj2 = 0 ;
32042 PyObject * obj3 = 0 ;
44127b65
RD
32043 char *kwnames[] = {
32044 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32045 };
32046
8edf1c75 32047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32050 arg2 = (double) SWIG_AsDouble(obj1);
32051 if (PyErr_Occurred()) SWIG_fail;
32052 arg3 = (double) SWIG_AsDouble(obj2);
32053 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32054 if (obj3) {
2f4c0a16
RD
32055 arg4 = (int) SWIG_AsInt(obj3);
32056 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32057 }
44127b65
RD
32058 {
32059 PyThreadState* __tstate = wxPyBeginAllowThreads();
32060 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
32061
32062 wxPyEndAllowThreads(__tstate);
32063 if (PyErr_Occurred()) SWIG_fail;
32064 }
32065 Py_INCREF(Py_None); resultobj = Py_None;
32066 return resultobj;
32067 fail:
32068 return NULL;
32069}
32070
32071
a95a7133 32072static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32073 PyObject *resultobj;
32074 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32075 double arg2 ;
32076 double arg3 ;
32077 int arg4 = (int) 0 ;
32078 PyObject * obj0 = 0 ;
8edf1c75
RD
32079 PyObject * obj1 = 0 ;
32080 PyObject * obj2 = 0 ;
32081 PyObject * obj3 = 0 ;
44127b65
RD
32082 char *kwnames[] = {
32083 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32084 };
32085
8edf1c75 32086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32089 arg2 = (double) SWIG_AsDouble(obj1);
32090 if (PyErr_Occurred()) SWIG_fail;
32091 arg3 = (double) SWIG_AsDouble(obj2);
32092 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32093 if (obj3) {
2f4c0a16
RD
32094 arg4 = (int) SWIG_AsInt(obj3);
32095 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32096 }
44127b65
RD
32097 {
32098 PyThreadState* __tstate = wxPyBeginAllowThreads();
32099 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
32100
32101 wxPyEndAllowThreads(__tstate);
32102 if (PyErr_Occurred()) SWIG_fail;
32103 }
32104 Py_INCREF(Py_None); resultobj = Py_None;
32105 return resultobj;
32106 fail:
32107 return NULL;
32108}
32109
32110
a95a7133 32111static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32112 PyObject *resultobj;
32113 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32114 double arg2 ;
32115 double arg3 ;
32116 int arg4 = (int) 0 ;
32117 PyObject * obj0 = 0 ;
8edf1c75
RD
32118 PyObject * obj1 = 0 ;
32119 PyObject * obj2 = 0 ;
32120 PyObject * obj3 = 0 ;
44127b65
RD
32121 char *kwnames[] = {
32122 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32123 };
32124
8edf1c75 32125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32128 arg2 = (double) SWIG_AsDouble(obj1);
32129 if (PyErr_Occurred()) SWIG_fail;
32130 arg3 = (double) SWIG_AsDouble(obj2);
32131 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32132 if (obj3) {
2f4c0a16
RD
32133 arg4 = (int) SWIG_AsInt(obj3);
32134 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32135 }
44127b65
RD
32136 {
32137 PyThreadState* __tstate = wxPyBeginAllowThreads();
32138 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
32139
32140 wxPyEndAllowThreads(__tstate);
32141 if (PyErr_Occurred()) SWIG_fail;
32142 }
32143 Py_INCREF(Py_None); resultobj = Py_None;
32144 return resultobj;
32145 fail:
32146 return NULL;
32147}
32148
32149
a95a7133 32150static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32151 PyObject *resultobj;
32152 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32153 double arg2 ;
32154 double arg3 ;
32155 int arg4 = (int) 0 ;
32156 PyObject * obj0 = 0 ;
8edf1c75
RD
32157 PyObject * obj1 = 0 ;
32158 PyObject * obj2 = 0 ;
32159 PyObject * obj3 = 0 ;
44127b65
RD
32160 char *kwnames[] = {
32161 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32162 };
32163
8edf1c75 32164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32167 arg2 = (double) SWIG_AsDouble(obj1);
32168 if (PyErr_Occurred()) SWIG_fail;
32169 arg3 = (double) SWIG_AsDouble(obj2);
32170 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32171 if (obj3) {
2f4c0a16
RD
32172 arg4 = (int) SWIG_AsInt(obj3);
32173 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32174 }
44127b65
RD
32175 {
32176 PyThreadState* __tstate = wxPyBeginAllowThreads();
32177 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32178
32179 wxPyEndAllowThreads(__tstate);
32180 if (PyErr_Occurred()) SWIG_fail;
32181 }
32182 Py_INCREF(Py_None); resultobj = Py_None;
32183 return resultobj;
32184 fail:
32185 return NULL;
32186}
32187
32188
a95a7133 32189static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32190 PyObject *resultobj;
32191 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32192 bool arg2 ;
32193 double arg3 ;
32194 double arg4 ;
32195 int arg5 = (int) 0 ;
32196 PyObject * obj0 = 0 ;
32197 PyObject * obj1 = 0 ;
8edf1c75
RD
32198 PyObject * obj2 = 0 ;
32199 PyObject * obj3 = 0 ;
32200 PyObject * obj4 = 0 ;
44127b65
RD
32201 char *kwnames[] = {
32202 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32203 };
32204
8edf1c75 32205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32208 arg2 = (bool) SWIG_AsBool(obj1);
32209 if (PyErr_Occurred()) SWIG_fail;
32210 arg3 = (double) SWIG_AsDouble(obj2);
32211 if (PyErr_Occurred()) SWIG_fail;
32212 arg4 = (double) SWIG_AsDouble(obj3);
32213 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32214 if (obj4) {
2f4c0a16
RD
32215 arg5 = (int) SWIG_AsInt(obj4);
32216 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32217 }
44127b65
RD
32218 {
32219 PyThreadState* __tstate = wxPyBeginAllowThreads();
32220 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32221
32222 wxPyEndAllowThreads(__tstate);
32223 if (PyErr_Occurred()) SWIG_fail;
32224 }
32225 Py_INCREF(Py_None); resultobj = Py_None;
32226 return resultobj;
32227 fail:
32228 return NULL;
32229}
32230
32231
a95a7133 32232static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32233 PyObject *resultobj;
32234 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32235 bool arg2 ;
32236 double arg3 ;
32237 double arg4 ;
32238 int arg5 = (int) 0 ;
32239 PyObject * obj0 = 0 ;
32240 PyObject * obj1 = 0 ;
8edf1c75
RD
32241 PyObject * obj2 = 0 ;
32242 PyObject * obj3 = 0 ;
32243 PyObject * obj4 = 0 ;
44127b65
RD
32244 char *kwnames[] = {
32245 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32246 };
32247
8edf1c75 32248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32251 arg2 = (bool) SWIG_AsBool(obj1);
32252 if (PyErr_Occurred()) SWIG_fail;
32253 arg3 = (double) SWIG_AsDouble(obj2);
32254 if (PyErr_Occurred()) SWIG_fail;
32255 arg4 = (double) SWIG_AsDouble(obj3);
32256 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32257 if (obj4) {
2f4c0a16
RD
32258 arg5 = (int) SWIG_AsInt(obj4);
32259 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32260 }
44127b65
RD
32261 {
32262 PyThreadState* __tstate = wxPyBeginAllowThreads();
32263 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
32264
32265 wxPyEndAllowThreads(__tstate);
32266 if (PyErr_Occurred()) SWIG_fail;
32267 }
32268 Py_INCREF(Py_None); resultobj = Py_None;
32269 return resultobj;
32270 fail:
32271 return NULL;
32272}
32273
32274
a95a7133 32275static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32276 PyObject *resultobj;
32277 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32278 double arg2 ;
32279 double arg3 ;
32280 int arg4 = (int) 0 ;
32281 PyObject * obj0 = 0 ;
8edf1c75
RD
32282 PyObject * obj1 = 0 ;
32283 PyObject * obj2 = 0 ;
32284 PyObject * obj3 = 0 ;
44127b65
RD
32285 char *kwnames[] = {
32286 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32287 };
32288
8edf1c75 32289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32292 arg2 = (double) SWIG_AsDouble(obj1);
32293 if (PyErr_Occurred()) SWIG_fail;
32294 arg3 = (double) SWIG_AsDouble(obj2);
32295 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32296 if (obj3) {
2f4c0a16
RD
32297 arg4 = (int) SWIG_AsInt(obj3);
32298 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32299 }
44127b65
RD
32300 {
32301 PyThreadState* __tstate = wxPyBeginAllowThreads();
32302 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
32303
32304 wxPyEndAllowThreads(__tstate);
32305 if (PyErr_Occurred()) SWIG_fail;
32306 }
32307 Py_INCREF(Py_None); resultobj = Py_None;
32308 return resultobj;
32309 fail:
32310 return NULL;
32311}
32312
32313
a95a7133 32314static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32315 PyObject *resultobj;
32316 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32317 double arg2 ;
32318 double arg3 ;
32319 int arg4 = (int) 0 ;
32320 PyObject * obj0 = 0 ;
8edf1c75
RD
32321 PyObject * obj1 = 0 ;
32322 PyObject * obj2 = 0 ;
32323 PyObject * obj3 = 0 ;
44127b65
RD
32324 char *kwnames[] = {
32325 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32326 };
32327
8edf1c75 32328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32331 arg2 = (double) SWIG_AsDouble(obj1);
32332 if (PyErr_Occurred()) SWIG_fail;
32333 arg3 = (double) SWIG_AsDouble(obj2);
32334 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32335 if (obj3) {
2f4c0a16
RD
32336 arg4 = (int) SWIG_AsInt(obj3);
32337 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32338 }
44127b65
RD
32339 {
32340 PyThreadState* __tstate = wxPyBeginAllowThreads();
32341 (arg1)->base_OnRightClick(arg2,arg3,arg4);
32342
32343 wxPyEndAllowThreads(__tstate);
32344 if (PyErr_Occurred()) SWIG_fail;
32345 }
32346 Py_INCREF(Py_None); resultobj = Py_None;
32347 return resultobj;
32348 fail:
32349 return NULL;
32350}
32351
32352
a95a7133 32353static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32354 PyObject *resultobj;
32355 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32356 wxDC *arg2 = 0 ;
32357 PyObject * obj0 = 0 ;
32358 PyObject * obj1 = 0 ;
32359 char *kwnames[] = {
32360 (char *) "self",(char *) "dc", NULL
32361 };
32362
32363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
32367 SWIG_POINTER_EXCEPTION | 0)) == -1)
32368 SWIG_fail;
44127b65 32369 if (arg2 == NULL) {
2f4c0a16
RD
32370 PyErr_SetString(PyExc_TypeError,"null reference");
32371 SWIG_fail;
44127b65
RD
32372 }
32373 {
32374 PyThreadState* __tstate = wxPyBeginAllowThreads();
32375 (arg1)->Redraw(*arg2);
32376
32377 wxPyEndAllowThreads(__tstate);
32378 if (PyErr_Occurred()) SWIG_fail;
32379 }
32380 Py_INCREF(Py_None); resultobj = Py_None;
32381 return resultobj;
32382 fail:
32383 return NULL;
32384}
32385
32386
a95a7133 32387static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32388 PyObject *resultobj;
32389 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32390 wxPyShape *arg2 = (wxPyShape *) 0 ;
32391 PyObject * obj0 = 0 ;
32392 PyObject * obj1 = 0 ;
32393 char *kwnames[] = {
32394 (char *) "self",(char *) "shape", NULL
32395 };
32396
32397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32402 {
32403 PyThreadState* __tstate = wxPyBeginAllowThreads();
32404 (arg1)->RemoveShape(arg2);
32405
32406 wxPyEndAllowThreads(__tstate);
32407 if (PyErr_Occurred()) SWIG_fail;
32408 }
32409 Py_INCREF(Py_None); resultobj = Py_None;
32410 return resultobj;
32411 fail:
32412 return NULL;
32413}
32414
32415
a95a7133 32416static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32417 PyObject *resultobj;
32418 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32419 wxDiagram *arg2 = (wxDiagram *) 0 ;
32420 PyObject * obj0 = 0 ;
32421 PyObject * obj1 = 0 ;
32422 char *kwnames[] = {
32423 (char *) "self",(char *) "diagram", NULL
32424 };
32425
32426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDiagram,
32430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32431 {
32432 PyThreadState* __tstate = wxPyBeginAllowThreads();
32433 (arg1)->SetDiagram(arg2);
32434
32435 wxPyEndAllowThreads(__tstate);
32436 if (PyErr_Occurred()) SWIG_fail;
32437 }
32438 Py_INCREF(Py_None); resultobj = Py_None;
32439 return resultobj;
32440 fail:
32441 return NULL;
32442}
32443
32444
a95a7133 32445static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32446 PyObject *resultobj;
32447 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32448 double *arg2 = (double *) 0 ;
32449 double *arg3 = (double *) 0 ;
32450 double temp2 ;
32451 double temp3 ;
32452 PyObject * obj0 = 0 ;
32453 PyObject * obj1 = 0 ;
32454 PyObject * obj2 = 0 ;
32455 char *kwnames[] = {
32456 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32457 };
32458
32459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32462 {
32463 temp2 = PyFloat_AsDouble(obj1);
32464 if (PyErr_Occurred()) SWIG_fail;
32465 arg2 = &temp2;
32466 }
32467 {
32468 temp3 = PyFloat_AsDouble(obj2);
32469 if (PyErr_Occurred()) SWIG_fail;
32470 arg3 = &temp3;
32471 }
32472 {
32473 PyThreadState* __tstate = wxPyBeginAllowThreads();
32474 (arg1)->Snap(arg2,arg3);
32475
32476 wxPyEndAllowThreads(__tstate);
32477 if (PyErr_Occurred()) SWIG_fail;
32478 }
32479 Py_INCREF(Py_None); resultobj = Py_None;
32480 {
32481 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32482 resultobj = t_output_helper(resultobj,o);
32483 }
32484 {
32485 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32486 resultobj = t_output_helper(resultobj,o);
32487 }
32488 return resultobj;
32489 fail:
32490 return NULL;
32491}
32492
32493
a95a7133 32494static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
32495 PyObject *obj;
32496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32497 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
32498 Py_INCREF(obj);
32499 return Py_BuildValue((char *)"");
32500}
a95a7133 32501static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32502 PyObject *resultobj;
32503 char *kwnames[] = {
32504 NULL
32505 };
32506
32507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
32508 {
32509 PyThreadState* __tstate = wxPyBeginAllowThreads();
32510 wxOGLInitialize();
32511
32512 wxPyEndAllowThreads(__tstate);
32513 if (PyErr_Occurred()) SWIG_fail;
32514 }
32515 Py_INCREF(Py_None); resultobj = Py_None;
32516 return resultobj;
32517 fail:
32518 return NULL;
32519}
32520
32521
a95a7133 32522static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32523 PyObject *resultobj;
32524 char *kwnames[] = {
32525 NULL
32526 };
32527
32528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
32529 {
32530 PyThreadState* __tstate = wxPyBeginAllowThreads();
32531 wxOGLCleanUp();
32532
32533 wxPyEndAllowThreads(__tstate);
32534 if (PyErr_Occurred()) SWIG_fail;
32535 }
32536 Py_INCREF(Py_None); resultobj = Py_None;
32537 return resultobj;
32538 fail:
32539 return NULL;
32540}
32541
32542
32543static PyMethodDef SwigMethods[] = {
a95a7133
RD
32544 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
32545 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
32546 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
32547 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
32548 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
32549 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
32550 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
32551 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32552 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
32553 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
32554 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
32555 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
32556 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
32557 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
32558 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
32559 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
32560 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32561 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
32562 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
32563 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
32564 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
32565 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
32566 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
32567 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
32568 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
32569 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
32570 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
32571 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
32572 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
32573 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
32574 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32575 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
32576 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
32577 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
32578 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
32579 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
32580 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
32581 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
32582 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
32583 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32584 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
32585 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
32586 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
32587 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32588 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32589 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32590 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32591 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32592 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32593 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32594 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32595 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32596 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32597 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32598 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32599 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32600 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32601 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32602 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32603 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32604 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32605 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32606 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32607 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32608 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32609 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32610 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32611 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32612 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32613 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32614 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32615 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32616 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32617 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32618 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32619 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
32620 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
32621 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32622 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
32623 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
32624 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
32625 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
32626 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
32627 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
32628 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
32629 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
32630 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
32631 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
32632 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
32633 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
32634 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
32635 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
32636 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
32637 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
32638 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
32639 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32640 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32641 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
32642 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
32643 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
32644 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
32645 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
32646 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32647 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32648 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32649 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32650 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
32651 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
32652 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
32653 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
32654 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
32655 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32656 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32657 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
32658 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
32659 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
32660 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
32661 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
32662 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32663 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32664 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
32665 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
32666 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
32667 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
32668 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
32669 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32670 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32671 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
32672 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32673 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32674 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32675 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32676 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
32677 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
32678 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
32679 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
32680 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
32681 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
32682 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
32683 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
32684 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
32685 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
32686 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
32687 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
32688 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
32689 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
32690 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
32691 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
32692 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
32693 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
32694 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
32695 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
32696 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
32697 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
32698 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
32699 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
32700 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
32701 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32702 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32703 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
32704 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
32705 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32706 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32707 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
32708 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
32709 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
32710 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
32711 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
32712 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
32713 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
32714 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
32715 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
32716 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
32717 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
32718 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
32719 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
32720 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
32721 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
32722 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
32723 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
32724 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
32725 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
32726 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
32727 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
32728 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
32729 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
32730 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
32731 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
32732 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
32733 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32734 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
32735 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32736 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32737 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32738 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32739 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32740 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32741 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32742 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32743 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
32744 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
32745 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
32746 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
32747 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32748 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
32749 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
32750 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32751 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32752 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
32753 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
32754 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
32755 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
32756 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
32757 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
32758 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32759 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32760 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32761 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32762 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32763 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32764 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32765 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32766 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32767 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32768 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32769 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32770 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32771 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32772 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32773 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32774 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32775 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32776 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32777 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32778 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32779 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32780 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32781 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32782 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32783 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32784 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32785 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32786 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32787 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
32788 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32789 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32790 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
32791 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
32792 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
32793 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
32794 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
32795 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
32796 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
32797 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32798 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
32799 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32800 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
32801 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
32802 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
32803 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
32804 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
32805 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32806 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32807 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32808 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32809 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
32810 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
32811 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32812 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32813 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
32814 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32815 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
32816 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32817 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
32818 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
32819 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32820 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32821 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32822 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32823 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
32824 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
32825 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
32826 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32827 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32828 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32829 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
32830 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
32831 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32832 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32833 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32834 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32835 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32836 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32837 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32838 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32839 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32840 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32841 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32842 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32843 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32844 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32845 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32846 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32847 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32848 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32849 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32850 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32851 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32852 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32853 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32854 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32855 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32856 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32857 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32858 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32859 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32860 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32861 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32862 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32863 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
32864 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
32865 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32866 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32867 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32868 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32869 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32870 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32871 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32872 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32873 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32874 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32875 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32876 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32877 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32878 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32879 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32880 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32881 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32882 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32883 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32884 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32885 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32886 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32887 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32888 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32889 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32890 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32891 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32892 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32893 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32894 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32895 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32896 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
32897 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
32898 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32899 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
32900 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
32901 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
32902 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
32903 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32904 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32905 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32906 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32907 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32908 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32909 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32910 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32911 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32912 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32913 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32914 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32915 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32916 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32917 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32918 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32919 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32920 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32921 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32922 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32923 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32924 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32925 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32926 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32927 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32928 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32929 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32930 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32931 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32932 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
32933 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
32934 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32935 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32936 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32937 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
32938 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
32939 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32940 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
32941 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
32942 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32943 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32944 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32945 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32946 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32947 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
32948 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
32949 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
32950 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32951 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32952 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32953 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32954 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32955 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32956 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
32957 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
32958 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
32959 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
32960 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
32961 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
32962 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
32963 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32964 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32965 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32966 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32967 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32968 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32969 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32970 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32971 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32972 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32973 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32974 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32975 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32976 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32977 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32978 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32979 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32980 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32981 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32982 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32983 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32984 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32985 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32986 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32987 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32988 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32989 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32990 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32991 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32992 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
32993 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
32994 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
32995 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
32996 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
32997 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
32998 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
32999 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33000 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
33001 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
33002 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
33003 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
33004 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33005 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
33006 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
33007 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
33008 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
33009 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
33010 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
33011 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
33012 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
33013 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
33014 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33015 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33016 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33017 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33018 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33019 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33020 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33021 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33022 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33023 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33024 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33025 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33026 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33027 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33028 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33029 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33030 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33031 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33032 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33033 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33034 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33035 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33036 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33037 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33038 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33039 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33040 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33041 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33042 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33043 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
33044 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
33045 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33046 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
33047 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
33048 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33049 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33050 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33051 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33052 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33053 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33054 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33055 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33056 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33057 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33058 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33059 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33060 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33061 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33062 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33063 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33064 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33065 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33066 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33067 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33068 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33069 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33070 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33071 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33072 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33073 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33074 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33075 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33076 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33077 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
33078 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
33079 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33080 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
33081 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
33082 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
33083 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
33084 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
33085 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
33086 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
33087 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
33088 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
33089 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33090 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33091 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
33092 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
33093 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33094 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
33095 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
33096 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
33097 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
33098 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
33099 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33100 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33101 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
33102 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
33103 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
33104 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33105 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33106 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33107 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33108 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33109 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33110 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33111 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33112 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33113 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33114 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33115 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33116 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33117 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33118 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33119 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33120 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33121 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33122 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33123 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33124 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33125 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33126 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33127 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33128 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33129 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33130 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33131 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33132 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33133 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33134 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
33135 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
33136 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33137 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33138 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33139 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33140 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33141 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33142 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33143 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33144 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33145 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33146 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33147 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33148 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33149 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33150 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33151 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33152 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33153 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33154 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33155 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33156 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33157 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33158 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33159 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33160 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33161 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33162 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33163 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33164 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33165 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
33166 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
33167 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33168 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33169 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33170 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33171 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33172 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33173 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33174 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33175 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33176 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33177 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33178 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33179 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33180 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33181 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33182 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33183 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33184 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33185 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33186 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33187 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33188 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33189 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33190 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33191 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33192 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33193 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33194 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33195 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33196 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33197 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33198 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33199 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33200 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33201 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33202 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33203 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33204 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33205 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33206 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33207 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33208 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33209 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33210 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33211 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
33212 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
33213 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
33214 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33215 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
33216 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
33217 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33218 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
33219 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
33220 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
33221 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
33222 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
33223 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33224 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
33225 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33226 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
33227 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
33228 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
33229 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33230 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
33231 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
33232 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
33233 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
33234 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
33235 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33236 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33237 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
33238 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
33239 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
33240 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
33241 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
33242 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
33243 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33244 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
33245 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
33246 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33247 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
0346c964 33248 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction) _wrap_PyLineShape_SetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
a95a7133
RD
33249 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33250 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
33251 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33252 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
33253 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
33254 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
33255 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
33256 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
33257 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
33258 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33259 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33260 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33261 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33262 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33263 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
33264 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
33265 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33266 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33267 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33268 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33269 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33270 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33271 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33272 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33273 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33274 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33275 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33276 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33277 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33278 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33279 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33280 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33281 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33282 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33283 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33284 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33285 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33286 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33287 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33288 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33289 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33290 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33291 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33292 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33293 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
33294 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
33295 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33296 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
33297 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
33298 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
33299 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
33300 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
33301 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33302 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33303 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33304 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33305 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33306 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33307 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33308 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33309 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33310 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33311 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33312 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33313 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33314 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33315 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33316 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33317 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33318 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33319 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33320 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33321 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33322 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33323 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33324 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33325 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33326 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33327 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33328 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33329 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33330 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33331 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33332 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33333 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33334 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33335 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
33336 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
33337 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33338 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33339 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33340 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33341 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33342 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33343 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33344 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33345 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33346 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33347 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33348 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33349 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33350 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33351 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33352 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33353 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33354 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33355 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33356 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33357 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33358 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33359 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33360 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33361 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33362 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33363 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33364 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33365 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33366 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33367 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
33368 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
33369 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
33370 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
33371 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
33372 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
33373 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
33374 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33375 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
33376 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33377 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33378 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
33379 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33380 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33381 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
33382 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
33383 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
33384 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
33385 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33386 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33387 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33388 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33389 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33390 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33391 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
33392 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
33393 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
33394 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
33395 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33396 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
33397 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
33398 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
33399 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
33400 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33401 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
33402 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33403 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33404 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33405 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33406 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33407 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33408 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33409 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33410 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
33411 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33412 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
33413 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
33414 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
33415 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
33416 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
33417 { NULL, NULL }
44127b65
RD
33418};
33419
33420
33421/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33422
33423static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33424 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33425}
33426static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33427 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33428}
a2482628
RD
33429static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33430 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33431}
44127b65
RD
33432static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33433 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33434}
33435static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33436 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33437}
33438static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33439 return (void *)((wxPanel *) ((wxPyPanel *) x));
33440}
33441static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33442 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33443}
33444static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33445 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33446}
33447static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33448 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33449}
33450static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
33451 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33452}
a2482628
RD
33453static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33454 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33455}
44127b65
RD
33456static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33457 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33458}
33459static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
33460 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33461}
33462static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33463 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33464}
33465static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33467}
33468static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33469 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33470}
33471static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33472 return (void *)((wxWindow *) ((wxMenuBar *) x));
33473}
33474static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33475 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33476}
33477static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33478 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33479}
33480static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33481 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33482}
33483static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33484 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33485}
33486static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33487 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33488}
33489static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33490 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33491}
33492static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33493 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33494}
33495static void *_p_wxPanelTo_p_wxWindow(void *x) {
33496 return (void *)((wxWindow *) ((wxPanel *) x));
33497}
33498static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33499 return (void *)((wxWindow *) ((wxStatusBar *) x));
33500}
33501static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33502 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33503}
33504static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33505 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33506}
33507static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33508 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33509}
33510static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33511 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33512}
33513static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33514 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33515}
33516static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33517 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33518}
33519static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33520 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33521}
33522static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33523 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33524}
33525static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33526 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33527}
33528static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33529 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33530}
33531static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33532 return (void *)((wxWindow *) ((wxSashWindow *) x));
33533}
a2482628
RD
33534static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33535 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33536}
44127b65
RD
33537static void *_p_wxControlTo_p_wxWindow(void *x) {
33538 return (void *)((wxWindow *) ((wxControl *) x));
33539}
33540static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33541 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33542}
33543static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33544 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33545}
33546static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33547 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33548}
33549static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33550 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33551}
33552static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33553 return (void *)((wxWindow *) ((wxPyWindow *) x));
33554}
33555static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33556 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33557}
33558static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
33559 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33560}
33561static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33562 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33563}
33564static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33565 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33566}
33567static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33568 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33569}
33570static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33571 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33572}
33573static void *_p_wxFrameTo_p_wxWindow(void *x) {
33574 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33575}
33576static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33577 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33578}
33579static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33580 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33581}
33582static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33583 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33584}
33585static void *_p_wxDialogTo_p_wxWindow(void *x) {
33586 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33587}
33588static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
33589 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33590}
33591static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
33592 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33593}
33594static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33595 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33596}
33597static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33598 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33599}
33600static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33601 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33602}
33603static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
33604 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33605}
33606static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33608}
33609static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33611}
33612static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33613 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33614}
33615static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33616 return (void *)((wxObject *) ((wxSizerItem *) x));
33617}
33618static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33619 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33620}
33621static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33622 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33623}
33624static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
33625 return (void *)((wxObject *) ((wxOGLConstraint *) x));
33626}
33627static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33628 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33629}
33630static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33631 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33632}
33633static void *_p_wxSizerTo_p_wxObject(void *x) {
33634 return (void *)((wxObject *) ((wxSizer *) x));
33635}
33636static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
33637 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33638}
33639static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
33640 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33641}
33642static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
33643 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
33644}
33645static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33646 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33647}
33648static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33650}
33651static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
33652 return (void *)((wxObject *) ((wxArrowHead *) x));
33653}
33654static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33656}
33657static void *_p_wxEventTo_p_wxObject(void *x) {
33658 return (void *)((wxObject *) ((wxEvent *) x));
33659}
33660static void *_p_wxFontDataTo_p_wxObject(void *x) {
33661 return (void *)((wxObject *) ((wxFontData *) x));
33662}
33663static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33664 return (void *)((wxObject *) ((wxPrintData *) x));
33665}
33666static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33667 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33668}
33669static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33670 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33671}
33672static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33673 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33674}
33675static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33676 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33677}
33678static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
33679 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
33680}
33681static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33682 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33683}
33684static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33685 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33686}
33687static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33688 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33689}
33690static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33691 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33692}
33693static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33694 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33695}
33696static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33697 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33698}
33699static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33700 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33701}
33702static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33704}
33705static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
33706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33707}
33708static void *_p_wxControlTo_p_wxObject(void *x) {
33709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33710}
33711static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
33712 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
33713}
33714static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33715 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33716}
33717static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33719}
33720static void *_p_wxFSFileTo_p_wxObject(void *x) {
33721 return (void *)((wxObject *) ((wxFSFile *) x));
33722}
33723static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33724 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33725}
33726static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
33727 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33728}
33729static void *_p_wxPySizerTo_p_wxObject(void *x) {
33730 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33731}
33732static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33734}
33735static void *_p_wxColourDataTo_p_wxObject(void *x) {
33736 return (void *)((wxObject *) ((wxColourData *) x));
33737}
33738static void *_p_wxPyEventTo_p_wxObject(void *x) {
33739 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33740}
33741static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33743}
33744static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33746}
33747static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33749}
33750static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33752}
33753static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33755}
33756static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33758}
33759static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33761}
33762static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33764}
33765static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33767}
33768static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33770}
33771static void *_p_wxShowEventTo_p_wxObject(void *x) {
33772 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33773}
33774static void *_p_wxPrinterTo_p_wxObject(void *x) {
33775 return (void *)((wxObject *) ((wxPrinter *) x));
33776}
33777static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33778 return (void *)((wxObject *) ((wxMenuItem *) x));
33779}
33780static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33781 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33782}
33783static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33784 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33785}
33786static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33787 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33788}
33789static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33790 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33791}
33792static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33793 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33794}
33795static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33796 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33797}
33798static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33799 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33800}
33801static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33802 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33803}
33804static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33805 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33806}
33807static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33808 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33809}
33810static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33811 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33812}
33813static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33814 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33815}
33816static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33817 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33818}
33819static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33820 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33821}
33822static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33823 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33824}
33825static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33826 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33827}
33828static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33829 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33830}
33831static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33832 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33833}
33834static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33835 return (void *)((wxObject *) ((wxImageHandler *) x));
33836}
33837static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33838 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33839}
33840static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33841 return (void *)((wxObject *) ((wxEvtHandler *) x));
33842}
33843static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33844 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33845}
33846static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
33847 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
33848}
33849static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33851}
33852static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33854}
33855static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
33856 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33857}
33858static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33859 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33860}
33861static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
33862 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33863}
33864static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33866}
33867static void *_p_wxImageTo_p_wxObject(void *x) {
33868 return (void *)((wxObject *) ((wxImage *) x));
33869}
33870static void *_p_wxFrameTo_p_wxObject(void *x) {
33871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33872}
33873static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33874 return (void *)((wxObject *) ((wxPyPrintout *) x));
33875}
33876static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33877 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33878}
33879static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33880 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33881}
33882static void *_p_wxDiagramTo_p_wxObject(void *x) {
33883 return (void *)((wxObject *) ((wxDiagram *) x));
33884}
33885static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33887}
33888static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33890}
33891static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33893}
33894static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33895 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33896}
33897static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33898 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33899}
44127b65
RD
33900static void *_p_wxWindowTo_p_wxObject(void *x) {
33901 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33902}
33903static void *_p_wxMenuTo_p_wxObject(void *x) {
33904 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33905}
33906static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33908}
41f1cec7
RD
33909static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33911}
44127b65
RD
33912static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33914}
33915static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33917}
33918static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33920}
33921static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33923}
33924static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33926}
33927static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33929}
33930static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33932}
33933static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33935}
33936static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33938}
33939static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33941}
a2482628
RD
33942static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33944}
44127b65
RD
33945static void *_p_wxSashEventTo_p_wxObject(void *x) {
33946 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33947}
33948static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33949 return (void *)((wxObject *) ((wxPrintPreview *) x));
33950}
33951static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33952 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33953}
33954static void *_p_wxPanelTo_p_wxObject(void *x) {
33955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33956}
33957static void *_p_wxDialogTo_p_wxObject(void *x) {
33958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33959}
33960static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33962}
33963static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33965}
33966static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33968}
33969static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33971}
33972static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33974}
7a0a63ae
RD
33975static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
33976 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
33977}
44127b65
RD
33978static void *_p_wxPyShapeTo_p_wxObject(void *x) {
33979 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
33980}
33981static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33982 return (void *)((wxObject *) ((wxFileSystem *) x));
33983}
33984static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33985 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33986}
33987static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33988 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33989}
33990static void *_p_wxPyAppTo_p_wxObject(void *x) {
33991 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33992}
33993static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33994 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33995}
33996static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33997 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33998}
33999static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34000 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34001}
34002static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34003 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34004}
34005static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34006 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34007}
34008static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
34009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34010}
34011static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
34012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34013}
34014static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34015 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34016}
34017static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34018 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34019}
34020static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34022}
34023static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
34024 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
34025}
34026static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
34027 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34028}
34029static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
34030 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34031}
34032static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
34033 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
34034}
34035static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
34036 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
34037}
34038static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34040}
34041static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
34042 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
34043}
34044static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
34045 return (void *)((wxObject *) ((wxPrintDialogData *) x));
34046}
34047static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34048 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34049}
34050static void *_p_wxValidatorTo_p_wxObject(void *x) {
34051 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34052}
34053static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
34054 return (void *)((wxObject *) ((wxShapeRegion *) x));
34055}
34056static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34057 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
34058}
34059static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
34060 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34061}
34062static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
34063 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34064}
34065static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34066 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34067}
34068static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
34069 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
34070}
34071static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
34072 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34073}
34074static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
34075 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34076}
34077static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
34078 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34079}
34080static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
34081 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34082}
34083static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
34084 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
34085}
34086static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
34087 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34088}
34089static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
34090 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
34091}
34092static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
34093 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
34094}
34095static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34097}
34098static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34099 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34100}
34101static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34102 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34103}
34104static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34105 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34106}
34107static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34108 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34109}
34110static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34111 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34112}
34113static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34114 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34115}
34116static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34117 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34118}
34119static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34120 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34121}
34122static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34124}
34125static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34126 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34127}
34128static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34129 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34130}
34131static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34133}
34134static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34136}
34137static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34139}
34140static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34141 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34142}
34143static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34144 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34145}
34146static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
34148}
34149static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34150 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34151}
34152static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34154}
34155static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34156 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34157}
34158static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34160}
34161static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34162 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34163}
34164static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34165 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34166}
34167static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34168 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34169}
34170static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34171 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34172}
34173static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34174 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34175}
34176static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34177 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34178}
a2482628
RD
34179static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
34180 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34181}
44127b65
RD
34182static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34184}
34185static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34186 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34187}
34188static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34189 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34190}
34191static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34192 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34193}
34194static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34195 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34196}
34197static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34199}
34200static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34201 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34202}
34203static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34204 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34205}
34206static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34207 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34208}
34209static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34210 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34211}
34212static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34213 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34214}
34215static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34216 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34217}
34218static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34219 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34220}
34221static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34222 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34223}
34224static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34225 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34226}
34227static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34228 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34229}
34230static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34231 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34232}
34233static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34234 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34235}
34236static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34237 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34238}
34239static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
34240 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34241}
34242static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
34243 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34244}
34245static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34246 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34247}
34248static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
34249 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
34250}
34251static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
34252 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
34253}
34254static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
34255 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34256}
34257static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
34258 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34259}
34260static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
34261 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
34262}
34263static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
34264 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
34265}
34266static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
34267 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
34268}
34269static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
34270 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
34271}
34272static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
34273 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34274}
34275static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
34276 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34277}
34278static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
34279 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
34280}
34281static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
34282 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
34283}
34284static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
34285 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
34286}
34287static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
34288 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34289}
34290static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
34291 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34292}
34293static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
34294 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
34295}
34296static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
34297 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
34298}
34299static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
34300 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34301}
34302static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
34303 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34304}
34305static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
34306 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
34307}
34308static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
34309 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34310}
2f4c0a16
RD
34311static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0, 0, 0, 0},{"_p_wxOGLConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34312static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34313static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34314static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0, 0, 0, 0},{"_p_wxShapeRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34315static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34316static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34317static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0, 0, 0, 0},{"_p_wxPyControlPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34318static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0, 0, 0, 0},{"_p_wxArrowHead", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34319static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34320static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0, 0, 0, 0},{"_p_wxStringList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 34321static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
34322static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34323static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0, 0, 0, 0},{"_p_wxList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34324static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628
RD
34325static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34326static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
34327static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34328static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0, 0, 0, 0},{"_p_wxPyDivisionShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34329static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0, 0, 0, 0},{"_p_wxPyDrawnShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34330static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0, 0, 0, 0},{"_p_wxPyPolygonShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34331static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 34332static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
34333static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0, 0, 0, 0},{"_p_wxPyBitmapShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34334static swig_type_info _swigt__p_wxPyShapeEvtHandler[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 34335static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
34336static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34337static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0, 0, 0, 0},{"_p_wxPyShapeCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34338static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34339static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0, 0, 0, 0},{"_p_wxDiagram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34340static swig_type_info _swigt__p_wxPyShape[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34341static swig_type_info _swigt__p_wxAttachmentPoint[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0, 0, 0, 0},{"_p_wxAttachmentPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34342static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0, 0, 0, 0},{"_p_wxClassInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34343static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0, 0, 0, 0},{"_p_wxPyLineShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34344static swig_type_info _swigt__p_wxPyRectangleShape[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34345static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0, 0, 0, 0},{"_p_wxPyCompositeShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34346static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34347static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34348static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34349static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0, 0, 0, 0},{"_p_wxPseudoMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34350static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0, 0, 0, 0},{"_p_wxPyTextShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34351static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0, 0, 0, 0},{"_p_wxPyDividedShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
44127b65
RD
34352
34353static swig_type_info *swig_types_initial[] = {
34354_swigt__p_wxOGLConstraint,
34355_swigt__p_wxBrush,
34356_swigt__p_wxColour,
34357_swigt__p_wxShapeRegion,
34358_swigt__p_wxDC,
34359_swigt__p_wxRealPoint,
34360_swigt__p_wxPyControlPoint,
34361_swigt__p_wxArrowHead,
8edf1c75 34362_swigt__p_char,
44127b65
RD
34363_swigt__p_wxStringList,
34364_swigt__p_wxPanel,
34365_swigt__p_bool,
34366_swigt__p_wxList,
34367_swigt__p_wxFont,
34368_swigt__p_wxScrolledWindow,
34369_swigt__p_wxWindow,
34370_swigt__p_double,
8edf1c75 34371_swigt__p_wxPyDivisionShape,
02a34c4c 34372_swigt__p_wxPyDrawnShape,
44127b65
RD
34373_swigt__p_wxPyPolygonShape,
34374_swigt__p_wxBitmap,
34375_swigt__p_wxObject,
34376_swigt__p_wxPyBitmapShape,
44127b65
RD
34377_swigt__p_wxPyShapeEvtHandler,
34378_swigt__p_wxEvtHandler,
34379_swigt__p_wxPyEllipseShape,
34380_swigt__p_wxPyShapeCanvas,
34381_swigt__p_wxPoint,
34382_swigt__p_wxDiagram,
34383_swigt__p_wxPyShape,
7a0a63ae 34384_swigt__p_wxAttachmentPoint,
44127b65
RD
34385_swigt__p_wxClassInfo,
34386_swigt__p_wxPyLineShape,
34387_swigt__p_wxPyRectangleShape,
34388_swigt__p_wxPyCompositeShape,
34389_swigt__p_wxPyCircleShape,
34390_swigt__p_wxPen,
34391_swigt__p_int,
34392_swigt__p_wxPseudoMetaFile,
34393_swigt__p_wxPyTextShape,
34394_swigt__p_wxPyDividedShape,
343950
34396};
34397
34398
34399/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34400
34401static swig_const_info swig_const_table[] = {
a95a7133 34402{0}};
44127b65
RD
34403
34404#ifdef __cplusplus
34405}
34406#endif
34407
34408#ifdef __cplusplus
34409extern "C"
34410#endif
34411SWIGEXPORT(void) SWIG_init(void) {
34412 static PyObject *SWIG_globals = 0;
34413 static int typeinit = 0;
34414 PyObject *m, *d;
34415 int i;
34416 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34417 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34418 d = PyModule_GetDict(m);
34419
34420 if (!typeinit) {
34421 for (i = 0; swig_types_initial[i]; i++) {
34422 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34423 }
34424 typeinit = 1;
34425 }
34426 SWIG_InstallConstants(d,swig_const_table);
34427
2f4c0a16
RD
34428 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE));
34429 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
34430 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT));
34431 PyDict_SetItemString(d,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL));
34432 PyDict_SetItemString(d,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE));
34433 PyDict_SetItemString(d,"ARROW_END", SWIG_FromInt((int)ARROW_END));
34434 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH));
34435 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE));
34436 PyDict_SetItemString(d,"ARROW_START", SWIG_FromInt((int)ARROW_START));
34437 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE));
34438 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE));
34439 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW));
34440 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE));
34441 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE));
34442 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE));
34443 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END));
34444 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START));
34445 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL));
34446 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL));
34447 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL));
34448 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
34449 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
34450 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE));
34451 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE));
34452 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ));
34453 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT));
34454 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
34455 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ));
34456 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT));
34457 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
34458 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE));
34459 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE));
34460 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT));
34461 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT));
34462 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT));
34463 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT));
34464 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT));
34465 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT));
34466 PyDict_SetItemString(d,"OP_ALL", SWIG_FromInt((int)OP_ALL));
34467 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE));
34468 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE));
34469 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING));
34470 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
34471 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
34472 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
34473 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
34474 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
34475 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF));
34476 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF));
34477 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE));
34478 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW));
34479 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
34480 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
34481 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
34482 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
34483 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
34484 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
34485 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
34486 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
34487 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE));
34488 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT));
34489 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP));
34490 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT));
34491 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM));
44127b65
RD
34492
34493
34494 // initoglbasicc();
34495 // initoglshapesc();
34496 // initoglshapes2c();
34497 // initoglcanvasc();
34498
34499
34500 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34501 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34502 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34503 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34504 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34505 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34506 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34507 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34508 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34509 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34510 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34511 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34512 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34513 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
34514
34515
34516}
34517