]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/gtk/ogl_wrap.cpp
%addtofunc --> %pythonAppend
[wxWidgets.git] / wxPython / contrib / ogl / gtk / ogl_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
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
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
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
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
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #include <limits.h>
141 #include <float.h>
142
143 #ifdef __cplusplus
144 #define SWIG_STATIC_INLINE static inline
145 #else
146 #define SWIG_STATIC_INLINE static
147 #endif
148
149 SWIG_STATIC_INLINE long
150 SPyObj_AsLong(PyObject * obj)
151 {
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153 }
154
155 SWIG_STATIC_INLINE unsigned long
156 SPyObj_AsUnsignedLong(PyObject * obj)
157 {
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167 }
168
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject*
171 SPyObj_FromLongLong(long long value)
172 {
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175 }
176 #endif
177
178 SWIG_STATIC_INLINE PyObject*
179 SPyObj_FromUnsignedLong(unsigned long value)
180 {
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183 }
184
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject*
187 SPyObj_FromUnsignedLongLong(unsigned long long value)
188 {
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191 }
192 #endif
193
194 SWIG_STATIC_INLINE long
195 SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196 {
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206 }
207
208 SWIG_STATIC_INLINE unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210 {
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218 }
219
220 SWIG_STATIC_INLINE signed char
221 SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223 }
224
225 SWIG_STATIC_INLINE short
226 SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228 }
229
230 SWIG_STATIC_INLINE int
231 SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233 }
234
235 SWIG_STATIC_INLINE unsigned char
236 SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238 }
239
240 SWIG_STATIC_INLINE unsigned short
241 SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243 }
244
245 SWIG_STATIC_INLINE unsigned int
246 SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248 }
249
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE long long
252 SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255 }
256
257 SWIG_STATIC_INLINE unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261 }
262 #endif
263
264 SWIG_STATIC_INLINE double
265 SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268 }
269
270 SWIG_STATIC_INLINE float
271 SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281 }
282
283 SWIG_STATIC_INLINE char
284 SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293 }
294
295 SWIG_STATIC_INLINE PyObject *
296 SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298 }
299
300 SWIG_STATIC_INLINE PyObject *
301 SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303 }
304
305 SWIG_STATIC_INLINE int
306 SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308 }
309
310
311
312 #ifdef __cplusplus
313 extern "C" {
314 #endif
315
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
321
322 /* Flags for pointer conversion */
323
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
326
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
329
330 /* Constant information structure */
331 typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338 } swig_const_info;
339
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
347
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
369
370
371
372 /* Contract support */
373
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
376 #ifdef __cplusplus
377 }
378 #endif
379
380
381
382 /* -------- TYPES TABLE (BEGIN) -------- */
383
384 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
385 #define SWIGTYPE_p_wxBrush swig_types[1]
386 #define SWIGTYPE_p_wxColour swig_types[2]
387 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
388 #define SWIGTYPE_p_wxDC swig_types[4]
389 #define SWIGTYPE_p_wxRealPoint swig_types[5]
390 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
391 #define SWIGTYPE_p_wxArrowHead swig_types[7]
392 #define SWIGTYPE_p_wxStringList swig_types[8]
393 #define SWIGTYPE_p_wxPanel swig_types[9]
394 #define SWIGTYPE_p_bool swig_types[10]
395 #define SWIGTYPE_p_wxList swig_types[11]
396 #define SWIGTYPE_p_wxFont swig_types[12]
397 #define SWIGTYPE_p_wxScrolledWindow swig_types[13]
398 #define SWIGTYPE_p_wxWindow swig_types[14]
399 #define SWIGTYPE_p_double swig_types[15]
400 #define SWIGTYPE_p_wxPyDivisionShape swig_types[16]
401 #define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
402 #define SWIGTYPE_p_wxPyPolygonShape swig_types[18]
403 #define SWIGTYPE_p_wxBitmap swig_types[19]
404 #define SWIGTYPE_p_wxObject swig_types[20]
405 #define SWIGTYPE_p_wxPyBitmapShape swig_types[21]
406 #define SWIGTYPE_p_wxString swig_types[22]
407 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
408 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
409 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
410 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
411 #define SWIGTYPE_p_wxPoint swig_types[27]
412 #define SWIGTYPE_p_wxDiagram swig_types[28]
413 #define SWIGTYPE_p_wxPyShape swig_types[29]
414 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
415 #define SWIGTYPE_p_wxClassInfo swig_types[31]
416 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
417 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
418 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
419 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
420 #define SWIGTYPE_p_wxPen swig_types[36]
421 #define SWIGTYPE_p_int swig_types[37]
422 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
423 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
424 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
425 static swig_type_info *swig_types[42];
426
427 /* -------- TYPES TABLE (END) -------- */
428
429
430 /*-----------------------------------------------
431 @(target):= _ogl.so
432 ------------------------------------------------*/
433 #define SWIG_init init_ogl
434
435 #define SWIG_name "_ogl"
436
437 #include "wx/wxPython/wxPython.h"
438 #include "wx/wxPython/pyclasses.h"
439 #include "oglhelpers.h"
440
441
442 static const wxString wxPyEmptyString(wxEmptyString);
443
444 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
445 PyObject* o2;
446 PyObject* o3;
447
448 if (!target) {
449 target = o;
450 } else if (target == Py_None) {
451 Py_DECREF(Py_None);
452 target = o;
453 } else {
454 if (!PyTuple_Check(target)) {
455 o2 = target;
456 target = PyTuple_New(1);
457 PyTuple_SetItem(target, 0, o2);
458 }
459 o3 = PyTuple_New(1);
460 PyTuple_SetItem(o3, 0, o);
461
462 o2 = target;
463 target = PySequence_Concat(o2, o3);
464 Py_DECREF(o2);
465 Py_DECREF(o3);
466 }
467 return target;
468 }
469
470
471 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
472
473 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
474 self->SetClientObject(new wxPyOORClientData(_self));
475 }
476
477 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
478
479 PyObject *wxPyShape_GetChildren(wxPyShape *self){
480 wxList& list = self->GetChildren();
481 return wxPy_ConvertShapeList(&list);
482 }
483 PyObject *wxPyShape_GetLines(wxPyShape *self){
484 wxList& list = self->GetLines();
485 return wxPy_ConvertShapeList(&list);
486 }
487 PyObject *wxPyShape_GetRegions(wxPyShape *self){
488 wxList& list = self->GetRegions();
489 return wxPy_ConvertList(&list);
490 }
491 PyObject *wxPyShape_GetAttachments(wxPyShape *self){
492 wxList& list = self->GetAttachments();
493 return wxPy_ConvertList(&list);
494 }
495 void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
496 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
497 self->ApplyAttachmentOrdering(*list);
498 delete list;
499 }
500
501 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
502 // 6, so instead I'l just expand it out by hand...
503 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
504
505 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
506 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
507 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
508 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
509 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
510 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
511 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
512 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
513 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
514 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
515 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
516 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
517 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
518 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
519 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
520 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
521 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
522 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
523 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
524 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
525 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
526 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
527 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
528 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
529 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
530 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
531 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
532 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
533 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
534
535
536
537 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
538
539
540 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
541
542
543 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
544
545 wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
546 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
547 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
548 delete list;
549 return rv;
550 }
551
552 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
553
554 wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
555 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
556 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
557 delete list;
558 return rv;
559 }
560 PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
561 wxList& list = self->GetConstraints();
562 return wxPy_ConvertList(&list);
563 }
564 PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
565 wxList& list = self->GetDivisions();
566 return wxPy_ConvertShapeList(&list);
567 }
568
569 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
570
571
572 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
573
574
575 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
576
577
578 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
579
580
581 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
582
583 void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
584 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
585 self->AddArrowOrdered(arrow, *list, end);
586 delete list;
587 }
588 PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
589 wxList* list = self->GetLineControlPoints();
590 return wxPy_ConvertShapeList(list);
591 }
592
593 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
594
595 PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
596 wxList* list = wxPy_wxRealPoint_ListHelper(points);
597 if (list) {
598 self->Create(list);
599 Py_INCREF(Py_None);
600 return Py_None;
601 }
602 else return NULL;
603 }
604 PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
605 wxList* list = self->GetPoints();
606 PyObject* pyList;
607 PyObject* pyObj;
608 wxObject* wxObj;
609 wxNode* node = list->GetFirst();
610
611 wxPyBeginBlockThreads();
612 pyList = PyList_New(0);
613 while (node) {
614 wxObj = node->GetData();
615 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
616 PyList_Append(pyList, pyObj);
617 node = node->GetNext();
618 }
619 wxPyEndBlockThreads();
620 return pyList;
621 }
622 PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
623 wxList* list = self->GetOriginalPoints();
624 PyObject* pyList;
625 PyObject* pyObj;
626 wxObject* wxObj;
627 wxNode* node = list->GetFirst();
628
629 wxPyBeginBlockThreads();
630 pyList = PyList_New(0);
631 while (node) {
632 wxObj = node->GetData();
633 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
634 PyList_Append(pyList, pyObj);
635 node = node->GetNext();
636 }
637 wxPyEndBlockThreads();
638 return pyList;
639 }
640
641 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
642
643
644 // Put some wx default wxChar* values into wxStrings.
645 DECLARE_DEF_STRING(ShapeCanvasNameStr);
646
647 PyObject *wxDiagram_GetShapeList(wxDiagram *self){
648 wxList* list = self->GetShapeList();
649 return wxPy_ConvertShapeList(list);
650 }
651
652 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
653 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
654 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
655 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
656 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
657 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
658 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
659 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
660
661
662 //---------------------------------------------------------------------------
663
664 // Convert from a Python list to a list of className objects. This one will
665 // work for any class for the VERY generic cases, but beyond that the helper
666 // needs to know more about the type.
667 wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
668 wxPyBeginBlockThreads();
669 if (!PyList_Check(pyList)) {
670 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
671 wxPyEndBlockThreads();
672 return NULL;
673 }
674 int count = PyList_Size(pyList);
675 wxList* list = new wxList;
676 if (! list) {
677 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
678 wxPyEndBlockThreads();
679 return NULL;
680 }
681 for (int x=0; x<count; x++) {
682 PyObject* pyo = PyList_GetItem(pyList, x);
683 wxObject* wxo = NULL;
684
685 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
686 wxString errmsg;
687 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
688 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
689 wxPyEndBlockThreads();
690 return NULL;
691 }
692 list->Append(wxo);
693 }
694 wxPyEndBlockThreads();
695 return list;
696 }
697
698 //---------------------------------------------------------------------------
699
700 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
701 wxPyBeginBlockThreads();
702 if (!PyList_Check(pyList)) {
703 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
704 wxPyEndBlockThreads();
705 return NULL;
706 }
707 int count = PyList_Size(pyList);
708 wxList* list = new wxList;
709 if (! list) {
710 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
711 wxPyEndBlockThreads();
712 return NULL;
713 }
714 for (int x=0; x<count; x++) {
715 PyObject* pyo = PyList_GetItem(pyList, x);
716
717 if (PyTuple_Check(pyo)) {
718 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
719 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
720
721 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
722 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
723
724 list->Append((wxObject*) new wxRealPoint(val1, val2));
725
726 } else {
727 wxRealPoint* wxo = NULL;
728 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
729 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
730 wxPyEndBlockThreads();
731 return NULL;
732 }
733 list->Append((wxObject*) new wxRealPoint(*wxo));
734 }
735 }
736 wxPyEndBlockThreads();
737 return list;
738 }
739
740 //---------------------------------------------------------------------------
741
742 PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
743 PyObject* target = NULL;
744
745 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
746 // If it's derived from wxShapeEvtHandler then there may
747 // already be a pointer to a Python object that we can use
748 // in the OOR data.
749 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
750 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
751 if (data) {
752 target = data->m_obj;
753 Py_INCREF(target);
754 }
755 }
756 if (! target) {
757 target = wxPyMake_wxObject2(source, FALSE);
758 if (target != Py_None)
759 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
760 }
761 return target;
762 }
763
764 //---------------------------------------------------------------------------
765
766 PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
767 wxList* list = (wxList*)listbase;
768 PyObject* pyList;
769 PyObject* pyObj;
770 wxObject* wxObj;
771 wxNode* node = list->GetFirst();
772
773 wxPyBeginBlockThreads();
774 pyList = PyList_New(0);
775 while (node) {
776 wxObj = node->GetData();
777 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
778 PyList_Append(pyList, pyObj);
779 node = node->GetNext();
780 }
781 wxPyEndBlockThreads();
782 return pyList;
783 }
784
785
786 //---------------------------------------------------------------------------
787
788 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
789 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
790 IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
791 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
793 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
794 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
795 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
796 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
797 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
798 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
799 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
800 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
801 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
802 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
803
804 //---------------------------------------------------------------------------
805
806 // extern "C" SWIGEXPORT(void) initoglbasicc();
807 // extern "C" SWIGEXPORT(void) initoglshapesc();
808 // extern "C" SWIGEXPORT(void) initoglshapes2c();
809 // extern "C" SWIGEXPORT(void) initoglcanvasc();
810
811 #ifdef __cplusplus
812 extern "C" {
813 #endif
814 static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
815 PyObject *resultobj;
816 wxShapeRegion *result;
817 char *kwnames[] = {
818 NULL
819 };
820
821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
822 {
823 PyThreadState* __tstate = wxPyBeginAllowThreads();
824 result = (wxShapeRegion *)new wxShapeRegion();
825
826 wxPyEndAllowThreads(__tstate);
827 if (PyErr_Occurred()) SWIG_fail;
828 }
829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShapeRegion, 1);
830 return resultobj;
831 fail:
832 return NULL;
833 }
834
835
836 static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject *resultobj;
838 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
839 wxString *arg2 = 0 ;
840 bool temp2 = False ;
841 PyObject * obj0 = 0 ;
842 PyObject * obj1 = 0 ;
843 char *kwnames[] = {
844 (char *) "self",(char *) "s", NULL
845 };
846
847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
849 {
850 arg2 = wxString_in_helper(obj1);
851 if (arg2 == NULL) SWIG_fail;
852 temp2 = True;
853 }
854 {
855 PyThreadState* __tstate = wxPyBeginAllowThreads();
856 (arg1)->SetText((wxString const &)*arg2);
857
858 wxPyEndAllowThreads(__tstate);
859 if (PyErr_Occurred()) SWIG_fail;
860 }
861 Py_INCREF(Py_None); resultobj = Py_None;
862 {
863 if (temp2)
864 delete arg2;
865 }
866 return resultobj;
867 fail:
868 {
869 if (temp2)
870 delete arg2;
871 }
872 return NULL;
873 }
874
875
876 static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
877 PyObject *resultobj;
878 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
879 wxFont *arg2 = (wxFont *) 0 ;
880 PyObject * obj0 = 0 ;
881 PyObject * obj1 = 0 ;
882 char *kwnames[] = {
883 (char *) "self",(char *) "f", NULL
884 };
885
886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
888 {
889 wxFont* temp;
890 if (obj1) {
891 if (obj1 == Py_None) {
892 temp = NULL;
893 }
894 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
895 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
896 return NULL;
897 }
898 }
899 if (temp)
900 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
901 temp->GetFamily(),
902 temp->GetStyle(),
903 temp->GetWeight(),
904 temp->GetUnderlined(),
905 temp->GetFaceName(),
906 temp->GetEncoding());
907 else
908 arg2 = NULL;
909 }
910 {
911 PyThreadState* __tstate = wxPyBeginAllowThreads();
912 (arg1)->SetFont(arg2);
913
914 wxPyEndAllowThreads(__tstate);
915 if (PyErr_Occurred()) SWIG_fail;
916 }
917 Py_INCREF(Py_None); resultobj = Py_None;
918 return resultobj;
919 fail:
920 return NULL;
921 }
922
923
924 static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
925 PyObject *resultobj;
926 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
927 double arg2 ;
928 double arg3 ;
929 PyObject * obj0 = 0 ;
930 char *kwnames[] = {
931 (char *) "self",(char *) "w",(char *) "h", NULL
932 };
933
934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetMinSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
936 {
937 PyThreadState* __tstate = wxPyBeginAllowThreads();
938 (arg1)->SetMinSize(arg2,arg3);
939
940 wxPyEndAllowThreads(__tstate);
941 if (PyErr_Occurred()) SWIG_fail;
942 }
943 Py_INCREF(Py_None); resultobj = Py_None;
944 return resultobj;
945 fail:
946 return NULL;
947 }
948
949
950 static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
951 PyObject *resultobj;
952 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
953 double arg2 ;
954 double arg3 ;
955 PyObject * obj0 = 0 ;
956 char *kwnames[] = {
957 (char *) "self",(char *) "w",(char *) "h", NULL
958 };
959
960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
962 {
963 PyThreadState* __tstate = wxPyBeginAllowThreads();
964 (arg1)->SetSize(arg2,arg3);
965
966 wxPyEndAllowThreads(__tstate);
967 if (PyErr_Occurred()) SWIG_fail;
968 }
969 Py_INCREF(Py_None); resultobj = Py_None;
970 return resultobj;
971 fail:
972 return NULL;
973 }
974
975
976 static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
977 PyObject *resultobj;
978 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
979 double arg2 ;
980 double arg3 ;
981 PyObject * obj0 = 0 ;
982 char *kwnames[] = {
983 (char *) "self",(char *) "x",(char *) "y", NULL
984 };
985
986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
988 {
989 PyThreadState* __tstate = wxPyBeginAllowThreads();
990 (arg1)->SetPosition(arg2,arg3);
991
992 wxPyEndAllowThreads(__tstate);
993 if (PyErr_Occurred()) SWIG_fail;
994 }
995 Py_INCREF(Py_None); resultobj = Py_None;
996 return resultobj;
997 fail:
998 return NULL;
999 }
1000
1001
1002 static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
1003 PyObject *resultobj;
1004 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1005 double arg2 ;
1006 double arg3 ;
1007 PyObject * obj0 = 0 ;
1008 char *kwnames[] = {
1009 (char *) "self",(char *) "x",(char *) "y", NULL
1010 };
1011
1012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetProportions",kwnames,&obj0,&arg2,&arg3)) goto fail;
1013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1014 {
1015 PyThreadState* __tstate = wxPyBeginAllowThreads();
1016 (arg1)->SetProportions(arg2,arg3);
1017
1018 wxPyEndAllowThreads(__tstate);
1019 if (PyErr_Occurred()) SWIG_fail;
1020 }
1021 Py_INCREF(Py_None); resultobj = Py_None;
1022 return resultobj;
1023 fail:
1024 return NULL;
1025 }
1026
1027
1028 static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1029 PyObject *resultobj;
1030 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1031 int arg2 ;
1032 PyObject * obj0 = 0 ;
1033 char *kwnames[] = {
1034 (char *) "self",(char *) "mode", NULL
1035 };
1036
1037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames,&obj0,&arg2)) goto fail;
1038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1039 {
1040 PyThreadState* __tstate = wxPyBeginAllowThreads();
1041 (arg1)->SetFormatMode(arg2);
1042
1043 wxPyEndAllowThreads(__tstate);
1044 if (PyErr_Occurred()) SWIG_fail;
1045 }
1046 Py_INCREF(Py_None); resultobj = Py_None;
1047 return resultobj;
1048 fail:
1049 return NULL;
1050 }
1051
1052
1053 static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1054 PyObject *resultobj;
1055 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1056 wxString *arg2 = 0 ;
1057 bool temp2 = False ;
1058 PyObject * obj0 = 0 ;
1059 PyObject * obj1 = 0 ;
1060 char *kwnames[] = {
1061 (char *) "self",(char *) "s", NULL
1062 };
1063
1064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
1065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1066 {
1067 arg2 = wxString_in_helper(obj1);
1068 if (arg2 == NULL) SWIG_fail;
1069 temp2 = True;
1070 }
1071 {
1072 PyThreadState* __tstate = wxPyBeginAllowThreads();
1073 (arg1)->SetName((wxString const &)*arg2);
1074
1075 wxPyEndAllowThreads(__tstate);
1076 if (PyErr_Occurred()) SWIG_fail;
1077 }
1078 Py_INCREF(Py_None); resultobj = Py_None;
1079 {
1080 if (temp2)
1081 delete arg2;
1082 }
1083 return resultobj;
1084 fail:
1085 {
1086 if (temp2)
1087 delete arg2;
1088 }
1089 return NULL;
1090 }
1091
1092
1093 static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1094 PyObject *resultobj;
1095 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1096 wxString *arg2 = 0 ;
1097 bool temp2 = False ;
1098 PyObject * obj0 = 0 ;
1099 PyObject * obj1 = 0 ;
1100 char *kwnames[] = {
1101 (char *) "self",(char *) "col", NULL
1102 };
1103
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
1105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1106 {
1107 arg2 = wxString_in_helper(obj1);
1108 if (arg2 == NULL) SWIG_fail;
1109 temp2 = True;
1110 }
1111 {
1112 PyThreadState* __tstate = wxPyBeginAllowThreads();
1113 (arg1)->SetColour((wxString const &)*arg2);
1114
1115 wxPyEndAllowThreads(__tstate);
1116 if (PyErr_Occurred()) SWIG_fail;
1117 }
1118 Py_INCREF(Py_None); resultobj = Py_None;
1119 {
1120 if (temp2)
1121 delete arg2;
1122 }
1123 return resultobj;
1124 fail:
1125 {
1126 if (temp2)
1127 delete arg2;
1128 }
1129 return NULL;
1130 }
1131
1132
1133 static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject *resultobj;
1135 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1136 wxString result;
1137 PyObject * obj0 = 0 ;
1138 char *kwnames[] = {
1139 (char *) "self", NULL
1140 };
1141
1142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
1143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1144 {
1145 PyThreadState* __tstate = wxPyBeginAllowThreads();
1146 result = (arg1)->GetText();
1147
1148 wxPyEndAllowThreads(__tstate);
1149 if (PyErr_Occurred()) SWIG_fail;
1150 }
1151 {
1152 #if wxUSE_UNICODE
1153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1154 #else
1155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1156 #endif
1157 }
1158 return resultobj;
1159 fail:
1160 return NULL;
1161 }
1162
1163
1164 static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1165 PyObject *resultobj;
1166 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1167 wxFont *result;
1168 PyObject * obj0 = 0 ;
1169 char *kwnames[] = {
1170 (char *) "self", NULL
1171 };
1172
1173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
1174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1175 {
1176 PyThreadState* __tstate = wxPyBeginAllowThreads();
1177 result = (wxFont *)(arg1)->GetFont();
1178
1179 wxPyEndAllowThreads(__tstate);
1180 if (PyErr_Occurred()) SWIG_fail;
1181 }
1182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
1183 return resultobj;
1184 fail:
1185 return NULL;
1186 }
1187
1188
1189 static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1190 PyObject *resultobj;
1191 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1192 double *arg2 = (double *) 0 ;
1193 double *arg3 = (double *) 0 ;
1194 double temp2 ;
1195 double temp3 ;
1196 PyObject * obj0 = 0 ;
1197 char *kwnames[] = {
1198 (char *) "self", NULL
1199 };
1200
1201 arg2 = &temp2;
1202 arg3 = &temp3;
1203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1205 {
1206 PyThreadState* __tstate = wxPyBeginAllowThreads();
1207 (arg1)->GetMinSize(arg2,arg3);
1208
1209 wxPyEndAllowThreads(__tstate);
1210 if (PyErr_Occurred()) SWIG_fail;
1211 }
1212 Py_INCREF(Py_None); resultobj = Py_None;
1213 {
1214 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1215 resultobj = t_output_helper(resultobj,o);
1216 }
1217 {
1218 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1219 resultobj = t_output_helper(resultobj,o);
1220 }
1221 return resultobj;
1222 fail:
1223 return NULL;
1224 }
1225
1226
1227 static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1228 PyObject *resultobj;
1229 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1230 double *arg2 = (double *) 0 ;
1231 double *arg3 = (double *) 0 ;
1232 double temp2 ;
1233 double temp3 ;
1234 PyObject * obj0 = 0 ;
1235 char *kwnames[] = {
1236 (char *) "self", NULL
1237 };
1238
1239 arg2 = &temp2;
1240 arg3 = &temp3;
1241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1243 {
1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
1245 (arg1)->GetProportion(arg2,arg3);
1246
1247 wxPyEndAllowThreads(__tstate);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 }
1250 Py_INCREF(Py_None); resultobj = Py_None;
1251 {
1252 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1253 resultobj = t_output_helper(resultobj,o);
1254 }
1255 {
1256 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1257 resultobj = t_output_helper(resultobj,o);
1258 }
1259 return resultobj;
1260 fail:
1261 return NULL;
1262 }
1263
1264
1265 static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1266 PyObject *resultobj;
1267 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1268 double *arg2 = (double *) 0 ;
1269 double *arg3 = (double *) 0 ;
1270 double temp2 ;
1271 double temp3 ;
1272 PyObject * obj0 = 0 ;
1273 char *kwnames[] = {
1274 (char *) "self", NULL
1275 };
1276
1277 arg2 = &temp2;
1278 arg3 = &temp3;
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1281 {
1282 PyThreadState* __tstate = wxPyBeginAllowThreads();
1283 (arg1)->GetSize(arg2,arg3);
1284
1285 wxPyEndAllowThreads(__tstate);
1286 if (PyErr_Occurred()) SWIG_fail;
1287 }
1288 Py_INCREF(Py_None); resultobj = Py_None;
1289 {
1290 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1291 resultobj = t_output_helper(resultobj,o);
1292 }
1293 {
1294 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1295 resultobj = t_output_helper(resultobj,o);
1296 }
1297 return resultobj;
1298 fail:
1299 return NULL;
1300 }
1301
1302
1303 static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1304 PyObject *resultobj;
1305 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1306 double *arg2 = (double *) 0 ;
1307 double *arg3 = (double *) 0 ;
1308 double temp2 ;
1309 double temp3 ;
1310 PyObject * obj0 = 0 ;
1311 char *kwnames[] = {
1312 (char *) "self", NULL
1313 };
1314
1315 arg2 = &temp2;
1316 arg3 = &temp3;
1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1319 {
1320 PyThreadState* __tstate = wxPyBeginAllowThreads();
1321 (arg1)->GetPosition(arg2,arg3);
1322
1323 wxPyEndAllowThreads(__tstate);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 Py_INCREF(Py_None); resultobj = Py_None;
1327 {
1328 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1329 resultobj = t_output_helper(resultobj,o);
1330 }
1331 {
1332 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1333 resultobj = t_output_helper(resultobj,o);
1334 }
1335 return resultobj;
1336 fail:
1337 return NULL;
1338 }
1339
1340
1341 static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1342 PyObject *resultobj;
1343 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1344 int result;
1345 PyObject * obj0 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "self", NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1352 {
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 result = (int)(arg1)->GetFormatMode();
1355
1356 wxPyEndAllowThreads(__tstate);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 resultobj = PyInt_FromLong((long)result);
1360 return resultobj;
1361 fail:
1362 return NULL;
1363 }
1364
1365
1366 static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject *resultobj;
1368 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1369 wxString result;
1370 PyObject * obj0 = 0 ;
1371 char *kwnames[] = {
1372 (char *) "self", NULL
1373 };
1374
1375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1377 {
1378 PyThreadState* __tstate = wxPyBeginAllowThreads();
1379 result = (arg1)->GetName();
1380
1381 wxPyEndAllowThreads(__tstate);
1382 if (PyErr_Occurred()) SWIG_fail;
1383 }
1384 {
1385 #if wxUSE_UNICODE
1386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1387 #else
1388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1389 #endif
1390 }
1391 return resultobj;
1392 fail:
1393 return NULL;
1394 }
1395
1396
1397 static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject *resultobj;
1399 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1400 wxString result;
1401 PyObject * obj0 = 0 ;
1402 char *kwnames[] = {
1403 (char *) "self", NULL
1404 };
1405
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 result = (arg1)->GetColour();
1411
1412 wxPyEndAllowThreads(__tstate);
1413 if (PyErr_Occurred()) SWIG_fail;
1414 }
1415 {
1416 #if wxUSE_UNICODE
1417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1418 #else
1419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1420 #endif
1421 }
1422 return resultobj;
1423 fail:
1424 return NULL;
1425 }
1426
1427
1428 static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject *resultobj;
1430 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1431 wxColour result;
1432 PyObject * obj0 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "self", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 {
1440 PyThreadState* __tstate = wxPyBeginAllowThreads();
1441 result = (arg1)->GetActualColourObject();
1442
1443 wxPyEndAllowThreads(__tstate);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 {
1447 wxColour * resultptr;
1448 resultptr = new wxColour((wxColour &) result);
1449 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1450 }
1451 return resultobj;
1452 fail:
1453 return NULL;
1454 }
1455
1456
1457 static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1460 wxList *result;
1461 PyObject * obj0 = 0 ;
1462 char *kwnames[] = {
1463 (char *) "self", NULL
1464 };
1465
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1468 {
1469 PyThreadState* __tstate = wxPyBeginAllowThreads();
1470 {
1471 wxList &_result_ref = (arg1)->GetFormattedText();
1472 result = (wxList *) &_result_ref;
1473 }
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxList, 0);
1479 return resultobj;
1480 fail:
1481 return NULL;
1482 }
1483
1484
1485 static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1488 wxString result;
1489 PyObject * obj0 = 0 ;
1490 char *kwnames[] = {
1491 (char *) "self", NULL
1492 };
1493
1494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1496 {
1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
1498 result = (arg1)->GetPenColour();
1499
1500 wxPyEndAllowThreads(__tstate);
1501 if (PyErr_Occurred()) SWIG_fail;
1502 }
1503 {
1504 #if wxUSE_UNICODE
1505 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1506 #else
1507 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1508 #endif
1509 }
1510 return resultobj;
1511 fail:
1512 return NULL;
1513 }
1514
1515
1516 static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject *resultobj;
1518 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1519 int result;
1520 PyObject * obj0 = 0 ;
1521 char *kwnames[] = {
1522 (char *) "self", NULL
1523 };
1524
1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1527 {
1528 PyThreadState* __tstate = wxPyBeginAllowThreads();
1529 result = (int)(arg1)->GetPenStyle();
1530
1531 wxPyEndAllowThreads(__tstate);
1532 if (PyErr_Occurred()) SWIG_fail;
1533 }
1534 resultobj = PyInt_FromLong((long)result);
1535 return resultobj;
1536 fail:
1537 return NULL;
1538 }
1539
1540
1541 static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject *resultobj;
1543 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1544 int arg2 ;
1545 PyObject * obj0 = 0 ;
1546 char *kwnames[] = {
1547 (char *) "self",(char *) "style", NULL
1548 };
1549
1550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames,&obj0,&arg2)) goto fail;
1551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1552 {
1553 PyThreadState* __tstate = wxPyBeginAllowThreads();
1554 (arg1)->SetPenStyle(arg2);
1555
1556 wxPyEndAllowThreads(__tstate);
1557 if (PyErr_Occurred()) SWIG_fail;
1558 }
1559 Py_INCREF(Py_None); resultobj = Py_None;
1560 return resultobj;
1561 fail:
1562 return NULL;
1563 }
1564
1565
1566 static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1567 PyObject *resultobj;
1568 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1569 wxString *arg2 = 0 ;
1570 bool temp2 = False ;
1571 PyObject * obj0 = 0 ;
1572 PyObject * obj1 = 0 ;
1573 char *kwnames[] = {
1574 (char *) "self",(char *) "col", NULL
1575 };
1576
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1579 {
1580 arg2 = wxString_in_helper(obj1);
1581 if (arg2 == NULL) SWIG_fail;
1582 temp2 = True;
1583 }
1584 {
1585 PyThreadState* __tstate = wxPyBeginAllowThreads();
1586 (arg1)->SetPenColour((wxString const &)*arg2);
1587
1588 wxPyEndAllowThreads(__tstate);
1589 if (PyErr_Occurred()) SWIG_fail;
1590 }
1591 Py_INCREF(Py_None); resultobj = Py_None;
1592 {
1593 if (temp2)
1594 delete arg2;
1595 }
1596 return resultobj;
1597 fail:
1598 {
1599 if (temp2)
1600 delete arg2;
1601 }
1602 return NULL;
1603 }
1604
1605
1606 static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1607 PyObject *resultobj;
1608 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1609 wxPen *result;
1610 PyObject * obj0 = 0 ;
1611 char *kwnames[] = {
1612 (char *) "self", NULL
1613 };
1614
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 {
1618 PyThreadState* __tstate = wxPyBeginAllowThreads();
1619 result = (wxPen *)(arg1)->GetActualPen();
1620
1621 wxPyEndAllowThreads(__tstate);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
1625 return resultobj;
1626 fail:
1627 return NULL;
1628 }
1629
1630
1631 static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1632 PyObject *resultobj;
1633 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1634 double result;
1635 PyObject * obj0 = 0 ;
1636 char *kwnames[] = {
1637 (char *) "self", NULL
1638 };
1639
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 result = (double)(arg1)->GetWidth();
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 resultobj = PyFloat_FromDouble(result);
1650 return resultobj;
1651 fail:
1652 return NULL;
1653 }
1654
1655
1656 static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject *resultobj;
1658 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1659 double result;
1660 PyObject * obj0 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "self", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 result = (double)(arg1)->GetHeight();
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 resultobj = PyFloat_FromDouble(result);
1675 return resultobj;
1676 fail:
1677 return NULL;
1678 }
1679
1680
1681 static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1684 PyObject * obj0 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1691 {
1692 PyThreadState* __tstate = wxPyBeginAllowThreads();
1693 (arg1)->ClearText();
1694
1695 wxPyEndAllowThreads(__tstate);
1696 if (PyErr_Occurred()) SWIG_fail;
1697 }
1698 Py_INCREF(Py_None); resultobj = Py_None;
1699 return resultobj;
1700 fail:
1701 return NULL;
1702 }
1703
1704
1705 static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1706 PyObject *obj;
1707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1708 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1709 Py_INCREF(obj);
1710 return Py_BuildValue((char *)"");
1711 }
1712 static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject *resultobj;
1714 int arg1 = (int) 0 ;
1715 double arg2 = (double) 0.0 ;
1716 double arg3 = (double) 0.0 ;
1717 wxAttachmentPoint *result;
1718 char *kwnames[] = {
1719 (char *) "id",(char *) "x",(char *) "y", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|idd:new_AttachmentPoint",kwnames,&arg1,&arg2,&arg3)) goto fail;
1723 {
1724 PyThreadState* __tstate = wxPyBeginAllowThreads();
1725 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1726
1727 wxPyEndAllowThreads(__tstate);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 }
1730 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAttachmentPoint, 1);
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1740 int arg2 ;
1741 PyObject * obj0 = 0 ;
1742 char *kwnames[] = {
1743 (char *) "self",(char *) "m_id", NULL
1744 };
1745
1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:AttachmentPoint_m_id_set",kwnames,&obj0,&arg2)) goto fail;
1747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1748 if (arg1) (arg1)->m_id = arg2;
1749
1750 Py_INCREF(Py_None); resultobj = Py_None;
1751 return resultobj;
1752 fail:
1753 return NULL;
1754 }
1755
1756
1757 static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1758 PyObject *resultobj;
1759 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1760 int result;
1761 PyObject * obj0 = 0 ;
1762 char *kwnames[] = {
1763 (char *) "self", NULL
1764 };
1765
1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
1767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1768 result = (int) ((arg1)->m_id);
1769
1770 resultobj = PyInt_FromLong((long)result);
1771 return resultobj;
1772 fail:
1773 return NULL;
1774 }
1775
1776
1777 static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1778 PyObject *resultobj;
1779 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1780 double arg2 ;
1781 PyObject * obj0 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "self",(char *) "m_x", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:AttachmentPoint_m_x_set",kwnames,&obj0,&arg2)) goto fail;
1787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 if (arg1) (arg1)->m_x = arg2;
1789
1790 Py_INCREF(Py_None); resultobj = Py_None;
1791 return resultobj;
1792 fail:
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1800 double result;
1801 PyObject * obj0 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 result = (double) ((arg1)->m_x);
1809
1810 resultobj = PyFloat_FromDouble(result);
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1820 double arg2 ;
1821 PyObject * obj0 = 0 ;
1822 char *kwnames[] = {
1823 (char *) "self",(char *) "m_y", NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:AttachmentPoint_m_y_set",kwnames,&obj0,&arg2)) goto fail;
1827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1828 if (arg1) (arg1)->m_y = arg2;
1829
1830 Py_INCREF(Py_None); resultobj = Py_None;
1831 return resultobj;
1832 fail:
1833 return NULL;
1834 }
1835
1836
1837 static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject *resultobj;
1839 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1840 double result;
1841 PyObject * obj0 = 0 ;
1842 char *kwnames[] = {
1843 (char *) "self", NULL
1844 };
1845
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
1847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1848 result = (double) ((arg1)->m_y);
1849
1850 resultobj = PyFloat_FromDouble(result);
1851 return resultobj;
1852 fail:
1853 return NULL;
1854 }
1855
1856
1857 static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
1858 PyObject *obj;
1859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1860 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1861 Py_INCREF(obj);
1862 return Py_BuildValue((char *)"");
1863 }
1864 static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject *resultobj;
1866 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1867 wxPyShape *arg2 = (wxPyShape *) NULL ;
1868 wxPyShapeEvtHandler *result;
1869 PyObject * obj0 = 0 ;
1870 PyObject * obj1 = 0 ;
1871 char *kwnames[] = {
1872 (char *) "prev",(char *) "shape", NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1876 if (obj0) {
1877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1878 }
1879 if (obj1) {
1880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 }
1882 {
1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
1884 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1885
1886 wxPyEndAllowThreads(__tstate);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 }
1889 {
1890 resultobj = wxPyMake_wxShapeEvtHandler(result);
1891 }
1892 return resultobj;
1893 fail:
1894 return NULL;
1895 }
1896
1897
1898 static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject *resultobj;
1900 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1901 PyObject *arg2 = (PyObject *) 0 ;
1902 PyObject *arg3 = (PyObject *) 0 ;
1903 PyObject * obj0 = 0 ;
1904 PyObject * obj1 = 0 ;
1905 PyObject * obj2 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self",(char *) "self",(char *) "_class", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1912 arg2 = obj1;
1913 arg3 = obj2;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 (arg1)->_setCallbackInfo(arg2,arg3);
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 Py_INCREF(Py_None); resultobj = Py_None;
1922 return resultobj;
1923 fail:
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1931 PyObject *arg2 = (PyObject *) 0 ;
1932 PyObject * obj0 = 0 ;
1933 PyObject * obj1 = 0 ;
1934 char *kwnames[] = {
1935 (char *) "self",(char *) "_self", NULL
1936 };
1937
1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1940 arg2 = obj1;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 Py_INCREF(Py_None); resultobj = Py_None;
1949 return resultobj;
1950 fail:
1951 return NULL;
1952 }
1953
1954
1955 static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1958 wxPyShape *arg2 = (wxPyShape *) 0 ;
1959 PyObject * obj0 = 0 ;
1960 PyObject * obj1 = 0 ;
1961 char *kwnames[] = {
1962 (char *) "self",(char *) "sh", NULL
1963 };
1964
1965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
1966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 (arg1)->SetShape(arg2);
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 Py_INCREF(Py_None); resultobj = Py_None;
1976 return resultobj;
1977 fail:
1978 return NULL;
1979 }
1980
1981
1982 static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject *resultobj;
1984 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1985 wxPyShape *result;
1986 PyObject * obj0 = 0 ;
1987 char *kwnames[] = {
1988 (char *) "self", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
1992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1993 {
1994 PyThreadState* __tstate = wxPyBeginAllowThreads();
1995 result = (wxPyShape *)(arg1)->GetShape();
1996
1997 wxPyEndAllowThreads(__tstate);
1998 if (PyErr_Occurred()) SWIG_fail;
1999 }
2000 {
2001 resultobj = wxPyMake_wxShapeEvtHandler(result);
2002 }
2003 return resultobj;
2004 fail:
2005 return NULL;
2006 }
2007
2008
2009 static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2010 PyObject *resultobj;
2011 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2012 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2013 PyObject * obj0 = 0 ;
2014 PyObject * obj1 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self",(char *) "handler", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 (arg1)->SetPreviousHandler(arg2);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 return resultobj;
2031 fail:
2032 return NULL;
2033 }
2034
2035
2036 static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2039 wxPyShapeEvtHandler *result;
2040 PyObject * obj0 = 0 ;
2041 char *kwnames[] = {
2042 (char *) "self", NULL
2043 };
2044
2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2047 {
2048 PyThreadState* __tstate = wxPyBeginAllowThreads();
2049 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2050
2051 wxPyEndAllowThreads(__tstate);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 {
2055 resultobj = wxPyMake_wxShapeEvtHandler(result);
2056 }
2057 return resultobj;
2058 fail:
2059 return NULL;
2060 }
2061
2062
2063 static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
2064 PyObject *resultobj;
2065 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2066 wxPyShapeEvtHandler *result;
2067 PyObject * obj0 = 0 ;
2068 char *kwnames[] = {
2069 (char *) "self", NULL
2070 };
2071
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2074 {
2075 PyThreadState* __tstate = wxPyBeginAllowThreads();
2076 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2077
2078 wxPyEndAllowThreads(__tstate);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
2081 {
2082 resultobj = wxPyMake_wxShapeEvtHandler(result);
2083 }
2084 return resultobj;
2085 fail:
2086 return NULL;
2087 }
2088
2089
2090 static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject *resultobj;
2092 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2093 PyObject * obj0 = 0 ;
2094 char *kwnames[] = {
2095 (char *) "self", NULL
2096 };
2097
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2100 {
2101 PyThreadState* __tstate = wxPyBeginAllowThreads();
2102 (arg1)->base_OnDelete();
2103
2104 wxPyEndAllowThreads(__tstate);
2105 if (PyErr_Occurred()) SWIG_fail;
2106 }
2107 Py_INCREF(Py_None); resultobj = Py_None;
2108 return resultobj;
2109 fail:
2110 return NULL;
2111 }
2112
2113
2114 static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject *resultobj;
2116 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2117 wxDC *arg2 = 0 ;
2118 PyObject * obj0 = 0 ;
2119 PyObject * obj1 = 0 ;
2120 char *kwnames[] = {
2121 (char *) "self",(char *) "dc", NULL
2122 };
2123
2124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2127 if (arg2 == NULL) {
2128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2129 }
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 (arg1)->base_OnDraw(*arg2);
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
2137 Py_INCREF(Py_None); resultobj = Py_None;
2138 return resultobj;
2139 fail:
2140 return NULL;
2141 }
2142
2143
2144 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2145 PyObject *resultobj;
2146 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2147 wxDC *arg2 = 0 ;
2148 PyObject * obj0 = 0 ;
2149 PyObject * obj1 = 0 ;
2150 char *kwnames[] = {
2151 (char *) "self",(char *) "dc", NULL
2152 };
2153
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2157 if (arg2 == NULL) {
2158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2159 }
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 (arg1)->base_OnDrawContents(*arg2);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
2167 Py_INCREF(Py_None); resultobj = Py_None;
2168 return resultobj;
2169 fail:
2170 return NULL;
2171 }
2172
2173
2174 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject *resultobj;
2176 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2177 wxDC *arg2 = 0 ;
2178 bool arg3 = (bool) False ;
2179 PyObject * obj0 = 0 ;
2180 PyObject * obj1 = 0 ;
2181 PyObject * obj2 = 0 ;
2182 char *kwnames[] = {
2183 (char *) "self",(char *) "dc",(char *) "erase", NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2189 if (arg2 == NULL) {
2190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2191 }
2192 if (obj2) {
2193 {
2194 arg3 = (bool) SPyObj_AsBool(obj2);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 }
2198 {
2199 PyThreadState* __tstate = wxPyBeginAllowThreads();
2200 (arg1)->base_OnDrawBranches(*arg2,arg3);
2201
2202 wxPyEndAllowThreads(__tstate);
2203 if (PyErr_Occurred()) SWIG_fail;
2204 }
2205 Py_INCREF(Py_None); resultobj = Py_None;
2206 return resultobj;
2207 fail:
2208 return NULL;
2209 }
2210
2211
2212 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2213 PyObject *resultobj;
2214 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2215 wxDC *arg2 = 0 ;
2216 PyObject * obj0 = 0 ;
2217 PyObject * obj1 = 0 ;
2218 char *kwnames[] = {
2219 (char *) "self",(char *) "dc", NULL
2220 };
2221
2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2225 if (arg2 == NULL) {
2226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2227 }
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 (arg1)->base_OnMoveLinks(*arg2);
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
2235 Py_INCREF(Py_None); resultobj = Py_None;
2236 return resultobj;
2237 fail:
2238 return NULL;
2239 }
2240
2241
2242 static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2243 PyObject *resultobj;
2244 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2245 wxDC *arg2 = 0 ;
2246 PyObject * obj0 = 0 ;
2247 PyObject * obj1 = 0 ;
2248 char *kwnames[] = {
2249 (char *) "self",(char *) "dc", NULL
2250 };
2251
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 if (arg2 == NULL) {
2256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2257 }
2258 {
2259 PyThreadState* __tstate = wxPyBeginAllowThreads();
2260 (arg1)->base_OnErase(*arg2);
2261
2262 wxPyEndAllowThreads(__tstate);
2263 if (PyErr_Occurred()) SWIG_fail;
2264 }
2265 Py_INCREF(Py_None); resultobj = Py_None;
2266 return resultobj;
2267 fail:
2268 return NULL;
2269 }
2270
2271
2272 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2273 PyObject *resultobj;
2274 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2275 wxDC *arg2 = 0 ;
2276 PyObject * obj0 = 0 ;
2277 PyObject * obj1 = 0 ;
2278 char *kwnames[] = {
2279 (char *) "self",(char *) "dc", NULL
2280 };
2281
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2285 if (arg2 == NULL) {
2286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2287 }
2288 {
2289 PyThreadState* __tstate = wxPyBeginAllowThreads();
2290 (arg1)->base_OnEraseContents(*arg2);
2291
2292 wxPyEndAllowThreads(__tstate);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
2295 Py_INCREF(Py_None); resultobj = Py_None;
2296 return resultobj;
2297 fail:
2298 return NULL;
2299 }
2300
2301
2302 static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2305 wxDC *arg2 = 0 ;
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj1 = 0 ;
2308 char *kwnames[] = {
2309 (char *) "self",(char *) "dc", NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2315 if (arg2 == NULL) {
2316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2317 }
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
2320 (arg1)->base_OnHighlight(*arg2);
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 }
2325 Py_INCREF(Py_None); resultobj = Py_None;
2326 return resultobj;
2327 fail:
2328 return NULL;
2329 }
2330
2331
2332 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2333 PyObject *resultobj;
2334 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2335 double arg2 ;
2336 double arg3 ;
2337 int arg4 = (int) 0 ;
2338 int arg5 = (int) 0 ;
2339 PyObject * obj0 = 0 ;
2340 char *kwnames[] = {
2341 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2342 };
2343
2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 }
2353 Py_INCREF(Py_None); resultobj = Py_None;
2354 return resultobj;
2355 fail:
2356 return NULL;
2357 }
2358
2359
2360 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2361 PyObject *resultobj;
2362 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2363 double arg2 ;
2364 double arg3 ;
2365 int arg4 = (int) 0 ;
2366 int arg5 = (int) 0 ;
2367 PyObject * obj0 = 0 ;
2368 char *kwnames[] = {
2369 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2370 };
2371
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2374 {
2375 PyThreadState* __tstate = wxPyBeginAllowThreads();
2376 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2377
2378 wxPyEndAllowThreads(__tstate);
2379 if (PyErr_Occurred()) SWIG_fail;
2380 }
2381 Py_INCREF(Py_None); resultobj = Py_None;
2382 return resultobj;
2383 fail:
2384 return NULL;
2385 }
2386
2387
2388 static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2389 PyObject *resultobj;
2390 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2391 double arg2 ;
2392 double arg3 ;
2393 int arg4 = (int) 0 ;
2394 int arg5 = (int) 0 ;
2395 PyObject * obj0 = 0 ;
2396 char *kwnames[] = {
2397 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2398 };
2399
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2402 {
2403 PyThreadState* __tstate = wxPyBeginAllowThreads();
2404 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2405
2406 wxPyEndAllowThreads(__tstate);
2407 if (PyErr_Occurred()) SWIG_fail;
2408 }
2409 Py_INCREF(Py_None); resultobj = Py_None;
2410 return resultobj;
2411 fail:
2412 return NULL;
2413 }
2414
2415
2416 static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2417 PyObject *resultobj;
2418 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2419 double arg2 ;
2420 double arg3 ;
2421 PyObject * obj0 = 0 ;
2422 char *kwnames[] = {
2423 (char *) "self",(char *) "x",(char *) "y", NULL
2424 };
2425
2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2428 {
2429 PyThreadState* __tstate = wxPyBeginAllowThreads();
2430 (arg1)->base_OnSize(arg2,arg3);
2431
2432 wxPyEndAllowThreads(__tstate);
2433 if (PyErr_Occurred()) SWIG_fail;
2434 }
2435 Py_INCREF(Py_None); resultobj = Py_None;
2436 return resultobj;
2437 fail:
2438 return NULL;
2439 }
2440
2441
2442 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject *resultobj;
2444 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2445 wxDC *arg2 = 0 ;
2446 double arg3 ;
2447 double arg4 ;
2448 double arg5 ;
2449 double arg6 ;
2450 bool arg7 = (bool) True ;
2451 bool result;
2452 PyObject * obj0 = 0 ;
2453 PyObject * obj1 = 0 ;
2454 PyObject * obj6 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2462 if (arg2 == NULL) {
2463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2464 }
2465 if (obj6) {
2466 {
2467 arg7 = (bool) SPyObj_AsBool(obj6);
2468 if (PyErr_Occurred()) SWIG_fail;
2469 }
2470 }
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 resultobj = PyInt_FromLong((long)result);
2479 return resultobj;
2480 fail:
2481 return NULL;
2482 }
2483
2484
2485 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject *resultobj;
2487 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2488 wxDC *arg2 = 0 ;
2489 double arg3 ;
2490 double arg4 ;
2491 double arg5 ;
2492 double arg6 ;
2493 bool arg7 = (bool) True ;
2494 PyObject * obj0 = 0 ;
2495 PyObject * obj1 = 0 ;
2496 PyObject * obj6 = 0 ;
2497 char *kwnames[] = {
2498 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2499 };
2500
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2504 if (arg2 == NULL) {
2505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2506 }
2507 if (obj6) {
2508 {
2509 arg7 = (bool) SPyObj_AsBool(obj6);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 }
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 Py_INCREF(Py_None); resultobj = Py_None;
2521 return resultobj;
2522 fail:
2523 return NULL;
2524 }
2525
2526
2527 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject *resultobj;
2529 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2530 bool arg2 ;
2531 double arg3 ;
2532 double arg4 ;
2533 int arg5 = (int) 0 ;
2534 int arg6 = (int) 0 ;
2535 PyObject * obj0 = 0 ;
2536 PyObject * obj1 = 0 ;
2537 char *kwnames[] = {
2538 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2539 };
2540
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2543 {
2544 arg2 = (bool) SPyObj_AsBool(obj1);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 Py_INCREF(Py_None); resultobj = Py_None;
2555 return resultobj;
2556 fail:
2557 return NULL;
2558 }
2559
2560
2561 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2562 PyObject *resultobj;
2563 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2564 double arg2 ;
2565 double arg3 ;
2566 int arg4 = (int) 0 ;
2567 int arg5 = (int) 0 ;
2568 PyObject * obj0 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2575 {
2576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2577 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2578
2579 wxPyEndAllowThreads(__tstate);
2580 if (PyErr_Occurred()) SWIG_fail;
2581 }
2582 Py_INCREF(Py_None); resultobj = Py_None;
2583 return resultobj;
2584 fail:
2585 return NULL;
2586 }
2587
2588
2589 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2590 PyObject *resultobj;
2591 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2592 double arg2 ;
2593 double arg3 ;
2594 int arg4 = (int) 0 ;
2595 int arg5 = (int) 0 ;
2596 PyObject * obj0 = 0 ;
2597 char *kwnames[] = {
2598 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2599 };
2600
2601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 Py_INCREF(Py_None); resultobj = Py_None;
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2620 bool arg2 ;
2621 double arg3 ;
2622 double arg4 ;
2623 int arg5 = (int) 0 ;
2624 int arg6 = (int) 0 ;
2625 PyObject * obj0 = 0 ;
2626 PyObject * obj1 = 0 ;
2627 char *kwnames[] = {
2628 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2633 {
2634 arg2 = (bool) SPyObj_AsBool(obj1);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 }
2637 {
2638 PyThreadState* __tstate = wxPyBeginAllowThreads();
2639 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2640
2641 wxPyEndAllowThreads(__tstate);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 }
2644 Py_INCREF(Py_None); resultobj = Py_None;
2645 return resultobj;
2646 fail:
2647 return NULL;
2648 }
2649
2650
2651 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2652 PyObject *resultobj;
2653 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2654 double arg2 ;
2655 double arg3 ;
2656 int arg4 = (int) 0 ;
2657 int arg5 = (int) 0 ;
2658 PyObject * obj0 = 0 ;
2659 char *kwnames[] = {
2660 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2661 };
2662
2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2665 {
2666 PyThreadState* __tstate = wxPyBeginAllowThreads();
2667 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2668
2669 wxPyEndAllowThreads(__tstate);
2670 if (PyErr_Occurred()) SWIG_fail;
2671 }
2672 Py_INCREF(Py_None); resultobj = Py_None;
2673 return resultobj;
2674 fail:
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2680 PyObject *resultobj;
2681 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2682 double arg2 ;
2683 double arg3 ;
2684 int arg4 = (int) 0 ;
2685 int arg5 = (int) 0 ;
2686 PyObject * obj0 = 0 ;
2687 char *kwnames[] = {
2688 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2689 };
2690
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 Py_INCREF(Py_None); resultobj = Py_None;
2701 return resultobj;
2702 fail:
2703 return NULL;
2704 }
2705
2706
2707 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
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 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2724 if (arg2 == NULL) {
2725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2726 }
2727 {
2728 PyThreadState* __tstate = wxPyBeginAllowThreads();
2729 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
2730
2731 wxPyEndAllowThreads(__tstate);
2732 if (PyErr_Occurred()) SWIG_fail;
2733 }
2734 Py_INCREF(Py_None); resultobj = Py_None;
2735 return resultobj;
2736 fail:
2737 return NULL;
2738 }
2739
2740
2741 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2742 PyObject *resultobj;
2743 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2744 wxDC *arg2 = 0 ;
2745 PyObject * obj0 = 0 ;
2746 PyObject * obj1 = 0 ;
2747 char *kwnames[] = {
2748 (char *) "self",(char *) "dc", NULL
2749 };
2750
2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2754 if (arg2 == NULL) {
2755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2756 }
2757 {
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
2759 (arg1)->base_OnDrawControlPoints(*arg2);
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 }
2764 Py_INCREF(Py_None); resultobj = Py_None;
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2774 wxDC *arg2 = 0 ;
2775 PyObject * obj0 = 0 ;
2776 PyObject * obj1 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self",(char *) "dc", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2784 if (arg2 == NULL) {
2785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2786 }
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 (arg1)->base_OnEraseControlPoints(*arg2);
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 Py_INCREF(Py_None); resultobj = Py_None;
2795 return resultobj;
2796 fail:
2797 return NULL;
2798 }
2799
2800
2801 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj;
2803 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2804 wxDC *arg2 = 0 ;
2805 bool arg3 = (bool) True ;
2806 PyObject * obj0 = 0 ;
2807 PyObject * obj1 = 0 ;
2808 PyObject * obj2 = 0 ;
2809 char *kwnames[] = {
2810 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2811 };
2812
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2816 if (arg2 == NULL) {
2817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2818 }
2819 if (obj2) {
2820 {
2821 arg3 = (bool) SPyObj_AsBool(obj2);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 }
2825 {
2826 PyThreadState* __tstate = wxPyBeginAllowThreads();
2827 (arg1)->base_OnMoveLink(*arg2,arg3);
2828
2829 wxPyEndAllowThreads(__tstate);
2830 if (PyErr_Occurred()) SWIG_fail;
2831 }
2832 Py_INCREF(Py_None); resultobj = Py_None;
2833 return resultobj;
2834 fail:
2835 return NULL;
2836 }
2837
2838
2839 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj;
2841 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2842 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2843 bool arg3 ;
2844 double arg4 ;
2845 double arg5 ;
2846 int arg6 = (int) 0 ;
2847 int arg7 = (int) 0 ;
2848 PyObject * obj0 = 0 ;
2849 PyObject * obj1 = 0 ;
2850 PyObject * obj2 = 0 ;
2851 char *kwnames[] = {
2852 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2853 };
2854
2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
2856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2858 {
2859 arg3 = (bool) SPyObj_AsBool(obj2);
2860 if (PyErr_Occurred()) SWIG_fail;
2861 }
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
2864 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 Py_INCREF(Py_None); resultobj = Py_None;
2870 return resultobj;
2871 fail:
2872 return NULL;
2873 }
2874
2875
2876 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2877 PyObject *resultobj;
2878 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2879 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2880 double arg3 ;
2881 double arg4 ;
2882 int arg5 = (int) 0 ;
2883 int arg6 = (int) 0 ;
2884 PyObject * obj0 = 0 ;
2885 PyObject * obj1 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 Py_INCREF(Py_None); resultobj = Py_None;
2901 return resultobj;
2902 fail:
2903 return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2910 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2911 double arg3 ;
2912 double arg4 ;
2913 int arg5 = (int) 0 ;
2914 int arg6 = (int) 0 ;
2915 PyObject * obj0 = 0 ;
2916 PyObject * obj1 = 0 ;
2917 char *kwnames[] = {
2918 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2919 };
2920
2921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 Py_INCREF(Py_None); resultobj = Py_None;
2932 return resultobj;
2933 fail:
2934 return NULL;
2935 }
2936
2937
2938 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2939 PyObject *resultobj;
2940 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2941 double arg2 ;
2942 double arg3 ;
2943 PyObject * obj0 = 0 ;
2944 char *kwnames[] = {
2945 (char *) "self",(char *) "w",(char *) "h", NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2950 {
2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
2952 (arg1)->base_OnBeginSize(arg2,arg3);
2953
2954 wxPyEndAllowThreads(__tstate);
2955 if (PyErr_Occurred()) SWIG_fail;
2956 }
2957 Py_INCREF(Py_None); resultobj = Py_None;
2958 return resultobj;
2959 fail:
2960 return NULL;
2961 }
2962
2963
2964 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj;
2966 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2967 double arg2 ;
2968 double arg3 ;
2969 PyObject * obj0 = 0 ;
2970 char *kwnames[] = {
2971 (char *) "self",(char *) "w",(char *) "h", NULL
2972 };
2973
2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 (arg1)->base_OnEndSize(arg2,arg3);
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 Py_INCREF(Py_None); resultobj = Py_None;
2984 return resultobj;
2985 fail:
2986 return NULL;
2987 }
2988
2989
2990 static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
2991 PyObject *obj;
2992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2993 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
2994 Py_INCREF(obj);
2995 return Py_BuildValue((char *)"");
2996 }
2997 static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject *resultobj;
2999 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3000 wxPyShape *result;
3001 PyObject * obj0 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "can", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3007 if (obj0) {
3008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3009 }
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 result = (wxPyShape *)new wxPyShape(arg1);
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 {
3018 resultobj = wxPyMake_wxShapeEvtHandler(result);
3019 }
3020 return resultobj;
3021 fail:
3022 return NULL;
3023 }
3024
3025
3026 static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3027 PyObject *resultobj;
3028 wxPyShape *arg1 = (wxPyShape *) 0 ;
3029 PyObject *arg2 = (PyObject *) 0 ;
3030 PyObject *arg3 = (PyObject *) 0 ;
3031 PyObject * obj0 = 0 ;
3032 PyObject * obj1 = 0 ;
3033 PyObject * obj2 = 0 ;
3034 char *kwnames[] = {
3035 (char *) "self",(char *) "self",(char *) "_class", NULL
3036 };
3037
3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3040 arg2 = obj1;
3041 arg3 = obj2;
3042 {
3043 PyThreadState* __tstate = wxPyBeginAllowThreads();
3044 (arg1)->_setCallbackInfo(arg2,arg3);
3045
3046 wxPyEndAllowThreads(__tstate);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 }
3049 Py_INCREF(Py_None); resultobj = Py_None;
3050 return resultobj;
3051 fail:
3052 return NULL;
3053 }
3054
3055
3056 static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
3057 PyObject *resultobj;
3058 wxPyShape *arg1 = (wxPyShape *) 0 ;
3059 double *arg2 = (double *) 0 ;
3060 double *arg3 = (double *) 0 ;
3061 double temp2 ;
3062 double temp3 ;
3063 PyObject * obj0 = 0 ;
3064 char *kwnames[] = {
3065 (char *) "self", NULL
3066 };
3067
3068 arg2 = &temp2;
3069 arg3 = &temp3;
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 (arg1)->GetBoundingBoxMax(arg2,arg3);
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 Py_INCREF(Py_None); resultobj = Py_None;
3080 {
3081 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3082 resultobj = t_output_helper(resultobj,o);
3083 }
3084 {
3085 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3086 resultobj = t_output_helper(resultobj,o);
3087 }
3088 return resultobj;
3089 fail:
3090 return NULL;
3091 }
3092
3093
3094 static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3095 PyObject *resultobj;
3096 wxPyShape *arg1 = (wxPyShape *) 0 ;
3097 double *arg2 = (double *) 0 ;
3098 double *arg3 = (double *) 0 ;
3099 double temp2 ;
3100 double temp3 ;
3101 PyObject * obj0 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "self", NULL
3104 };
3105
3106 arg2 = &temp2;
3107 arg3 = &temp3;
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
3109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 (arg1)->GetBoundingBoxMin(arg2,arg3);
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 Py_INCREF(Py_None); resultobj = Py_None;
3118 {
3119 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3120 resultobj = t_output_helper(resultobj,o);
3121 }
3122 {
3123 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3124 resultobj = t_output_helper(resultobj,o);
3125 }
3126 return resultobj;
3127 fail:
3128 return NULL;
3129 }
3130
3131
3132 static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3133 PyObject *resultobj;
3134 wxPyShape *arg1 = (wxPyShape *) 0 ;
3135 double arg2 ;
3136 double arg3 ;
3137 double arg4 ;
3138 double arg5 ;
3139 double *arg6 = (double *) 0 ;
3140 double *arg7 = (double *) 0 ;
3141 bool result;
3142 double temp6 ;
3143 double temp7 ;
3144 PyObject * obj0 = 0 ;
3145 char *kwnames[] = {
3146 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3147 };
3148
3149 arg6 = &temp6;
3150 arg7 = &temp7;
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
3152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3153 {
3154 PyThreadState* __tstate = wxPyBeginAllowThreads();
3155 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3156
3157 wxPyEndAllowThreads(__tstate);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
3160 resultobj = PyInt_FromLong((long)result);
3161 {
3162 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3163 resultobj = t_output_helper(resultobj,o);
3164 }
3165 {
3166 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3167 resultobj = t_output_helper(resultobj,o);
3168 }
3169 return resultobj;
3170 fail:
3171 return NULL;
3172 }
3173
3174
3175 static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3176 PyObject *resultobj;
3177 wxPyShape *arg1 = (wxPyShape *) 0 ;
3178 wxPyShapeCanvas *result;
3179 PyObject * obj0 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self", NULL
3182 };
3183
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
3185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 {
3194 resultobj = wxPyMake_wxObject(result);
3195 }
3196 return resultobj;
3197 fail:
3198 return NULL;
3199 }
3200
3201
3202 static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj;
3204 wxPyShape *arg1 = (wxPyShape *) 0 ;
3205 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3206 PyObject * obj0 = 0 ;
3207 PyObject * obj1 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self",(char *) "the_canvas", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
3213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 (arg1)->SetCanvas(arg2);
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 Py_INCREF(Py_None); resultobj = Py_None;
3223 return resultobj;
3224 fail:
3225 return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 wxPyShape *arg1 = (wxPyShape *) 0 ;
3232 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3233 wxPyShape *arg3 = (wxPyShape *) NULL ;
3234 PyObject * obj0 = 0 ;
3235 PyObject * obj1 = 0 ;
3236 PyObject * obj2 = 0 ;
3237 char *kwnames[] = {
3238 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3239 };
3240
3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
3242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3244 if (obj2) {
3245 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3246 }
3247 {
3248 PyThreadState* __tstate = wxPyBeginAllowThreads();
3249 (arg1)->AddToCanvas(arg2,arg3);
3250
3251 wxPyEndAllowThreads(__tstate);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 Py_INCREF(Py_None); resultobj = Py_None;
3255 return resultobj;
3256 fail:
3257 return NULL;
3258 }
3259
3260
3261 static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj;
3263 wxPyShape *arg1 = (wxPyShape *) 0 ;
3264 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "self",(char *) "the_canvas", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
3272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3274 {
3275 PyThreadState* __tstate = wxPyBeginAllowThreads();
3276 (arg1)->InsertInCanvas(arg2);
3277
3278 wxPyEndAllowThreads(__tstate);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 Py_INCREF(Py_None); resultobj = Py_None;
3282 return resultobj;
3283 fail:
3284 return NULL;
3285 }
3286
3287
3288 static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject *resultobj;
3290 wxPyShape *arg1 = (wxPyShape *) 0 ;
3291 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3292 PyObject * obj0 = 0 ;
3293 PyObject * obj1 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self",(char *) "the_canvas", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->RemoveFromCanvas(arg2);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxPyShape *arg1 = (wxPyShape *) 0 ;
3318 double result;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 result = (double)(arg1)->GetX();
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 resultobj = PyFloat_FromDouble(result);
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxPyShape *arg1 = (wxPyShape *) 0 ;
3343 double result;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 result = (double)(arg1)->GetY();
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 resultobj = PyFloat_FromDouble(result);
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxPyShape *arg1 = (wxPyShape *) 0 ;
3368 double arg2 ;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self",(char *) "x", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetX",kwnames,&obj0,&arg2)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 (arg1)->SetX(arg2);
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 Py_INCREF(Py_None); resultobj = Py_None;
3384 return resultobj;
3385 fail:
3386 return NULL;
3387 }
3388
3389
3390 static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3391 PyObject *resultobj;
3392 wxPyShape *arg1 = (wxPyShape *) 0 ;
3393 double arg2 ;
3394 PyObject * obj0 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "self",(char *) "y", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetY",kwnames,&obj0,&arg2)) goto fail;
3400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3401 {
3402 PyThreadState* __tstate = wxPyBeginAllowThreads();
3403 (arg1)->SetY(arg2);
3404
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 Py_INCREF(Py_None); resultobj = Py_None;
3409 return resultobj;
3410 fail:
3411 return NULL;
3412 }
3413
3414
3415 static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 wxPyShape *arg1 = (wxPyShape *) 0 ;
3418 wxPyShape *result;
3419 PyObject * obj0 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "self", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3426 {
3427 PyThreadState* __tstate = wxPyBeginAllowThreads();
3428 result = (wxPyShape *)(arg1)->GetParent();
3429
3430 wxPyEndAllowThreads(__tstate);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 }
3433 {
3434 resultobj = wxPyMake_wxShapeEvtHandler(result);
3435 }
3436 return resultobj;
3437 fail:
3438 return NULL;
3439 }
3440
3441
3442 static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3443 PyObject *resultobj;
3444 wxPyShape *arg1 = (wxPyShape *) 0 ;
3445 wxPyShape *arg2 = (wxPyShape *) 0 ;
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj1 = 0 ;
3448 char *kwnames[] = {
3449 (char *) "self",(char *) "p", NULL
3450 };
3451
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 (arg1)->SetParent(arg2);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
3462 Py_INCREF(Py_None); resultobj = Py_None;
3463 return resultobj;
3464 fail:
3465 return NULL;
3466 }
3467
3468
3469 static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3470 PyObject *resultobj;
3471 wxPyShape *arg1 = (wxPyShape *) 0 ;
3472 wxPyShape *result;
3473 PyObject * obj0 = 0 ;
3474 char *kwnames[] = {
3475 (char *) "self", NULL
3476 };
3477
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3480 {
3481 PyThreadState* __tstate = wxPyBeginAllowThreads();
3482 result = (wxPyShape *)(arg1)->GetTopAncestor();
3483
3484 wxPyEndAllowThreads(__tstate);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
3487 {
3488 resultobj = wxPyMake_wxShapeEvtHandler(result);
3489 }
3490 return resultobj;
3491 fail:
3492 return NULL;
3493 }
3494
3495
3496 static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject *resultobj;
3498 wxPyShape *arg1 = (wxPyShape *) 0 ;
3499 PyObject *result;
3500 PyObject * obj0 = 0 ;
3501 char *kwnames[] = {
3502 (char *) "self", NULL
3503 };
3504
3505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 result = (PyObject *)wxPyShape_GetChildren(arg1);
3510
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 resultobj = result;
3515 return resultobj;
3516 fail:
3517 return NULL;
3518 }
3519
3520
3521 static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3522 PyObject *resultobj;
3523 wxPyShape *arg1 = (wxPyShape *) 0 ;
3524 PyObject * obj0 = 0 ;
3525 char *kwnames[] = {
3526 (char *) "self", NULL
3527 };
3528
3529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3531 {
3532 PyThreadState* __tstate = wxPyBeginAllowThreads();
3533 (arg1)->Unlink();
3534
3535 wxPyEndAllowThreads(__tstate);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 Py_INCREF(Py_None); resultobj = Py_None;
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject *resultobj;
3547 wxPyShape *arg1 = (wxPyShape *) 0 ;
3548 bool arg2 ;
3549 PyObject * obj0 = 0 ;
3550 PyObject * obj1 = 0 ;
3551 char *kwnames[] = {
3552 (char *) "self",(char *) "drawH", NULL
3553 };
3554
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3557 {
3558 arg2 = (bool) SPyObj_AsBool(obj1);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 (arg1)->SetDrawHandles(arg2);
3564
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 Py_INCREF(Py_None); resultobj = Py_None;
3569 return resultobj;
3570 fail:
3571 return NULL;
3572 }
3573
3574
3575 static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3576 PyObject *resultobj;
3577 wxPyShape *arg1 = (wxPyShape *) 0 ;
3578 bool result;
3579 PyObject * obj0 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 result = (bool)(arg1)->GetDrawHandles();
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 resultobj = PyInt_FromLong((long)result);
3594 return resultobj;
3595 fail:
3596 return NULL;
3597 }
3598
3599
3600 static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3601 PyObject *resultobj;
3602 wxPyShape *arg1 = (wxPyShape *) 0 ;
3603 PyObject * obj0 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "self", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
3609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 (arg1)->MakeControlPoints();
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 return resultobj;
3619 fail:
3620 return NULL;
3621 }
3622
3623
3624 static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj;
3626 wxPyShape *arg1 = (wxPyShape *) 0 ;
3627 wxDC *arg2 = (wxDC *) NULL ;
3628 PyObject * obj0 = 0 ;
3629 PyObject * obj1 = 0 ;
3630 char *kwnames[] = {
3631 (char *) "self",(char *) "dc", NULL
3632 };
3633
3634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
3635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3636 if (obj1) {
3637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3638 }
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 (arg1)->DeleteControlPoints(arg2);
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 Py_INCREF(Py_None); resultobj = Py_None;
3647 return resultobj;
3648 fail:
3649 return NULL;
3650 }
3651
3652
3653 static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj;
3655 wxPyShape *arg1 = (wxPyShape *) 0 ;
3656 PyObject * obj0 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
3662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 (arg1)->ResetControlPoints();
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
3677 static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxPyShape *arg1 = (wxPyShape *) 0 ;
3680 wxPyShapeEvtHandler *result;
3681 PyObject * obj0 = 0 ;
3682 char *kwnames[] = {
3683 (char *) "self", NULL
3684 };
3685
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
3687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696 resultobj = wxPyMake_wxShapeEvtHandler(result);
3697 }
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxPyShape *arg1 = (wxPyShape *) 0 ;
3707 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
3708 PyObject * obj0 = 0 ;
3709 PyObject * obj1 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self",(char *) "handler", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
3715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 (arg1)->SetEventHandler(arg2);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 Py_INCREF(Py_None); resultobj = Py_None;
3725 return resultobj;
3726 fail:
3727 return NULL;
3728 }
3729
3730
3731 static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj;
3733 wxPyShape *arg1 = (wxPyShape *) 0 ;
3734 PyObject * obj0 = 0 ;
3735 char *kwnames[] = {
3736 (char *) "self", NULL
3737 };
3738
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
3740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 (arg1)->MakeMandatoryControlPoints();
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 Py_INCREF(Py_None); resultobj = Py_None;
3749 return resultobj;
3750 fail:
3751 return NULL;
3752 }
3753
3754
3755 static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject *resultobj;
3757 wxPyShape *arg1 = (wxPyShape *) 0 ;
3758 PyObject * obj0 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "self", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
3764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 (arg1)->ResetMandatoryControlPoints();
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 Py_INCREF(Py_None); resultobj = Py_None;
3773 return resultobj;
3774 fail:
3775 return NULL;
3776 }
3777
3778
3779 static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 wxPyShape *arg1 = (wxPyShape *) 0 ;
3782 bool result;
3783 PyObject * obj0 = 0 ;
3784 char *kwnames[] = {
3785 (char *) "self", NULL
3786 };
3787
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
3789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (bool)(arg1)->Recompute();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 resultobj = PyInt_FromLong((long)result);
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxPyShape *arg1 = (wxPyShape *) 0 ;
3807 PyObject * obj0 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
3813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3814 {
3815 PyThreadState* __tstate = wxPyBeginAllowThreads();
3816 (arg1)->CalculateSize();
3817
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 Py_INCREF(Py_None); resultobj = Py_None;
3822 return resultobj;
3823 fail:
3824 return NULL;
3825 }
3826
3827
3828 static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject *resultobj;
3830 wxPyShape *arg1 = (wxPyShape *) 0 ;
3831 bool arg2 = (bool) True ;
3832 wxDC *arg3 = (wxDC *) NULL ;
3833 PyObject * obj0 = 0 ;
3834 PyObject * obj1 = 0 ;
3835 PyObject * obj2 = 0 ;
3836 char *kwnames[] = {
3837 (char *) "self",(char *) "select",(char *) "dc", NULL
3838 };
3839
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
3841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3842 if (obj1) {
3843 {
3844 arg2 = (bool) SPyObj_AsBool(obj1);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 }
3848 if (obj2) {
3849 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3850 }
3851 {
3852 PyThreadState* __tstate = wxPyBeginAllowThreads();
3853 (arg1)->Select(arg2,arg3);
3854
3855 wxPyEndAllowThreads(__tstate);
3856 if (PyErr_Occurred()) SWIG_fail;
3857 }
3858 Py_INCREF(Py_None); resultobj = Py_None;
3859 return resultobj;
3860 fail:
3861 return NULL;
3862 }
3863
3864
3865 static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3866 PyObject *resultobj;
3867 wxPyShape *arg1 = (wxPyShape *) 0 ;
3868 bool arg2 = (bool) True ;
3869 bool arg3 = (bool) False ;
3870 PyObject * obj0 = 0 ;
3871 PyObject * obj1 = 0 ;
3872 PyObject * obj2 = 0 ;
3873 char *kwnames[] = {
3874 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3875 };
3876
3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
3878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3879 if (obj1) {
3880 {
3881 arg2 = (bool) SPyObj_AsBool(obj1);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 }
3885 if (obj2) {
3886 {
3887 arg3 = (bool) SPyObj_AsBool(obj2);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 (arg1)->SetHighlight(arg2,arg3);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 Py_INCREF(Py_None); resultobj = Py_None;
3899 return resultobj;
3900 fail:
3901 return NULL;
3902 }
3903
3904
3905 static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 wxPyShape *arg1 = (wxPyShape *) 0 ;
3908 bool result;
3909 PyObject * obj0 = 0 ;
3910 char *kwnames[] = {
3911 (char *) "self", NULL
3912 };
3913
3914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
3915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 result = (bool)(arg1)->IsHighlighted();
3919
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 resultobj = PyInt_FromLong((long)result);
3924 return resultobj;
3925 fail:
3926 return NULL;
3927 }
3928
3929
3930 static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj;
3932 wxPyShape *arg1 = (wxPyShape *) 0 ;
3933 bool result;
3934 PyObject * obj0 = 0 ;
3935 char *kwnames[] = {
3936 (char *) "self", NULL
3937 };
3938
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
3940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (bool)(arg1)->Selected();
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 resultobj = PyInt_FromLong((long)result);
3949 return resultobj;
3950 fail:
3951 return NULL;
3952 }
3953
3954
3955 static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 wxPyShape *arg1 = (wxPyShape *) 0 ;
3958 bool result;
3959 PyObject * obj0 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "self", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
3965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 result = (bool)(arg1)->AncestorSelected();
3969
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 resultobj = PyInt_FromLong((long)result);
3974 return resultobj;
3975 fail:
3976 return NULL;
3977 }
3978
3979
3980 static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj;
3982 wxPyShape *arg1 = (wxPyShape *) 0 ;
3983 int arg2 = (int) OP_ALL ;
3984 bool arg3 = (bool) False ;
3985 PyObject * obj0 = 0 ;
3986 PyObject * obj2 = 0 ;
3987 char *kwnames[] = {
3988 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3989 };
3990
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames,&obj0,&arg2,&obj2)) goto fail;
3992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3993 if (obj2) {
3994 {
3995 arg3 = (bool) SPyObj_AsBool(obj2);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 }
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 (arg1)->SetSensitivityFilter(arg2,arg3);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 Py_INCREF(Py_None); resultobj = Py_None;
4007 return resultobj;
4008 fail:
4009 return NULL;
4010 }
4011
4012
4013 static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4014 PyObject *resultobj;
4015 wxPyShape *arg1 = (wxPyShape *) 0 ;
4016 int result;
4017 PyObject * obj0 = 0 ;
4018 char *kwnames[] = {
4019 (char *) "self", NULL
4020 };
4021
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
4023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (int)(arg1)->GetSensitivityFilter();
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 resultobj = PyInt_FromLong((long)result);
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxPyShape *arg1 = (wxPyShape *) 0 ;
4041 bool arg2 ;
4042 bool arg3 = (bool) False ;
4043 PyObject * obj0 = 0 ;
4044 PyObject * obj1 = 0 ;
4045 PyObject * obj2 = 0 ;
4046 char *kwnames[] = {
4047 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4048 };
4049
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
4051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4052 {
4053 arg2 = (bool) SPyObj_AsBool(obj1);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 if (obj2) {
4057 {
4058 arg3 = (bool) SPyObj_AsBool(obj2);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 }
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetDraggable(arg2,arg3);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxPyShape *arg1 = (wxPyShape *) 0 ;
4079 bool arg2 ;
4080 bool arg3 ;
4081 PyObject * obj0 = 0 ;
4082 PyObject * obj1 = 0 ;
4083 PyObject * obj2 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "x",(char *) "y", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4090 {
4091 arg2 = (bool) SPyObj_AsBool(obj1);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 {
4095 arg3 = (bool) SPyObj_AsBool(obj2);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 (arg1)->SetFixedSize(arg2,arg3);
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 Py_INCREF(Py_None); resultobj = Py_None;
4106 return resultobj;
4107 fail:
4108 return NULL;
4109 }
4110
4111
4112 static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxPyShape *arg1 = (wxPyShape *) 0 ;
4115 bool *arg2 = (bool *) 0 ;
4116 bool *arg3 = (bool *) 0 ;
4117 bool temp2 ;
4118 bool temp3 ;
4119 PyObject * obj0 = 0 ;
4120 char *kwnames[] = {
4121 (char *) "self", NULL
4122 };
4123
4124 arg2 = &temp2;
4125 arg3 = &temp3;
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 (arg1)->GetFixedSize(arg2,arg3);
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 Py_INCREF(Py_None); resultobj = Py_None;
4136 {
4137 PyObject *o = PyInt_FromLong((long) (*arg2));
4138 resultobj = t_output_helper(resultobj,o);
4139 }
4140 {
4141 PyObject *o = PyInt_FromLong((long) (*arg3));
4142 resultobj = t_output_helper(resultobj,o);
4143 }
4144 return resultobj;
4145 fail:
4146 return NULL;
4147 }
4148
4149
4150 static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4151 PyObject *resultobj;
4152 wxPyShape *arg1 = (wxPyShape *) 0 ;
4153 bool result;
4154 PyObject * obj0 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "self", NULL
4157 };
4158
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
4160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 result = (bool)(arg1)->GetFixedWidth();
4164
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 resultobj = PyInt_FromLong((long)result);
4169 return resultobj;
4170 fail:
4171 return NULL;
4172 }
4173
4174
4175 static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4176 PyObject *resultobj;
4177 wxPyShape *arg1 = (wxPyShape *) 0 ;
4178 bool result;
4179 PyObject * obj0 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
4185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = (bool)(arg1)->GetFixedHeight();
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 resultobj = PyInt_FromLong((long)result);
4194 return resultobj;
4195 fail:
4196 return NULL;
4197 }
4198
4199
4200 static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4201 PyObject *resultobj;
4202 wxPyShape *arg1 = (wxPyShape *) 0 ;
4203 bool arg2 ;
4204 PyObject * obj0 = 0 ;
4205 PyObject * obj1 = 0 ;
4206 char *kwnames[] = {
4207 (char *) "self",(char *) "sp", NULL
4208 };
4209
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
4211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4212 {
4213 arg2 = (bool) SPyObj_AsBool(obj1);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 }
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 (arg1)->SetSpaceAttachments(arg2);
4219
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 Py_INCREF(Py_None); resultobj = Py_None;
4224 return resultobj;
4225 fail:
4226 return NULL;
4227 }
4228
4229
4230 static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4231 PyObject *resultobj;
4232 wxPyShape *arg1 = (wxPyShape *) 0 ;
4233 bool result;
4234 PyObject * obj0 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self", NULL
4237 };
4238
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
4240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 result = (bool)(arg1)->GetSpaceAttachments();
4244
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) SWIG_fail;
4247 }
4248 resultobj = PyInt_FromLong((long)result);
4249 return resultobj;
4250 fail:
4251 return NULL;
4252 }
4253
4254
4255 static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4256 PyObject *resultobj;
4257 wxPyShape *arg1 = (wxPyShape *) 0 ;
4258 int arg2 ;
4259 bool arg3 = (bool) False ;
4260 PyObject * obj0 = 0 ;
4261 PyObject * obj2 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:PyShape_SetShadowMode",kwnames,&obj0,&arg2,&obj2)) goto fail;
4267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4268 if (obj2) {
4269 {
4270 arg3 = (bool) SPyObj_AsBool(obj2);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 }
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276 (arg1)->SetShadowMode(arg2,arg3);
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
4281 Py_INCREF(Py_None); resultobj = Py_None;
4282 return resultobj;
4283 fail:
4284 return NULL;
4285 }
4286
4287
4288 static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4289 PyObject *resultobj;
4290 wxPyShape *arg1 = (wxPyShape *) 0 ;
4291 int result;
4292 PyObject * obj0 = 0 ;
4293 char *kwnames[] = {
4294 (char *) "self", NULL
4295 };
4296
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
4298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4299 {
4300 PyThreadState* __tstate = wxPyBeginAllowThreads();
4301 result = (int)(arg1)->GetShadowMode();
4302
4303 wxPyEndAllowThreads(__tstate);
4304 if (PyErr_Occurred()) SWIG_fail;
4305 }
4306 resultobj = PyInt_FromLong((long)result);
4307 return resultobj;
4308 fail:
4309 return NULL;
4310 }
4311
4312
4313 static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4314 PyObject *resultobj;
4315 wxPyShape *arg1 = (wxPyShape *) 0 ;
4316 double arg2 ;
4317 double arg3 ;
4318 int *arg4 = (int *) 0 ;
4319 double *arg5 = (double *) 0 ;
4320 bool result;
4321 int temp4 ;
4322 double temp5 ;
4323 PyObject * obj0 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self",(char *) "x",(char *) "y", NULL
4326 };
4327
4328 arg4 = &temp4;
4329 arg5 = &temp5;
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_HitTest",kwnames,&obj0,&arg2,&arg3)) goto fail;
4331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = PyInt_FromLong((long)result);
4340 {
4341 PyObject *o = PyInt_FromLong((long) (*arg4));
4342 resultobj = t_output_helper(resultobj,o);
4343 }
4344 {
4345 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4346 resultobj = t_output_helper(resultobj,o);
4347 }
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj;
4356 wxPyShape *arg1 = (wxPyShape *) 0 ;
4357 bool arg2 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 char *kwnames[] = {
4361 (char *) "self",(char *) "cr", NULL
4362 };
4363
4364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
4365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4366 {
4367 arg2 = (bool) SPyObj_AsBool(obj1);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 (arg1)->SetCentreResize(arg2);
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 Py_INCREF(Py_None); resultobj = Py_None;
4378 return resultobj;
4379 fail:
4380 return NULL;
4381 }
4382
4383
4384 static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxPyShape *arg1 = (wxPyShape *) 0 ;
4387 bool result;
4388 PyObject * obj0 = 0 ;
4389 char *kwnames[] = {
4390 (char *) "self", NULL
4391 };
4392
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (bool)(arg1)->GetCentreResize();
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 resultobj = PyInt_FromLong((long)result);
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxPyShape *arg1 = (wxPyShape *) 0 ;
4412 bool arg2 ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self",(char *) "ar", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4421 {
4422 arg2 = (bool) SPyObj_AsBool(obj1);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 (arg1)->SetMaintainAspectRatio(arg2);
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 Py_INCREF(Py_None); resultobj = Py_None;
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj;
4441 wxPyShape *arg1 = (wxPyShape *) 0 ;
4442 bool result;
4443 PyObject * obj0 = 0 ;
4444 char *kwnames[] = {
4445 (char *) "self", NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = (bool)(arg1)->GetMaintainAspectRatio();
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 resultobj = PyInt_FromLong((long)result);
4458 return resultobj;
4459 fail:
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 wxPyShape *arg1 = (wxPyShape *) 0 ;
4467 PyObject *result;
4468 PyObject * obj0 = 0 ;
4469 char *kwnames[] = {
4470 (char *) "self", NULL
4471 };
4472
4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = (PyObject *)wxPyShape_GetLines(arg1);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 resultobj = result;
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxPyShape *arg1 = (wxPyShape *) 0 ;
4492 bool arg2 ;
4493 PyObject * obj0 = 0 ;
4494 PyObject * obj1 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self",(char *) "flag", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4501 {
4502 arg2 = (bool) SPyObj_AsBool(obj1);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->SetDisableLabel(arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxPyShape *arg1 = (wxPyShape *) 0 ;
4522 bool result;
4523 PyObject * obj0 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
4529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (bool)(arg1)->GetDisableLabel();
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 resultobj = PyInt_FromLong((long)result);
4538 return resultobj;
4539 fail:
4540 return NULL;
4541 }
4542
4543
4544 static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj;
4546 wxPyShape *arg1 = (wxPyShape *) 0 ;
4547 int arg2 ;
4548 PyObject * obj0 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "self",(char *) "mode", NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetAttachmentMode",kwnames,&obj0,&arg2)) goto fail;
4554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 (arg1)->SetAttachmentMode(arg2);
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 Py_INCREF(Py_None); resultobj = Py_None;
4563 return resultobj;
4564 fail:
4565 return NULL;
4566 }
4567
4568
4569 static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4570 PyObject *resultobj;
4571 wxPyShape *arg1 = (wxPyShape *) 0 ;
4572 int result;
4573 PyObject * obj0 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
4579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 result = (int)(arg1)->GetAttachmentMode();
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 resultobj = PyInt_FromLong((long)result);
4588 return resultobj;
4589 fail:
4590 return NULL;
4591 }
4592
4593
4594 static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj;
4596 wxPyShape *arg1 = (wxPyShape *) 0 ;
4597 long arg2 ;
4598 PyObject * obj0 = 0 ;
4599 char *kwnames[] = {
4600 (char *) "self",(char *) "i", NULL
4601 };
4602
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetId",kwnames,&obj0,&arg2)) goto fail;
4604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->SetId(arg2);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 Py_INCREF(Py_None); resultobj = Py_None;
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj;
4621 wxPyShape *arg1 = (wxPyShape *) 0 ;
4622 long result;
4623 PyObject * obj0 = 0 ;
4624 char *kwnames[] = {
4625 (char *) "self", NULL
4626 };
4627
4628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
4629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 result = (long)(arg1)->GetId();
4633
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 resultobj = PyInt_FromLong((long)result);
4638 return resultobj;
4639 fail:
4640 return NULL;
4641 }
4642
4643
4644 static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4645 PyObject *resultobj;
4646 wxPyShape *arg1 = (wxPyShape *) 0 ;
4647 wxPen *arg2 = (wxPen *) 0 ;
4648 PyObject * obj0 = 0 ;
4649 PyObject * obj1 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self",(char *) "pen", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
4655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4656 {
4657 wxPen* temp;
4658 if (obj1) {
4659 if (obj1 == Py_None) {
4660 temp = NULL;
4661 }
4662 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
4663 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
4664 return NULL;
4665 }
4666 }
4667 if (temp)
4668 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
4669 temp->GetWidth(),
4670 temp->GetStyle());
4671 else
4672 arg2 = NULL;
4673 }
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 (arg1)->SetPen(arg2);
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 Py_INCREF(Py_None); resultobj = Py_None;
4682 return resultobj;
4683 fail:
4684 return NULL;
4685 }
4686
4687
4688 static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4689 PyObject *resultobj;
4690 wxPyShape *arg1 = (wxPyShape *) 0 ;
4691 wxBrush *arg2 = (wxBrush *) 0 ;
4692 PyObject * obj0 = 0 ;
4693 PyObject * obj1 = 0 ;
4694 char *kwnames[] = {
4695 (char *) "self",(char *) "brush", NULL
4696 };
4697
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
4699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4700 {
4701 wxBrush* temp;
4702 if (obj1) {
4703 if (obj1 == Py_None) {
4704 temp = NULL;
4705 }
4706 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
4707 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
4708 return NULL;
4709 }
4710 }
4711 if (temp)
4712 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
4713 else
4714 arg2 = NULL;
4715 }
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 (arg1)->SetBrush(arg2);
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 Py_INCREF(Py_None); resultobj = Py_None;
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxPyShape *arg1 = (wxPyShape *) 0 ;
4733 bool arg2 ;
4734 PyObject * obj0 = 0 ;
4735 PyObject * obj1 = 0 ;
4736 char *kwnames[] = {
4737 (char *) "self",(char *) "show", NULL
4738 };
4739
4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
4741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4742 {
4743 arg2 = (bool) SPyObj_AsBool(obj1);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 (arg1)->Show(arg2);
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 Py_INCREF(Py_None); resultobj = Py_None;
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
4761 PyObject *resultobj;
4762 wxPyShape *arg1 = (wxPyShape *) 0 ;
4763 bool result;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
4770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 result = (bool)(arg1)->IsShown();
4774
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 resultobj = PyInt_FromLong((long)result);
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject *resultobj;
4787 wxPyShape *arg1 = (wxPyShape *) 0 ;
4788 wxDC *arg2 = 0 ;
4789 double arg3 ;
4790 double arg4 ;
4791 bool arg5 = (bool) True ;
4792 PyObject * obj0 = 0 ;
4793 PyObject * obj1 = 0 ;
4794 PyObject * obj4 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|O:PyShape_Move",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4802 if (arg2 == NULL) {
4803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4804 }
4805 if (obj4) {
4806 {
4807 arg5 = (bool) SPyObj_AsBool(obj4);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 }
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 (arg1)->Move(*arg2,arg3,arg4,arg5);
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 Py_INCREF(Py_None); resultobj = Py_None;
4819 return resultobj;
4820 fail:
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxPyShape *arg1 = (wxPyShape *) 0 ;
4828 wxDC *arg2 = 0 ;
4829 PyObject * obj0 = 0 ;
4830 PyObject * obj1 = 0 ;
4831 char *kwnames[] = {
4832 (char *) "self",(char *) "dc", NULL
4833 };
4834
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
4836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4838 if (arg2 == NULL) {
4839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4840 }
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 (arg1)->Erase(*arg2);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 Py_INCREF(Py_None); resultobj = Py_None;
4849 return resultobj;
4850 fail:
4851 return NULL;
4852 }
4853
4854
4855 static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject *resultobj;
4857 wxPyShape *arg1 = (wxPyShape *) 0 ;
4858 wxDC *arg2 = 0 ;
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 char *kwnames[] = {
4862 (char *) "self",(char *) "dc", NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
4866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4868 if (arg2 == NULL) {
4869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4870 }
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 (arg1)->EraseContents(*arg2);
4874
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 Py_INCREF(Py_None); resultobj = Py_None;
4879 return resultobj;
4880 fail:
4881 return NULL;
4882 }
4883
4884
4885 static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4886 PyObject *resultobj;
4887 wxPyShape *arg1 = (wxPyShape *) 0 ;
4888 wxDC *arg2 = 0 ;
4889 PyObject * obj0 = 0 ;
4890 PyObject * obj1 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self",(char *) "dc", NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4898 if (arg2 == NULL) {
4899 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 (arg1)->Draw(*arg2);
4904
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 Py_INCREF(Py_None); resultobj = Py_None;
4909 return resultobj;
4910 fail:
4911 return NULL;
4912 }
4913
4914
4915 static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxPyShape *arg1 = (wxPyShape *) 0 ;
4918 PyObject * obj0 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "self", NULL
4921 };
4922
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
4924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 (arg1)->Flash();
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 Py_INCREF(Py_None); resultobj = Py_None;
4933 return resultobj;
4934 fail:
4935 return NULL;
4936 }
4937
4938
4939 static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxPyShape *arg1 = (wxPyShape *) 0 ;
4942 wxDC *arg2 = 0 ;
4943 PyObject * obj0 = 0 ;
4944 PyObject * obj1 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "dc", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
4950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4952 if (arg2 == NULL) {
4953 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4954 }
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 (arg1)->MoveLinks(*arg2);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 Py_INCREF(Py_None); resultobj = Py_None;
4963 return resultobj;
4964 fail:
4965 return NULL;
4966 }
4967
4968
4969 static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj;
4971 wxPyShape *arg1 = (wxPyShape *) 0 ;
4972 wxDC *arg2 = 0 ;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj1 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self",(char *) "dc", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
4980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4982 if (arg2 == NULL) {
4983 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4984 }
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 (arg1)->DrawContents(*arg2);
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 Py_INCREF(Py_None); resultobj = Py_None;
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxPyShape *arg1 = (wxPyShape *) 0 ;
5002 double arg2 ;
5003 double arg3 ;
5004 bool arg4 = (bool) True ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj3 = 0 ;
5007 char *kwnames[] = {
5008 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5009 };
5010
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|O:PyShape_SetSize",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
5012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5013 if (obj3) {
5014 {
5015 arg4 = (bool) SPyObj_AsBool(obj3);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 }
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 (arg1)->SetSize(arg2,arg3,arg4);
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 Py_INCREF(Py_None); resultobj = Py_None;
5027 return resultobj;
5028 fail:
5029 return NULL;
5030 }
5031
5032
5033 static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5034 PyObject *resultobj;
5035 wxPyShape *arg1 = (wxPyShape *) 0 ;
5036 double arg2 ;
5037 double arg3 ;
5038 PyObject * obj0 = 0 ;
5039 char *kwnames[] = {
5040 (char *) "self",(char *) "x",(char *) "y", NULL
5041 };
5042
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_SetAttachmentSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
5044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 (arg1)->SetAttachmentSize(arg2,arg3);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 Py_INCREF(Py_None); resultobj = Py_None;
5053 return resultobj;
5054 fail:
5055 return NULL;
5056 }
5057
5058
5059 static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj;
5061 wxPyShape *arg1 = (wxPyShape *) 0 ;
5062 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5063 PyObject * obj0 = 0 ;
5064 PyObject * obj1 = 0 ;
5065 char *kwnames[] = {
5066 (char *) "self",(char *) "can", NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
5070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5072 {
5073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5074 (arg1)->Attach(arg2);
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 Py_INCREF(Py_None); resultobj = Py_None;
5080 return resultobj;
5081 fail:
5082 return NULL;
5083 }
5084
5085
5086 static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxPyShape *arg1 = (wxPyShape *) 0 ;
5089 PyObject * obj0 = 0 ;
5090 char *kwnames[] = {
5091 (char *) "self", NULL
5092 };
5093
5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
5095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->Detach();
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 Py_INCREF(Py_None); resultobj = Py_None;
5104 return resultobj;
5105 fail:
5106 return NULL;
5107 }
5108
5109
5110 static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxPyShape *arg1 = (wxPyShape *) 0 ;
5113 bool result;
5114 PyObject * obj0 = 0 ;
5115 char *kwnames[] = {
5116 (char *) "self", NULL
5117 };
5118
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
5120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 result = (bool)(arg1)->Constrain();
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 resultobj = PyInt_FromLong((long)result);
5129 return resultobj;
5130 fail:
5131 return NULL;
5132 }
5133
5134
5135 static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxPyShape *arg1 = (wxPyShape *) 0 ;
5138 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5139 wxPyShape *arg3 = (wxPyShape *) 0 ;
5140 int arg4 = (int) 0 ;
5141 int arg5 = (int) 0 ;
5142 int arg6 = (int) -1 ;
5143 int arg7 = (int) -1 ;
5144 PyObject * obj0 = 0 ;
5145 PyObject * obj1 = 0 ;
5146 PyObject * obj2 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiii:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
5152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5154 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5158
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 Py_INCREF(Py_None); resultobj = Py_None;
5163 return resultobj;
5164 fail:
5165 return NULL;
5166 }
5167
5168
5169 static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5170 PyObject *resultobj;
5171 wxPyShape *arg1 = (wxPyShape *) 0 ;
5172 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5173 int result;
5174 PyObject * obj0 = 0 ;
5175 PyObject * obj1 = 0 ;
5176 char *kwnames[] = {
5177 (char *) "self",(char *) "line", NULL
5178 };
5179
5180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
5181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = (int)(arg1)->GetLinePosition(arg2);
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 resultobj = PyInt_FromLong((long)result);
5191 return resultobj;
5192 fail:
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxPyShape *arg1 = (wxPyShape *) 0 ;
5200 wxString *arg2 = 0 ;
5201 bool temp2 = False ;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 char *kwnames[] = {
5205 (char *) "self",(char *) "string", NULL
5206 };
5207
5208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
5209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5210 {
5211 arg2 = wxString_in_helper(obj1);
5212 if (arg2 == NULL) SWIG_fail;
5213 temp2 = True;
5214 }
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 (arg1)->AddText((wxString const &)*arg2);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 Py_INCREF(Py_None); resultobj = Py_None;
5223 {
5224 if (temp2)
5225 delete arg2;
5226 }
5227 return resultobj;
5228 fail:
5229 {
5230 if (temp2)
5231 delete arg2;
5232 }
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxPyShape *arg1 = (wxPyShape *) 0 ;
5240 wxPen *result;
5241 PyObject * obj0 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 result = (wxPen *)(arg1)->GetPen();
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
5256 return resultobj;
5257 fail:
5258 return NULL;
5259 }
5260
5261
5262 static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5263 PyObject *resultobj;
5264 wxPyShape *arg1 = (wxPyShape *) 0 ;
5265 wxBrush *result;
5266 PyObject * obj0 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
5272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 result = (wxBrush *)(arg1)->GetBrush();
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxPyShape *arg1 = (wxPyShape *) 0 ;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
5296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 (arg1)->SetDefaultRegionSize();
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 Py_INCREF(Py_None); resultobj = Py_None;
5305 return resultobj;
5306 fail:
5307 return NULL;
5308 }
5309
5310
5311 static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxPyShape *arg1 = (wxPyShape *) 0 ;
5314 wxDC *arg2 = 0 ;
5315 wxString *arg3 = 0 ;
5316 int arg4 = (int) 0 ;
5317 bool temp3 = False ;
5318 PyObject * obj0 = 0 ;
5319 PyObject * obj1 = 0 ;
5320 PyObject * obj2 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5328 if (arg2 == NULL) {
5329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5330 }
5331 {
5332 arg3 = wxString_in_helper(obj2);
5333 if (arg3 == NULL) SWIG_fail;
5334 temp3 = True;
5335 }
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 Py_INCREF(Py_None); resultobj = Py_None;
5344 {
5345 if (temp3)
5346 delete arg3;
5347 }
5348 return resultobj;
5349 fail:
5350 {
5351 if (temp3)
5352 delete arg3;
5353 }
5354 return NULL;
5355 }
5356
5357
5358 static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj;
5360 wxPyShape *arg1 = (wxPyShape *) 0 ;
5361 int arg2 ;
5362 int arg3 = (int) 0 ;
5363 PyObject * obj0 = 0 ;
5364 char *kwnames[] = {
5365 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5366 };
5367
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:PyShape_SetFormatMode",kwnames,&obj0,&arg2,&arg3)) goto fail;
5369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 (arg1)->SetFormatMode(arg2,arg3);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 return resultobj;
5379 fail:
5380 return NULL;
5381 }
5382
5383
5384 static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxPyShape *arg1 = (wxPyShape *) 0 ;
5387 int arg2 = (int) 0 ;
5388 int result;
5389 PyObject * obj0 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self",(char *) "regionId", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFormatMode",kwnames,&obj0,&arg2)) goto fail;
5395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 result = (int)(arg1)->GetFormatMode(arg2);
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 resultobj = PyInt_FromLong((long)result);
5404 return resultobj;
5405 fail:
5406 return NULL;
5407 }
5408
5409
5410 static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxPyShape *arg1 = (wxPyShape *) 0 ;
5413 wxFont *arg2 = (wxFont *) 0 ;
5414 int arg3 = (int) 0 ;
5415 PyObject * obj0 = 0 ;
5416 PyObject * obj1 = 0 ;
5417 char *kwnames[] = {
5418 (char *) "self",(char *) "font",(char *) "regionId", NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5423 {
5424 wxFont* temp;
5425 if (obj1) {
5426 if (obj1 == Py_None) {
5427 temp = NULL;
5428 }
5429 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
5430 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
5431 return NULL;
5432 }
5433 }
5434 if (temp)
5435 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
5436 temp->GetFamily(),
5437 temp->GetStyle(),
5438 temp->GetWeight(),
5439 temp->GetUnderlined(),
5440 temp->GetFaceName(),
5441 temp->GetEncoding());
5442 else
5443 arg2 = NULL;
5444 }
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 (arg1)->SetFont(arg2,arg3);
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 Py_INCREF(Py_None); resultobj = Py_None;
5453 return resultobj;
5454 fail:
5455 return NULL;
5456 }
5457
5458
5459 static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject *resultobj;
5461 wxPyShape *arg1 = (wxPyShape *) 0 ;
5462 int arg2 = (int) 0 ;
5463 wxFont *result;
5464 PyObject * obj0 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self",(char *) "regionId", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFont",kwnames,&obj0,&arg2)) goto fail;
5470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (wxFont *)(arg1)->GetFont(arg2);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5479 return resultobj;
5480 fail:
5481 return NULL;
5482 }
5483
5484
5485 static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxPyShape *arg1 = (wxPyShape *) 0 ;
5488 wxString *arg2 = 0 ;
5489 int arg3 = (int) 0 ;
5490 bool temp2 = False ;
5491 PyObject * obj0 = 0 ;
5492 PyObject * obj1 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetTextColour",kwnames,&obj0,&obj1,&arg3)) goto fail;
5498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5499 {
5500 arg2 = wxString_in_helper(obj1);
5501 if (arg2 == NULL) SWIG_fail;
5502 temp2 = True;
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 Py_INCREF(Py_None); resultobj = Py_None;
5512 {
5513 if (temp2)
5514 delete arg2;
5515 }
5516 return resultobj;
5517 fail:
5518 {
5519 if (temp2)
5520 delete arg2;
5521 }
5522 return NULL;
5523 }
5524
5525
5526 static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxPyShape *arg1 = (wxPyShape *) 0 ;
5529 int arg2 = (int) 0 ;
5530 wxString result;
5531 PyObject * obj0 = 0 ;
5532 char *kwnames[] = {
5533 (char *) "self",(char *) "regionId", NULL
5534 };
5535
5536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetTextColour",kwnames,&obj0,&arg2)) goto fail;
5537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 result = (arg1)->GetTextColour(arg2);
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 {
5546 #if wxUSE_UNICODE
5547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5548 #else
5549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5550 #endif
5551 }
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj;
5560 wxPyShape *arg1 = (wxPyShape *) 0 ;
5561 int result;
5562 PyObject * obj0 = 0 ;
5563 char *kwnames[] = {
5564 (char *) "self", NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
5568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 result = (int)(arg1)->GetNumberOfTextRegions();
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 resultobj = PyInt_FromLong((long)result);
5577 return resultobj;
5578 fail:
5579 return NULL;
5580 }
5581
5582
5583 static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5584 PyObject *resultobj;
5585 wxPyShape *arg1 = (wxPyShape *) 0 ;
5586 wxString *arg2 = 0 ;
5587 int arg3 = (int) 0 ;
5588 bool temp2 = False ;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "name",(char *) "regionId", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetRegionName",kwnames,&obj0,&obj1,&arg3)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5597 {
5598 arg2 = wxString_in_helper(obj1);
5599 if (arg2 == NULL) SWIG_fail;
5600 temp2 = True;
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 {
5611 if (temp2)
5612 delete arg2;
5613 }
5614 return resultobj;
5615 fail:
5616 {
5617 if (temp2)
5618 delete arg2;
5619 }
5620 return NULL;
5621 }
5622
5623
5624 static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5625 PyObject *resultobj;
5626 wxPyShape *arg1 = (wxPyShape *) 0 ;
5627 int arg2 ;
5628 wxString result;
5629 PyObject * obj0 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "self",(char *) "regionId", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetRegionName",kwnames,&obj0,&arg2)) goto fail;
5635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 result = (arg1)->GetRegionName(arg2);
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 {
5644 #if wxUSE_UNICODE
5645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5646 #else
5647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5648 #endif
5649 }
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj;
5658 wxPyShape *arg1 = (wxPyShape *) 0 ;
5659 wxString *arg2 = 0 ;
5660 int result;
5661 bool temp2 = False ;
5662 PyObject * obj0 = 0 ;
5663 PyObject * obj1 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "name", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5670 {
5671 arg2 = wxString_in_helper(obj1);
5672 if (arg2 == NULL) SWIG_fail;
5673 temp2 = True;
5674 }
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 resultobj = PyInt_FromLong((long)result);
5683 {
5684 if (temp2)
5685 delete arg2;
5686 }
5687 return resultobj;
5688 fail:
5689 {
5690 if (temp2)
5691 delete arg2;
5692 }
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxPyShape *arg1 = (wxPyShape *) 0 ;
5700 wxString const &arg2_defvalue = wxPyEmptyString ;
5701 wxString *arg2 = (wxString *) &arg2_defvalue ;
5702 bool temp2 = False ;
5703 PyObject * obj0 = 0 ;
5704 PyObject * obj1 = 0 ;
5705 char *kwnames[] = {
5706 (char *) "self",(char *) "parentName", NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
5710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5711 if (obj1) {
5712 {
5713 arg2 = wxString_in_helper(obj1);
5714 if (arg2 == NULL) SWIG_fail;
5715 temp2 = True;
5716 }
5717 }
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 (arg1)->NameRegions((wxString const &)*arg2);
5721
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 Py_INCREF(Py_None); resultobj = Py_None;
5726 {
5727 if (temp2)
5728 delete arg2;
5729 }
5730 return resultobj;
5731 fail:
5732 {
5733 if (temp2)
5734 delete arg2;
5735 }
5736 return NULL;
5737 }
5738
5739
5740 static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj;
5742 wxPyShape *arg1 = (wxPyShape *) 0 ;
5743 PyObject *result;
5744 PyObject * obj0 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
5750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 result = (PyObject *)wxPyShape_GetRegions(arg1);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 resultobj = result;
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxPyShape *arg1 = (wxPyShape *) 0 ;
5768 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "region", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
5776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 (arg1)->AddRegion(arg2);
5781
5782 wxPyEndAllowThreads(__tstate);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 Py_INCREF(Py_None); resultobj = Py_None;
5786 return resultobj;
5787 fail:
5788 return NULL;
5789 }
5790
5791
5792 static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5793 PyObject *resultobj;
5794 wxPyShape *arg1 = (wxPyShape *) 0 ;
5795 PyObject * obj0 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self", NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
5801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5802 {
5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5804 (arg1)->ClearRegions();
5805
5806 wxPyEndAllowThreads(__tstate);
5807 if (PyErr_Occurred()) SWIG_fail;
5808 }
5809 Py_INCREF(Py_None); resultobj = Py_None;
5810 return resultobj;
5811 fail:
5812 return NULL;
5813 }
5814
5815
5816 static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
5817 PyObject *resultobj;
5818 wxPyShape *arg1 = (wxPyShape *) 0 ;
5819 PyObject * obj0 = 0 ;
5820 char *kwnames[] = {
5821 (char *) "self", NULL
5822 };
5823
5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
5825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 (arg1)->AssignNewIds();
5829
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 Py_INCREF(Py_None); resultobj = Py_None;
5834 return resultobj;
5835 fail:
5836 return NULL;
5837 }
5838
5839
5840 static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5841 PyObject *resultobj;
5842 wxPyShape *arg1 = (wxPyShape *) 0 ;
5843 wxString *arg2 = 0 ;
5844 int *arg3 = (int *) 0 ;
5845 wxPyShape *result;
5846 bool temp2 = False ;
5847 int temp3 ;
5848 PyObject * obj0 = 0 ;
5849 PyObject * obj1 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "self",(char *) "regionName", NULL
5852 };
5853
5854 arg3 = &temp3;
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
5856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5857 {
5858 arg2 = wxString_in_helper(obj1);
5859 if (arg2 == NULL) SWIG_fail;
5860 temp2 = True;
5861 }
5862 {
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
5865
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) SWIG_fail;
5868 }
5869 {
5870 resultobj = wxPyMake_wxShapeEvtHandler(result);
5871 }
5872 {
5873 PyObject *o = PyInt_FromLong((long) (*arg3));
5874 resultobj = t_output_helper(resultobj,o);
5875 }
5876 {
5877 if (temp2)
5878 delete arg2;
5879 }
5880 return resultobj;
5881 fail:
5882 {
5883 if (temp2)
5884 delete arg2;
5885 }
5886 return NULL;
5887 }
5888
5889
5890 static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxPyShape *arg1 = (wxPyShape *) 0 ;
5893 wxStringList *arg2 = 0 ;
5894 PyObject * obj0 = 0 ;
5895 PyObject * obj1 = 0 ;
5896 char *kwnames[] = {
5897 (char *) "self",(char *) "list", NULL
5898 };
5899
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
5901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStringList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5903 if (arg2 == NULL) {
5904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5905 }
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 (arg1)->FindRegionNames(*arg2);
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
5920 static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj;
5922 wxPyShape *arg1 = (wxPyShape *) 0 ;
5923 int arg2 = (int) 0 ;
5924 PyObject * obj0 = 0 ;
5925 char *kwnames[] = {
5926 (char *) "self",(char *) "regionId", NULL
5927 };
5928
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_ClearText",kwnames,&obj0,&arg2)) goto fail;
5930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 (arg1)->ClearText(arg2);
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 Py_INCREF(Py_None); resultobj = Py_None;
5939 return resultobj;
5940 fail:
5941 return NULL;
5942 }
5943
5944
5945 static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5946 PyObject *resultobj;
5947 wxPyShape *arg1 = (wxPyShape *) 0 ;
5948 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5949 PyObject * obj0 = 0 ;
5950 PyObject * obj1 = 0 ;
5951 char *kwnames[] = {
5952 (char *) "self",(char *) "line", NULL
5953 };
5954
5955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
5956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 (arg1)->RemoveLine(arg2);
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 Py_INCREF(Py_None); resultobj = Py_None;
5966 return resultobj;
5967 fail:
5968 return NULL;
5969 }
5970
5971
5972 static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5973 PyObject *resultobj;
5974 wxPyShape *arg1 = (wxPyShape *) 0 ;
5975 int arg2 ;
5976 double *arg3 = (double *) 0 ;
5977 double *arg4 = (double *) 0 ;
5978 int arg5 = (int) 0 ;
5979 int arg6 = (int) 1 ;
5980 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5981 bool result;
5982 double temp3 ;
5983 double temp4 ;
5984 PyObject * obj0 = 0 ;
5985 PyObject * obj4 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5988 };
5989
5990 arg3 = &temp3;
5991 arg4 = &temp4;
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5994 if (obj4) {
5995 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5996 }
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 resultobj = PyInt_FromLong((long)result);
6005 {
6006 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6007 resultobj = t_output_helper(resultobj,o);
6008 }
6009 {
6010 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6011 resultobj = t_output_helper(resultobj,o);
6012 }
6013 return resultobj;
6014 fail:
6015 return NULL;
6016 }
6017
6018
6019 static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6020 PyObject *resultobj;
6021 wxPyShape *arg1 = (wxPyShape *) 0 ;
6022 int result;
6023 PyObject * obj0 = 0 ;
6024 char *kwnames[] = {
6025 (char *) "self", NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
6029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = (int)(arg1)->GetNumberOfAttachments();
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 resultobj = PyInt_FromLong((long)result);
6038 return resultobj;
6039 fail:
6040 return NULL;
6041 }
6042
6043
6044 static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 wxPyShape *arg1 = (wxPyShape *) 0 ;
6047 int arg2 ;
6048 bool result;
6049 PyObject * obj0 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self",(char *) "attachment", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_AttachmentIsValid",kwnames,&obj0,&arg2)) goto fail;
6055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 result = (bool)(arg1)->AttachmentIsValid(arg2);
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 resultobj = PyInt_FromLong((long)result);
6064 return resultobj;
6065 fail:
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxPyShape *arg1 = (wxPyShape *) 0 ;
6073 PyObject *result;
6074 PyObject * obj0 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "self", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
6080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 resultobj = result;
6089 return resultobj;
6090 fail:
6091 return NULL;
6092 }
6093
6094
6095 static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxPyShape *arg1 = (wxPyShape *) 0 ;
6098 int arg2 ;
6099 double *arg3 = (double *) 0 ;
6100 double *arg4 = (double *) 0 ;
6101 int arg5 = (int) 0 ;
6102 int arg6 = (int) 1 ;
6103 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6104 bool result;
6105 double temp3 ;
6106 double temp4 ;
6107 PyObject * obj0 = 0 ;
6108 PyObject * obj4 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6111 };
6112
6113 arg3 = &temp3;
6114 arg4 = &temp4;
6115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
6116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6117 if (obj4) {
6118 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119 }
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 resultobj = PyInt_FromLong((long)result);
6128 {
6129 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6130 resultobj = t_output_helper(resultobj,o);
6131 }
6132 {
6133 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6134 resultobj = t_output_helper(resultobj,o);
6135 }
6136 return resultobj;
6137 fail:
6138 return NULL;
6139 }
6140
6141
6142 static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj;
6144 wxPyShape *arg1 = (wxPyShape *) 0 ;
6145 wxRealPoint *arg2 = 0 ;
6146 wxRealPoint *arg3 = 0 ;
6147 int arg4 ;
6148 int arg5 ;
6149 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6150 wxRealPoint result;
6151 wxRealPoint temp2 ;
6152 wxRealPoint temp3 ;
6153 PyObject * obj0 = 0 ;
6154 PyObject * obj1 = 0 ;
6155 PyObject * obj2 = 0 ;
6156 PyObject * obj5 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
6162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6163 {
6164 arg2 = &temp2;
6165 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6166 }
6167 {
6168 arg3 = &temp3;
6169 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6170 }
6171 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 {
6180 wxRealPoint * resultptr;
6181 resultptr = new wxRealPoint((wxRealPoint &) result);
6182 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
6183 }
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxPyShape *arg1 = (wxPyShape *) 0 ;
6193 int arg2 ;
6194 wxRealPoint *arg3 = 0 ;
6195 wxRealPoint *arg4 = 0 ;
6196 bool result;
6197 wxRealPoint temp3 ;
6198 wxRealPoint temp4 ;
6199 PyObject * obj0 = 0 ;
6200 PyObject * obj2 = 0 ;
6201 PyObject * obj3 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
6207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6208 {
6209 arg3 = &temp3;
6210 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6211 }
6212 {
6213 arg4 = &temp4;
6214 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6215 }
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 resultobj = PyInt_FromLong((long)result);
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6231 PyObject *resultobj;
6232 wxPyShape *arg1 = (wxPyShape *) 0 ;
6233 wxDC *arg2 = 0 ;
6234 int arg3 = (int) -1 ;
6235 bool arg4 = (bool) False ;
6236 PyObject * obj0 = 0 ;
6237 PyObject * obj1 = 0 ;
6238 PyObject * obj3 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6246 if (arg2 == NULL) {
6247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6248 }
6249 if (obj3) {
6250 {
6251 arg4 = (bool) SPyObj_AsBool(obj3);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 }
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 (arg1)->EraseLinks(*arg2,arg3,arg4);
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 Py_INCREF(Py_None); resultobj = Py_None;
6263 return resultobj;
6264 fail:
6265 return NULL;
6266 }
6267
6268
6269 static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxPyShape *arg1 = (wxPyShape *) 0 ;
6272 wxDC *arg2 = 0 ;
6273 int arg3 = (int) -1 ;
6274 bool arg4 = (bool) False ;
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 PyObject * obj3 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6285 if (arg2 == NULL) {
6286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6287 }
6288 if (obj3) {
6289 {
6290 arg4 = (bool) SPyObj_AsBool(obj3);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 }
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 (arg1)->DrawLinks(*arg2,arg3,arg4);
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 Py_INCREF(Py_None); resultobj = Py_None;
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj;
6310 wxPyShape *arg1 = (wxPyShape *) 0 ;
6311 wxDC *arg2 = 0 ;
6312 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
6313 double arg4 ;
6314 double arg5 ;
6315 bool result;
6316 PyObject * obj0 = 0 ;
6317 PyObject * obj1 = 0 ;
6318 PyObject * obj2 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6326 if (arg2 == NULL) {
6327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6328 }
6329 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 resultobj = PyInt_FromLong((long)result);
6338 return resultobj;
6339 fail:
6340 return NULL;
6341 }
6342
6343
6344 static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxPyShape *arg1 = (wxPyShape *) 0 ;
6347 PyObject *arg2 = (PyObject *) 0 ;
6348 PyObject * obj0 = 0 ;
6349 PyObject * obj1 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self",(char *) "linesToSort", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
6355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6356 arg2 = obj1;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 Py_INCREF(Py_None); resultobj = Py_None;
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxPyShape *arg1 = (wxPyShape *) 0 ;
6374 int arg2 ;
6375 wxRealPoint result;
6376 PyObject * obj0 = 0 ;
6377 char *kwnames[] = {
6378 (char *) "self",(char *) "attachment", NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&arg2)) goto fail;
6382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 result = (arg1)->GetBranchingAttachmentRoot(arg2);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 {
6391 wxRealPoint * resultptr;
6392 resultptr = new wxRealPoint((wxRealPoint &) result);
6393 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398 }
6399
6400
6401 static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxPyShape *arg1 = (wxPyShape *) 0 ;
6404 int arg2 ;
6405 wxRealPoint *arg3 = 0 ;
6406 wxRealPoint *arg4 = 0 ;
6407 wxRealPoint *arg5 = 0 ;
6408 wxRealPoint *arg6 = 0 ;
6409 bool result;
6410 wxRealPoint temp3 ;
6411 wxRealPoint temp4 ;
6412 wxRealPoint temp5 ;
6413 wxRealPoint temp6 ;
6414 PyObject * obj0 = 0 ;
6415 PyObject * obj2 = 0 ;
6416 PyObject * obj3 = 0 ;
6417 PyObject * obj4 = 0 ;
6418 PyObject * obj5 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6425 {
6426 arg3 = &temp3;
6427 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6428 }
6429 {
6430 arg4 = &temp4;
6431 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6432 }
6433 {
6434 arg5 = &temp5;
6435 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6436 }
6437 {
6438 arg6 = &temp6;
6439 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
6440 }
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 resultobj = PyInt_FromLong((long)result);
6449 return resultobj;
6450 fail:
6451 return NULL;
6452 }
6453
6454
6455 static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6456 PyObject *resultobj;
6457 wxPyShape *arg1 = (wxPyShape *) 0 ;
6458 int arg2 ;
6459 int arg3 ;
6460 wxRealPoint *arg4 = 0 ;
6461 wxRealPoint *arg5 = 0 ;
6462 bool result;
6463 wxRealPoint temp4 ;
6464 wxRealPoint temp5 ;
6465 PyObject * obj0 = 0 ;
6466 PyObject * obj3 = 0 ;
6467 PyObject * obj4 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6474 {
6475 arg4 = &temp4;
6476 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6477 }
6478 {
6479 arg5 = &temp5;
6480 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 resultobj = PyInt_FromLong((long)result);
6490 return resultobj;
6491 fail:
6492 return NULL;
6493 }
6494
6495
6496 static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6497 PyObject *resultobj;
6498 wxPyShape *arg1 = (wxPyShape *) 0 ;
6499 int arg2 ;
6500 int result;
6501 PyObject * obj0 = 0 ;
6502 char *kwnames[] = {
6503 (char *) "self",(char *) "attachment", NULL
6504 };
6505
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames,&obj0,&arg2)) goto fail;
6507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6508 {
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 result = (int)(arg1)->GetAttachmentLineCount(arg2);
6511
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 resultobj = PyInt_FromLong((long)result);
6516 return resultobj;
6517 fail:
6518 return NULL;
6519 }
6520
6521
6522 static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6523 PyObject *resultobj;
6524 wxPyShape *arg1 = (wxPyShape *) 0 ;
6525 int arg2 ;
6526 PyObject * obj0 = 0 ;
6527 char *kwnames[] = {
6528 (char *) "self",(char *) "len", NULL
6529 };
6530
6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames,&obj0,&arg2)) goto fail;
6532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 (arg1)->SetBranchNeckLength(arg2);
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 Py_INCREF(Py_None); resultobj = Py_None;
6541 return resultobj;
6542 fail:
6543 return NULL;
6544 }
6545
6546
6547 static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6548 PyObject *resultobj;
6549 wxPyShape *arg1 = (wxPyShape *) 0 ;
6550 int result;
6551 PyObject * obj0 = 0 ;
6552 char *kwnames[] = {
6553 (char *) "self", NULL
6554 };
6555
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
6557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6558 {
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 result = (int)(arg1)->GetBranchNeckLength();
6561
6562 wxPyEndAllowThreads(__tstate);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 resultobj = PyInt_FromLong((long)result);
6566 return resultobj;
6567 fail:
6568 return NULL;
6569 }
6570
6571
6572 static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj;
6574 wxPyShape *arg1 = (wxPyShape *) 0 ;
6575 int arg2 ;
6576 PyObject * obj0 = 0 ;
6577 char *kwnames[] = {
6578 (char *) "self",(char *) "len", NULL
6579 };
6580
6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchStemLength",kwnames,&obj0,&arg2)) goto fail;
6582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 (arg1)->SetBranchStemLength(arg2);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 Py_INCREF(Py_None); resultobj = Py_None;
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj;
6599 wxPyShape *arg1 = (wxPyShape *) 0 ;
6600 int result;
6601 PyObject * obj0 = 0 ;
6602 char *kwnames[] = {
6603 (char *) "self", NULL
6604 };
6605
6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
6607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 result = (int)(arg1)->GetBranchStemLength();
6611
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
6615 resultobj = PyInt_FromLong((long)result);
6616 return resultobj;
6617 fail:
6618 return NULL;
6619 }
6620
6621
6622 static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6623 PyObject *resultobj;
6624 wxPyShape *arg1 = (wxPyShape *) 0 ;
6625 int arg2 ;
6626 PyObject * obj0 = 0 ;
6627 char *kwnames[] = {
6628 (char *) "self",(char *) "len", NULL
6629 };
6630
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchSpacing",kwnames,&obj0,&arg2)) goto fail;
6632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->SetBranchSpacing(arg2);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 Py_INCREF(Py_None); resultobj = Py_None;
6641 return resultobj;
6642 fail:
6643 return NULL;
6644 }
6645
6646
6647 static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxPyShape *arg1 = (wxPyShape *) 0 ;
6650 int result;
6651 PyObject * obj0 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "self", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
6657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (int)(arg1)->GetBranchSpacing();
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 resultobj = PyInt_FromLong((long)result);
6666 return resultobj;
6667 fail:
6668 return NULL;
6669 }
6670
6671
6672 static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj;
6674 wxPyShape *arg1 = (wxPyShape *) 0 ;
6675 long arg2 ;
6676 PyObject * obj0 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "self",(char *) "style", NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetBranchStyle",kwnames,&obj0,&arg2)) goto fail;
6682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6683 {
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 (arg1)->SetBranchStyle(arg2);
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 Py_INCREF(Py_None); resultobj = Py_None;
6691 return resultobj;
6692 fail:
6693 return NULL;
6694 }
6695
6696
6697 static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxPyShape *arg1 = (wxPyShape *) 0 ;
6700 long result;
6701 PyObject * obj0 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = (long)(arg1)->GetBranchStyle();
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 resultobj = PyInt_FromLong((long)result);
6716 return resultobj;
6717 fail:
6718 return NULL;
6719 }
6720
6721
6722 static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj;
6724 wxPyShape *arg1 = (wxPyShape *) 0 ;
6725 int arg2 ;
6726 int result;
6727 PyObject * obj0 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self",(char *) "physicalAttachment", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6734 {
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
6737
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 resultobj = PyInt_FromLong((long)result);
6742 return resultobj;
6743 fail:
6744 return NULL;
6745 }
6746
6747
6748 static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxPyShape *arg1 = (wxPyShape *) 0 ;
6751 int arg2 ;
6752 int result;
6753 PyObject * obj0 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "self",(char *) "logicalAttachment", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = PyInt_FromLong((long)result);
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxPyShape *arg1 = (wxPyShape *) 0 ;
6777 bool result;
6778 PyObject * obj0 = 0 ;
6779 char *kwnames[] = {
6780 (char *) "self", NULL
6781 };
6782
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
6784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6785 {
6786 PyThreadState* __tstate = wxPyBeginAllowThreads();
6787 result = (bool)(arg1)->Draggable();
6788
6789 wxPyEndAllowThreads(__tstate);
6790 if (PyErr_Occurred()) SWIG_fail;
6791 }
6792 resultobj = PyInt_FromLong((long)result);
6793 return resultobj;
6794 fail:
6795 return NULL;
6796 }
6797
6798
6799 static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj;
6801 wxPyShape *arg1 = (wxPyShape *) 0 ;
6802 wxPyShape *arg2 = (wxPyShape *) 0 ;
6803 bool result;
6804 PyObject * obj0 = 0 ;
6805 PyObject * obj1 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self",(char *) "image", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (bool)(arg1)->HasDescendant(arg2);
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = PyInt_FromLong((long)result);
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxPyShape *arg1 = (wxPyShape *) 0 ;
6830 bool arg2 = (bool) True ;
6831 bool arg3 = (bool) True ;
6832 wxPyShape *result;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 PyObject * obj2 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6842 if (obj1) {
6843 {
6844 arg2 = (bool) SPyObj_AsBool(obj1);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 }
6848 if (obj2) {
6849 {
6850 arg3 = (bool) SPyObj_AsBool(obj2);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 }
6853 }
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 {
6862 resultobj = wxPyMake_wxShapeEvtHandler(result);
6863 }
6864 return resultobj;
6865 fail:
6866 return NULL;
6867 }
6868
6869
6870 static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6871 PyObject *resultobj;
6872 wxPyShape *arg1 = (wxPyShape *) 0 ;
6873 wxPyShape *arg2 = 0 ;
6874 PyObject * obj0 = 0 ;
6875 PyObject * obj1 = 0 ;
6876 char *kwnames[] = {
6877 (char *) "self",(char *) "copy", NULL
6878 };
6879
6880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
6881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6883 if (arg2 == NULL) {
6884 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6885 }
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 (arg1)->Copy(*arg2);
6889
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 Py_INCREF(Py_None); resultobj = Py_None;
6894 return resultobj;
6895 fail:
6896 return NULL;
6897 }
6898
6899
6900 static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxPyShape *arg1 = (wxPyShape *) 0 ;
6903 wxPyShape *arg2 = 0 ;
6904 PyObject * obj0 = 0 ;
6905 PyObject * obj1 = 0 ;
6906 char *kwnames[] = {
6907 (char *) "self",(char *) "copy", NULL
6908 };
6909
6910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
6911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6912 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6913 if (arg2 == NULL) {
6914 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6915 }
6916 {
6917 PyThreadState* __tstate = wxPyBeginAllowThreads();
6918 (arg1)->CopyWithHandler(*arg2);
6919
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) SWIG_fail;
6922 }
6923 Py_INCREF(Py_None); resultobj = Py_None;
6924 return resultobj;
6925 fail:
6926 return NULL;
6927 }
6928
6929
6930 static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6931 PyObject *resultobj;
6932 wxPyShape *arg1 = (wxPyShape *) 0 ;
6933 double arg2 ;
6934 double arg3 ;
6935 double arg4 ;
6936 PyObject * obj0 = 0 ;
6937 char *kwnames[] = {
6938 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 (arg1)->Rotate(arg2,arg3,arg4);
6946
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 Py_INCREF(Py_None); resultobj = Py_None;
6951 return resultobj;
6952 fail:
6953 return NULL;
6954 }
6955
6956
6957 static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 wxPyShape *arg1 = (wxPyShape *) 0 ;
6960 double result;
6961 PyObject * obj0 = 0 ;
6962 char *kwnames[] = {
6963 (char *) "self", NULL
6964 };
6965
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 result = (double)(arg1)->GetRotation();
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 resultobj = PyFloat_FromDouble(result);
6976 return resultobj;
6977 fail:
6978 return NULL;
6979 }
6980
6981
6982 static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxPyShape *arg1 = (wxPyShape *) 0 ;
6985 double arg2 ;
6986 PyObject * obj0 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self",(char *) "rotation", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetRotation",kwnames,&obj0,&arg2)) goto fail;
6992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 (arg1)->SetRotation(arg2);
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 Py_INCREF(Py_None); resultobj = Py_None;
7001 return resultobj;
7002 fail:
7003 return NULL;
7004 }
7005
7006
7007 static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7008 PyObject *resultobj;
7009 wxPyShape *arg1 = (wxPyShape *) 0 ;
7010 PyObject * obj0 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
7016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 (arg1)->ClearAttachments();
7020
7021 wxPyEndAllowThreads(__tstate);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
7024 Py_INCREF(Py_None); resultobj = Py_None;
7025 return resultobj;
7026 fail:
7027 return NULL;
7028 }
7029
7030
7031 static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
7032 PyObject *resultobj;
7033 wxPyShape *arg1 = (wxPyShape *) 0 ;
7034 wxDC *arg2 = 0 ;
7035 PyObject * obj0 = 0 ;
7036 PyObject * obj1 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self",(char *) "dc", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
7042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7044 if (arg2 == NULL) {
7045 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7046 }
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 (arg1)->Recentre(*arg2);
7050
7051 wxPyEndAllowThreads(__tstate);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 }
7054 Py_INCREF(Py_None); resultobj = Py_None;
7055 return resultobj;
7056 fail:
7057 return NULL;
7058 }
7059
7060
7061 static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj;
7063 wxPyShape *arg1 = (wxPyShape *) 0 ;
7064 wxList *arg2 = 0 ;
7065 PyObject * obj0 = 0 ;
7066 PyObject * obj1 = 0 ;
7067 char *kwnames[] = {
7068 (char *) "self",(char *) "list", NULL
7069 };
7070
7071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
7072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7074 if (arg2 == NULL) {
7075 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7076 }
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 (arg1)->ClearPointList(*arg2);
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 Py_INCREF(Py_None); resultobj = Py_None;
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj;
7093 wxPyShape *arg1 = (wxPyShape *) 0 ;
7094 wxPen result;
7095 PyObject * obj0 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "self", NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
7101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = (arg1)->GetBackgroundPen();
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 {
7110 wxPen * resultptr;
7111 resultptr = new wxPen((wxPen &) result);
7112 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPen, 1);
7113 }
7114 return resultobj;
7115 fail:
7116 return NULL;
7117 }
7118
7119
7120 static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
7121 PyObject *resultobj;
7122 wxPyShape *arg1 = (wxPyShape *) 0 ;
7123 wxBrush result;
7124 PyObject * obj0 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
7130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 result = (arg1)->GetBackgroundBrush();
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 {
7139 wxBrush * resultptr;
7140 resultptr = new wxBrush((wxBrush &) result);
7141 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBrush, 1);
7142 }
7143 return resultobj;
7144 fail:
7145 return NULL;
7146 }
7147
7148
7149 static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj;
7151 wxPyShape *arg1 = (wxPyShape *) 0 ;
7152 PyObject * obj0 = 0 ;
7153 char *kwnames[] = {
7154 (char *) "self", NULL
7155 };
7156
7157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
7158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 (arg1)->base_OnDelete();
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 Py_INCREF(Py_None); resultobj = Py_None;
7167 return resultobj;
7168 fail:
7169 return NULL;
7170 }
7171
7172
7173 static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxPyShape *arg1 = (wxPyShape *) 0 ;
7176 wxDC *arg2 = 0 ;
7177 PyObject * obj0 = 0 ;
7178 PyObject * obj1 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self",(char *) "dc", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
7184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7186 if (arg2 == NULL) {
7187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7188 }
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 (arg1)->base_OnDraw(*arg2);
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 Py_INCREF(Py_None); resultobj = Py_None;
7197 return resultobj;
7198 fail:
7199 return NULL;
7200 }
7201
7202
7203 static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj;
7205 wxPyShape *arg1 = (wxPyShape *) 0 ;
7206 wxDC *arg2 = 0 ;
7207 PyObject * obj0 = 0 ;
7208 PyObject * obj1 = 0 ;
7209 char *kwnames[] = {
7210 (char *) "self",(char *) "dc", NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
7214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7216 if (arg2 == NULL) {
7217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7218 }
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 (arg1)->base_OnDrawContents(*arg2);
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 Py_INCREF(Py_None); resultobj = Py_None;
7227 return resultobj;
7228 fail:
7229 return NULL;
7230 }
7231
7232
7233 static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj;
7235 wxPyShape *arg1 = (wxPyShape *) 0 ;
7236 wxDC *arg2 = 0 ;
7237 bool arg3 = (bool) False ;
7238 PyObject * obj0 = 0 ;
7239 PyObject * obj1 = 0 ;
7240 PyObject * obj2 = 0 ;
7241 char *kwnames[] = {
7242 (char *) "self",(char *) "dc",(char *) "erase", NULL
7243 };
7244
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
7246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7248 if (arg2 == NULL) {
7249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7250 }
7251 if (obj2) {
7252 {
7253 arg3 = (bool) SPyObj_AsBool(obj2);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 }
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 (arg1)->base_OnDrawBranches(*arg2,arg3);
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 Py_INCREF(Py_None); resultobj = Py_None;
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 wxPyShape *arg1 = (wxPyShape *) 0 ;
7274 wxDC *arg2 = 0 ;
7275 PyObject * obj0 = 0 ;
7276 PyObject * obj1 = 0 ;
7277 char *kwnames[] = {
7278 (char *) "self",(char *) "dc", NULL
7279 };
7280
7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
7282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7284 if (arg2 == NULL) {
7285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7286 }
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 (arg1)->base_OnMoveLinks(*arg2);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 Py_INCREF(Py_None); resultobj = Py_None;
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxPyShape *arg1 = (wxPyShape *) 0 ;
7304 wxDC *arg2 = 0 ;
7305 PyObject * obj0 = 0 ;
7306 PyObject * obj1 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self",(char *) "dc", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
7312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7314 if (arg2 == NULL) {
7315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7316 }
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 (arg1)->base_OnErase(*arg2);
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 Py_INCREF(Py_None); resultobj = Py_None;
7325 return resultobj;
7326 fail:
7327 return NULL;
7328 }
7329
7330
7331 static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7332 PyObject *resultobj;
7333 wxPyShape *arg1 = (wxPyShape *) 0 ;
7334 wxDC *arg2 = 0 ;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self",(char *) "dc", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7343 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7344 if (arg2 == NULL) {
7345 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7346 }
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 (arg1)->base_OnEraseContents(*arg2);
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 Py_INCREF(Py_None); resultobj = Py_None;
7355 return resultobj;
7356 fail:
7357 return NULL;
7358 }
7359
7360
7361 static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj;
7363 wxPyShape *arg1 = (wxPyShape *) 0 ;
7364 wxDC *arg2 = 0 ;
7365 PyObject * obj0 = 0 ;
7366 PyObject * obj1 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "self",(char *) "dc", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
7372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7374 if (arg2 == NULL) {
7375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7376 }
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 (arg1)->base_OnHighlight(*arg2);
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 Py_INCREF(Py_None); resultobj = Py_None;
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxPyShape *arg1 = (wxPyShape *) 0 ;
7394 double arg2 ;
7395 double arg3 ;
7396 int arg4 = (int) 0 ;
7397 int arg5 = (int) 0 ;
7398 PyObject * obj0 = 0 ;
7399 char *kwnames[] = {
7400 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7401 };
7402
7403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 Py_INCREF(Py_None); resultobj = Py_None;
7413 return resultobj;
7414 fail:
7415 return NULL;
7416 }
7417
7418
7419 static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxPyShape *arg1 = (wxPyShape *) 0 ;
7422 double arg2 ;
7423 double arg3 ;
7424 int arg4 = (int) 0 ;
7425 int arg5 = (int) 0 ;
7426 PyObject * obj0 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 Py_INCREF(Py_None); resultobj = Py_None;
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxPyShape *arg1 = (wxPyShape *) 0 ;
7450 double arg2 ;
7451 double arg3 ;
7452 int arg4 = (int) 0 ;
7453 int arg5 = (int) 0 ;
7454 PyObject * obj0 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 Py_INCREF(Py_None); resultobj = Py_None;
7469 return resultobj;
7470 fail:
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxPyShape *arg1 = (wxPyShape *) 0 ;
7478 double arg2 ;
7479 double arg3 ;
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self",(char *) "x",(char *) "y", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 (arg1)->base_OnSize(arg2,arg3);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 Py_INCREF(Py_None); resultobj = Py_None;
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxPyShape *arg1 = (wxPyShape *) 0 ;
7504 wxDC *arg2 = 0 ;
7505 double arg3 ;
7506 double arg4 ;
7507 double arg5 ;
7508 double arg6 ;
7509 bool arg7 = (bool) True ;
7510 bool result;
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
7513 PyObject * obj6 = 0 ;
7514 char *kwnames[] = {
7515 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7516 };
7517
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7521 if (arg2 == NULL) {
7522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7523 }
7524 if (obj6) {
7525 {
7526 arg7 = (bool) SPyObj_AsBool(obj6);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 }
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 resultobj = PyInt_FromLong((long)result);
7538 return resultobj;
7539 fail:
7540 return NULL;
7541 }
7542
7543
7544 static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj;
7546 wxPyShape *arg1 = (wxPyShape *) 0 ;
7547 wxDC *arg2 = 0 ;
7548 double arg3 ;
7549 double arg4 ;
7550 double arg5 ;
7551 double arg6 ;
7552 bool arg7 = (bool) True ;
7553 PyObject * obj0 = 0 ;
7554 PyObject * obj1 = 0 ;
7555 PyObject * obj6 = 0 ;
7556 char *kwnames[] = {
7557 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7563 if (arg2 == NULL) {
7564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7565 }
7566 if (obj6) {
7567 {
7568 arg7 = (bool) SPyObj_AsBool(obj6);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 }
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 Py_INCREF(Py_None); resultobj = Py_None;
7580 return resultobj;
7581 fail:
7582 return NULL;
7583 }
7584
7585
7586 static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxPyShape *arg1 = (wxPyShape *) 0 ;
7589 bool arg2 ;
7590 double arg3 ;
7591 double arg4 ;
7592 int arg5 = (int) 0 ;
7593 int arg6 = (int) 0 ;
7594 PyObject * obj0 = 0 ;
7595 PyObject * obj1 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7602 {
7603 arg2 = (bool) SPyObj_AsBool(obj1);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 Py_INCREF(Py_None); resultobj = Py_None;
7614 return resultobj;
7615 fail:
7616 return NULL;
7617 }
7618
7619
7620 static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj;
7622 wxPyShape *arg1 = (wxPyShape *) 0 ;
7623 double arg2 ;
7624 double arg3 ;
7625 int arg4 = (int) 0 ;
7626 int arg5 = (int) 0 ;
7627 PyObject * obj0 = 0 ;
7628 char *kwnames[] = {
7629 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 Py_INCREF(Py_None); resultobj = Py_None;
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj;
7650 wxPyShape *arg1 = (wxPyShape *) 0 ;
7651 double arg2 ;
7652 double arg3 ;
7653 int arg4 = (int) 0 ;
7654 int arg5 = (int) 0 ;
7655 PyObject * obj0 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxPyShape *arg1 = (wxPyShape *) 0 ;
7679 bool arg2 ;
7680 double arg3 ;
7681 double arg4 ;
7682 int arg5 = (int) 0 ;
7683 int arg6 = (int) 0 ;
7684 PyObject * obj0 = 0 ;
7685 PyObject * obj1 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7692 {
7693 arg2 = (bool) SPyObj_AsBool(obj1);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 Py_INCREF(Py_None); resultobj = Py_None;
7704 return resultobj;
7705 fail:
7706 return NULL;
7707 }
7708
7709
7710 static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj;
7712 wxPyShape *arg1 = (wxPyShape *) 0 ;
7713 double arg2 ;
7714 double arg3 ;
7715 int arg4 = (int) 0 ;
7716 int arg5 = (int) 0 ;
7717 PyObject * obj0 = 0 ;
7718 char *kwnames[] = {
7719 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7720 };
7721
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7724 {
7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
7726 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
7727
7728 wxPyEndAllowThreads(__tstate);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 }
7731 Py_INCREF(Py_None); resultobj = Py_None;
7732 return resultobj;
7733 fail:
7734 return NULL;
7735 }
7736
7737
7738 static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7739 PyObject *resultobj;
7740 wxPyShape *arg1 = (wxPyShape *) 0 ;
7741 double arg2 ;
7742 double arg3 ;
7743 int arg4 = (int) 0 ;
7744 int arg5 = (int) 0 ;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 Py_INCREF(Py_None); resultobj = Py_None;
7760 return resultobj;
7761 fail:
7762 return NULL;
7763 }
7764
7765
7766 static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj;
7768 wxPyShape *arg1 = (wxPyShape *) 0 ;
7769 wxDC *arg2 = 0 ;
7770 double arg3 ;
7771 double arg4 ;
7772 double arg5 ;
7773 double arg6 ;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7783 if (arg2 == NULL) {
7784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7785 }
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 Py_INCREF(Py_None); resultobj = Py_None;
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj;
7802 wxPyShape *arg1 = (wxPyShape *) 0 ;
7803 wxDC *arg2 = 0 ;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self",(char *) "dc", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
7811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7813 if (arg2 == NULL) {
7814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7815 }
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 (arg1)->base_OnDrawControlPoints(*arg2);
7819
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 Py_INCREF(Py_None); resultobj = Py_None;
7824 return resultobj;
7825 fail:
7826 return NULL;
7827 }
7828
7829
7830 static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj;
7832 wxPyShape *arg1 = (wxPyShape *) 0 ;
7833 wxDC *arg2 = 0 ;
7834 PyObject * obj0 = 0 ;
7835 PyObject * obj1 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self",(char *) "dc", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7843 if (arg2 == NULL) {
7844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7845 }
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 (arg1)->base_OnEraseControlPoints(*arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 Py_INCREF(Py_None); resultobj = Py_None;
7854 return resultobj;
7855 fail:
7856 return NULL;
7857 }
7858
7859
7860 static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj;
7862 wxPyShape *arg1 = (wxPyShape *) 0 ;
7863 wxDC *arg2 = 0 ;
7864 bool arg3 = (bool) True ;
7865 PyObject * obj0 = 0 ;
7866 PyObject * obj1 = 0 ;
7867 PyObject * obj2 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
7873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7875 if (arg2 == NULL) {
7876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7877 }
7878 if (obj2) {
7879 {
7880 arg3 = (bool) SPyObj_AsBool(obj2);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 }
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 (arg1)->base_OnMoveLink(*arg2,arg3);
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 Py_INCREF(Py_None); resultobj = Py_None;
7892 return resultobj;
7893 fail:
7894 return NULL;
7895 }
7896
7897
7898 static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxPyShape *arg1 = (wxPyShape *) 0 ;
7901 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7902 bool arg3 ;
7903 double arg4 ;
7904 double arg5 ;
7905 int arg6 = (int) 0 ;
7906 int arg7 = (int) 0 ;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 PyObject * obj2 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7917 {
7918 arg3 = (bool) SPyObj_AsBool(obj2);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 Py_INCREF(Py_None); resultobj = Py_None;
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxPyShape *arg1 = (wxPyShape *) 0 ;
7938 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7939 double arg3 ;
7940 double arg4 ;
7941 int arg5 = (int) 0 ;
7942 int arg6 = (int) 0 ;
7943 PyObject * obj0 = 0 ;
7944 PyObject * obj1 = 0 ;
7945 char *kwnames[] = {
7946 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7947 };
7948
7949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 Py_INCREF(Py_None); resultobj = Py_None;
7960 return resultobj;
7961 fail:
7962 return NULL;
7963 }
7964
7965
7966 static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj;
7968 wxPyShape *arg1 = (wxPyShape *) 0 ;
7969 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7970 double arg3 ;
7971 double arg4 ;
7972 int arg5 = (int) 0 ;
7973 int arg6 = (int) 0 ;
7974 PyObject * obj0 = 0 ;
7975 PyObject * obj1 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7982 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 Py_INCREF(Py_None); resultobj = Py_None;
7991 return resultobj;
7992 fail:
7993 return NULL;
7994 }
7995
7996
7997 static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7998 PyObject *resultobj;
7999 wxPyShape *arg1 = (wxPyShape *) 0 ;
8000 double arg2 ;
8001 double arg3 ;
8002 PyObject * obj0 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "w",(char *) "h", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8011 (arg1)->base_OnBeginSize(arg2,arg3);
8012
8013 wxPyEndAllowThreads(__tstate);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 Py_INCREF(Py_None); resultobj = Py_None;
8017 return resultobj;
8018 fail:
8019 return NULL;
8020 }
8021
8022
8023 static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8024 PyObject *resultobj;
8025 wxPyShape *arg1 = (wxPyShape *) 0 ;
8026 double arg2 ;
8027 double arg3 ;
8028 PyObject * obj0 = 0 ;
8029 char *kwnames[] = {
8030 (char *) "self",(char *) "w",(char *) "h", NULL
8031 };
8032
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
8034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 (arg1)->base_OnEndSize(arg2,arg3);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 Py_INCREF(Py_None); resultobj = Py_None;
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
8050 PyObject *obj;
8051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8052 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
8053 Py_INCREF(obj);
8054 return Py_BuildValue((char *)"");
8055 }
8056 static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj;
8058 wxPseudoMetaFile *result;
8059 char *kwnames[] = {
8060 NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 {
8072 resultobj = wxPyMake_wxObject(result);
8073 }
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8083 PyObject * obj0 = 0 ;
8084 char *kwnames[] = {
8085 (char *) "self", NULL
8086 };
8087
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
8089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 delete arg1;
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 Py_INCREF(Py_None); resultobj = Py_None;
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8107 wxDC *arg2 = 0 ;
8108 double arg3 ;
8109 double arg4 ;
8110 PyObject * obj0 = 0 ;
8111 PyObject * obj1 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8119 if (arg2 == NULL) {
8120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8121 }
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 (arg1)->Draw(*arg2,arg3,arg4);
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 Py_INCREF(Py_None); resultobj = Py_None;
8130 return resultobj;
8131 fail:
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8139 PyObject * obj0 = 0 ;
8140 char *kwnames[] = {
8141 (char *) "self", NULL
8142 };
8143
8144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
8145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 (arg1)->Clear();
8149
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
8153 Py_INCREF(Py_None); resultobj = Py_None;
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj;
8162 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8163 wxPseudoMetaFile *arg2 = 0 ;
8164 PyObject * obj0 = 0 ;
8165 PyObject * obj1 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "self",(char *) "copy", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
8171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8173 if (arg2 == NULL) {
8174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8175 }
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 (arg1)->Copy(*arg2);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 Py_INCREF(Py_None); resultobj = Py_None;
8184 return resultobj;
8185 fail:
8186 return NULL;
8187 }
8188
8189
8190 static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8193 double arg2 ;
8194 double arg3 ;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self",(char *) "sx",(char *) "sy", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
8201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 (arg1)->Scale(arg2,arg3);
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 Py_INCREF(Py_None); resultobj = Py_None;
8210 return resultobj;
8211 fail:
8212 return NULL;
8213 }
8214
8215
8216 static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8219 double arg2 ;
8220 double arg3 ;
8221 PyObject * obj0 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "self",(char *) "w",(char *) "h", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames,&obj0,&arg2,&arg3)) goto fail;
8227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8228 {
8229 PyThreadState* __tstate = wxPyBeginAllowThreads();
8230 (arg1)->ScaleTo(arg2,arg3);
8231
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
8235 Py_INCREF(Py_None); resultobj = Py_None;
8236 return resultobj;
8237 fail:
8238 return NULL;
8239 }
8240
8241
8242 static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj;
8244 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8245 double arg2 ;
8246 double arg3 ;
8247 PyObject * obj0 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "self",(char *) "x",(char *) "y", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 (arg1)->Translate(arg2,arg3);
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 Py_INCREF(Py_None); resultobj = Py_None;
8262 return resultobj;
8263 fail:
8264 return NULL;
8265 }
8266
8267
8268 static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8271 double arg2 ;
8272 double arg3 ;
8273 double arg4 ;
8274 PyObject * obj0 = 0 ;
8275 char *kwnames[] = {
8276 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
8277 };
8278
8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
8280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 (arg1)->Rotate(arg2,arg3,arg4);
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 Py_INCREF(Py_None); resultobj = Py_None;
8289 return resultobj;
8290 fail:
8291 return NULL;
8292 }
8293
8294
8295 static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj;
8297 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8298 wxString *arg2 = 0 ;
8299 double *arg3 = (double *) 0 ;
8300 double *arg4 = (double *) 0 ;
8301 bool result;
8302 bool temp2 = False ;
8303 PyObject * obj0 = 0 ;
8304 PyObject * obj1 = 0 ;
8305 PyObject * obj2 = 0 ;
8306 PyObject * obj3 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8313 {
8314 arg2 = wxString_in_helper(obj1);
8315 if (arg2 == NULL) SWIG_fail;
8316 temp2 = True;
8317 }
8318 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8319 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8320 {
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
8323
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 resultobj = PyInt_FromLong((long)result);
8328 {
8329 if (temp2)
8330 delete arg2;
8331 }
8332 return resultobj;
8333 fail:
8334 {
8335 if (temp2)
8336 delete arg2;
8337 }
8338 return NULL;
8339 }
8340
8341
8342 static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
8343 PyObject *resultobj;
8344 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8345 double *arg2 = (double *) 0 ;
8346 double *arg3 = (double *) 0 ;
8347 double *arg4 = (double *) 0 ;
8348 double *arg5 = (double *) 0 ;
8349 PyObject * obj0 = 0 ;
8350 PyObject * obj1 = 0 ;
8351 PyObject * obj2 = 0 ;
8352 PyObject * obj3 = 0 ;
8353 PyObject * obj4 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8361 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8362 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8363 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 Py_INCREF(Py_None); resultobj = Py_None;
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj;
8380 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8381 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
8382 PyObject * obj0 = 0 ;
8383 PyObject * obj1 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self",(char *) "shape", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
8389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 (arg1)->CalculateSize(arg2);
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 Py_INCREF(Py_None); resultobj = Py_None;
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8408 bool arg2 ;
8409 PyObject * obj0 = 0 ;
8410 PyObject * obj1 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self",(char *) "rot", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
8416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8417 {
8418 arg2 = (bool) SPyObj_AsBool(obj1);
8419 if (PyErr_Occurred()) SWIG_fail;
8420 }
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 (arg1)->SetRotateable(arg2);
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 Py_INCREF(Py_None); resultobj = Py_None;
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8438 bool result;
8439 PyObject * obj0 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "self", NULL
8442 };
8443
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
8445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = (bool)(arg1)->GetRotateable();
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 resultobj = PyInt_FromLong((long)result);
8454 return resultobj;
8455 fail:
8456 return NULL;
8457 }
8458
8459
8460 static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8463 double arg2 ;
8464 double arg3 ;
8465 PyObject * obj0 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self",(char *) "w",(char *) "h", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
8471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 (arg1)->SetSize(arg2,arg3);
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 Py_INCREF(Py_None); resultobj = Py_None;
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8489 wxBrush *arg2 = (wxBrush *) 0 ;
8490 PyObject * obj0 = 0 ;
8491 PyObject * obj1 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self",(char *) "brush", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
8497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8498 {
8499 wxBrush* temp;
8500 if (obj1) {
8501 if (obj1 == Py_None) {
8502 temp = NULL;
8503 }
8504 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8505 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8506 return NULL;
8507 }
8508 }
8509 if (temp)
8510 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8511 else
8512 arg2 = NULL;
8513 }
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 (arg1)->SetFillBrush(arg2);
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 Py_INCREF(Py_None); resultobj = Py_None;
8522 return resultobj;
8523 fail:
8524 return NULL;
8525 }
8526
8527
8528 static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8531 wxBrush *result;
8532 PyObject * obj0 = 0 ;
8533 char *kwnames[] = {
8534 (char *) "self", NULL
8535 };
8536
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
8538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (wxBrush *)(arg1)->GetFillBrush();
8542
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
8547 return resultobj;
8548 fail:
8549 return NULL;
8550 }
8551
8552
8553 static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8554 PyObject *resultobj;
8555 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8556 wxPen *arg2 = (wxPen *) 0 ;
8557 PyObject * obj0 = 0 ;
8558 PyObject * obj1 = 0 ;
8559 char *kwnames[] = {
8560 (char *) "self",(char *) "pen", NULL
8561 };
8562
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
8564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8565 {
8566 wxPen* temp;
8567 if (obj1) {
8568 if (obj1 == Py_None) {
8569 temp = NULL;
8570 }
8571 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8572 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8573 return NULL;
8574 }
8575 }
8576 if (temp)
8577 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8578 temp->GetWidth(),
8579 temp->GetStyle());
8580 else
8581 arg2 = NULL;
8582 }
8583 {
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 (arg1)->SetOutlinePen(arg2);
8586
8587 wxPyEndAllowThreads(__tstate);
8588 if (PyErr_Occurred()) SWIG_fail;
8589 }
8590 Py_INCREF(Py_None); resultobj = Py_None;
8591 return resultobj;
8592 fail:
8593 return NULL;
8594 }
8595
8596
8597 static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8600 wxPen *result;
8601 PyObject * obj0 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "self", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 result = (wxPen *)(arg1)->GetOutlinePen();
8611
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
8615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj;
8624 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8625 int arg2 ;
8626 PyObject * obj0 = 0 ;
8627 char *kwnames[] = {
8628 (char *) "self",(char *) "op", NULL
8629 };
8630
8631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&arg2)) goto fail;
8632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 (arg1)->SetOutlineOp(arg2);
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 Py_INCREF(Py_None); resultobj = Py_None;
8641 return resultobj;
8642 fail:
8643 return NULL;
8644 }
8645
8646
8647 static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8648 PyObject *resultobj;
8649 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8650 int result;
8651 PyObject * obj0 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "self", NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
8657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 result = (int)(arg1)->GetOutlineOp();
8661
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 resultobj = PyInt_FromLong((long)result);
8666 return resultobj;
8667 fail:
8668 return NULL;
8669 }
8670
8671
8672 static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
8673 PyObject *resultobj;
8674 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8675 bool result;
8676 PyObject * obj0 = 0 ;
8677 char *kwnames[] = {
8678 (char *) "self", NULL
8679 };
8680
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
8682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 result = (bool)(arg1)->IsValid();
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 resultobj = PyInt_FromLong((long)result);
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj;
8699 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8700 wxPoint *arg2 = 0 ;
8701 wxPoint *arg3 = 0 ;
8702 wxPoint temp2 ;
8703 wxPoint temp3 ;
8704 PyObject * obj0 = 0 ;
8705 PyObject * obj1 = 0 ;
8706 PyObject * obj2 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
8712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8713 {
8714 arg2 = &temp2;
8715 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8716 }
8717 {
8718 arg3 = &temp3;
8719 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8720 }
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 Py_INCREF(Py_None); resultobj = Py_None;
8729 return resultobj;
8730 fail:
8731 return NULL;
8732 }
8733
8734
8735 static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8736 PyObject *resultobj;
8737 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8738 wxRect *arg2 = 0 ;
8739 wxRect temp2 ;
8740 PyObject * obj0 = 0 ;
8741 PyObject * obj1 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self",(char *) "rect", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
8747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8748 {
8749 arg2 = &temp2;
8750 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8751 }
8752 {
8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
8754 (arg1)->DrawRectangle((wxRect const &)*arg2);
8755
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 }
8759 Py_INCREF(Py_None); resultobj = Py_None;
8760 return resultobj;
8761 fail:
8762 return NULL;
8763 }
8764
8765
8766 static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8767 PyObject *resultobj;
8768 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8769 wxRect *arg2 = 0 ;
8770 double arg3 ;
8771 wxRect temp2 ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "self",(char *) "rect",(char *) "radius", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
8779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8780 {
8781 arg2 = &temp2;
8782 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8783 }
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795 }
8796
8797
8798 static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8801 wxPoint *arg2 = 0 ;
8802 wxPoint *arg3 = 0 ;
8803 wxPoint *arg4 = 0 ;
8804 wxPoint temp2 ;
8805 wxPoint temp3 ;
8806 wxPoint temp4 ;
8807 PyObject * obj0 = 0 ;
8808 PyObject * obj1 = 0 ;
8809 PyObject * obj2 = 0 ;
8810 PyObject * obj3 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8817 {
8818 arg2 = &temp2;
8819 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8820 }
8821 {
8822 arg3 = &temp3;
8823 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8824 }
8825 {
8826 arg4 = &temp4;
8827 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8828 }
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8832
8833 wxPyEndAllowThreads(__tstate);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 }
8836 Py_INCREF(Py_None); resultobj = Py_None;
8837 return resultobj;
8838 fail:
8839 return NULL;
8840 }
8841
8842
8843 static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8844 PyObject *resultobj;
8845 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8846 wxRect *arg2 = 0 ;
8847 double arg3 ;
8848 double arg4 ;
8849 wxRect temp2 ;
8850 PyObject * obj0 = 0 ;
8851 PyObject * obj1 = 0 ;
8852 char *kwnames[] = {
8853 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8854 };
8855
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8858 {
8859 arg2 = &temp2;
8860 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8861 }
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
8865
8866 wxPyEndAllowThreads(__tstate);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 }
8869 Py_INCREF(Py_None); resultobj = Py_None;
8870 return resultobj;
8871 fail:
8872 return NULL;
8873 }
8874
8875
8876 static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8877 PyObject *resultobj;
8878 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8879 wxRect *arg2 = 0 ;
8880 wxRect temp2 ;
8881 PyObject * obj0 = 0 ;
8882 PyObject * obj1 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self",(char *) "rect", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8889 {
8890 arg2 = &temp2;
8891 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 (arg1)->DrawEllipse((wxRect const &)*arg2);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 Py_INCREF(Py_None); resultobj = Py_None;
8901 return resultobj;
8902 fail:
8903 return NULL;
8904 }
8905
8906
8907 static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8908 PyObject *resultobj;
8909 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8910 wxPoint *arg2 = 0 ;
8911 wxPoint temp2 ;
8912 PyObject * obj0 = 0 ;
8913 PyObject * obj1 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self",(char *) "pt", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
8919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8920 {
8921 arg2 = &temp2;
8922 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8923 }
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 (arg1)->DrawPoint((wxPoint const &)*arg2);
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 Py_INCREF(Py_None); resultobj = Py_None;
8932 return resultobj;
8933 fail:
8934 return NULL;
8935 }
8936
8937
8938 static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8941 wxString *arg2 = 0 ;
8942 wxPoint *arg3 = 0 ;
8943 bool temp2 = False ;
8944 wxPoint temp3 ;
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 PyObject * obj2 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self",(char *) "text",(char *) "pt", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8954 {
8955 arg2 = wxString_in_helper(obj1);
8956 if (arg2 == NULL) SWIG_fail;
8957 temp2 = True;
8958 }
8959 {
8960 arg3 = &temp3;
8961 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8962 }
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 Py_INCREF(Py_None); resultobj = Py_None;
8971 {
8972 if (temp2)
8973 delete arg2;
8974 }
8975 return resultobj;
8976 fail:
8977 {
8978 if (temp2)
8979 delete arg2;
8980 }
8981 return NULL;
8982 }
8983
8984
8985 static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj;
8987 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8988 int arg2 ;
8989 wxPoint *arg3 = (wxPoint *) 0 ;
8990 PyObject * obj0 = 0 ;
8991 PyObject * obj2 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
8997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8998 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 (arg1)->DrawLines(arg2,arg3);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 Py_INCREF(Py_None); resultobj = Py_None;
9007 return resultobj;
9008 fail:
9009 return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9016 int arg2 ;
9017 wxPoint *arg3 = (wxPoint *) 0 ;
9018 int arg4 = (int) 0 ;
9019 PyObject * obj0 = 0 ;
9020 PyObject * obj2 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
9026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9027 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 (arg1)->DrawPolygon(arg2,arg3,arg4);
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 Py_INCREF(Py_None); resultobj = Py_None;
9036 return resultobj;
9037 fail:
9038 return NULL;
9039 }
9040
9041
9042 static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject *resultobj;
9044 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9045 int arg2 ;
9046 wxPoint *arg3 = (wxPoint *) 0 ;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj2 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
9054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9055 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 (arg1)->DrawSpline(arg2,arg3);
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 Py_INCREF(Py_None); resultobj = Py_None;
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9073 wxRect *arg2 = 0 ;
9074 wxRect temp2 ;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self",(char *) "rect", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9083 {
9084 arg2 = &temp2;
9085 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9086 }
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 (arg1)->SetClippingRect((wxRect const &)*arg2);
9090
9091 wxPyEndAllowThreads(__tstate);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
9094 Py_INCREF(Py_None); resultobj = Py_None;
9095 return resultobj;
9096 fail:
9097 return NULL;
9098 }
9099
9100
9101 static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj;
9103 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9104 PyObject * obj0 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 (arg1)->DestroyClippingRect();
9114
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 Py_INCREF(Py_None); resultobj = Py_None;
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9128 wxPen *arg2 = (wxPen *) 0 ;
9129 bool arg3 = (bool) FALSE ;
9130 PyObject * obj0 = 0 ;
9131 PyObject * obj1 = 0 ;
9132 PyObject * obj2 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
9138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9139 {
9140 wxPen* temp;
9141 if (obj1) {
9142 if (obj1 == Py_None) {
9143 temp = NULL;
9144 }
9145 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9146 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9147 return NULL;
9148 }
9149 }
9150 if (temp)
9151 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9152 temp->GetWidth(),
9153 temp->GetStyle());
9154 else
9155 arg2 = NULL;
9156 }
9157 if (obj2) {
9158 {
9159 arg3 = (bool) SPyObj_AsBool(obj2);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 }
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 (arg1)->SetPen(arg2,arg3);
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 Py_INCREF(Py_None); resultobj = Py_None;
9171 return resultobj;
9172 fail:
9173 return NULL;
9174 }
9175
9176
9177 static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9178 PyObject *resultobj;
9179 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9180 wxBrush *arg2 = (wxBrush *) 0 ;
9181 bool arg3 = (bool) FALSE ;
9182 PyObject * obj0 = 0 ;
9183 PyObject * obj1 = 0 ;
9184 PyObject * obj2 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "self",(char *) "brush",(char *) "isFill", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
9190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9191 {
9192 wxBrush* temp;
9193 if (obj1) {
9194 if (obj1 == Py_None) {
9195 temp = NULL;
9196 }
9197 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9198 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9199 return NULL;
9200 }
9201 }
9202 if (temp)
9203 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9204 else
9205 arg2 = NULL;
9206 }
9207 if (obj2) {
9208 {
9209 arg3 = (bool) SPyObj_AsBool(obj2);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 }
9213 {
9214 PyThreadState* __tstate = wxPyBeginAllowThreads();
9215 (arg1)->SetBrush(arg2,arg3);
9216
9217 wxPyEndAllowThreads(__tstate);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
9220 Py_INCREF(Py_None); resultobj = Py_None;
9221 return resultobj;
9222 fail:
9223 return NULL;
9224 }
9225
9226
9227 static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9228 PyObject *resultobj;
9229 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9230 wxFont *arg2 = (wxFont *) 0 ;
9231 PyObject * obj0 = 0 ;
9232 PyObject * obj1 = 0 ;
9233 char *kwnames[] = {
9234 (char *) "self",(char *) "font", NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
9238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9239 {
9240 wxFont* temp;
9241 if (obj1) {
9242 if (obj1 == Py_None) {
9243 temp = NULL;
9244 }
9245 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
9246 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
9247 return NULL;
9248 }
9249 }
9250 if (temp)
9251 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
9252 temp->GetFamily(),
9253 temp->GetStyle(),
9254 temp->GetWeight(),
9255 temp->GetUnderlined(),
9256 temp->GetFaceName(),
9257 temp->GetEncoding());
9258 else
9259 arg2 = NULL;
9260 }
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 (arg1)->SetFont(arg2);
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 Py_INCREF(Py_None); resultobj = Py_None;
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9278 wxColour *arg2 = 0 ;
9279 wxColour temp2 ;
9280 PyObject * obj0 = 0 ;
9281 PyObject * obj1 = 0 ;
9282 char *kwnames[] = {
9283 (char *) "self",(char *) "colour", NULL
9284 };
9285
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
9287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9288 {
9289 arg2 = &temp2;
9290 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9291 }
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 (arg1)->SetTextColour((wxColour const &)*arg2);
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 Py_INCREF(Py_None); resultobj = Py_None;
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj;
9308 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9309 wxColour *arg2 = 0 ;
9310 wxColour temp2 ;
9311 PyObject * obj0 = 0 ;
9312 PyObject * obj1 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self",(char *) "colour", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
9318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9319 {
9320 arg2 = &temp2;
9321 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9322 }
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 Py_INCREF(Py_None); resultobj = Py_None;
9331 return resultobj;
9332 fail:
9333 return NULL;
9334 }
9335
9336
9337 static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9340 int arg2 ;
9341 PyObject * obj0 = 0 ;
9342 char *kwnames[] = {
9343 (char *) "self",(char *) "mode", NULL
9344 };
9345
9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
9347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 (arg1)->SetBackgroundMode(arg2);
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 Py_INCREF(Py_None); resultobj = Py_None;
9356 return resultobj;
9357 fail:
9358 return NULL;
9359 }
9360
9361
9362 static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
9363 PyObject *obj;
9364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9365 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
9366 Py_INCREF(obj);
9367 return Py_BuildValue((char *)"");
9368 }
9369 static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9370 PyObject *resultobj;
9371 double arg1 = (double) 0.0 ;
9372 double arg2 = (double) 0.0 ;
9373 wxPyRectangleShape *result;
9374 char *kwnames[] = {
9375 (char *) "width",(char *) "height", NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyRectangleShape",kwnames,&arg1,&arg2)) goto fail;
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyRectangleShape, 1);
9387 return resultobj;
9388 fail:
9389 return NULL;
9390 }
9391
9392
9393 static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9394 PyObject *resultobj;
9395 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9396 PyObject *arg2 = (PyObject *) 0 ;
9397 PyObject *arg3 = (PyObject *) 0 ;
9398 PyObject * obj0 = 0 ;
9399 PyObject * obj1 = 0 ;
9400 PyObject * obj2 = 0 ;
9401 char *kwnames[] = {
9402 (char *) "self",(char *) "self",(char *) "_class", NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9407 arg2 = obj1;
9408 arg3 = obj2;
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 (arg1)->_setCallbackInfo(arg2,arg3);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 Py_INCREF(Py_None); resultobj = Py_None;
9417 return resultobj;
9418 fail:
9419 return NULL;
9420 }
9421
9422
9423 static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
9424 PyObject *resultobj;
9425 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9426 double arg2 ;
9427 PyObject * obj0 = 0 ;
9428 char *kwnames[] = {
9429 (char *) "self",(char *) "radius", NULL
9430 };
9431
9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
9433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 (arg1)->SetCornerRadius(arg2);
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 Py_INCREF(Py_None); resultobj = Py_None;
9442 return resultobj;
9443 fail:
9444 return NULL;
9445 }
9446
9447
9448 static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj;
9450 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9451 double result;
9452 PyObject * obj0 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "self", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
9458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 result = (double)(arg1)->GetCornerRadius();
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 resultobj = PyFloat_FromDouble(result);
9467 return resultobj;
9468 fail:
9469 return NULL;
9470 }
9471
9472
9473 static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9474 PyObject *resultobj;
9475 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9476 PyObject * obj0 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
9482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 (arg1)->base_OnDelete();
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 Py_INCREF(Py_None); resultobj = Py_None;
9491 return resultobj;
9492 fail:
9493 return NULL;
9494 }
9495
9496
9497 static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj;
9499 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9500 wxDC *arg2 = 0 ;
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self",(char *) "dc", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
9508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9510 if (arg2 == NULL) {
9511 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9512 }
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 (arg1)->base_OnDraw(*arg2);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 Py_INCREF(Py_None); resultobj = Py_None;
9521 return resultobj;
9522 fail:
9523 return NULL;
9524 }
9525
9526
9527 static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj;
9529 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9530 wxDC *arg2 = 0 ;
9531 PyObject * obj0 = 0 ;
9532 PyObject * obj1 = 0 ;
9533 char *kwnames[] = {
9534 (char *) "self",(char *) "dc", NULL
9535 };
9536
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
9538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9540 if (arg2 == NULL) {
9541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9542 }
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 (arg1)->base_OnDrawContents(*arg2);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 Py_INCREF(Py_None); resultobj = Py_None;
9551 return resultobj;
9552 fail:
9553 return NULL;
9554 }
9555
9556
9557 static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9560 wxDC *arg2 = 0 ;
9561 bool arg3 = (bool) FALSE ;
9562 PyObject * obj0 = 0 ;
9563 PyObject * obj1 = 0 ;
9564 PyObject * obj2 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self",(char *) "dc",(char *) "erase", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9572 if (arg2 == NULL) {
9573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9574 }
9575 if (obj2) {
9576 {
9577 arg3 = (bool) SPyObj_AsBool(obj2);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 }
9581 {
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 (arg1)->base_OnDrawBranches(*arg2,arg3);
9584
9585 wxPyEndAllowThreads(__tstate);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 }
9588 Py_INCREF(Py_None); resultobj = Py_None;
9589 return resultobj;
9590 fail:
9591 return NULL;
9592 }
9593
9594
9595 static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj;
9597 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9598 wxDC *arg2 = 0 ;
9599 PyObject * obj0 = 0 ;
9600 PyObject * obj1 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "dc", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9608 if (arg2 == NULL) {
9609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->base_OnMoveLinks(*arg2);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9628 wxDC *arg2 = 0 ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self",(char *) "dc", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9638 if (arg2 == NULL) {
9639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9640 }
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 (arg1)->base_OnErase(*arg2);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 Py_INCREF(Py_None); resultobj = Py_None;
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj;
9657 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9658 wxDC *arg2 = 0 ;
9659 PyObject * obj0 = 0 ;
9660 PyObject * obj1 = 0 ;
9661 char *kwnames[] = {
9662 (char *) "self",(char *) "dc", NULL
9663 };
9664
9665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
9666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668 if (arg2 == NULL) {
9669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9670 }
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 (arg1)->base_OnEraseContents(*arg2);
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 Py_INCREF(Py_None); resultobj = Py_None;
9679 return resultobj;
9680 fail:
9681 return NULL;
9682 }
9683
9684
9685 static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9688 wxDC *arg2 = 0 ;
9689 PyObject * obj0 = 0 ;
9690 PyObject * obj1 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self",(char *) "dc", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
9696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9698 if (arg2 == NULL) {
9699 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9700 }
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 (arg1)->base_OnHighlight(*arg2);
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 Py_INCREF(Py_None); resultobj = Py_None;
9709 return resultobj;
9710 fail:
9711 return NULL;
9712 }
9713
9714
9715 static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9718 double arg2 ;
9719 double arg3 ;
9720 int arg4 = (int) 0 ;
9721 int arg5 = (int) 0 ;
9722 PyObject * obj0 = 0 ;
9723 char *kwnames[] = {
9724 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9725 };
9726
9727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 Py_INCREF(Py_None); resultobj = Py_None;
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9746 double arg2 ;
9747 double arg3 ;
9748 int arg4 = (int) 0 ;
9749 int arg5 = (int) 0 ;
9750 PyObject * obj0 = 0 ;
9751 char *kwnames[] = {
9752 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9753 };
9754
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 Py_INCREF(Py_None); resultobj = Py_None;
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9774 double arg2 ;
9775 double arg3 ;
9776 int arg4 = (int) 0 ;
9777 int arg5 = (int) 0 ;
9778 PyObject * obj0 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
9788
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 }
9792 Py_INCREF(Py_None); resultobj = Py_None;
9793 return resultobj;
9794 fail:
9795 return NULL;
9796 }
9797
9798
9799 static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9800 PyObject *resultobj;
9801 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9802 double arg2 ;
9803 double arg3 ;
9804 PyObject * obj0 = 0 ;
9805 char *kwnames[] = {
9806 (char *) "self",(char *) "x",(char *) "y", NULL
9807 };
9808
9809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 (arg1)->base_OnSize(arg2,arg3);
9814
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 Py_INCREF(Py_None); resultobj = Py_None;
9819 return resultobj;
9820 fail:
9821 return NULL;
9822 }
9823
9824
9825 static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9826 PyObject *resultobj;
9827 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9828 wxDC *arg2 = 0 ;
9829 double arg3 ;
9830 double arg4 ;
9831 double arg5 ;
9832 double arg6 ;
9833 bool arg7 = (bool) True ;
9834 bool result;
9835 PyObject * obj0 = 0 ;
9836 PyObject * obj1 = 0 ;
9837 PyObject * obj6 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 if (arg2 == NULL) {
9846 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9847 }
9848 if (obj6) {
9849 {
9850 arg7 = (bool) SPyObj_AsBool(obj6);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 }
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
9857
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 resultobj = PyInt_FromLong((long)result);
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9871 wxDC *arg2 = 0 ;
9872 double arg3 ;
9873 double arg4 ;
9874 double arg5 ;
9875 double arg6 ;
9876 bool arg7 = (bool) True ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj1 = 0 ;
9879 PyObject * obj6 = 0 ;
9880 char *kwnames[] = {
9881 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9882 };
9883
9884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9887 if (arg2 == NULL) {
9888 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9889 }
9890 if (obj6) {
9891 {
9892 arg7 = (bool) SPyObj_AsBool(obj6);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 }
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 Py_INCREF(Py_None); resultobj = Py_None;
9904 return resultobj;
9905 fail:
9906 return NULL;
9907 }
9908
9909
9910 static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj;
9912 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9913 bool arg2 ;
9914 double arg3 ;
9915 double arg4 ;
9916 int arg5 = (int) 0 ;
9917 int arg6 = (int) 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9926 {
9927 arg2 = (bool) SPyObj_AsBool(obj1);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 Py_INCREF(Py_None); resultobj = Py_None;
9938 return resultobj;
9939 fail:
9940 return NULL;
9941 }
9942
9943
9944 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9945 PyObject *resultobj;
9946 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9947 double arg2 ;
9948 double arg3 ;
9949 int arg4 = (int) 0 ;
9950 int arg5 = (int) 0 ;
9951 PyObject * obj0 = 0 ;
9952 char *kwnames[] = {
9953 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 Py_INCREF(Py_None); resultobj = Py_None;
9966 return resultobj;
9967 fail:
9968 return NULL;
9969 }
9970
9971
9972 static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9973 PyObject *resultobj;
9974 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9975 double arg2 ;
9976 double arg3 ;
9977 int arg4 = (int) 0 ;
9978 int arg5 = (int) 0 ;
9979 PyObject * obj0 = 0 ;
9980 char *kwnames[] = {
9981 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9982 };
9983
9984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 Py_INCREF(Py_None); resultobj = Py_None;
9994 return resultobj;
9995 fail:
9996 return NULL;
9997 }
9998
9999
10000 static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj;
10002 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10003 bool arg2 ;
10004 double arg3 ;
10005 double arg4 ;
10006 int arg5 = (int) 0 ;
10007 int arg6 = (int) 0 ;
10008 PyObject * obj0 = 0 ;
10009 PyObject * obj1 = 0 ;
10010 char *kwnames[] = {
10011 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10012 };
10013
10014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10016 {
10017 arg2 = (bool) SPyObj_AsBool(obj1);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 Py_INCREF(Py_None); resultobj = Py_None;
10028 return resultobj;
10029 fail:
10030 return NULL;
10031 }
10032
10033
10034 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj;
10036 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10037 double arg2 ;
10038 double arg3 ;
10039 int arg4 = (int) 0 ;
10040 int arg5 = (int) 0 ;
10041 PyObject * obj0 = 0 ;
10042 char *kwnames[] = {
10043 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
10051
10052 wxPyEndAllowThreads(__tstate);
10053 if (PyErr_Occurred()) SWIG_fail;
10054 }
10055 Py_INCREF(Py_None); resultobj = Py_None;
10056 return resultobj;
10057 fail:
10058 return NULL;
10059 }
10060
10061
10062 static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj;
10064 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10065 double arg2 ;
10066 double arg3 ;
10067 int arg4 = (int) 0 ;
10068 int arg5 = (int) 0 ;
10069 PyObject * obj0 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 Py_INCREF(Py_None); resultobj = Py_None;
10084 return resultobj;
10085 fail:
10086 return NULL;
10087 }
10088
10089
10090 static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10093 wxDC *arg2 = 0 ;
10094 double arg3 ;
10095 double arg4 ;
10096 double arg5 ;
10097 double arg6 ;
10098 PyObject * obj0 = 0 ;
10099 PyObject * obj1 = 0 ;
10100 char *kwnames[] = {
10101 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10102 };
10103
10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10107 if (arg2 == NULL) {
10108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10109 }
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 Py_INCREF(Py_None); resultobj = Py_None;
10118 return resultobj;
10119 fail:
10120 return NULL;
10121 }
10122
10123
10124 static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10125 PyObject *resultobj;
10126 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10127 wxDC *arg2 = 0 ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self",(char *) "dc", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
10135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10137 if (arg2 == NULL) {
10138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10139 }
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 (arg1)->base_OnDrawControlPoints(*arg2);
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 Py_INCREF(Py_None); resultobj = Py_None;
10148 return resultobj;
10149 fail:
10150 return NULL;
10151 }
10152
10153
10154 static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10157 wxDC *arg2 = 0 ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 char *kwnames[] = {
10161 (char *) "self",(char *) "dc", NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
10165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10167 if (arg2 == NULL) {
10168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10169 }
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 (arg1)->base_OnEraseControlPoints(*arg2);
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 Py_INCREF(Py_None); resultobj = Py_None;
10178 return resultobj;
10179 fail:
10180 return NULL;
10181 }
10182
10183
10184 static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10185 PyObject *resultobj;
10186 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10187 wxDC *arg2 = 0 ;
10188 bool arg3 = (bool) True ;
10189 PyObject * obj0 = 0 ;
10190 PyObject * obj1 = 0 ;
10191 PyObject * obj2 = 0 ;
10192 char *kwnames[] = {
10193 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10194 };
10195
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
10197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10199 if (arg2 == NULL) {
10200 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10201 }
10202 if (obj2) {
10203 {
10204 arg3 = (bool) SPyObj_AsBool(obj2);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 }
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->base_OnMoveLink(*arg2,arg3);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10225 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10226 bool arg3 ;
10227 double arg4 ;
10228 double arg5 ;
10229 int arg6 = (int) 0 ;
10230 int arg7 = (int) 0 ;
10231 PyObject * obj0 = 0 ;
10232 PyObject * obj1 = 0 ;
10233 PyObject * obj2 = 0 ;
10234 char *kwnames[] = {
10235 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10236 };
10237
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
10239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10241 {
10242 arg3 = (bool) SPyObj_AsBool(obj2);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
10252 Py_INCREF(Py_None); resultobj = Py_None;
10253 return resultobj;
10254 fail:
10255 return NULL;
10256 }
10257
10258
10259 static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject *resultobj;
10261 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10262 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10263 double arg3 ;
10264 double arg4 ;
10265 int arg5 = (int) 0 ;
10266 int arg6 = (int) 0 ;
10267 PyObject * obj0 = 0 ;
10268 PyObject * obj1 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 Py_INCREF(Py_None); resultobj = Py_None;
10284 return resultobj;
10285 fail:
10286 return NULL;
10287 }
10288
10289
10290 static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj;
10292 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10293 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10294 double arg3 ;
10295 double arg4 ;
10296 int arg5 = (int) 0 ;
10297 int arg6 = (int) 0 ;
10298 PyObject * obj0 = 0 ;
10299 PyObject * obj1 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 Py_INCREF(Py_None); resultobj = Py_None;
10315 return resultobj;
10316 fail:
10317 return NULL;
10318 }
10319
10320
10321 static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10324 double arg2 ;
10325 double arg3 ;
10326 PyObject * obj0 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "w",(char *) "h", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 (arg1)->base_OnBeginSize(arg2,arg3);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 Py_INCREF(Py_None); resultobj = Py_None;
10341 return resultobj;
10342 fail:
10343 return NULL;
10344 }
10345
10346
10347 static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj;
10349 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10350 double arg2 ;
10351 double arg3 ;
10352 PyObject * obj0 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self",(char *) "w",(char *) "h", NULL
10355 };
10356
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 (arg1)->base_OnEndSize(arg2,arg3);
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 Py_INCREF(Py_None); resultobj = Py_None;
10367 return resultobj;
10368 fail:
10369 return NULL;
10370 }
10371
10372
10373 static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
10374 PyObject *obj;
10375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10376 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
10377 Py_INCREF(obj);
10378 return Py_BuildValue((char *)"");
10379 }
10380 static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10381 PyObject *resultobj;
10382 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
10383 wxPyShape *arg2 = (wxPyShape *) NULL ;
10384 double arg3 = (double) 0.0 ;
10385 double arg4 = (double) 0.0 ;
10386 double arg5 = (double) 0.0 ;
10387 int arg6 = (int) 0 ;
10388 wxPyControlPoint *result;
10389 PyObject * obj0 = 0 ;
10390 PyObject * obj1 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOdddi:new_PyControlPoint",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10396 if (obj0) {
10397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10398 }
10399 if (obj1) {
10400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10401 }
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControlPoint, 1);
10410 return resultobj;
10411 fail:
10412 return NULL;
10413 }
10414
10415
10416 static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj;
10418 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10419 PyObject *arg2 = (PyObject *) 0 ;
10420 PyObject *arg3 = (PyObject *) 0 ;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 PyObject * obj2 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self",(char *) "self",(char *) "_class", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10430 arg2 = obj1;
10431 arg3 = obj2;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->_setCallbackInfo(arg2,arg3);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10449 double arg2 ;
10450 PyObject * obj0 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self",(char *) "radius", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
10456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 (arg1)->SetCornerRadius(arg2);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 Py_INCREF(Py_None); resultobj = Py_None;
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10474 PyObject * obj0 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "self", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
10480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 (arg1)->base_OnDelete();
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 Py_INCREF(Py_None); resultobj = Py_None;
10489 return resultobj;
10490 fail:
10491 return NULL;
10492 }
10493
10494
10495 static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
10496 PyObject *resultobj;
10497 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10498 wxDC *arg2 = 0 ;
10499 PyObject * obj0 = 0 ;
10500 PyObject * obj1 = 0 ;
10501 char *kwnames[] = {
10502 (char *) "self",(char *) "dc", NULL
10503 };
10504
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10508 if (arg2 == NULL) {
10509 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10510 }
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 (arg1)->base_OnDraw(*arg2);
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 Py_INCREF(Py_None); resultobj = Py_None;
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10528 wxDC *arg2 = 0 ;
10529 PyObject * obj0 = 0 ;
10530 PyObject * obj1 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "self",(char *) "dc", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10538 if (arg2 == NULL) {
10539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10540 }
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 (arg1)->base_OnDrawContents(*arg2);
10544
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 Py_INCREF(Py_None); resultobj = Py_None;
10549 return resultobj;
10550 fail:
10551 return NULL;
10552 }
10553
10554
10555 static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10558 wxDC *arg2 = 0 ;
10559 bool arg3 = (bool) FALSE ;
10560 PyObject * obj0 = 0 ;
10561 PyObject * obj1 = 0 ;
10562 PyObject * obj2 = 0 ;
10563 char *kwnames[] = {
10564 (char *) "self",(char *) "dc",(char *) "erase", NULL
10565 };
10566
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10570 if (arg2 == NULL) {
10571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10572 }
10573 if (obj2) {
10574 {
10575 arg3 = (bool) SPyObj_AsBool(obj2);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 }
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 (arg1)->base_OnDrawBranches(*arg2,arg3);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 Py_INCREF(Py_None); resultobj = Py_None;
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10596 wxDC *arg2 = 0 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "dc", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 if (arg2 == NULL) {
10607 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10608 }
10609 {
10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
10611 (arg1)->base_OnMoveLinks(*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
10623 static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10624 PyObject *resultobj;
10625 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10626 wxDC *arg2 = 0 ;
10627 PyObject * obj0 = 0 ;
10628 PyObject * obj1 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self",(char *) "dc", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10636 if (arg2 == NULL) {
10637 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10638 }
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 (arg1)->base_OnErase(*arg2);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 Py_INCREF(Py_None); resultobj = Py_None;
10647 return resultobj;
10648 fail:
10649 return NULL;
10650 }
10651
10652
10653 static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj;
10655 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10656 wxDC *arg2 = 0 ;
10657 PyObject * obj0 = 0 ;
10658 PyObject * obj1 = 0 ;
10659 char *kwnames[] = {
10660 (char *) "self",(char *) "dc", NULL
10661 };
10662
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 if (arg2 == NULL) {
10667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 (arg1)->base_OnEraseContents(*arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 Py_INCREF(Py_None); resultobj = Py_None;
10677 return resultobj;
10678 fail:
10679 return NULL;
10680 }
10681
10682
10683 static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10684 PyObject *resultobj;
10685 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10686 wxDC *arg2 = 0 ;
10687 PyObject * obj0 = 0 ;
10688 PyObject * obj1 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self",(char *) "dc", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10696 if (arg2 == NULL) {
10697 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10698 }
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 (arg1)->base_OnHighlight(*arg2);
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 Py_INCREF(Py_None); resultobj = Py_None;
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10714 PyObject *resultobj;
10715 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10716 double arg2 ;
10717 double arg3 ;
10718 int arg4 = (int) 0 ;
10719 int arg5 = (int) 0 ;
10720 PyObject * obj0 = 0 ;
10721 char *kwnames[] = {
10722 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10723 };
10724
10725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
10730
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 Py_INCREF(Py_None); resultobj = Py_None;
10735 return resultobj;
10736 fail:
10737 return NULL;
10738 }
10739
10740
10741 static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10742 PyObject *resultobj;
10743 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10744 double arg2 ;
10745 double arg3 ;
10746 int arg4 = (int) 0 ;
10747 int arg5 = (int) 0 ;
10748 PyObject * obj0 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10755 {
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
10757 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
10758
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 Py_INCREF(Py_None); resultobj = Py_None;
10763 return resultobj;
10764 fail:
10765 return NULL;
10766 }
10767
10768
10769 static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj;
10771 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10772 double arg2 ;
10773 double arg3 ;
10774 int arg4 = (int) 0 ;
10775 int arg5 = (int) 0 ;
10776 PyObject * obj0 = 0 ;
10777 char *kwnames[] = {
10778 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10779 };
10780
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 Py_INCREF(Py_None); resultobj = Py_None;
10791 return resultobj;
10792 fail:
10793 return NULL;
10794 }
10795
10796
10797 static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10798 PyObject *resultobj;
10799 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10800 double arg2 ;
10801 double arg3 ;
10802 PyObject * obj0 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self",(char *) "x",(char *) "y", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 (arg1)->base_OnSize(arg2,arg3);
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 Py_INCREF(Py_None); resultobj = Py_None;
10817 return resultobj;
10818 fail:
10819 return NULL;
10820 }
10821
10822
10823 static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj;
10825 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10826 wxDC *arg2 = 0 ;
10827 double arg3 ;
10828 double arg4 ;
10829 double arg5 ;
10830 double arg6 ;
10831 bool arg7 = (bool) True ;
10832 bool result;
10833 PyObject * obj0 = 0 ;
10834 PyObject * obj1 = 0 ;
10835 PyObject * obj6 = 0 ;
10836 char *kwnames[] = {
10837 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10838 };
10839
10840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10843 if (arg2 == NULL) {
10844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10845 }
10846 if (obj6) {
10847 {
10848 arg7 = (bool) SPyObj_AsBool(obj6);
10849 if (PyErr_Occurred()) SWIG_fail;
10850 }
10851 }
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 resultobj = PyInt_FromLong((long)result);
10860 return resultobj;
10861 fail:
10862 return NULL;
10863 }
10864
10865
10866 static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10869 wxDC *arg2 = 0 ;
10870 double arg3 ;
10871 double arg4 ;
10872 double arg5 ;
10873 double arg6 ;
10874 bool arg7 = (bool) True ;
10875 PyObject * obj0 = 0 ;
10876 PyObject * obj1 = 0 ;
10877 PyObject * obj6 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10885 if (arg2 == NULL) {
10886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10887 }
10888 if (obj6) {
10889 {
10890 arg7 = (bool) SPyObj_AsBool(obj6);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 }
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 Py_INCREF(Py_None); resultobj = Py_None;
10902 return resultobj;
10903 fail:
10904 return NULL;
10905 }
10906
10907
10908 static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10909 PyObject *resultobj;
10910 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10911 bool arg2 ;
10912 double arg3 ;
10913 double arg4 ;
10914 int arg5 = (int) 0 ;
10915 int arg6 = (int) 0 ;
10916 PyObject * obj0 = 0 ;
10917 PyObject * obj1 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10924 {
10925 arg2 = (bool) SPyObj_AsBool(obj1);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 Py_INCREF(Py_None); resultobj = Py_None;
10936 return resultobj;
10937 fail:
10938 return NULL;
10939 }
10940
10941
10942 static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10945 double arg2 ;
10946 double arg3 ;
10947 int arg4 = (int) 0 ;
10948 int arg5 = (int) 0 ;
10949 PyObject * obj0 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 Py_INCREF(Py_None); resultobj = Py_None;
10964 return resultobj;
10965 fail:
10966 return NULL;
10967 }
10968
10969
10970 static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj;
10972 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10973 double arg2 ;
10974 double arg3 ;
10975 int arg4 = (int) 0 ;
10976 int arg5 = (int) 0 ;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 Py_INCREF(Py_None); resultobj = Py_None;
10992 return resultobj;
10993 fail:
10994 return NULL;
10995 }
10996
10997
10998 static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10999 PyObject *resultobj;
11000 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11001 bool arg2 ;
11002 double arg3 ;
11003 double arg4 ;
11004 int arg5 = (int) 0 ;
11005 int arg6 = (int) 0 ;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11014 {
11015 arg2 = (bool) SPyObj_AsBool(obj1);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11021
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 Py_INCREF(Py_None); resultobj = Py_None;
11026 return resultobj;
11027 fail:
11028 return NULL;
11029 }
11030
11031
11032 static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj;
11034 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11035 double arg2 ;
11036 double arg3 ;
11037 int arg4 = (int) 0 ;
11038 int arg5 = (int) 0 ;
11039 PyObject * obj0 = 0 ;
11040 char *kwnames[] = {
11041 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11042 };
11043
11044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11046 {
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
11048 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11049
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 Py_INCREF(Py_None); resultobj = Py_None;
11054 return resultobj;
11055 fail:
11056 return NULL;
11057 }
11058
11059
11060 static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj;
11062 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11063 double arg2 ;
11064 double arg3 ;
11065 int arg4 = (int) 0 ;
11066 int arg5 = (int) 0 ;
11067 PyObject * obj0 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 Py_INCREF(Py_None); resultobj = Py_None;
11082 return resultobj;
11083 fail:
11084 return NULL;
11085 }
11086
11087
11088 static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj;
11090 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11091 wxDC *arg2 = 0 ;
11092 double arg3 ;
11093 double arg4 ;
11094 double arg5 ;
11095 double arg6 ;
11096 PyObject * obj0 = 0 ;
11097 PyObject * obj1 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 if (arg2 == NULL) {
11106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11107 }
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11111
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 Py_INCREF(Py_None); resultobj = Py_None;
11116 return resultobj;
11117 fail:
11118 return NULL;
11119 }
11120
11121
11122 static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj;
11124 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11125 wxDC *arg2 = 0 ;
11126 PyObject * obj0 = 0 ;
11127 PyObject * obj1 = 0 ;
11128 char *kwnames[] = {
11129 (char *) "self",(char *) "dc", NULL
11130 };
11131
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11135 if (arg2 == NULL) {
11136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11137 }
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 (arg1)->base_OnDrawControlPoints(*arg2);
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 Py_INCREF(Py_None); resultobj = Py_None;
11146 return resultobj;
11147 fail:
11148 return NULL;
11149 }
11150
11151
11152 static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj;
11154 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11155 wxDC *arg2 = 0 ;
11156 PyObject * obj0 = 0 ;
11157 PyObject * obj1 = 0 ;
11158 char *kwnames[] = {
11159 (char *) "self",(char *) "dc", NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11165 if (arg2 == NULL) {
11166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11167 }
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 (arg1)->base_OnEraseControlPoints(*arg2);
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 Py_INCREF(Py_None); resultobj = Py_None;
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11185 wxDC *arg2 = 0 ;
11186 bool arg3 = (bool) True ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11197 if (arg2 == NULL) {
11198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11199 }
11200 if (obj2) {
11201 {
11202 arg3 = (bool) SPyObj_AsBool(obj2);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 }
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 (arg1)->base_OnMoveLink(*arg2,arg3);
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 Py_INCREF(Py_None); resultobj = Py_None;
11214 return resultobj;
11215 fail:
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11223 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11224 bool arg3 ;
11225 double arg4 ;
11226 double arg5 ;
11227 int arg6 = (int) 0 ;
11228 int arg7 = (int) 0 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
11237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11239 {
11240 arg3 = (bool) SPyObj_AsBool(obj2);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 Py_INCREF(Py_None); resultobj = Py_None;
11251 return resultobj;
11252 fail:
11253 return NULL;
11254 }
11255
11256
11257 static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11258 PyObject *resultobj;
11259 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11260 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11261 double arg3 ;
11262 double arg4 ;
11263 int arg5 = (int) 0 ;
11264 int arg6 = (int) 0 ;
11265 PyObject * obj0 = 0 ;
11266 PyObject * obj1 = 0 ;
11267 char *kwnames[] = {
11268 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11269 };
11270
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 Py_INCREF(Py_None); resultobj = Py_None;
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11291 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11292 double arg3 ;
11293 double arg4 ;
11294 int arg5 = (int) 0 ;
11295 int arg6 = (int) 0 ;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11308
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 Py_INCREF(Py_None); resultobj = Py_None;
11313 return resultobj;
11314 fail:
11315 return NULL;
11316 }
11317
11318
11319 static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11320 PyObject *resultobj;
11321 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11322 double arg2 ;
11323 double arg3 ;
11324 PyObject * obj0 = 0 ;
11325 char *kwnames[] = {
11326 (char *) "self",(char *) "w",(char *) "h", NULL
11327 };
11328
11329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11331 {
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 (arg1)->base_OnBeginSize(arg2,arg3);
11334
11335 wxPyEndAllowThreads(__tstate);
11336 if (PyErr_Occurred()) SWIG_fail;
11337 }
11338 Py_INCREF(Py_None); resultobj = Py_None;
11339 return resultobj;
11340 fail:
11341 return NULL;
11342 }
11343
11344
11345 static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11346 PyObject *resultobj;
11347 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11348 double arg2 ;
11349 double arg3 ;
11350 PyObject * obj0 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self",(char *) "w",(char *) "h", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 (arg1)->base_OnEndSize(arg2,arg3);
11360
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 Py_INCREF(Py_None); resultobj = Py_None;
11365 return resultobj;
11366 fail:
11367 return NULL;
11368 }
11369
11370
11371 static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
11372 PyObject *obj;
11373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11374 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
11375 Py_INCREF(obj);
11376 return Py_BuildValue((char *)"");
11377 }
11378 static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj;
11380 wxPyBitmapShape *result;
11381 char *kwnames[] = {
11382 NULL
11383 };
11384
11385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 result = (wxPyBitmapShape *)new wxPyBitmapShape();
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapShape, 1);
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11403 PyObject *arg2 = (PyObject *) 0 ;
11404 PyObject *arg3 = (PyObject *) 0 ;
11405 PyObject * obj0 = 0 ;
11406 PyObject * obj1 = 0 ;
11407 PyObject * obj2 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self",(char *) "self",(char *) "_class", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11414 arg2 = obj1;
11415 arg3 = obj2;
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 (arg1)->_setCallbackInfo(arg2,arg3);
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 Py_INCREF(Py_None); resultobj = Py_None;
11424 return resultobj;
11425 fail:
11426 return NULL;
11427 }
11428
11429
11430 static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11431 PyObject *resultobj;
11432 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11433 wxBitmap *result;
11434 PyObject * obj0 = 0 ;
11435 char *kwnames[] = {
11436 (char *) "self", NULL
11437 };
11438
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
11440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 {
11444 wxBitmap &_result_ref = (arg1)->GetBitmap();
11445 result = (wxBitmap *) &_result_ref;
11446 }
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj;
11460 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11461 wxString result;
11462 PyObject * obj0 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 result = (arg1)->GetFilename();
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 {
11477 #if wxUSE_UNICODE
11478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11479 #else
11480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11481 #endif
11482 }
11483 return resultobj;
11484 fail:
11485 return NULL;
11486 }
11487
11488
11489 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj;
11491 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11492 wxBitmap *arg2 = 0 ;
11493 PyObject * obj0 = 0 ;
11494 PyObject * obj1 = 0 ;
11495 char *kwnames[] = {
11496 (char *) "self",(char *) "bitmap", NULL
11497 };
11498
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
11500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11502 if (arg2 == NULL) {
11503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11504 }
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 (arg1)->SetBitmap((wxBitmap const &)*arg2);
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
11519 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11520 PyObject *resultobj;
11521 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11522 wxString *arg2 = 0 ;
11523 bool temp2 = False ;
11524 PyObject * obj0 = 0 ;
11525 PyObject * obj1 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self",(char *) "filename", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11532 {
11533 arg2 = wxString_in_helper(obj1);
11534 if (arg2 == NULL) SWIG_fail;
11535 temp2 = True;
11536 }
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 (arg1)->SetFilename((wxString const &)*arg2);
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 Py_INCREF(Py_None); resultobj = Py_None;
11545 {
11546 if (temp2)
11547 delete arg2;
11548 }
11549 return resultobj;
11550 fail:
11551 {
11552 if (temp2)
11553 delete arg2;
11554 }
11555 return NULL;
11556 }
11557
11558
11559 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11560 PyObject *resultobj;
11561 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11562 PyObject * obj0 = 0 ;
11563 char *kwnames[] = {
11564 (char *) "self", NULL
11565 };
11566
11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
11568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11569 {
11570 PyThreadState* __tstate = wxPyBeginAllowThreads();
11571 (arg1)->base_OnDelete();
11572
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 Py_INCREF(Py_None); resultobj = Py_None;
11577 return resultobj;
11578 fail:
11579 return NULL;
11580 }
11581
11582
11583 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11586 wxDC *arg2 = 0 ;
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "dc", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
11594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11596 if (arg2 == NULL) {
11597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11598 }
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 (arg1)->base_OnDraw(*arg2);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 Py_INCREF(Py_None); resultobj = Py_None;
11607 return resultobj;
11608 fail:
11609 return NULL;
11610 }
11611
11612
11613 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11616 wxDC *arg2 = 0 ;
11617 PyObject * obj0 = 0 ;
11618 PyObject * obj1 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self",(char *) "dc", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
11624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11626 if (arg2 == NULL) {
11627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11628 }
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 (arg1)->base_OnDrawContents(*arg2);
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 Py_INCREF(Py_None); resultobj = Py_None;
11637 return resultobj;
11638 fail:
11639 return NULL;
11640 }
11641
11642
11643 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj;
11645 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11646 wxDC *arg2 = 0 ;
11647 bool arg3 = (bool) FALSE ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 PyObject * obj2 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self",(char *) "dc",(char *) "erase", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
11656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11658 if (arg2 == NULL) {
11659 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11660 }
11661 if (obj2) {
11662 {
11663 arg3 = (bool) SPyObj_AsBool(obj2);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 }
11667 {
11668 PyThreadState* __tstate = wxPyBeginAllowThreads();
11669 (arg1)->base_OnDrawBranches(*arg2,arg3);
11670
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 Py_INCREF(Py_None); resultobj = Py_None;
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11684 wxDC *arg2 = 0 ;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self",(char *) "dc", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
11692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11694 if (arg2 == NULL) {
11695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11696 }
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 (arg1)->base_OnMoveLinks(*arg2);
11700
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 Py_INCREF(Py_None); resultobj = Py_None;
11705 return resultobj;
11706 fail:
11707 return NULL;
11708 }
11709
11710
11711 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11714 wxDC *arg2 = 0 ;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
11717 char *kwnames[] = {
11718 (char *) "self",(char *) "dc", NULL
11719 };
11720
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
11722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11724 if (arg2 == NULL) {
11725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11726 }
11727 {
11728 PyThreadState* __tstate = wxPyBeginAllowThreads();
11729 (arg1)->base_OnErase(*arg2);
11730
11731 wxPyEndAllowThreads(__tstate);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 Py_INCREF(Py_None); resultobj = Py_None;
11735 return resultobj;
11736 fail:
11737 return NULL;
11738 }
11739
11740
11741 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11742 PyObject *resultobj;
11743 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11744 wxDC *arg2 = 0 ;
11745 PyObject * obj0 = 0 ;
11746 PyObject * obj1 = 0 ;
11747 char *kwnames[] = {
11748 (char *) "self",(char *) "dc", NULL
11749 };
11750
11751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
11752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11754 if (arg2 == NULL) {
11755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11756 }
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 (arg1)->base_OnEraseContents(*arg2);
11760
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 Py_INCREF(Py_None); resultobj = Py_None;
11765 return resultobj;
11766 fail:
11767 return NULL;
11768 }
11769
11770
11771 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj;
11773 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11774 wxDC *arg2 = 0 ;
11775 PyObject * obj0 = 0 ;
11776 PyObject * obj1 = 0 ;
11777 char *kwnames[] = {
11778 (char *) "self",(char *) "dc", NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
11782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11784 if (arg2 == NULL) {
11785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11786 }
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 (arg1)->base_OnHighlight(*arg2);
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 Py_INCREF(Py_None); resultobj = Py_None;
11795 return resultobj;
11796 fail:
11797 return NULL;
11798 }
11799
11800
11801 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj;
11803 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11804 double arg2 ;
11805 double arg3 ;
11806 int arg4 = (int) 0 ;
11807 int arg5 = (int) 0 ;
11808 PyObject * obj0 = 0 ;
11809 char *kwnames[] = {
11810 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11818
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
11822 Py_INCREF(Py_None); resultobj = Py_None;
11823 return resultobj;
11824 fail:
11825 return NULL;
11826 }
11827
11828
11829 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11830 PyObject *resultobj;
11831 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11832 double arg2 ;
11833 double arg3 ;
11834 int arg4 = (int) 0 ;
11835 int arg5 = (int) 0 ;
11836 PyObject * obj0 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 Py_INCREF(Py_None); resultobj = Py_None;
11851 return resultobj;
11852 fail:
11853 return NULL;
11854 }
11855
11856
11857 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj;
11859 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11860 double arg2 ;
11861 double arg3 ;
11862 int arg4 = (int) 0 ;
11863 int arg5 = (int) 0 ;
11864 PyObject * obj0 = 0 ;
11865 char *kwnames[] = {
11866 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11867 };
11868
11869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 Py_INCREF(Py_None); resultobj = Py_None;
11879 return resultobj;
11880 fail:
11881 return NULL;
11882 }
11883
11884
11885 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11886 PyObject *resultobj;
11887 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11888 double arg2 ;
11889 double arg3 ;
11890 PyObject * obj0 = 0 ;
11891 char *kwnames[] = {
11892 (char *) "self",(char *) "x",(char *) "y", NULL
11893 };
11894
11895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11897 {
11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
11899 (arg1)->base_OnSize(arg2,arg3);
11900
11901 wxPyEndAllowThreads(__tstate);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 Py_INCREF(Py_None); resultobj = Py_None;
11905 return resultobj;
11906 fail:
11907 return NULL;
11908 }
11909
11910
11911 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj;
11913 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11914 wxDC *arg2 = 0 ;
11915 double arg3 ;
11916 double arg4 ;
11917 double arg5 ;
11918 double arg6 ;
11919 bool arg7 = (bool) True ;
11920 bool result;
11921 PyObject * obj0 = 0 ;
11922 PyObject * obj1 = 0 ;
11923 PyObject * obj6 = 0 ;
11924 char *kwnames[] = {
11925 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11926 };
11927
11928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11931 if (arg2 == NULL) {
11932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11933 }
11934 if (obj6) {
11935 {
11936 arg7 = (bool) SPyObj_AsBool(obj6);
11937 if (PyErr_Occurred()) SWIG_fail;
11938 }
11939 }
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11943
11944 wxPyEndAllowThreads(__tstate);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 resultobj = PyInt_FromLong((long)result);
11948 return resultobj;
11949 fail:
11950 return NULL;
11951 }
11952
11953
11954 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj;
11956 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11957 wxDC *arg2 = 0 ;
11958 double arg3 ;
11959 double arg4 ;
11960 double arg5 ;
11961 double arg6 ;
11962 bool arg7 = (bool) True ;
11963 PyObject * obj0 = 0 ;
11964 PyObject * obj1 = 0 ;
11965 PyObject * obj6 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11973 if (arg2 == NULL) {
11974 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11975 }
11976 if (obj6) {
11977 {
11978 arg7 = (bool) SPyObj_AsBool(obj6);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 }
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11985
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 Py_INCREF(Py_None); resultobj = Py_None;
11990 return resultobj;
11991 fail:
11992 return NULL;
11993 }
11994
11995
11996 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj;
11998 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11999 bool arg2 ;
12000 double arg3 ;
12001 double arg4 ;
12002 int arg5 = (int) 0 ;
12003 int arg6 = (int) 0 ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char *kwnames[] = {
12007 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12008 };
12009
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
12011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12012 {
12013 arg2 = (bool) SPyObj_AsBool(obj1);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 Py_INCREF(Py_None); resultobj = Py_None;
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12033 double arg2 ;
12034 double arg3 ;
12035 int arg4 = (int) 0 ;
12036 int arg5 = (int) 0 ;
12037 PyObject * obj0 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 Py_INCREF(Py_None); resultobj = Py_None;
12052 return resultobj;
12053 fail:
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12061 double arg2 ;
12062 double arg3 ;
12063 int arg4 = (int) 0 ;
12064 int arg5 = (int) 0 ;
12065 PyObject * obj0 = 0 ;
12066 char *kwnames[] = {
12067 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12068 };
12069
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
12071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12072 {
12073 PyThreadState* __tstate = wxPyBeginAllowThreads();
12074 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12075
12076 wxPyEndAllowThreads(__tstate);
12077 if (PyErr_Occurred()) SWIG_fail;
12078 }
12079 Py_INCREF(Py_None); resultobj = Py_None;
12080 return resultobj;
12081 fail:
12082 return NULL;
12083 }
12084
12085
12086 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12087 PyObject *resultobj;
12088 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12089 bool arg2 ;
12090 double arg3 ;
12091 double arg4 ;
12092 int arg5 = (int) 0 ;
12093 int arg6 = (int) 0 ;
12094 PyObject * obj0 = 0 ;
12095 PyObject * obj1 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
12101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12102 {
12103 arg2 = (bool) SPyObj_AsBool(obj1);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 Py_INCREF(Py_None); resultobj = Py_None;
12114 return resultobj;
12115 fail:
12116 return NULL;
12117 }
12118
12119
12120 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12121 PyObject *resultobj;
12122 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12123 double arg2 ;
12124 double arg3 ;
12125 int arg4 = (int) 0 ;
12126 int arg5 = (int) 0 ;
12127 PyObject * obj0 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
12133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 Py_INCREF(Py_None); resultobj = Py_None;
12142 return resultobj;
12143 fail:
12144 return NULL;
12145 }
12146
12147
12148 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12149 PyObject *resultobj;
12150 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12151 double arg2 ;
12152 double arg3 ;
12153 int arg4 = (int) 0 ;
12154 int arg5 = (int) 0 ;
12155 PyObject * obj0 = 0 ;
12156 char *kwnames[] = {
12157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
12161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12162 {
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
12165
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 Py_INCREF(Py_None); resultobj = Py_None;
12170 return resultobj;
12171 fail:
12172 return NULL;
12173 }
12174
12175
12176 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12177 PyObject *resultobj;
12178 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12179 wxDC *arg2 = 0 ;
12180 double arg3 ;
12181 double arg4 ;
12182 double arg5 ;
12183 double arg6 ;
12184 PyObject * obj0 = 0 ;
12185 PyObject * obj1 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12193 if (arg2 == NULL) {
12194 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12195 }
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 Py_INCREF(Py_None); resultobj = Py_None;
12204 return resultobj;
12205 fail:
12206 return NULL;
12207 }
12208
12209
12210 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12211 PyObject *resultobj;
12212 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12213 wxDC *arg2 = 0 ;
12214 PyObject * obj0 = 0 ;
12215 PyObject * obj1 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self",(char *) "dc", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
12221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12223 if (arg2 == NULL) {
12224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12225 }
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 (arg1)->base_OnDrawControlPoints(*arg2);
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 Py_INCREF(Py_None); resultobj = Py_None;
12234 return resultobj;
12235 fail:
12236 return NULL;
12237 }
12238
12239
12240 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12241 PyObject *resultobj;
12242 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12243 wxDC *arg2 = 0 ;
12244 PyObject * obj0 = 0 ;
12245 PyObject * obj1 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self",(char *) "dc", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12253 if (arg2 == NULL) {
12254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12255 }
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 (arg1)->base_OnEraseControlPoints(*arg2);
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 Py_INCREF(Py_None); resultobj = Py_None;
12264 return resultobj;
12265 fail:
12266 return NULL;
12267 }
12268
12269
12270 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
12271 PyObject *resultobj;
12272 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12273 wxDC *arg2 = 0 ;
12274 bool arg3 = (bool) True ;
12275 PyObject * obj0 = 0 ;
12276 PyObject * obj1 = 0 ;
12277 PyObject * obj2 = 0 ;
12278 char *kwnames[] = {
12279 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
12283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12285 if (arg2 == NULL) {
12286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12287 }
12288 if (obj2) {
12289 {
12290 arg3 = (bool) SPyObj_AsBool(obj2);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 }
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 (arg1)->base_OnMoveLink(*arg2,arg3);
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 Py_INCREF(Py_None); resultobj = Py_None;
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12311 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
12312 bool arg3 ;
12313 double arg4 ;
12314 double arg5 ;
12315 int arg6 = (int) 0 ;
12316 int arg7 = (int) 0 ;
12317 PyObject * obj0 = 0 ;
12318 PyObject * obj1 = 0 ;
12319 PyObject * obj2 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
12325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12327 {
12328 arg3 = (bool) SPyObj_AsBool(obj2);
12329 if (PyErr_Occurred()) SWIG_fail;
12330 }
12331 {
12332 PyThreadState* __tstate = wxPyBeginAllowThreads();
12333 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
12334
12335 wxPyEndAllowThreads(__tstate);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 }
12338 Py_INCREF(Py_None); resultobj = Py_None;
12339 return resultobj;
12340 fail:
12341 return NULL;
12342 }
12343
12344
12345 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12346 PyObject *resultobj;
12347 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12348 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
12349 double arg3 ;
12350 double arg4 ;
12351 int arg5 = (int) 0 ;
12352 int arg6 = (int) 0 ;
12353 PyObject * obj0 = 0 ;
12354 PyObject * obj1 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
12360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 Py_INCREF(Py_None); resultobj = Py_None;
12370 return resultobj;
12371 fail:
12372 return NULL;
12373 }
12374
12375
12376 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj;
12378 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12379 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
12380 double arg3 ;
12381 double arg4 ;
12382 int arg5 = (int) 0 ;
12383 int arg6 = (int) 0 ;
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 Py_INCREF(Py_None); resultobj = Py_None;
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj;
12409 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12410 double arg2 ;
12411 double arg3 ;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self",(char *) "w",(char *) "h", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 (arg1)->base_OnBeginSize(arg2,arg3);
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 Py_INCREF(Py_None); resultobj = Py_None;
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12436 double arg2 ;
12437 double arg3 ;
12438 PyObject * obj0 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "self",(char *) "w",(char *) "h", NULL
12441 };
12442
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
12444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 (arg1)->base_OnEndSize(arg2,arg3);
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 Py_INCREF(Py_None); resultobj = Py_None;
12453 return resultobj;
12454 fail:
12455 return NULL;
12456 }
12457
12458
12459 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
12460 PyObject *obj;
12461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12462 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
12463 Py_INCREF(obj);
12464 return Py_BuildValue((char *)"");
12465 }
12466 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
12467 PyObject *resultobj;
12468 wxPyDrawnShape *result;
12469 char *kwnames[] = {
12470 NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (wxPyDrawnShape *)new wxPyDrawnShape();
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDrawnShape, 1);
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12491 PyObject *arg2 = (PyObject *) 0 ;
12492 PyObject *arg3 = (PyObject *) 0 ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 PyObject * obj2 = 0 ;
12496 char *kwnames[] = {
12497 (char *) "self",(char *) "self",(char *) "_class", NULL
12498 };
12499
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12502 arg2 = obj1;
12503 arg3 = obj2;
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 (arg1)->_setCallbackInfo(arg2,arg3);
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
12511 Py_INCREF(Py_None); resultobj = Py_None;
12512 return resultobj;
12513 fail:
12514 return NULL;
12515 }
12516
12517
12518 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12519 PyObject *resultobj;
12520 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12521 PyObject * obj0 = 0 ;
12522 char *kwnames[] = {
12523 (char *) "self", NULL
12524 };
12525
12526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
12527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12528 {
12529 PyThreadState* __tstate = wxPyBeginAllowThreads();
12530 (arg1)->CalculateSize();
12531
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 Py_INCREF(Py_None); resultobj = Py_None;
12536 return resultobj;
12537 fail:
12538 return NULL;
12539 }
12540
12541
12542 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12543 PyObject *resultobj;
12544 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "self", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
12551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 (arg1)->DestroyClippingRect();
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 Py_INCREF(Py_None); resultobj = Py_None;
12560 return resultobj;
12561 fail:
12562 return NULL;
12563 }
12564
12565
12566 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj;
12568 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12569 wxPoint *arg2 = 0 ;
12570 wxPoint *arg3 = 0 ;
12571 wxPoint *arg4 = 0 ;
12572 wxPoint temp2 ;
12573 wxPoint temp3 ;
12574 wxPoint temp4 ;
12575 PyObject * obj0 = 0 ;
12576 PyObject * obj1 = 0 ;
12577 PyObject * obj2 = 0 ;
12578 PyObject * obj3 = 0 ;
12579 char *kwnames[] = {
12580 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12581 };
12582
12583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12585 {
12586 arg2 = &temp2;
12587 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12588 }
12589 {
12590 arg3 = &temp3;
12591 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12592 }
12593 {
12594 arg4 = &temp4;
12595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12596 }
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 Py_INCREF(Py_None); resultobj = Py_None;
12605 return resultobj;
12606 fail:
12607 return NULL;
12608 }
12609
12610
12611 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12614 int arg2 ;
12615 PyObject * obj0 = 0 ;
12616 char *kwnames[] = {
12617 (char *) "self",(char *) "angle", NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&arg2)) goto fail;
12621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 (arg1)->DrawAtAngle(arg2);
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 Py_INCREF(Py_None); resultobj = Py_None;
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj;
12638 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12639 wxRect *arg2 = 0 ;
12640 double arg3 ;
12641 double arg4 ;
12642 wxRect temp2 ;
12643 PyObject * obj0 = 0 ;
12644 PyObject * obj1 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
12650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12651 {
12652 arg2 = &temp2;
12653 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12654 }
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666 }
12667
12668
12669 static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj;
12671 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12672 wxPoint *arg2 = 0 ;
12673 wxPoint *arg3 = 0 ;
12674 wxPoint temp2 ;
12675 wxPoint temp3 ;
12676 PyObject * obj0 = 0 ;
12677 PyObject * obj1 = 0 ;
12678 PyObject * obj2 = 0 ;
12679 char *kwnames[] = {
12680 (char *) "self",(char *) "point1",(char *) "point2", NULL
12681 };
12682
12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
12684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12685 {
12686 arg2 = &temp2;
12687 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12688 }
12689 {
12690 arg3 = &temp3;
12691 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12692 }
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 Py_INCREF(Py_None); resultobj = Py_None;
12701 return resultobj;
12702 fail:
12703 return NULL;
12704 }
12705
12706
12707 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
12708 PyObject *resultobj;
12709 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12710 int arg2 ;
12711 wxPoint *arg3 = (wxPoint *) 0 ;
12712 PyObject * obj0 = 0 ;
12713 PyObject * obj2 = 0 ;
12714 char *kwnames[] = {
12715 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12716 };
12717
12718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
12719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12720 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 (arg1)->DrawLines(arg2,arg3);
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 Py_INCREF(Py_None); resultobj = Py_None;
12729 return resultobj;
12730 fail:
12731 return NULL;
12732 }
12733
12734
12735 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
12736 PyObject *resultobj;
12737 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12738 wxPoint *arg2 = 0 ;
12739 wxPoint temp2 ;
12740 PyObject * obj0 = 0 ;
12741 PyObject * obj1 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self",(char *) "point", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
12747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12748 {
12749 arg2 = &temp2;
12750 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12751 }
12752 {
12753 PyThreadState* __tstate = wxPyBeginAllowThreads();
12754 (arg1)->DrawPoint((wxPoint const &)*arg2);
12755
12756 wxPyEndAllowThreads(__tstate);
12757 if (PyErr_Occurred()) SWIG_fail;
12758 }
12759 Py_INCREF(Py_None); resultobj = Py_None;
12760 return resultobj;
12761 fail:
12762 return NULL;
12763 }
12764
12765
12766 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
12767 PyObject *resultobj;
12768 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12769 int arg2 ;
12770 wxPoint *arg3 = (wxPoint *) 0 ;
12771 int arg4 = (int) 0 ;
12772 PyObject * obj0 = 0 ;
12773 PyObject * obj2 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12780 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 (arg1)->DrawPolygon(arg2,arg3,arg4);
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 Py_INCREF(Py_None); resultobj = Py_None;
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12798 wxRect *arg2 = 0 ;
12799 wxRect temp2 ;
12800 PyObject * obj0 = 0 ;
12801 PyObject * obj1 = 0 ;
12802 char *kwnames[] = {
12803 (char *) "self",(char *) "rect", NULL
12804 };
12805
12806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
12807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12808 {
12809 arg2 = &temp2;
12810 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12811 }
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 (arg1)->DrawRectangle((wxRect const &)*arg2);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 Py_INCREF(Py_None); resultobj = Py_None;
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj;
12828 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12829 wxRect *arg2 = 0 ;
12830 double arg3 ;
12831 wxRect temp2 ;
12832 PyObject * obj0 = 0 ;
12833 PyObject * obj1 = 0 ;
12834 char *kwnames[] = {
12835 (char *) "self",(char *) "rect",(char *) "radius", NULL
12836 };
12837
12838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
12839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12840 {
12841 arg2 = &temp2;
12842 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12843 }
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 Py_INCREF(Py_None); resultobj = Py_None;
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12861 int arg2 ;
12862 wxPoint *arg3 = (wxPoint *) 0 ;
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj2 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
12870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12871 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 (arg1)->DrawSpline(arg2,arg3);
12875
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 Py_INCREF(Py_None); resultobj = Py_None;
12880 return resultobj;
12881 fail:
12882 return NULL;
12883 }
12884
12885
12886 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
12887 PyObject *resultobj;
12888 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12889 wxString *arg2 = 0 ;
12890 wxPoint *arg3 = 0 ;
12891 bool temp2 = False ;
12892 wxPoint temp3 ;
12893 PyObject * obj0 = 0 ;
12894 PyObject * obj1 = 0 ;
12895 PyObject * obj2 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self",(char *) "text",(char *) "point", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12902 {
12903 arg2 = wxString_in_helper(obj1);
12904 if (arg2 == NULL) SWIG_fail;
12905 temp2 = True;
12906 }
12907 {
12908 arg3 = &temp3;
12909 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12910 }
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 Py_INCREF(Py_None); resultobj = Py_None;
12919 {
12920 if (temp2)
12921 delete arg2;
12922 }
12923 return resultobj;
12924 fail:
12925 {
12926 if (temp2)
12927 delete arg2;
12928 }
12929 return NULL;
12930 }
12931
12932
12933 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12934 PyObject *resultobj;
12935 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12936 int result;
12937 PyObject * obj0 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
12943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 result = (int)(arg1)->GetAngle();
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = PyInt_FromLong((long)result);
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12961 wxPseudoMetaFile *result;
12962 PyObject * obj0 = 0 ;
12963 char *kwnames[] = {
12964 (char *) "self", NULL
12965 };
12966
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
12968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12969 {
12970 PyThreadState* __tstate = wxPyBeginAllowThreads();
12971 {
12972 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
12973 result = (wxPseudoMetaFile *) &_result_ref;
12974 }
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPseudoMetaFile, 0);
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj;
12988 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12989 double result;
12990 PyObject * obj0 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
12996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 result = (double)(arg1)->GetRotation();
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 resultobj = PyFloat_FromDouble(result);
13005 return resultobj;
13006 fail:
13007 return NULL;
13008 }
13009
13010
13011 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
13012 PyObject *resultobj;
13013 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13014 wxString *arg2 = 0 ;
13015 bool result;
13016 bool temp2 = False ;
13017 PyObject * obj0 = 0 ;
13018 PyObject * obj1 = 0 ;
13019 char *kwnames[] = {
13020 (char *) "self",(char *) "filename", NULL
13021 };
13022
13023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
13024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13025 {
13026 arg2 = wxString_in_helper(obj1);
13027 if (arg2 == NULL) SWIG_fail;
13028 temp2 = True;
13029 }
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 resultobj = PyInt_FromLong((long)result);
13038 {
13039 if (temp2)
13040 delete arg2;
13041 }
13042 return resultobj;
13043 fail:
13044 {
13045 if (temp2)
13046 delete arg2;
13047 }
13048 return NULL;
13049 }
13050
13051
13052 static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj;
13054 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13055 double arg2 ;
13056 double arg3 ;
13057 double arg4 ;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyDrawnShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 (arg1)->Rotate(arg2,arg3,arg4);
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 Py_INCREF(Py_None); resultobj = Py_None;
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13082 wxRect *arg2 = 0 ;
13083 wxRect temp2 ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self",(char *) "rect", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
13091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13092 {
13093 arg2 = &temp2;
13094 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13095 }
13096 {
13097 PyThreadState* __tstate = wxPyBeginAllowThreads();
13098 (arg1)->SetClippingRect((wxRect const &)*arg2);
13099
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 Py_INCREF(Py_None); resultobj = Py_None;
13104 return resultobj;
13105 fail:
13106 return NULL;
13107 }
13108
13109
13110 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13111 PyObject *resultobj;
13112 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13113 wxColour *arg2 = 0 ;
13114 wxColour temp2 ;
13115 PyObject * obj0 = 0 ;
13116 PyObject * obj1 = 0 ;
13117 char *kwnames[] = {
13118 (char *) "self",(char *) "colour", NULL
13119 };
13120
13121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
13122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13123 {
13124 arg2 = &temp2;
13125 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13126 }
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 Py_INCREF(Py_None); resultobj = Py_None;
13135 return resultobj;
13136 fail:
13137 return NULL;
13138 }
13139
13140
13141 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
13142 PyObject *resultobj;
13143 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13144 int arg2 ;
13145 PyObject * obj0 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "self",(char *) "mode", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
13151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13152 {
13153 PyThreadState* __tstate = wxPyBeginAllowThreads();
13154 (arg1)->SetDrawnBackgroundMode(arg2);
13155
13156 wxPyEndAllowThreads(__tstate);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 Py_INCREF(Py_None); resultobj = Py_None;
13160 return resultobj;
13161 fail:
13162 return NULL;
13163 }
13164
13165
13166 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
13167 PyObject *resultobj;
13168 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13169 wxBrush *arg2 = (wxBrush *) 0 ;
13170 bool arg3 = (bool) FALSE ;
13171 PyObject * obj0 = 0 ;
13172 PyObject * obj1 = 0 ;
13173 PyObject * obj2 = 0 ;
13174 char *kwnames[] = {
13175 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
13176 };
13177
13178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
13179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13180 {
13181 wxBrush* temp;
13182 if (obj1) {
13183 if (obj1 == Py_None) {
13184 temp = NULL;
13185 }
13186 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
13187 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
13188 return NULL;
13189 }
13190 }
13191 if (temp)
13192 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
13193 else
13194 arg2 = NULL;
13195 }
13196 if (obj2) {
13197 {
13198 arg3 = (bool) SPyObj_AsBool(obj2);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 }
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 (arg1)->SetDrawnBrush(arg2,arg3);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 Py_INCREF(Py_None); resultobj = Py_None;
13210 return resultobj;
13211 fail:
13212 return NULL;
13213 }
13214
13215
13216 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13219 wxFont *arg2 = (wxFont *) 0 ;
13220 PyObject * obj0 = 0 ;
13221 PyObject * obj1 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self",(char *) "font", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
13227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13228 {
13229 wxFont* temp;
13230 if (obj1) {
13231 if (obj1 == Py_None) {
13232 temp = NULL;
13233 }
13234 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
13235 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
13236 return NULL;
13237 }
13238 }
13239 if (temp)
13240 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
13241 temp->GetFamily(),
13242 temp->GetStyle(),
13243 temp->GetWeight(),
13244 temp->GetUnderlined(),
13245 temp->GetFaceName(),
13246 temp->GetEncoding());
13247 else
13248 arg2 = NULL;
13249 }
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 (arg1)->SetDrawnFont(arg2);
13253
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 Py_INCREF(Py_None); resultobj = Py_None;
13258 return resultobj;
13259 fail:
13260 return NULL;
13261 }
13262
13263
13264 static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj;
13266 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13267 wxPen *arg2 = (wxPen *) 0 ;
13268 bool arg3 = (bool) FALSE ;
13269 PyObject * obj0 = 0 ;
13270 PyObject * obj1 = 0 ;
13271 PyObject * obj2 = 0 ;
13272 char *kwnames[] = {
13273 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
13274 };
13275
13276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
13277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13278 {
13279 wxPen* temp;
13280 if (obj1) {
13281 if (obj1 == Py_None) {
13282 temp = NULL;
13283 }
13284 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
13285 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
13286 return NULL;
13287 }
13288 }
13289 if (temp)
13290 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
13291 temp->GetWidth(),
13292 temp->GetStyle());
13293 else
13294 arg2 = NULL;
13295 }
13296 if (obj2) {
13297 {
13298 arg3 = (bool) SPyObj_AsBool(obj2);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 }
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 (arg1)->SetDrawnPen(arg2,arg3);
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 Py_INCREF(Py_None); resultobj = Py_None;
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj;
13318 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13319 wxColour *arg2 = 0 ;
13320 wxColour temp2 ;
13321 PyObject * obj0 = 0 ;
13322 PyObject * obj1 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self",(char *) "colour", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
13328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13329 {
13330 arg2 = &temp2;
13331 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13332 }
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 Py_INCREF(Py_None); resultobj = Py_None;
13341 return resultobj;
13342 fail:
13343 return NULL;
13344 }
13345
13346
13347 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
13348 PyObject *resultobj;
13349 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13350 double arg2 ;
13351 double arg3 ;
13352 PyObject * obj0 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self",(char *) "sx",(char *) "sy", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
13358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 (arg1)->Scale(arg2,arg3);
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 Py_INCREF(Py_None); resultobj = Py_None;
13367 return resultobj;
13368 fail:
13369 return NULL;
13370 }
13371
13372
13373 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
13374 PyObject *resultobj;
13375 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13376 bool arg2 ;
13377 PyObject * obj0 = 0 ;
13378 PyObject * obj1 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self",(char *) "save", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 {
13386 arg2 = (bool) SPyObj_AsBool(obj1);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 (arg1)->SetSaveToFile(arg2);
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 Py_INCREF(Py_None); resultobj = Py_None;
13397 return resultobj;
13398 fail:
13399 return NULL;
13400 }
13401
13402
13403 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13406 double arg2 ;
13407 double arg3 ;
13408 PyObject * obj0 = 0 ;
13409 char *kwnames[] = {
13410 (char *) "self",(char *) "x",(char *) "y", NULL
13411 };
13412
13413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
13414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 (arg1)->Translate(arg2,arg3);
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 Py_INCREF(Py_None); resultobj = Py_None;
13423 return resultobj;
13424 fail:
13425 return NULL;
13426 }
13427
13428
13429 static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13430 PyObject *resultobj;
13431 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13432 PyObject * obj0 = 0 ;
13433 char *kwnames[] = {
13434 (char *) "self", NULL
13435 };
13436
13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
13438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 (arg1)->base_OnDelete();
13442
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 Py_INCREF(Py_None); resultobj = Py_None;
13447 return resultobj;
13448 fail:
13449 return NULL;
13450 }
13451
13452
13453 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13454 PyObject *resultobj;
13455 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13456 wxDC *arg2 = 0 ;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "dc", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13466 if (arg2 == NULL) {
13467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13468 }
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 (arg1)->base_OnDraw(*arg2);
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 Py_INCREF(Py_None); resultobj = Py_None;
13477 return resultobj;
13478 fail:
13479 return NULL;
13480 }
13481
13482
13483 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13486 wxDC *arg2 = 0 ;
13487 PyObject * obj0 = 0 ;
13488 PyObject * obj1 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self",(char *) "dc", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13496 if (arg2 == NULL) {
13497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13498 }
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 (arg1)->base_OnDrawContents(*arg2);
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 Py_INCREF(Py_None); resultobj = Py_None;
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13516 wxDC *arg2 = 0 ;
13517 bool arg3 = (bool) FALSE ;
13518 PyObject * obj0 = 0 ;
13519 PyObject * obj1 = 0 ;
13520 PyObject * obj2 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "self",(char *) "dc",(char *) "erase", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13528 if (arg2 == NULL) {
13529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13530 }
13531 if (obj2) {
13532 {
13533 arg3 = (bool) SPyObj_AsBool(obj2);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 }
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 (arg1)->base_OnDrawBranches(*arg2,arg3);
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 Py_INCREF(Py_None); resultobj = Py_None;
13545 return resultobj;
13546 fail:
13547 return NULL;
13548 }
13549
13550
13551 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13552 PyObject *resultobj;
13553 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13554 wxDC *arg2 = 0 ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "self",(char *) "dc", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13564 if (arg2 == NULL) {
13565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13566 }
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 (arg1)->base_OnMoveLinks(*arg2);
13570
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 Py_INCREF(Py_None); resultobj = Py_None;
13575 return resultobj;
13576 fail:
13577 return NULL;
13578 }
13579
13580
13581 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13582 PyObject *resultobj;
13583 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13584 wxDC *arg2 = 0 ;
13585 PyObject * obj0 = 0 ;
13586 PyObject * obj1 = 0 ;
13587 char *kwnames[] = {
13588 (char *) "self",(char *) "dc", NULL
13589 };
13590
13591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13594 if (arg2 == NULL) {
13595 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13596 }
13597 {
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 (arg1)->base_OnErase(*arg2);
13600
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 Py_INCREF(Py_None); resultobj = Py_None;
13605 return resultobj;
13606 fail:
13607 return NULL;
13608 }
13609
13610
13611 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj;
13613 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13614 wxDC *arg2 = 0 ;
13615 PyObject * obj0 = 0 ;
13616 PyObject * obj1 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "self",(char *) "dc", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13624 if (arg2 == NULL) {
13625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13626 }
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 (arg1)->base_OnEraseContents(*arg2);
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
13634 Py_INCREF(Py_None); resultobj = Py_None;
13635 return resultobj;
13636 fail:
13637 return NULL;
13638 }
13639
13640
13641 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13642 PyObject *resultobj;
13643 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13644 wxDC *arg2 = 0 ;
13645 PyObject * obj0 = 0 ;
13646 PyObject * obj1 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self",(char *) "dc", NULL
13649 };
13650
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13654 if (arg2 == NULL) {
13655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13656 }
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 (arg1)->base_OnHighlight(*arg2);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 Py_INCREF(Py_None); resultobj = Py_None;
13665 return resultobj;
13666 fail:
13667 return NULL;
13668 }
13669
13670
13671 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13672 PyObject *resultobj;
13673 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13674 double arg2 ;
13675 double arg3 ;
13676 int arg4 = (int) 0 ;
13677 int arg5 = (int) 0 ;
13678 PyObject * obj0 = 0 ;
13679 char *kwnames[] = {
13680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13681 };
13682
13683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13685 {
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13688
13689 wxPyEndAllowThreads(__tstate);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 Py_INCREF(Py_None); resultobj = Py_None;
13693 return resultobj;
13694 fail:
13695 return NULL;
13696 }
13697
13698
13699 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13700 PyObject *resultobj;
13701 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13702 double arg2 ;
13703 double arg3 ;
13704 int arg4 = (int) 0 ;
13705 int arg5 = (int) 0 ;
13706 PyObject * obj0 = 0 ;
13707 char *kwnames[] = {
13708 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13709 };
13710
13711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 Py_INCREF(Py_None); resultobj = Py_None;
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13730 double arg2 ;
13731 double arg3 ;
13732 int arg4 = (int) 0 ;
13733 int arg5 = (int) 0 ;
13734 PyObject * obj0 = 0 ;
13735 char *kwnames[] = {
13736 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13737 };
13738
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 Py_INCREF(Py_None); resultobj = Py_None;
13749 return resultobj;
13750 fail:
13751 return NULL;
13752 }
13753
13754
13755 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13758 double arg2 ;
13759 double arg3 ;
13760 PyObject * obj0 = 0 ;
13761 char *kwnames[] = {
13762 (char *) "self",(char *) "x",(char *) "y", NULL
13763 };
13764
13765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 (arg1)->base_OnSize(arg2,arg3);
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 Py_INCREF(Py_None); resultobj = Py_None;
13775 return resultobj;
13776 fail:
13777 return NULL;
13778 }
13779
13780
13781 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13782 PyObject *resultobj;
13783 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13784 wxDC *arg2 = 0 ;
13785 double arg3 ;
13786 double arg4 ;
13787 double arg5 ;
13788 double arg6 ;
13789 bool arg7 = (bool) True ;
13790 bool result;
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj1 = 0 ;
13793 PyObject * obj6 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13801 if (arg2 == NULL) {
13802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13803 }
13804 if (obj6) {
13805 {
13806 arg7 = (bool) SPyObj_AsBool(obj6);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 }
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13813
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 resultobj = PyInt_FromLong((long)result);
13818 return resultobj;
13819 fail:
13820 return NULL;
13821 }
13822
13823
13824 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13825 PyObject *resultobj;
13826 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13827 wxDC *arg2 = 0 ;
13828 double arg3 ;
13829 double arg4 ;
13830 double arg5 ;
13831 double arg6 ;
13832 bool arg7 = (bool) True ;
13833 PyObject * obj0 = 0 ;
13834 PyObject * obj1 = 0 ;
13835 PyObject * obj6 = 0 ;
13836 char *kwnames[] = {
13837 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13838 };
13839
13840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13843 if (arg2 == NULL) {
13844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13845 }
13846 if (obj6) {
13847 {
13848 arg7 = (bool) SPyObj_AsBool(obj6);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 }
13852 {
13853 PyThreadState* __tstate = wxPyBeginAllowThreads();
13854 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
13855
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 Py_INCREF(Py_None); resultobj = Py_None;
13860 return resultobj;
13861 fail:
13862 return NULL;
13863 }
13864
13865
13866 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj;
13868 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13869 bool arg2 ;
13870 double arg3 ;
13871 double arg4 ;
13872 int arg5 = (int) 0 ;
13873 int arg6 = (int) 0 ;
13874 PyObject * obj0 = 0 ;
13875 PyObject * obj1 = 0 ;
13876 char *kwnames[] = {
13877 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13878 };
13879
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13882 {
13883 arg2 = (bool) SPyObj_AsBool(obj1);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 Py_INCREF(Py_None); resultobj = Py_None;
13894 return resultobj;
13895 fail:
13896 return NULL;
13897 }
13898
13899
13900 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13903 double arg2 ;
13904 double arg3 ;
13905 int arg4 = (int) 0 ;
13906 int arg5 = (int) 0 ;
13907 PyObject * obj0 = 0 ;
13908 char *kwnames[] = {
13909 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13910 };
13911
13912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
13917
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 Py_INCREF(Py_None); resultobj = Py_None;
13922 return resultobj;
13923 fail:
13924 return NULL;
13925 }
13926
13927
13928 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13929 PyObject *resultobj;
13930 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13931 double arg2 ;
13932 double arg3 ;
13933 int arg4 = (int) 0 ;
13934 int arg5 = (int) 0 ;
13935 PyObject * obj0 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
13945
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 Py_INCREF(Py_None); resultobj = Py_None;
13950 return resultobj;
13951 fail:
13952 return NULL;
13953 }
13954
13955
13956 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13957 PyObject *resultobj;
13958 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13959 bool arg2 ;
13960 double arg3 ;
13961 double arg4 ;
13962 int arg5 = (int) 0 ;
13963 int arg6 = (int) 0 ;
13964 PyObject * obj0 = 0 ;
13965 PyObject * obj1 = 0 ;
13966 char *kwnames[] = {
13967 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13968 };
13969
13970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13972 {
13973 arg2 = (bool) SPyObj_AsBool(obj1);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
13979
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 Py_INCREF(Py_None); resultobj = Py_None;
13984 return resultobj;
13985 fail:
13986 return NULL;
13987 }
13988
13989
13990 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13993 double arg2 ;
13994 double arg3 ;
13995 int arg4 = (int) 0 ;
13996 int arg5 = (int) 0 ;
13997 PyObject * obj0 = 0 ;
13998 char *kwnames[] = {
13999 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14000 };
14001
14002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
14012 return resultobj;
14013 fail:
14014 return NULL;
14015 }
14016
14017
14018 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14021 double arg2 ;
14022 double arg3 ;
14023 int arg4 = (int) 0 ;
14024 int arg5 = (int) 0 ;
14025 PyObject * obj0 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 Py_INCREF(Py_None); resultobj = Py_None;
14040 return resultobj;
14041 fail:
14042 return NULL;
14043 }
14044
14045
14046 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14047 PyObject *resultobj;
14048 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14049 wxDC *arg2 = 0 ;
14050 double arg3 ;
14051 double arg4 ;
14052 double arg5 ;
14053 double arg6 ;
14054 PyObject * obj0 = 0 ;
14055 PyObject * obj1 = 0 ;
14056 char *kwnames[] = {
14057 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14058 };
14059
14060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14063 if (arg2 == NULL) {
14064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14065 }
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 Py_INCREF(Py_None); resultobj = Py_None;
14074 return resultobj;
14075 fail:
14076 return NULL;
14077 }
14078
14079
14080 static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14083 wxDC *arg2 = 0 ;
14084 PyObject * obj0 = 0 ;
14085 PyObject * obj1 = 0 ;
14086 char *kwnames[] = {
14087 (char *) "self",(char *) "dc", NULL
14088 };
14089
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14093 if (arg2 == NULL) {
14094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14095 }
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 (arg1)->base_OnDrawControlPoints(*arg2);
14099
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 Py_INCREF(Py_None); resultobj = Py_None;
14104 return resultobj;
14105 fail:
14106 return NULL;
14107 }
14108
14109
14110 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj;
14112 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14113 wxDC *arg2 = 0 ;
14114 PyObject * obj0 = 0 ;
14115 PyObject * obj1 = 0 ;
14116 char *kwnames[] = {
14117 (char *) "self",(char *) "dc", NULL
14118 };
14119
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
14121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14123 if (arg2 == NULL) {
14124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14125 }
14126 {
14127 PyThreadState* __tstate = wxPyBeginAllowThreads();
14128 (arg1)->base_OnEraseControlPoints(*arg2);
14129
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 Py_INCREF(Py_None); resultobj = Py_None;
14134 return resultobj;
14135 fail:
14136 return NULL;
14137 }
14138
14139
14140 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
14141 PyObject *resultobj;
14142 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14143 wxDC *arg2 = 0 ;
14144 bool arg3 = (bool) True ;
14145 PyObject * obj0 = 0 ;
14146 PyObject * obj1 = 0 ;
14147 PyObject * obj2 = 0 ;
14148 char *kwnames[] = {
14149 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14150 };
14151
14152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
14153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14155 if (arg2 == NULL) {
14156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14157 }
14158 if (obj2) {
14159 {
14160 arg3 = (bool) SPyObj_AsBool(obj2);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 }
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 (arg1)->base_OnMoveLink(*arg2,arg3);
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 Py_INCREF(Py_None); resultobj = Py_None;
14172 return resultobj;
14173 fail:
14174 return NULL;
14175 }
14176
14177
14178 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14181 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14182 bool arg3 ;
14183 double arg4 ;
14184 double arg5 ;
14185 int arg6 = (int) 0 ;
14186 int arg7 = (int) 0 ;
14187 PyObject * obj0 = 0 ;
14188 PyObject * obj1 = 0 ;
14189 PyObject * obj2 = 0 ;
14190 char *kwnames[] = {
14191 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14192 };
14193
14194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
14195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14197 {
14198 arg3 = (bool) SPyObj_AsBool(obj2);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 Py_INCREF(Py_None); resultobj = Py_None;
14209 return resultobj;
14210 fail:
14211 return NULL;
14212 }
14213
14214
14215 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14216 PyObject *resultobj;
14217 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14218 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14219 double arg3 ;
14220 double arg4 ;
14221 int arg5 = (int) 0 ;
14222 int arg6 = (int) 0 ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 Py_INCREF(Py_None); resultobj = Py_None;
14240 return resultobj;
14241 fail:
14242 return NULL;
14243 }
14244
14245
14246 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14247 PyObject *resultobj;
14248 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14249 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14250 double arg3 ;
14251 double arg4 ;
14252 int arg5 = (int) 0 ;
14253 int arg6 = (int) 0 ;
14254 PyObject * obj0 = 0 ;
14255 PyObject * obj1 = 0 ;
14256 char *kwnames[] = {
14257 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14258 };
14259
14260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
14265 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14266
14267 wxPyEndAllowThreads(__tstate);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
14270 Py_INCREF(Py_None); resultobj = Py_None;
14271 return resultobj;
14272 fail:
14273 return NULL;
14274 }
14275
14276
14277 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj;
14279 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14280 double arg2 ;
14281 double arg3 ;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "self",(char *) "w",(char *) "h", NULL
14285 };
14286
14287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 (arg1)->base_OnBeginSize(arg2,arg3);
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 Py_INCREF(Py_None); resultobj = Py_None;
14297 return resultobj;
14298 fail:
14299 return NULL;
14300 }
14301
14302
14303 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14306 double arg2 ;
14307 double arg3 ;
14308 PyObject * obj0 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self",(char *) "w",(char *) "h", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->base_OnEndSize(arg2,arg3);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
14330 PyObject *obj;
14331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14332 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
14333 Py_INCREF(obj);
14334 return Py_BuildValue((char *)"");
14335 }
14336 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 int arg1 ;
14339 wxPyShape *arg2 = (wxPyShape *) 0 ;
14340 PyObject *arg3 = (PyObject *) 0 ;
14341 wxOGLConstraint *result;
14342 PyObject * obj1 = 0 ;
14343 PyObject * obj2 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOO:new_OGLConstraint",kwnames,&arg1,&obj1,&obj2)) goto fail;
14349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14350 arg3 = obj2;
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 {
14359 resultobj = wxPyMake_wxObject(result);
14360 }
14361 return resultobj;
14362 fail:
14363 return NULL;
14364 }
14365
14366
14367 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
14368 PyObject *resultobj;
14369 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
14370 bool result;
14371 PyObject * obj0 = 0 ;
14372 char *kwnames[] = {
14373 (char *) "self", NULL
14374 };
14375
14376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
14377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 result = (bool)(arg1)->Evaluate();
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 resultobj = PyInt_FromLong((long)result);
14386 return resultobj;
14387 fail:
14388 return NULL;
14389 }
14390
14391
14392 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
14395 double arg2 ;
14396 double arg3 ;
14397 PyObject * obj0 = 0 ;
14398 char *kwnames[] = {
14399 (char *) "self",(char *) "x",(char *) "y", NULL
14400 };
14401
14402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_SetSpacing",kwnames,&obj0,&arg2,&arg3)) goto fail;
14403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 (arg1)->SetSpacing(arg2,arg3);
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 Py_INCREF(Py_None); resultobj = Py_None;
14412 return resultobj;
14413 fail:
14414 return NULL;
14415 }
14416
14417
14418 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj;
14420 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
14421 double arg2 ;
14422 double arg3 ;
14423 bool result;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self",(char *) "a",(char *) "b", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_Equals",kwnames,&obj0,&arg2,&arg3)) goto fail;
14430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 result = (bool)(arg1)->Equals(arg2,arg3);
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 resultobj = PyInt_FromLong((long)result);
14439 return resultobj;
14440 fail:
14441 return NULL;
14442 }
14443
14444
14445 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
14446 PyObject *obj;
14447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14448 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
14449 Py_INCREF(obj);
14450 return Py_BuildValue((char *)"");
14451 }
14452 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14453 PyObject *resultobj;
14454 wxPyCompositeShape *result;
14455 char *kwnames[] = {
14456 NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (wxPyCompositeShape *)new wxPyCompositeShape();
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCompositeShape, 1);
14468 return resultobj;
14469 fail:
14470 return NULL;
14471 }
14472
14473
14474 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14477 PyObject *arg2 = (PyObject *) 0 ;
14478 PyObject *arg3 = (PyObject *) 0 ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj1 = 0 ;
14481 PyObject * obj2 = 0 ;
14482 char *kwnames[] = {
14483 (char *) "self",(char *) "self",(char *) "_class", NULL
14484 };
14485
14486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14488 arg2 = obj1;
14489 arg3 = obj2;
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 (arg1)->_setCallbackInfo(arg2,arg3);
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 Py_INCREF(Py_None); resultobj = Py_None;
14498 return resultobj;
14499 fail:
14500 return NULL;
14501 }
14502
14503
14504 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14507 wxPyShape *arg2 = (wxPyShape *) 0 ;
14508 wxPyShape *arg3 = (wxPyShape *) NULL ;
14509 PyObject * obj0 = 0 ;
14510 PyObject * obj1 = 0 ;
14511 PyObject * obj2 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self",(char *) "child",(char *) "addAfter", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14519 if (obj2) {
14520 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 }
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 (arg1)->AddChild(arg2,arg3);
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 Py_INCREF(Py_None); resultobj = Py_None;
14530 return resultobj;
14531 fail:
14532 return NULL;
14533 }
14534
14535
14536 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14537 PyObject *resultobj;
14538 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14539 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
14540 wxOGLConstraint *result;
14541 PyObject * obj0 = 0 ;
14542 PyObject * obj1 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self",(char *) "constraint", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 {
14558 resultobj = wxPyMake_wxObject(result);
14559 }
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
14567 PyObject *resultobj;
14568 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14569 int arg2 ;
14570 wxPyShape *arg3 = (wxPyShape *) 0 ;
14571 PyObject *arg4 = (PyObject *) 0 ;
14572 wxOGLConstraint *result;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj2 = 0 ;
14575 PyObject * obj3 = 0 ;
14576 char *kwnames[] = {
14577 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14578 };
14579
14580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14582 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14583 arg4 = obj3;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 resultobj = wxPyMake_wxObject(result);
14593 }
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj;
14602 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14603 int arg2 ;
14604 wxPyShape *arg3 = (wxPyShape *) 0 ;
14605 wxPyShape *arg4 = (wxPyShape *) 0 ;
14606 wxOGLConstraint *result;
14607 PyObject * obj0 = 0 ;
14608 PyObject * obj2 = 0 ;
14609 PyObject * obj3 = 0 ;
14610 char *kwnames[] = {
14611 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14612 };
14613
14614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14616 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14617 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 {
14626 resultobj = wxPyMake_wxObject(result);
14627 }
14628 return resultobj;
14629 fail:
14630 return NULL;
14631 }
14632
14633
14634 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj;
14636 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14637 PyObject * obj0 = 0 ;
14638 char *kwnames[] = {
14639 (char *) "self", NULL
14640 };
14641
14642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
14643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 (arg1)->CalculateSize();
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 Py_INCREF(Py_None); resultobj = Py_None;
14652 return resultobj;
14653 fail:
14654 return NULL;
14655 }
14656
14657
14658 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14661 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
14662 bool result;
14663 PyObject * obj0 = 0 ;
14664 PyObject * obj1 = 0 ;
14665 char *kwnames[] = {
14666 (char *) "self",(char *) "division", NULL
14667 };
14668
14669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
14670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14672 {
14673 PyThreadState* __tstate = wxPyBeginAllowThreads();
14674 result = (bool)(arg1)->ContainsDivision(arg2);
14675
14676 wxPyEndAllowThreads(__tstate);
14677 if (PyErr_Occurred()) SWIG_fail;
14678 }
14679 resultobj = PyInt_FromLong((long)result);
14680 return resultobj;
14681 fail:
14682 return NULL;
14683 }
14684
14685
14686 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14687 PyObject *resultobj;
14688 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14689 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
14690 PyObject * obj0 = 0 ;
14691 PyObject * obj1 = 0 ;
14692 char *kwnames[] = {
14693 (char *) "self",(char *) "constraint", NULL
14694 };
14695
14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
14697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 (arg1)->DeleteConstraint(arg2);
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 Py_INCREF(Py_None); resultobj = Py_None;
14707 return resultobj;
14708 fail:
14709 return NULL;
14710 }
14711
14712
14713 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14716 wxPyShape *arg2 = (wxPyShape *) 0 ;
14717 PyObject * obj0 = 0 ;
14718 PyObject * obj1 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self",(char *) "child", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
14724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 (arg1)->DeleteConstraintsInvolvingChild(arg2);
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 Py_INCREF(Py_None); resultobj = Py_None;
14734 return resultobj;
14735 fail:
14736 return NULL;
14737 }
14738
14739
14740 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14743 wxPyShape *result;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 result = (wxPyShape *)(arg1)->FindContainerImage();
14754
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 {
14759 resultobj = wxPyMake_wxShapeEvtHandler(result);
14760 }
14761 return resultobj;
14762 fail:
14763 return NULL;
14764 }
14765
14766
14767 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj;
14769 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14770 PyObject *result;
14771 PyObject * obj0 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
14777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 resultobj = result;
14786 return resultobj;
14787 fail:
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14795 PyObject *result;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
14802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = result;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
14826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 (arg1)->MakeContainer();
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 Py_INCREF(Py_None); resultobj = Py_None;
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14844 bool result;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 result = (bool)(arg1)->Recompute();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 resultobj = PyInt_FromLong((long)result);
14860 return resultobj;
14861 fail:
14862 return NULL;
14863 }
14864
14865
14866 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14869 wxPyShape *arg2 = (wxPyShape *) 0 ;
14870 PyObject * obj0 = 0 ;
14871 PyObject * obj1 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self",(char *) "child", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14879 {
14880 PyThreadState* __tstate = wxPyBeginAllowThreads();
14881 (arg1)->RemoveChild(arg2);
14882
14883 wxPyEndAllowThreads(__tstate);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 Py_INCREF(Py_None); resultobj = Py_None;
14887 return resultobj;
14888 fail:
14889 return NULL;
14890 }
14891
14892
14893 static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
14894 PyObject *resultobj;
14895 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14896 PyObject * obj0 = 0 ;
14897 char *kwnames[] = {
14898 (char *) "self", NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
14902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 (arg1)->base_OnDelete();
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 Py_INCREF(Py_None); resultobj = Py_None;
14911 return resultobj;
14912 fail:
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14920 wxDC *arg2 = 0 ;
14921 PyObject * obj0 = 0 ;
14922 PyObject * obj1 = 0 ;
14923 char *kwnames[] = {
14924 (char *) "self",(char *) "dc", NULL
14925 };
14926
14927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
14928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14930 if (arg2 == NULL) {
14931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14932 }
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 (arg1)->base_OnDraw(*arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 Py_INCREF(Py_None); resultobj = Py_None;
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14950 wxDC *arg2 = 0 ;
14951 PyObject * obj0 = 0 ;
14952 PyObject * obj1 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "self",(char *) "dc", NULL
14955 };
14956
14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
14958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14960 if (arg2 == NULL) {
14961 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14962 }
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 (arg1)->base_OnDrawContents(*arg2);
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 Py_INCREF(Py_None); resultobj = Py_None;
14971 return resultobj;
14972 fail:
14973 return NULL;
14974 }
14975
14976
14977 static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14980 wxDC *arg2 = 0 ;
14981 bool arg3 = (bool) FALSE ;
14982 PyObject * obj0 = 0 ;
14983 PyObject * obj1 = 0 ;
14984 PyObject * obj2 = 0 ;
14985 char *kwnames[] = {
14986 (char *) "self",(char *) "dc",(char *) "erase", NULL
14987 };
14988
14989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
14990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14992 if (arg2 == NULL) {
14993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14994 }
14995 if (obj2) {
14996 {
14997 arg3 = (bool) SPyObj_AsBool(obj2);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 }
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 (arg1)->base_OnDrawBranches(*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
15015 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15018 wxDC *arg2 = 0 ;
15019 PyObject * obj0 = 0 ;
15020 PyObject * obj1 = 0 ;
15021 char *kwnames[] = {
15022 (char *) "self",(char *) "dc", NULL
15023 };
15024
15025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15028 if (arg2 == NULL) {
15029 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15030 }
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 (arg1)->base_OnMoveLinks(*arg2);
15034
15035 wxPyEndAllowThreads(__tstate);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 }
15038 Py_INCREF(Py_None); resultobj = Py_None;
15039 return resultobj;
15040 fail:
15041 return NULL;
15042 }
15043
15044
15045 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15046 PyObject *resultobj;
15047 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15048 wxDC *arg2 = 0 ;
15049 PyObject * obj0 = 0 ;
15050 PyObject * obj1 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self",(char *) "dc", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15058 if (arg2 == NULL) {
15059 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15060 }
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 (arg1)->base_OnErase(*arg2);
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 Py_INCREF(Py_None); resultobj = Py_None;
15069 return resultobj;
15070 fail:
15071 return NULL;
15072 }
15073
15074
15075 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj;
15077 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15078 wxDC *arg2 = 0 ;
15079 PyObject * obj0 = 0 ;
15080 PyObject * obj1 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "self",(char *) "dc", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15088 if (arg2 == NULL) {
15089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15090 }
15091 {
15092 PyThreadState* __tstate = wxPyBeginAllowThreads();
15093 (arg1)->base_OnEraseContents(*arg2);
15094
15095 wxPyEndAllowThreads(__tstate);
15096 if (PyErr_Occurred()) SWIG_fail;
15097 }
15098 Py_INCREF(Py_None); resultobj = Py_None;
15099 return resultobj;
15100 fail:
15101 return NULL;
15102 }
15103
15104
15105 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj;
15107 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15108 wxDC *arg2 = 0 ;
15109 PyObject * obj0 = 0 ;
15110 PyObject * obj1 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self",(char *) "dc", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15118 if (arg2 == NULL) {
15119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15120 }
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 (arg1)->base_OnHighlight(*arg2);
15124
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 Py_INCREF(Py_None); resultobj = Py_None;
15129 return resultobj;
15130 fail:
15131 return NULL;
15132 }
15133
15134
15135 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj;
15137 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15138 double arg2 ;
15139 double arg3 ;
15140 int arg4 = (int) 0 ;
15141 int arg5 = (int) 0 ;
15142 PyObject * obj0 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 Py_INCREF(Py_None); resultobj = Py_None;
15157 return resultobj;
15158 fail:
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15166 double arg2 ;
15167 double arg3 ;
15168 int arg4 = (int) 0 ;
15169 int arg5 = (int) 0 ;
15170 PyObject * obj0 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 Py_INCREF(Py_None); resultobj = Py_None;
15185 return resultobj;
15186 fail:
15187 return NULL;
15188 }
15189
15190
15191 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15194 double arg2 ;
15195 double arg3 ;
15196 int arg4 = (int) 0 ;
15197 int arg5 = (int) 0 ;
15198 PyObject * obj0 = 0 ;
15199 char *kwnames[] = {
15200 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15212 Py_INCREF(Py_None); resultobj = Py_None;
15213 return resultobj;
15214 fail:
15215 return NULL;
15216 }
15217
15218
15219 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15222 double arg2 ;
15223 double arg3 ;
15224 PyObject * obj0 = 0 ;
15225 char *kwnames[] = {
15226 (char *) "self",(char *) "x",(char *) "y", NULL
15227 };
15228
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 (arg1)->base_OnSize(arg2,arg3);
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 Py_INCREF(Py_None); resultobj = Py_None;
15239 return resultobj;
15240 fail:
15241 return NULL;
15242 }
15243
15244
15245 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj;
15247 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15248 wxDC *arg2 = 0 ;
15249 double arg3 ;
15250 double arg4 ;
15251 double arg5 ;
15252 double arg6 ;
15253 bool arg7 = (bool) True ;
15254 bool result;
15255 PyObject * obj0 = 0 ;
15256 PyObject * obj1 = 0 ;
15257 PyObject * obj6 = 0 ;
15258 char *kwnames[] = {
15259 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15260 };
15261
15262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15265 if (arg2 == NULL) {
15266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15267 }
15268 if (obj6) {
15269 {
15270 arg7 = (bool) SPyObj_AsBool(obj6);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 }
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 resultobj = PyInt_FromLong((long)result);
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15291 wxDC *arg2 = 0 ;
15292 double arg3 ;
15293 double arg4 ;
15294 double arg5 ;
15295 double arg6 ;
15296 bool arg7 = (bool) True ;
15297 PyObject * obj0 = 0 ;
15298 PyObject * obj1 = 0 ;
15299 PyObject * obj6 = 0 ;
15300 char *kwnames[] = {
15301 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15302 };
15303
15304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15307 if (arg2 == NULL) {
15308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15309 }
15310 if (obj6) {
15311 {
15312 arg7 = (bool) SPyObj_AsBool(obj6);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 }
15316 {
15317 PyThreadState* __tstate = wxPyBeginAllowThreads();
15318 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
15319
15320 wxPyEndAllowThreads(__tstate);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
15323 Py_INCREF(Py_None); resultobj = Py_None;
15324 return resultobj;
15325 fail:
15326 return NULL;
15327 }
15328
15329
15330 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15331 PyObject *resultobj;
15332 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15333 bool arg2 ;
15334 double arg3 ;
15335 double arg4 ;
15336 int arg5 = (int) 0 ;
15337 int arg6 = (int) 0 ;
15338 PyObject * obj0 = 0 ;
15339 PyObject * obj1 = 0 ;
15340 char *kwnames[] = {
15341 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15342 };
15343
15344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15346 {
15347 arg2 = (bool) SPyObj_AsBool(obj1);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15367 double arg2 ;
15368 double arg3 ;
15369 int arg4 = (int) 0 ;
15370 int arg5 = (int) 0 ;
15371 PyObject * obj0 = 0 ;
15372 char *kwnames[] = {
15373 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15374 };
15375
15376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 Py_INCREF(Py_None); resultobj = Py_None;
15386 return resultobj;
15387 fail:
15388 return NULL;
15389 }
15390
15391
15392 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15393 PyObject *resultobj;
15394 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15395 double arg2 ;
15396 double arg3 ;
15397 int arg4 = (int) 0 ;
15398 int arg5 = (int) 0 ;
15399 PyObject * obj0 = 0 ;
15400 char *kwnames[] = {
15401 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15402 };
15403
15404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 Py_INCREF(Py_None); resultobj = Py_None;
15414 return resultobj;
15415 fail:
15416 return NULL;
15417 }
15418
15419
15420 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15423 bool arg2 ;
15424 double arg3 ;
15425 double arg4 ;
15426 int arg5 = (int) 0 ;
15427 int arg6 = (int) 0 ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15436 {
15437 arg2 = (bool) SPyObj_AsBool(obj1);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 Py_INCREF(Py_None); resultobj = Py_None;
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15457 double arg2 ;
15458 double arg3 ;
15459 int arg4 = (int) 0 ;
15460 int arg5 = (int) 0 ;
15461 PyObject * obj0 = 0 ;
15462 char *kwnames[] = {
15463 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15464 };
15465
15466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 Py_INCREF(Py_None); resultobj = Py_None;
15476 return resultobj;
15477 fail:
15478 return NULL;
15479 }
15480
15481
15482 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15483 PyObject *resultobj;
15484 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15485 double arg2 ;
15486 double arg3 ;
15487 int arg4 = (int) 0 ;
15488 int arg5 = (int) 0 ;
15489 PyObject * obj0 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 Py_INCREF(Py_None); resultobj = Py_None;
15504 return resultobj;
15505 fail:
15506 return NULL;
15507 }
15508
15509
15510 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj;
15512 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15513 wxDC *arg2 = 0 ;
15514 double arg3 ;
15515 double arg4 ;
15516 double arg5 ;
15517 double arg6 ;
15518 PyObject * obj0 = 0 ;
15519 PyObject * obj1 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15527 if (arg2 == NULL) {
15528 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15529 }
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 Py_INCREF(Py_None); resultobj = Py_None;
15538 return resultobj;
15539 fail:
15540 return NULL;
15541 }
15542
15543
15544 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15545 PyObject *resultobj;
15546 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15547 wxDC *arg2 = 0 ;
15548 PyObject * obj0 = 0 ;
15549 PyObject * obj1 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self",(char *) "dc", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15557 if (arg2 == NULL) {
15558 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15559 }
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 (arg1)->base_OnDrawControlPoints(*arg2);
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 return resultobj;
15569 fail:
15570 return NULL;
15571 }
15572
15573
15574 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15575 PyObject *resultobj;
15576 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15577 wxDC *arg2 = 0 ;
15578 PyObject * obj0 = 0 ;
15579 PyObject * obj1 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self",(char *) "dc", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
15585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15587 if (arg2 == NULL) {
15588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15589 }
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 (arg1)->base_OnEraseControlPoints(*arg2);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 Py_INCREF(Py_None); resultobj = Py_None;
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
15605 PyObject *resultobj;
15606 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15607 wxDC *arg2 = 0 ;
15608 bool arg3 = (bool) True ;
15609 PyObject * obj0 = 0 ;
15610 PyObject * obj1 = 0 ;
15611 PyObject * obj2 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
15617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15619 if (arg2 == NULL) {
15620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15621 }
15622 if (obj2) {
15623 {
15624 arg3 = (bool) SPyObj_AsBool(obj2);
15625 if (PyErr_Occurred()) SWIG_fail;
15626 }
15627 }
15628 {
15629 PyThreadState* __tstate = wxPyBeginAllowThreads();
15630 (arg1)->base_OnMoveLink(*arg2,arg3);
15631
15632 wxPyEndAllowThreads(__tstate);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
15635 Py_INCREF(Py_None); resultobj = Py_None;
15636 return resultobj;
15637 fail:
15638 return NULL;
15639 }
15640
15641
15642 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15643 PyObject *resultobj;
15644 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15645 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15646 bool arg3 ;
15647 double arg4 ;
15648 double arg5 ;
15649 int arg6 = (int) 0 ;
15650 int arg7 = (int) 0 ;
15651 PyObject * obj0 = 0 ;
15652 PyObject * obj1 = 0 ;
15653 PyObject * obj2 = 0 ;
15654 char *kwnames[] = {
15655 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15656 };
15657
15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
15659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15661 {
15662 arg3 = (bool) SPyObj_AsBool(obj2);
15663 if (PyErr_Occurred()) SWIG_fail;
15664 }
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 Py_INCREF(Py_None); resultobj = Py_None;
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15682 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15683 double arg3 ;
15684 double arg4 ;
15685 int arg5 = (int) 0 ;
15686 int arg6 = (int) 0 ;
15687 PyObject * obj0 = 0 ;
15688 PyObject * obj1 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 Py_INCREF(Py_None); resultobj = Py_None;
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15711 PyObject *resultobj;
15712 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15713 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15714 double arg3 ;
15715 double arg4 ;
15716 int arg5 = (int) 0 ;
15717 int arg6 = (int) 0 ;
15718 PyObject * obj0 = 0 ;
15719 PyObject * obj1 = 0 ;
15720 char *kwnames[] = {
15721 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15722 };
15723
15724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 Py_INCREF(Py_None); resultobj = Py_None;
15735 return resultobj;
15736 fail:
15737 return NULL;
15738 }
15739
15740
15741 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15742 PyObject *resultobj;
15743 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15744 double arg2 ;
15745 double arg3 ;
15746 PyObject * obj0 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self",(char *) "w",(char *) "h", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 (arg1)->base_OnBeginSize(arg2,arg3);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 Py_INCREF(Py_None); resultobj = Py_None;
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15770 double arg2 ;
15771 double arg3 ;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self",(char *) "w",(char *) "h", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 (arg1)->base_OnEndSize(arg2,arg3);
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 Py_INCREF(Py_None); resultobj = Py_None;
15787 return resultobj;
15788 fail:
15789 return NULL;
15790 }
15791
15792
15793 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
15794 PyObject *obj;
15795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15796 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
15797 Py_INCREF(obj);
15798 return Py_BuildValue((char *)"");
15799 }
15800 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 double arg1 = (double) 0.0 ;
15803 double arg2 = (double) 0.0 ;
15804 wxPyDividedShape *result;
15805 char *kwnames[] = {
15806 (char *) "width",(char *) "height", NULL
15807 };
15808
15809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyDividedShape",kwnames,&arg1,&arg2)) goto fail;
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDividedShape, 1);
15818 return resultobj;
15819 fail:
15820 return NULL;
15821 }
15822
15823
15824 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15827 PyObject *arg2 = (PyObject *) 0 ;
15828 PyObject *arg3 = (PyObject *) 0 ;
15829 PyObject * obj0 = 0 ;
15830 PyObject * obj1 = 0 ;
15831 PyObject * obj2 = 0 ;
15832 char *kwnames[] = {
15833 (char *) "self",(char *) "self",(char *) "_class", NULL
15834 };
15835
15836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15838 arg2 = obj1;
15839 arg3 = obj2;
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 (arg1)->_setCallbackInfo(arg2,arg3);
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 Py_INCREF(Py_None); resultobj = Py_None;
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15857 PyObject * obj0 = 0 ;
15858 char *kwnames[] = {
15859 (char *) "self", NULL
15860 };
15861
15862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
15863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15864 {
15865 PyThreadState* __tstate = wxPyBeginAllowThreads();
15866 (arg1)->EditRegions();
15867
15868 wxPyEndAllowThreads(__tstate);
15869 if (PyErr_Occurred()) SWIG_fail;
15870 }
15871 Py_INCREF(Py_None); resultobj = Py_None;
15872 return resultobj;
15873 fail:
15874 return NULL;
15875 }
15876
15877
15878 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15879 PyObject *resultobj;
15880 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15881 PyObject * obj0 = 0 ;
15882 char *kwnames[] = {
15883 (char *) "self", NULL
15884 };
15885
15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
15887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15888 {
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 (arg1)->SetRegionSizes();
15891
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 Py_INCREF(Py_None); resultobj = Py_None;
15896 return resultobj;
15897 fail:
15898 return NULL;
15899 }
15900
15901
15902 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15903 PyObject *resultobj;
15904 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15905 PyObject * obj0 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 (arg1)->base_OnDelete();
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 Py_INCREF(Py_None); resultobj = Py_None;
15920 return resultobj;
15921 fail:
15922 return NULL;
15923 }
15924
15925
15926 static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj;
15928 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15929 wxDC *arg2 = 0 ;
15930 PyObject * obj0 = 0 ;
15931 PyObject * obj1 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self",(char *) "dc", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15939 if (arg2 == NULL) {
15940 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15941 }
15942 {
15943 PyThreadState* __tstate = wxPyBeginAllowThreads();
15944 (arg1)->base_OnDraw(*arg2);
15945
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 Py_INCREF(Py_None); resultobj = Py_None;
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj;
15958 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15959 wxDC *arg2 = 0 ;
15960 PyObject * obj0 = 0 ;
15961 PyObject * obj1 = 0 ;
15962 char *kwnames[] = {
15963 (char *) "self",(char *) "dc", NULL
15964 };
15965
15966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15968 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15969 if (arg2 == NULL) {
15970 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15971 }
15972 {
15973 PyThreadState* __tstate = wxPyBeginAllowThreads();
15974 (arg1)->base_OnDrawContents(*arg2);
15975
15976 wxPyEndAllowThreads(__tstate);
15977 if (PyErr_Occurred()) SWIG_fail;
15978 }
15979 Py_INCREF(Py_None); resultobj = Py_None;
15980 return resultobj;
15981 fail:
15982 return NULL;
15983 }
15984
15985
15986 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15989 wxDC *arg2 = 0 ;
15990 bool arg3 = (bool) FALSE ;
15991 PyObject * obj0 = 0 ;
15992 PyObject * obj1 = 0 ;
15993 PyObject * obj2 = 0 ;
15994 char *kwnames[] = {
15995 (char *) "self",(char *) "dc",(char *) "erase", NULL
15996 };
15997
15998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16001 if (arg2 == NULL) {
16002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16003 }
16004 if (obj2) {
16005 {
16006 arg3 = (bool) SPyObj_AsBool(obj2);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 }
16010 {
16011 PyThreadState* __tstate = wxPyBeginAllowThreads();
16012 (arg1)->base_OnDrawBranches(*arg2,arg3);
16013
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 Py_INCREF(Py_None); resultobj = Py_None;
16018 return resultobj;
16019 fail:
16020 return NULL;
16021 }
16022
16023
16024 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
16025 PyObject *resultobj;
16026 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16027 wxDC *arg2 = 0 ;
16028 PyObject * obj0 = 0 ;
16029 PyObject * obj1 = 0 ;
16030 char *kwnames[] = {
16031 (char *) "self",(char *) "dc", NULL
16032 };
16033
16034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
16035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16037 if (arg2 == NULL) {
16038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16039 }
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 (arg1)->base_OnMoveLinks(*arg2);
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 Py_INCREF(Py_None); resultobj = Py_None;
16048 return resultobj;
16049 fail:
16050 return NULL;
16051 }
16052
16053
16054 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16057 wxDC *arg2 = 0 ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self",(char *) "dc", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
16065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16067 if (arg2 == NULL) {
16068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16069 }
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 (arg1)->base_OnErase(*arg2);
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 Py_INCREF(Py_None); resultobj = Py_None;
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16087 wxDC *arg2 = 0 ;
16088 PyObject * obj0 = 0 ;
16089 PyObject * obj1 = 0 ;
16090 char *kwnames[] = {
16091 (char *) "self",(char *) "dc", NULL
16092 };
16093
16094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
16095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16097 if (arg2 == NULL) {
16098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16099 }
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 (arg1)->base_OnEraseContents(*arg2);
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 Py_INCREF(Py_None); resultobj = Py_None;
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16117 wxDC *arg2 = 0 ;
16118 PyObject * obj0 = 0 ;
16119 PyObject * obj1 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self",(char *) "dc", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16127 if (arg2 == NULL) {
16128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16129 }
16130 {
16131 PyThreadState* __tstate = wxPyBeginAllowThreads();
16132 (arg1)->base_OnHighlight(*arg2);
16133
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 Py_INCREF(Py_None); resultobj = Py_None;
16138 return resultobj;
16139 fail:
16140 return NULL;
16141 }
16142
16143
16144 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16147 double arg2 ;
16148 double arg3 ;
16149 int arg4 = (int) 0 ;
16150 int arg5 = (int) 0 ;
16151 PyObject * obj0 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16158 {
16159 PyThreadState* __tstate = wxPyBeginAllowThreads();
16160 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16161
16162 wxPyEndAllowThreads(__tstate);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 Py_INCREF(Py_None); resultobj = Py_None;
16166 return resultobj;
16167 fail:
16168 return NULL;
16169 }
16170
16171
16172 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16175 double arg2 ;
16176 double arg3 ;
16177 int arg4 = (int) 0 ;
16178 int arg5 = (int) 0 ;
16179 PyObject * obj0 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 Py_INCREF(Py_None); resultobj = Py_None;
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16203 double arg2 ;
16204 double arg3 ;
16205 int arg4 = (int) 0 ;
16206 int arg5 = (int) 0 ;
16207 PyObject * obj0 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16210 };
16211
16212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16217
16218 wxPyEndAllowThreads(__tstate);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 Py_INCREF(Py_None); resultobj = Py_None;
16222 return resultobj;
16223 fail:
16224 return NULL;
16225 }
16226
16227
16228 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16231 double arg2 ;
16232 double arg3 ;
16233 PyObject * obj0 = 0 ;
16234 char *kwnames[] = {
16235 (char *) "self",(char *) "x",(char *) "y", NULL
16236 };
16237
16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16240 {
16241 PyThreadState* __tstate = wxPyBeginAllowThreads();
16242 (arg1)->base_OnSize(arg2,arg3);
16243
16244 wxPyEndAllowThreads(__tstate);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 Py_INCREF(Py_None); resultobj = Py_None;
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16257 wxDC *arg2 = 0 ;
16258 double arg3 ;
16259 double arg4 ;
16260 double arg5 ;
16261 double arg6 ;
16262 bool arg7 = (bool) True ;
16263 bool result;
16264 PyObject * obj0 = 0 ;
16265 PyObject * obj1 = 0 ;
16266 PyObject * obj6 = 0 ;
16267 char *kwnames[] = {
16268 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16269 };
16270
16271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
16272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16274 if (arg2 == NULL) {
16275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16276 }
16277 if (obj6) {
16278 {
16279 arg7 = (bool) SPyObj_AsBool(obj6);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 }
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16286
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 resultobj = PyInt_FromLong((long)result);
16291 return resultobj;
16292 fail:
16293 return NULL;
16294 }
16295
16296
16297 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
16298 PyObject *resultobj;
16299 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16300 wxDC *arg2 = 0 ;
16301 double arg3 ;
16302 double arg4 ;
16303 double arg5 ;
16304 double arg6 ;
16305 bool arg7 = (bool) True ;
16306 PyObject * obj0 = 0 ;
16307 PyObject * obj1 = 0 ;
16308 PyObject * obj6 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16311 };
16312
16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
16314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16316 if (arg2 == NULL) {
16317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16318 }
16319 if (obj6) {
16320 {
16321 arg7 = (bool) SPyObj_AsBool(obj6);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 }
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 Py_INCREF(Py_None); resultobj = Py_None;
16333 return resultobj;
16334 fail:
16335 return NULL;
16336 }
16337
16338
16339 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16342 bool arg2 ;
16343 double arg3 ;
16344 double arg4 ;
16345 int arg5 = (int) 0 ;
16346 int arg6 = (int) 0 ;
16347 PyObject * obj0 = 0 ;
16348 PyObject * obj1 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16355 {
16356 arg2 = (bool) SPyObj_AsBool(obj1);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 Py_INCREF(Py_None); resultobj = Py_None;
16367 return resultobj;
16368 fail:
16369 return NULL;
16370 }
16371
16372
16373 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16376 double arg2 ;
16377 double arg3 ;
16378 int arg4 = (int) 0 ;
16379 int arg5 = (int) 0 ;
16380 PyObject * obj0 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 Py_INCREF(Py_None); resultobj = Py_None;
16395 return resultobj;
16396 fail:
16397 return NULL;
16398 }
16399
16400
16401 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16404 double arg2 ;
16405 double arg3 ;
16406 int arg4 = (int) 0 ;
16407 int arg5 = (int) 0 ;
16408 PyObject * obj0 = 0 ;
16409 char *kwnames[] = {
16410 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16411 };
16412
16413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16418
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 Py_INCREF(Py_None); resultobj = Py_None;
16423 return resultobj;
16424 fail:
16425 return NULL;
16426 }
16427
16428
16429 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj;
16431 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16432 bool arg2 ;
16433 double arg3 ;
16434 double arg4 ;
16435 int arg5 = (int) 0 ;
16436 int arg6 = (int) 0 ;
16437 PyObject * obj0 = 0 ;
16438 PyObject * obj1 = 0 ;
16439 char *kwnames[] = {
16440 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16441 };
16442
16443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16445 {
16446 arg2 = (bool) SPyObj_AsBool(obj1);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 Py_INCREF(Py_None); resultobj = Py_None;
16457 return resultobj;
16458 fail:
16459 return NULL;
16460 }
16461
16462
16463 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16466 double arg2 ;
16467 double arg3 ;
16468 int arg4 = (int) 0 ;
16469 int arg5 = (int) 0 ;
16470 PyObject * obj0 = 0 ;
16471 char *kwnames[] = {
16472 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16473 };
16474
16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16477 {
16478 PyThreadState* __tstate = wxPyBeginAllowThreads();
16479 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16480
16481 wxPyEndAllowThreads(__tstate);
16482 if (PyErr_Occurred()) SWIG_fail;
16483 }
16484 Py_INCREF(Py_None); resultobj = Py_None;
16485 return resultobj;
16486 fail:
16487 return NULL;
16488 }
16489
16490
16491 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj;
16493 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16494 double arg2 ;
16495 double arg3 ;
16496 int arg4 = (int) 0 ;
16497 int arg5 = (int) 0 ;
16498 PyObject * obj0 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16505 {
16506 PyThreadState* __tstate = wxPyBeginAllowThreads();
16507 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16508
16509 wxPyEndAllowThreads(__tstate);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 }
16512 Py_INCREF(Py_None); resultobj = Py_None;
16513 return resultobj;
16514 fail:
16515 return NULL;
16516 }
16517
16518
16519 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16520 PyObject *resultobj;
16521 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16522 wxDC *arg2 = 0 ;
16523 double arg3 ;
16524 double arg4 ;
16525 double arg5 ;
16526 double arg6 ;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16536 if (arg2 == NULL) {
16537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16538 }
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 Py_INCREF(Py_None); resultobj = Py_None;
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16556 wxDC *arg2 = 0 ;
16557 PyObject * obj0 = 0 ;
16558 PyObject * obj1 = 0 ;
16559 char *kwnames[] = {
16560 (char *) "self",(char *) "dc", NULL
16561 };
16562
16563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16566 if (arg2 == NULL) {
16567 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16568 }
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 (arg1)->base_OnDrawControlPoints(*arg2);
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 Py_INCREF(Py_None); resultobj = Py_None;
16577 return resultobj;
16578 fail:
16579 return NULL;
16580 }
16581
16582
16583 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj;
16585 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16586 wxDC *arg2 = 0 ;
16587 PyObject * obj0 = 0 ;
16588 PyObject * obj1 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self",(char *) "dc", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16596 if (arg2 == NULL) {
16597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16598 }
16599 {
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 (arg1)->base_OnEraseControlPoints(*arg2);
16602
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 Py_INCREF(Py_None); resultobj = Py_None;
16607 return resultobj;
16608 fail:
16609 return NULL;
16610 }
16611
16612
16613 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj;
16615 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16616 wxDC *arg2 = 0 ;
16617 bool arg3 = (bool) True ;
16618 PyObject * obj0 = 0 ;
16619 PyObject * obj1 = 0 ;
16620 PyObject * obj2 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16627 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16628 if (arg2 == NULL) {
16629 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16630 }
16631 if (obj2) {
16632 {
16633 arg3 = (bool) SPyObj_AsBool(obj2);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 }
16637 {
16638 PyThreadState* __tstate = wxPyBeginAllowThreads();
16639 (arg1)->base_OnMoveLink(*arg2,arg3);
16640
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 Py_INCREF(Py_None); resultobj = Py_None;
16645 return resultobj;
16646 fail:
16647 return NULL;
16648 }
16649
16650
16651 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16652 PyObject *resultobj;
16653 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16654 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16655 bool arg3 ;
16656 double arg4 ;
16657 double arg5 ;
16658 int arg6 = (int) 0 ;
16659 int arg7 = (int) 0 ;
16660 PyObject * obj0 = 0 ;
16661 PyObject * obj1 = 0 ;
16662 PyObject * obj2 = 0 ;
16663 char *kwnames[] = {
16664 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16665 };
16666
16667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
16668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16669 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16670 {
16671 arg3 = (bool) SPyObj_AsBool(obj2);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 Py_INCREF(Py_None); resultobj = Py_None;
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16691 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16692 double arg3 ;
16693 double arg4 ;
16694 int arg5 = (int) 0 ;
16695 int arg6 = (int) 0 ;
16696 PyObject * obj0 = 0 ;
16697 PyObject * obj1 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 Py_INCREF(Py_None); resultobj = Py_None;
16713 return resultobj;
16714 fail:
16715 return NULL;
16716 }
16717
16718
16719 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16722 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16723 double arg3 ;
16724 double arg4 ;
16725 int arg5 = (int) 0 ;
16726 int arg6 = (int) 0 ;
16727 PyObject * obj0 = 0 ;
16728 PyObject * obj1 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16731 };
16732
16733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 Py_INCREF(Py_None); resultobj = Py_None;
16744 return resultobj;
16745 fail:
16746 return NULL;
16747 }
16748
16749
16750 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16753 double arg2 ;
16754 double arg3 ;
16755 PyObject * obj0 = 0 ;
16756 char *kwnames[] = {
16757 (char *) "self",(char *) "w",(char *) "h", NULL
16758 };
16759
16760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16762 {
16763 PyThreadState* __tstate = wxPyBeginAllowThreads();
16764 (arg1)->base_OnBeginSize(arg2,arg3);
16765
16766 wxPyEndAllowThreads(__tstate);
16767 if (PyErr_Occurred()) SWIG_fail;
16768 }
16769 Py_INCREF(Py_None); resultobj = Py_None;
16770 return resultobj;
16771 fail:
16772 return NULL;
16773 }
16774
16775
16776 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16777 PyObject *resultobj;
16778 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16779 double arg2 ;
16780 double arg3 ;
16781 PyObject * obj0 = 0 ;
16782 char *kwnames[] = {
16783 (char *) "self",(char *) "w",(char *) "h", NULL
16784 };
16785
16786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16788 {
16789 PyThreadState* __tstate = wxPyBeginAllowThreads();
16790 (arg1)->base_OnEndSize(arg2,arg3);
16791
16792 wxPyEndAllowThreads(__tstate);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 Py_INCREF(Py_None); resultobj = Py_None;
16796 return resultobj;
16797 fail:
16798 return NULL;
16799 }
16800
16801
16802 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
16803 PyObject *obj;
16804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16805 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
16806 Py_INCREF(obj);
16807 return Py_BuildValue((char *)"");
16808 }
16809 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxPyDivisionShape *result;
16812 char *kwnames[] = {
16813 NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 result = (wxPyDivisionShape *)new wxPyDivisionShape();
16820
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 {
16825 resultobj = wxPyMake_wxShapeEvtHandler(result);
16826 }
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16836 PyObject *arg2 = (PyObject *) 0 ;
16837 PyObject *arg3 = (PyObject *) 0 ;
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 PyObject * obj2 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self",(char *) "self",(char *) "_class", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16847 arg2 = obj1;
16848 arg3 = obj2;
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 (arg1)->_setCallbackInfo(arg2,arg3);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 Py_INCREF(Py_None); resultobj = Py_None;
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16866 double arg2 ;
16867 bool arg3 ;
16868 PyObject * obj0 = 0 ;
16869 PyObject * obj2 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self",(char *) "bottom",(char *) "test", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&arg2,&obj2)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16876 {
16877 arg3 = (bool) SPyObj_AsBool(obj2);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
16882 (arg1)->AdjustBottom(arg2,arg3);
16883
16884 wxPyEndAllowThreads(__tstate);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
16887 Py_INCREF(Py_None); resultobj = Py_None;
16888 return resultobj;
16889 fail:
16890 return NULL;
16891 }
16892
16893
16894 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16895 PyObject *resultobj;
16896 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16897 double arg2 ;
16898 bool arg3 ;
16899 PyObject * obj0 = 0 ;
16900 PyObject * obj2 = 0 ;
16901 char *kwnames[] = {
16902 (char *) "self",(char *) "left",(char *) "test", NULL
16903 };
16904
16905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&arg2,&obj2)) goto fail;
16906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16907 {
16908 arg3 = (bool) SPyObj_AsBool(obj2);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 (arg1)->AdjustLeft(arg2,arg3);
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 Py_INCREF(Py_None); resultobj = Py_None;
16919 return resultobj;
16920 fail:
16921 return NULL;
16922 }
16923
16924
16925 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16926 PyObject *resultobj;
16927 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16928 double arg2 ;
16929 bool arg3 ;
16930 PyObject * obj0 = 0 ;
16931 PyObject * obj2 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self",(char *) "right",(char *) "test", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames,&obj0,&arg2,&obj2)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 {
16939 arg3 = (bool) SPyObj_AsBool(obj2);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 {
16943 PyThreadState* __tstate = wxPyBeginAllowThreads();
16944 (arg1)->AdjustRight(arg2,arg3);
16945
16946 wxPyEndAllowThreads(__tstate);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 }
16949 Py_INCREF(Py_None); resultobj = Py_None;
16950 return resultobj;
16951 fail:
16952 return NULL;
16953 }
16954
16955
16956 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
16957 PyObject *resultobj;
16958 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16959 double arg2 ;
16960 bool arg3 ;
16961 PyObject * obj0 = 0 ;
16962 PyObject * obj2 = 0 ;
16963 char *kwnames[] = {
16964 (char *) "self",(char *) "top",(char *) "test", NULL
16965 };
16966
16967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames,&obj0,&arg2,&obj2)) goto fail;
16968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16969 {
16970 arg3 = (bool) SPyObj_AsBool(obj2);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 {
16974 PyThreadState* __tstate = wxPyBeginAllowThreads();
16975 (arg1)->AdjustTop(arg2,arg3);
16976
16977 wxPyEndAllowThreads(__tstate);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 }
16980 Py_INCREF(Py_None); resultobj = Py_None;
16981 return resultobj;
16982 fail:
16983 return NULL;
16984 }
16985
16986
16987 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16990 int arg2 ;
16991 PyObject * obj0 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self",(char *) "direction", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_Divide",kwnames,&obj0,&arg2)) goto fail;
16997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 (arg1)->Divide(arg2);
17001
17002 wxPyEndAllowThreads(__tstate);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 }
17005 Py_INCREF(Py_None); resultobj = Py_None;
17006 return resultobj;
17007 fail:
17008 return NULL;
17009 }
17010
17011
17012 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
17013 PyObject *resultobj;
17014 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17015 int arg2 ;
17016 PyObject * obj0 = 0 ;
17017 char *kwnames[] = {
17018 (char *) "self",(char *) "side", NULL
17019 };
17020
17021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_EditEdge",kwnames,&obj0,&arg2)) goto fail;
17022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17023 {
17024 PyThreadState* __tstate = wxPyBeginAllowThreads();
17025 (arg1)->EditEdge(arg2);
17026
17027 wxPyEndAllowThreads(__tstate);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 }
17030 Py_INCREF(Py_None); resultobj = Py_None;
17031 return resultobj;
17032 fail:
17033 return NULL;
17034 }
17035
17036
17037 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17038 PyObject *resultobj;
17039 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17040 wxPyDivisionShape *result;
17041 PyObject * obj0 = 0 ;
17042 char *kwnames[] = {
17043 (char *) "self", NULL
17044 };
17045
17046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
17047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17048 {
17049 PyThreadState* __tstate = wxPyBeginAllowThreads();
17050 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
17051
17052 wxPyEndAllowThreads(__tstate);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
17055 {
17056 resultobj = wxPyMake_wxShapeEvtHandler(result);
17057 }
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17067 int result;
17068 PyObject * obj0 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "self", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
17074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 result = (int)(arg1)->GetHandleSide();
17078
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 resultobj = PyInt_FromLong((long)result);
17083 return resultobj;
17084 fail:
17085 return NULL;
17086 }
17087
17088
17089 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17090 PyObject *resultobj;
17091 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17092 wxPyDivisionShape *result;
17093 PyObject * obj0 = 0 ;
17094 char *kwnames[] = {
17095 (char *) "self", NULL
17096 };
17097
17098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
17099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
17103
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 {
17108 resultobj = wxPyMake_wxShapeEvtHandler(result);
17109 }
17110 return resultobj;
17111 fail:
17112 return NULL;
17113 }
17114
17115
17116 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17117 PyObject *resultobj;
17118 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17119 wxString result;
17120 PyObject * obj0 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "self", NULL
17123 };
17124
17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
17126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17127 {
17128 PyThreadState* __tstate = wxPyBeginAllowThreads();
17129 result = (arg1)->GetLeftSideColour();
17130
17131 wxPyEndAllowThreads(__tstate);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 {
17135 #if wxUSE_UNICODE
17136 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17137 #else
17138 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17139 #endif
17140 }
17141 return resultobj;
17142 fail:
17143 return NULL;
17144 }
17145
17146
17147 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17150 wxPen *result;
17151 PyObject * obj0 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
17157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 result = (wxPen *)(arg1)->GetLeftSidePen();
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
17166 return resultobj;
17167 fail:
17168 return NULL;
17169 }
17170
17171
17172 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17173 PyObject *resultobj;
17174 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17175 wxPyDivisionShape *result;
17176 PyObject * obj0 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 {
17191 resultobj = wxPyMake_wxShapeEvtHandler(result);
17192 }
17193 return resultobj;
17194 fail:
17195 return NULL;
17196 }
17197
17198
17199 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj;
17201 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17202 wxPyDivisionShape *result;
17203 PyObject * obj0 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "self", NULL
17206 };
17207
17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
17209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 {
17218 resultobj = wxPyMake_wxShapeEvtHandler(result);
17219 }
17220 return resultobj;
17221 fail:
17222 return NULL;
17223 }
17224
17225
17226 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17229 wxPen *result;
17230 PyObject * obj0 = 0 ;
17231 char *kwnames[] = {
17232 (char *) "self", NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
17236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
17239 result = (wxPen *)(arg1)->GetTopSidePen();
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17254 int arg2 ;
17255 double arg3 ;
17256 bool arg4 ;
17257 PyObject * obj0 = 0 ;
17258 PyObject * obj3 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
17261 };
17262
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
17264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17265 {
17266 arg4 = (bool) SPyObj_AsBool(obj3);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 Py_INCREF(Py_None); resultobj = Py_None;
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17286 double arg2 ;
17287 double arg3 ;
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self",(char *) "x",(char *) "y", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames,&obj0,&arg2,&arg3)) goto fail;
17294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17295 {
17296 PyThreadState* __tstate = wxPyBeginAllowThreads();
17297 (arg1)->PopupMenu(arg2,arg3);
17298
17299 wxPyEndAllowThreads(__tstate);
17300 if (PyErr_Occurred()) SWIG_fail;
17301 }
17302 Py_INCREF(Py_None); resultobj = Py_None;
17303 return resultobj;
17304 fail:
17305 return NULL;
17306 }
17307
17308
17309 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17310 PyObject *resultobj;
17311 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17312 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 char *kwnames[] = {
17316 (char *) "self",(char *) "shape", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
17320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 (arg1)->SetBottomSide(arg2);
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 Py_INCREF(Py_None); resultobj = Py_None;
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17339 int arg2 ;
17340 PyObject * obj0 = 0 ;
17341 char *kwnames[] = {
17342 (char *) "self",(char *) "side", NULL
17343 };
17344
17345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames,&obj0,&arg2)) goto fail;
17346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17347 {
17348 PyThreadState* __tstate = wxPyBeginAllowThreads();
17349 (arg1)->SetHandleSide(arg2);
17350
17351 wxPyEndAllowThreads(__tstate);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 Py_INCREF(Py_None); resultobj = Py_None;
17355 return resultobj;
17356 fail:
17357 return NULL;
17358 }
17359
17360
17361 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17362 PyObject *resultobj;
17363 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17364 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17365 PyObject * obj0 = 0 ;
17366 PyObject * obj1 = 0 ;
17367 char *kwnames[] = {
17368 (char *) "self",(char *) "shape", NULL
17369 };
17370
17371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
17372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17374 {
17375 PyThreadState* __tstate = wxPyBeginAllowThreads();
17376 (arg1)->SetLeftSide(arg2);
17377
17378 wxPyEndAllowThreads(__tstate);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 }
17381 Py_INCREF(Py_None); resultobj = Py_None;
17382 return resultobj;
17383 fail:
17384 return NULL;
17385 }
17386
17387
17388 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17389 PyObject *resultobj;
17390 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17391 wxString *arg2 = 0 ;
17392 bool temp2 = False ;
17393 PyObject * obj0 = 0 ;
17394 PyObject * obj1 = 0 ;
17395 char *kwnames[] = {
17396 (char *) "self",(char *) "colour", NULL
17397 };
17398
17399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
17400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17401 {
17402 arg2 = wxString_in_helper(obj1);
17403 if (arg2 == NULL) SWIG_fail;
17404 temp2 = True;
17405 }
17406 {
17407 PyThreadState* __tstate = wxPyBeginAllowThreads();
17408 (arg1)->SetLeftSideColour((wxString const &)*arg2);
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 Py_INCREF(Py_None); resultobj = Py_None;
17414 {
17415 if (temp2)
17416 delete arg2;
17417 }
17418 return resultobj;
17419 fail:
17420 {
17421 if (temp2)
17422 delete arg2;
17423 }
17424 return NULL;
17425 }
17426
17427
17428 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17431 wxPen *arg2 = (wxPen *) 0 ;
17432 PyObject * obj0 = 0 ;
17433 PyObject * obj1 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self",(char *) "pen", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17440 {
17441 wxPen* temp;
17442 if (obj1) {
17443 if (obj1 == Py_None) {
17444 temp = NULL;
17445 }
17446 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
17447 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
17448 return NULL;
17449 }
17450 }
17451 if (temp)
17452 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
17453 temp->GetWidth(),
17454 temp->GetStyle());
17455 else
17456 arg2 = NULL;
17457 }
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 (arg1)->SetLeftSidePen(arg2);
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 Py_INCREF(Py_None); resultobj = Py_None;
17466 return resultobj;
17467 fail:
17468 return NULL;
17469 }
17470
17471
17472 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj;
17474 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17475 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17476 PyObject * obj0 = 0 ;
17477 PyObject * obj1 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "self",(char *) "shape", NULL
17480 };
17481
17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
17483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 (arg1)->SetRightSide(arg2);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 Py_INCREF(Py_None); resultobj = Py_None;
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17502 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17503 PyObject * obj0 = 0 ;
17504 PyObject * obj1 = 0 ;
17505 char *kwnames[] = {
17506 (char *) "self",(char *) "shape", NULL
17507 };
17508
17509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
17510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17512 {
17513 PyThreadState* __tstate = wxPyBeginAllowThreads();
17514 (arg1)->SetTopSide(arg2);
17515
17516 wxPyEndAllowThreads(__tstate);
17517 if (PyErr_Occurred()) SWIG_fail;
17518 }
17519 Py_INCREF(Py_None); resultobj = Py_None;
17520 return resultobj;
17521 fail:
17522 return NULL;
17523 }
17524
17525
17526 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj;
17528 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17529 wxString *arg2 = 0 ;
17530 bool temp2 = False ;
17531 PyObject * obj0 = 0 ;
17532 PyObject * obj1 = 0 ;
17533 char *kwnames[] = {
17534 (char *) "self",(char *) "colour", NULL
17535 };
17536
17537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
17538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17539 {
17540 arg2 = wxString_in_helper(obj1);
17541 if (arg2 == NULL) SWIG_fail;
17542 temp2 = True;
17543 }
17544 {
17545 PyThreadState* __tstate = wxPyBeginAllowThreads();
17546 (arg1)->SetTopSideColour((wxString const &)*arg2);
17547
17548 wxPyEndAllowThreads(__tstate);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 Py_INCREF(Py_None); resultobj = Py_None;
17552 {
17553 if (temp2)
17554 delete arg2;
17555 }
17556 return resultobj;
17557 fail:
17558 {
17559 if (temp2)
17560 delete arg2;
17561 }
17562 return NULL;
17563 }
17564
17565
17566 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
17567 PyObject *resultobj;
17568 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17569 wxPen *arg2 = (wxPen *) 0 ;
17570 PyObject * obj0 = 0 ;
17571 PyObject * obj1 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self",(char *) "pen", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17578 {
17579 wxPen* temp;
17580 if (obj1) {
17581 if (obj1 == Py_None) {
17582 temp = NULL;
17583 }
17584 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
17585 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
17586 return NULL;
17587 }
17588 }
17589 if (temp)
17590 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
17591 temp->GetWidth(),
17592 temp->GetStyle());
17593 else
17594 arg2 = NULL;
17595 }
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 (arg1)->SetTopSidePen(arg2);
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 Py_INCREF(Py_None); resultobj = Py_None;
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17611 PyObject *resultobj;
17612 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17613 PyObject * obj0 = 0 ;
17614 char *kwnames[] = {
17615 (char *) "self", NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
17619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 {
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 (arg1)->base_OnDelete();
17623
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 Py_INCREF(Py_None); resultobj = Py_None;
17628 return resultobj;
17629 fail:
17630 return NULL;
17631 }
17632
17633
17634 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17637 wxDC *arg2 = 0 ;
17638 PyObject * obj0 = 0 ;
17639 PyObject * obj1 = 0 ;
17640 char *kwnames[] = {
17641 (char *) "self",(char *) "dc", NULL
17642 };
17643
17644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17647 if (arg2 == NULL) {
17648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17649 }
17650 {
17651 PyThreadState* __tstate = wxPyBeginAllowThreads();
17652 (arg1)->base_OnDraw(*arg2);
17653
17654 wxPyEndAllowThreads(__tstate);
17655 if (PyErr_Occurred()) SWIG_fail;
17656 }
17657 Py_INCREF(Py_None); resultobj = Py_None;
17658 return resultobj;
17659 fail:
17660 return NULL;
17661 }
17662
17663
17664 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj;
17666 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17667 wxDC *arg2 = 0 ;
17668 PyObject * obj0 = 0 ;
17669 PyObject * obj1 = 0 ;
17670 char *kwnames[] = {
17671 (char *) "self",(char *) "dc", NULL
17672 };
17673
17674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17677 if (arg2 == NULL) {
17678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17679 }
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
17682 (arg1)->base_OnDrawContents(*arg2);
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 Py_INCREF(Py_None); resultobj = Py_None;
17688 return resultobj;
17689 fail:
17690 return NULL;
17691 }
17692
17693
17694 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17695 PyObject *resultobj;
17696 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17697 wxDC *arg2 = 0 ;
17698 bool arg3 = (bool) FALSE ;
17699 PyObject * obj0 = 0 ;
17700 PyObject * obj1 = 0 ;
17701 PyObject * obj2 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "self",(char *) "dc",(char *) "erase", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17709 if (arg2 == NULL) {
17710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17711 }
17712 if (obj2) {
17713 {
17714 arg3 = (bool) SPyObj_AsBool(obj2);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 }
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 (arg1)->base_OnDrawBranches(*arg2,arg3);
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 Py_INCREF(Py_None); resultobj = Py_None;
17726 return resultobj;
17727 fail:
17728 return NULL;
17729 }
17730
17731
17732 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17733 PyObject *resultobj;
17734 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17735 wxDC *arg2 = 0 ;
17736 PyObject * obj0 = 0 ;
17737 PyObject * obj1 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self",(char *) "dc", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17745 if (arg2 == NULL) {
17746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17747 }
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 (arg1)->base_OnMoveLinks(*arg2);
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 Py_INCREF(Py_None); resultobj = Py_None;
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17765 wxDC *arg2 = 0 ;
17766 PyObject * obj0 = 0 ;
17767 PyObject * obj1 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self",(char *) "dc", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17775 if (arg2 == NULL) {
17776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17777 }
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 (arg1)->base_OnErase(*arg2);
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 Py_INCREF(Py_None); resultobj = Py_None;
17786 return resultobj;
17787 fail:
17788 return NULL;
17789 }
17790
17791
17792 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17795 wxDC *arg2 = 0 ;
17796 PyObject * obj0 = 0 ;
17797 PyObject * obj1 = 0 ;
17798 char *kwnames[] = {
17799 (char *) "self",(char *) "dc", NULL
17800 };
17801
17802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17805 if (arg2 == NULL) {
17806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17807 }
17808 {
17809 PyThreadState* __tstate = wxPyBeginAllowThreads();
17810 (arg1)->base_OnEraseContents(*arg2);
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 Py_INCREF(Py_None); resultobj = Py_None;
17816 return resultobj;
17817 fail:
17818 return NULL;
17819 }
17820
17821
17822 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj;
17824 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17825 wxDC *arg2 = 0 ;
17826 PyObject * obj0 = 0 ;
17827 PyObject * obj1 = 0 ;
17828 char *kwnames[] = {
17829 (char *) "self",(char *) "dc", NULL
17830 };
17831
17832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17835 if (arg2 == NULL) {
17836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17837 }
17838 {
17839 PyThreadState* __tstate = wxPyBeginAllowThreads();
17840 (arg1)->base_OnHighlight(*arg2);
17841
17842 wxPyEndAllowThreads(__tstate);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 }
17845 Py_INCREF(Py_None); resultobj = Py_None;
17846 return resultobj;
17847 fail:
17848 return NULL;
17849 }
17850
17851
17852 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17853 PyObject *resultobj;
17854 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17855 double arg2 ;
17856 double arg3 ;
17857 int arg4 = (int) 0 ;
17858 int arg5 = (int) 0 ;
17859 PyObject * obj0 = 0 ;
17860 char *kwnames[] = {
17861 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17862 };
17863
17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 Py_INCREF(Py_None); resultobj = Py_None;
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17883 double arg2 ;
17884 double arg3 ;
17885 int arg4 = (int) 0 ;
17886 int arg5 = (int) 0 ;
17887 PyObject * obj0 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 Py_INCREF(Py_None); resultobj = Py_None;
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17911 double arg2 ;
17912 double arg3 ;
17913 int arg4 = (int) 0 ;
17914 int arg5 = (int) 0 ;
17915 PyObject * obj0 = 0 ;
17916 char *kwnames[] = {
17917 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 Py_INCREF(Py_None); resultobj = Py_None;
17930 return resultobj;
17931 fail:
17932 return NULL;
17933 }
17934
17935
17936 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17939 double arg2 ;
17940 double arg3 ;
17941 PyObject * obj0 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self",(char *) "x",(char *) "y", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 {
17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
17950 (arg1)->base_OnSize(arg2,arg3);
17951
17952 wxPyEndAllowThreads(__tstate);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 }
17955 Py_INCREF(Py_None); resultobj = Py_None;
17956 return resultobj;
17957 fail:
17958 return NULL;
17959 }
17960
17961
17962 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
17963 PyObject *resultobj;
17964 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17965 wxDC *arg2 = 0 ;
17966 double arg3 ;
17967 double arg4 ;
17968 double arg5 ;
17969 double arg6 ;
17970 bool arg7 = (bool) True ;
17971 bool result;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 PyObject * obj6 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
17980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17982 if (arg2 == NULL) {
17983 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17984 }
17985 if (obj6) {
17986 {
17987 arg7 = (bool) SPyObj_AsBool(obj6);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = PyInt_FromLong((long)result);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18008 wxDC *arg2 = 0 ;
18009 double arg3 ;
18010 double arg4 ;
18011 double arg5 ;
18012 double arg6 ;
18013 bool arg7 = (bool) True ;
18014 PyObject * obj0 = 0 ;
18015 PyObject * obj1 = 0 ;
18016 PyObject * obj6 = 0 ;
18017 char *kwnames[] = {
18018 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18019 };
18020
18021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18024 if (arg2 == NULL) {
18025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18026 }
18027 if (obj6) {
18028 {
18029 arg7 = (bool) SPyObj_AsBool(obj6);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 }
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 Py_INCREF(Py_None); resultobj = Py_None;
18041 return resultobj;
18042 fail:
18043 return NULL;
18044 }
18045
18046
18047 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj;
18049 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18050 bool arg2 ;
18051 double arg3 ;
18052 double arg4 ;
18053 int arg5 = (int) 0 ;
18054 int arg6 = (int) 0 ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18063 {
18064 arg2 = (bool) SPyObj_AsBool(obj1);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 {
18068 PyThreadState* __tstate = wxPyBeginAllowThreads();
18069 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 Py_INCREF(Py_None); resultobj = Py_None;
18075 return resultobj;
18076 fail:
18077 return NULL;
18078 }
18079
18080
18081 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18082 PyObject *resultobj;
18083 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18084 double arg2 ;
18085 double arg3 ;
18086 int arg4 = (int) 0 ;
18087 int arg5 = (int) 0 ;
18088 PyObject * obj0 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18098
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 Py_INCREF(Py_None); resultobj = Py_None;
18103 return resultobj;
18104 fail:
18105 return NULL;
18106 }
18107
18108
18109 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18110 PyObject *resultobj;
18111 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18112 double arg2 ;
18113 double arg3 ;
18114 int arg4 = (int) 0 ;
18115 int arg5 = (int) 0 ;
18116 PyObject * obj0 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 Py_INCREF(Py_None); resultobj = Py_None;
18131 return resultobj;
18132 fail:
18133 return NULL;
18134 }
18135
18136
18137 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18138 PyObject *resultobj;
18139 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18140 bool arg2 ;
18141 double arg3 ;
18142 double arg4 ;
18143 int arg5 = (int) 0 ;
18144 int arg6 = (int) 0 ;
18145 PyObject * obj0 = 0 ;
18146 PyObject * obj1 = 0 ;
18147 char *kwnames[] = {
18148 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18149 };
18150
18151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18153 {
18154 arg2 = (bool) SPyObj_AsBool(obj1);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 Py_INCREF(Py_None); resultobj = Py_None;
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18174 double arg2 ;
18175 double arg3 ;
18176 int arg4 = (int) 0 ;
18177 int arg5 = (int) 0 ;
18178 PyObject * obj0 = 0 ;
18179 char *kwnames[] = {
18180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 Py_INCREF(Py_None); resultobj = Py_None;
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18202 double arg2 ;
18203 double arg3 ;
18204 int arg4 = (int) 0 ;
18205 int arg5 = (int) 0 ;
18206 PyObject * obj0 = 0 ;
18207 char *kwnames[] = {
18208 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18216
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 Py_INCREF(Py_None); resultobj = Py_None;
18221 return resultobj;
18222 fail:
18223 return NULL;
18224 }
18225
18226
18227 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18228 PyObject *resultobj;
18229 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18230 wxDC *arg2 = 0 ;
18231 double arg3 ;
18232 double arg4 ;
18233 double arg5 ;
18234 double arg6 ;
18235 PyObject * obj0 = 0 ;
18236 PyObject * obj1 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18244 if (arg2 == NULL) {
18245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18246 }
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 Py_INCREF(Py_None); resultobj = Py_None;
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18264 wxDC *arg2 = 0 ;
18265 PyObject * obj0 = 0 ;
18266 PyObject * obj1 = 0 ;
18267 char *kwnames[] = {
18268 (char *) "self",(char *) "dc", NULL
18269 };
18270
18271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18274 if (arg2 == NULL) {
18275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18276 }
18277 {
18278 PyThreadState* __tstate = wxPyBeginAllowThreads();
18279 (arg1)->base_OnDrawControlPoints(*arg2);
18280
18281 wxPyEndAllowThreads(__tstate);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 }
18284 Py_INCREF(Py_None); resultobj = Py_None;
18285 return resultobj;
18286 fail:
18287 return NULL;
18288 }
18289
18290
18291 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18292 PyObject *resultobj;
18293 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18294 wxDC *arg2 = 0 ;
18295 PyObject * obj0 = 0 ;
18296 PyObject * obj1 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self",(char *) "dc", NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18304 if (arg2 == NULL) {
18305 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18306 }
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 (arg1)->base_OnEraseControlPoints(*arg2);
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 Py_INCREF(Py_None); resultobj = Py_None;
18315 return resultobj;
18316 fail:
18317 return NULL;
18318 }
18319
18320
18321 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj;
18323 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18324 wxDC *arg2 = 0 ;
18325 bool arg3 = (bool) True ;
18326 PyObject * obj0 = 0 ;
18327 PyObject * obj1 = 0 ;
18328 PyObject * obj2 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18336 if (arg2 == NULL) {
18337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18338 }
18339 if (obj2) {
18340 {
18341 arg3 = (bool) SPyObj_AsBool(obj2);
18342 if (PyErr_Occurred()) SWIG_fail;
18343 }
18344 }
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 (arg1)->base_OnMoveLink(*arg2,arg3);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 Py_INCREF(Py_None); resultobj = Py_None;
18353 return resultobj;
18354 fail:
18355 return NULL;
18356 }
18357
18358
18359 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18360 PyObject *resultobj;
18361 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18362 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18363 bool arg3 ;
18364 double arg4 ;
18365 double arg5 ;
18366 int arg6 = (int) 0 ;
18367 int arg7 = (int) 0 ;
18368 PyObject * obj0 = 0 ;
18369 PyObject * obj1 = 0 ;
18370 PyObject * obj2 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18378 {
18379 arg3 = (bool) SPyObj_AsBool(obj2);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 }
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 Py_INCREF(Py_None); resultobj = Py_None;
18390 return resultobj;
18391 fail:
18392 return NULL;
18393 }
18394
18395
18396 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18399 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18400 double arg3 ;
18401 double arg4 ;
18402 int arg5 = (int) 0 ;
18403 int arg6 = (int) 0 ;
18404 PyObject * obj0 = 0 ;
18405 PyObject * obj1 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 Py_INCREF(Py_None); resultobj = Py_None;
18421 return resultobj;
18422 fail:
18423 return NULL;
18424 }
18425
18426
18427 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj;
18429 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18430 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18431 double arg3 ;
18432 double arg4 ;
18433 int arg5 = (int) 0 ;
18434 int arg6 = (int) 0 ;
18435 PyObject * obj0 = 0 ;
18436 PyObject * obj1 = 0 ;
18437 char *kwnames[] = {
18438 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18444 {
18445 PyThreadState* __tstate = wxPyBeginAllowThreads();
18446 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18447
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 Py_INCREF(Py_None); resultobj = Py_None;
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18459 PyObject *resultobj;
18460 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18461 double arg2 ;
18462 double arg3 ;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "w",(char *) "h", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 (arg1)->base_OnBeginSize(arg2,arg3);
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 Py_INCREF(Py_None); resultobj = Py_None;
18478 return resultobj;
18479 fail:
18480 return NULL;
18481 }
18482
18483
18484 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18485 PyObject *resultobj;
18486 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18487 double arg2 ;
18488 double arg3 ;
18489 PyObject * obj0 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self",(char *) "w",(char *) "h", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->base_OnEndSize(arg2,arg3);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 return resultobj;
18505 fail:
18506 return NULL;
18507 }
18508
18509
18510 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
18511 PyObject *obj;
18512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18513 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
18514 Py_INCREF(obj);
18515 return Py_BuildValue((char *)"");
18516 }
18517 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18518 PyObject *resultobj;
18519 double arg1 = (double) 0.0 ;
18520 double arg2 = (double) 0.0 ;
18521 wxPyEllipseShape *result;
18522 char *kwnames[] = {
18523 (char *) "width",(char *) "height", NULL
18524 };
18525
18526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyEllipseShape",kwnames,&arg1,&arg2)) goto fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEllipseShape, 1);
18535 return resultobj;
18536 fail:
18537 return NULL;
18538 }
18539
18540
18541 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18542 PyObject *resultobj;
18543 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18544 PyObject *arg2 = (PyObject *) 0 ;
18545 PyObject *arg3 = (PyObject *) 0 ;
18546 PyObject * obj0 = 0 ;
18547 PyObject * obj1 = 0 ;
18548 PyObject * obj2 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self",(char *) "self",(char *) "_class", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18555 arg2 = obj1;
18556 arg3 = obj2;
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 (arg1)->_setCallbackInfo(arg2,arg3);
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 Py_INCREF(Py_None); resultobj = Py_None;
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18574 wxDC *arg2 = 0 ;
18575 PyObject * obj0 = 0 ;
18576 PyObject * obj1 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self",(char *) "dc", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18584 if (arg2 == NULL) {
18585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18586 }
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 (arg1)->base_OnDraw(*arg2);
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 Py_INCREF(Py_None); resultobj = Py_None;
18595 return resultobj;
18596 fail:
18597 return NULL;
18598 }
18599
18600
18601 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18604 wxDC *arg2 = 0 ;
18605 PyObject * obj0 = 0 ;
18606 PyObject * obj1 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "self",(char *) "dc", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18614 if (arg2 == NULL) {
18615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18616 }
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 (arg1)->base_OnDrawContents(*arg2);
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 Py_INCREF(Py_None); resultobj = Py_None;
18625 return resultobj;
18626 fail:
18627 return NULL;
18628 }
18629
18630
18631 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18634 wxDC *arg2 = 0 ;
18635 bool arg3 = (bool) FALSE ;
18636 PyObject * obj0 = 0 ;
18637 PyObject * obj1 = 0 ;
18638 PyObject * obj2 = 0 ;
18639 char *kwnames[] = {
18640 (char *) "self",(char *) "dc",(char *) "erase", NULL
18641 };
18642
18643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18646 if (arg2 == NULL) {
18647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18648 }
18649 if (obj2) {
18650 {
18651 arg3 = (bool) SPyObj_AsBool(obj2);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 }
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 (arg1)->base_OnDrawBranches(*arg2,arg3);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 Py_INCREF(Py_None); resultobj = Py_None;
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18672 wxDC *arg2 = 0 ;
18673 PyObject * obj0 = 0 ;
18674 PyObject * obj1 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self",(char *) "dc", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18682 if (arg2 == NULL) {
18683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18684 }
18685 {
18686 PyThreadState* __tstate = wxPyBeginAllowThreads();
18687 (arg1)->base_OnMoveLinks(*arg2);
18688
18689 wxPyEndAllowThreads(__tstate);
18690 if (PyErr_Occurred()) SWIG_fail;
18691 }
18692 Py_INCREF(Py_None); resultobj = Py_None;
18693 return resultobj;
18694 fail:
18695 return NULL;
18696 }
18697
18698
18699 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj;
18701 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18702 wxDC *arg2 = 0 ;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj1 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self",(char *) "dc", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
18710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18712 if (arg2 == NULL) {
18713 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18714 }
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 (arg1)->base_OnErase(*arg2);
18718
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 Py_INCREF(Py_None); resultobj = Py_None;
18723 return resultobj;
18724 fail:
18725 return NULL;
18726 }
18727
18728
18729 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18732 wxDC *arg2 = 0 ;
18733 PyObject * obj0 = 0 ;
18734 PyObject * obj1 = 0 ;
18735 char *kwnames[] = {
18736 (char *) "self",(char *) "dc", NULL
18737 };
18738
18739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
18740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18742 if (arg2 == NULL) {
18743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18744 }
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 (arg1)->base_OnEraseContents(*arg2);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 Py_INCREF(Py_None); resultobj = Py_None;
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18762 wxDC *arg2 = 0 ;
18763 PyObject * obj0 = 0 ;
18764 PyObject * obj1 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self",(char *) "dc", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18772 if (arg2 == NULL) {
18773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18774 }
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 (arg1)->base_OnHighlight(*arg2);
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 Py_INCREF(Py_None); resultobj = Py_None;
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18792 double arg2 ;
18793 double arg3 ;
18794 int arg4 = (int) 0 ;
18795 int arg5 = (int) 0 ;
18796 PyObject * obj0 = 0 ;
18797 char *kwnames[] = {
18798 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18799 };
18800
18801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 Py_INCREF(Py_None); resultobj = Py_None;
18811 return resultobj;
18812 fail:
18813 return NULL;
18814 }
18815
18816
18817 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18818 PyObject *resultobj;
18819 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18820 double arg2 ;
18821 double arg3 ;
18822 int arg4 = (int) 0 ;
18823 int arg5 = (int) 0 ;
18824 PyObject * obj0 = 0 ;
18825 char *kwnames[] = {
18826 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18827 };
18828
18829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 Py_INCREF(Py_None); resultobj = Py_None;
18839 return resultobj;
18840 fail:
18841 return NULL;
18842 }
18843
18844
18845 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18848 double arg2 ;
18849 double arg3 ;
18850 int arg4 = (int) 0 ;
18851 int arg5 = (int) 0 ;
18852 PyObject * obj0 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 Py_INCREF(Py_None); resultobj = Py_None;
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj;
18875 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18876 double arg2 ;
18877 double arg3 ;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self",(char *) "x",(char *) "y", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 (arg1)->base_OnSize(arg2,arg3);
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 Py_INCREF(Py_None); resultobj = Py_None;
18893 return resultobj;
18894 fail:
18895 return NULL;
18896 }
18897
18898
18899 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18902 wxDC *arg2 = 0 ;
18903 double arg3 ;
18904 double arg4 ;
18905 double arg5 ;
18906 double arg6 ;
18907 bool arg7 = (bool) True ;
18908 bool result;
18909 PyObject * obj0 = 0 ;
18910 PyObject * obj1 = 0 ;
18911 PyObject * obj6 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18919 if (arg2 == NULL) {
18920 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18921 }
18922 if (obj6) {
18923 {
18924 arg7 = (bool) SPyObj_AsBool(obj6);
18925 if (PyErr_Occurred()) SWIG_fail;
18926 }
18927 }
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
18930 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18931
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 resultobj = PyInt_FromLong((long)result);
18936 return resultobj;
18937 fail:
18938 return NULL;
18939 }
18940
18941
18942 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18943 PyObject *resultobj;
18944 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18945 wxDC *arg2 = 0 ;
18946 double arg3 ;
18947 double arg4 ;
18948 double arg5 ;
18949 double arg6 ;
18950 bool arg7 = (bool) True ;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 PyObject * obj6 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18961 if (arg2 == NULL) {
18962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18963 }
18964 if (obj6) {
18965 {
18966 arg7 = (bool) SPyObj_AsBool(obj6);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 }
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 Py_INCREF(Py_None); resultobj = Py_None;
18978 return resultobj;
18979 fail:
18980 return NULL;
18981 }
18982
18983
18984 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj;
18986 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18987 bool arg2 ;
18988 double arg3 ;
18989 double arg4 ;
18990 int arg5 = (int) 0 ;
18991 int arg6 = (int) 0 ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 {
19001 arg2 = (bool) SPyObj_AsBool(obj1);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 Py_INCREF(Py_None); resultobj = Py_None;
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19021 double arg2 ;
19022 double arg3 ;
19023 int arg4 = (int) 0 ;
19024 int arg5 = (int) 0 ;
19025 PyObject * obj0 = 0 ;
19026 char *kwnames[] = {
19027 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19028 };
19029
19030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 Py_INCREF(Py_None); resultobj = Py_None;
19040 return resultobj;
19041 fail:
19042 return NULL;
19043 }
19044
19045
19046 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19049 double arg2 ;
19050 double arg3 ;
19051 int arg4 = (int) 0 ;
19052 int arg5 = (int) 0 ;
19053 PyObject * obj0 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19077 bool arg2 ;
19078 double arg3 ;
19079 double arg4 ;
19080 int arg5 = (int) 0 ;
19081 int arg6 = (int) 0 ;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19090 {
19091 arg2 = (bool) SPyObj_AsBool(obj1);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19111 double arg2 ;
19112 double arg3 ;
19113 int arg4 = (int) 0 ;
19114 int arg5 = (int) 0 ;
19115 PyObject * obj0 = 0 ;
19116 char *kwnames[] = {
19117 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19118 };
19119
19120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19125
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 Py_INCREF(Py_None); resultobj = Py_None;
19130 return resultobj;
19131 fail:
19132 return NULL;
19133 }
19134
19135
19136 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19137 PyObject *resultobj;
19138 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19139 double arg2 ;
19140 double arg3 ;
19141 int arg4 = (int) 0 ;
19142 int arg5 = (int) 0 ;
19143 PyObject * obj0 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 return resultobj;
19159 fail:
19160 return NULL;
19161 }
19162
19163
19164 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj;
19166 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19167 wxDC *arg2 = 0 ;
19168 double arg3 ;
19169 double arg4 ;
19170 double arg5 ;
19171 double arg6 ;
19172 PyObject * obj0 = 0 ;
19173 PyObject * obj1 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19181 if (arg2 == NULL) {
19182 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19183 }
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 Py_INCREF(Py_None); resultobj = Py_None;
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19201 wxDC *arg2 = 0 ;
19202 PyObject * obj0 = 0 ;
19203 PyObject * obj1 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "dc", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19210 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 if (arg2 == NULL) {
19212 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19213 }
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 (arg1)->base_OnDrawControlPoints(*arg2);
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 Py_INCREF(Py_None); resultobj = Py_None;
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19231 wxDC *arg2 = 0 ;
19232 PyObject * obj0 = 0 ;
19233 PyObject * obj1 = 0 ;
19234 char *kwnames[] = {
19235 (char *) "self",(char *) "dc", NULL
19236 };
19237
19238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19241 if (arg2 == NULL) {
19242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19243 }
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 (arg1)->base_OnEraseControlPoints(*arg2);
19247
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 Py_INCREF(Py_None); resultobj = Py_None;
19252 return resultobj;
19253 fail:
19254 return NULL;
19255 }
19256
19257
19258 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19261 wxDC *arg2 = 0 ;
19262 bool arg3 = (bool) True ;
19263 PyObject * obj0 = 0 ;
19264 PyObject * obj1 = 0 ;
19265 PyObject * obj2 = 0 ;
19266 char *kwnames[] = {
19267 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19268 };
19269
19270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19273 if (arg2 == NULL) {
19274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19275 }
19276 if (obj2) {
19277 {
19278 arg3 = (bool) SPyObj_AsBool(obj2);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 }
19281 }
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
19284 (arg1)->base_OnMoveLink(*arg2,arg3);
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 Py_INCREF(Py_None); resultobj = Py_None;
19290 return resultobj;
19291 fail:
19292 return NULL;
19293 }
19294
19295
19296 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj;
19298 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19299 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19300 bool arg3 ;
19301 double arg4 ;
19302 double arg5 ;
19303 int arg6 = (int) 0 ;
19304 int arg7 = (int) 0 ;
19305 PyObject * obj0 = 0 ;
19306 PyObject * obj1 = 0 ;
19307 PyObject * obj2 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19315 {
19316 arg3 = (bool) SPyObj_AsBool(obj2);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19322
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 Py_INCREF(Py_None); resultobj = Py_None;
19327 return resultobj;
19328 fail:
19329 return NULL;
19330 }
19331
19332
19333 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj;
19335 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19336 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19337 double arg3 ;
19338 double arg4 ;
19339 int arg5 = (int) 0 ;
19340 int arg6 = (int) 0 ;
19341 PyObject * obj0 = 0 ;
19342 PyObject * obj1 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 Py_INCREF(Py_None); resultobj = Py_None;
19358 return resultobj;
19359 fail:
19360 return NULL;
19361 }
19362
19363
19364 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19365 PyObject *resultobj;
19366 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19367 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19368 double arg3 ;
19369 double arg4 ;
19370 int arg5 = (int) 0 ;
19371 int arg6 = (int) 0 ;
19372 PyObject * obj0 = 0 ;
19373 PyObject * obj1 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19376 };
19377
19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 Py_INCREF(Py_None); resultobj = Py_None;
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19398 double arg2 ;
19399 double arg3 ;
19400 PyObject * obj0 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self",(char *) "w",(char *) "h", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 (arg1)->base_OnBeginSize(arg2,arg3);
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19424 double arg2 ;
19425 double arg3 ;
19426 PyObject * obj0 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self",(char *) "w",(char *) "h", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19433 {
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 (arg1)->base_OnEndSize(arg2,arg3);
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
19440 Py_INCREF(Py_None); resultobj = Py_None;
19441 return resultobj;
19442 fail:
19443 return NULL;
19444 }
19445
19446
19447 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
19448 PyObject *obj;
19449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19450 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
19451 Py_INCREF(obj);
19452 return Py_BuildValue((char *)"");
19453 }
19454 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
19455 PyObject *resultobj;
19456 double arg1 = (double) 0.0 ;
19457 wxPyCircleShape *result;
19458 char *kwnames[] = {
19459 (char *) "width", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|d:new_PyCircleShape",kwnames,&arg1)) goto fail;
19463 {
19464 PyThreadState* __tstate = wxPyBeginAllowThreads();
19465 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
19466
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCircleShape, 1);
19471 return resultobj;
19472 fail:
19473 return NULL;
19474 }
19475
19476
19477 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19478 PyObject *resultobj;
19479 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19480 PyObject *arg2 = (PyObject *) 0 ;
19481 PyObject *arg3 = (PyObject *) 0 ;
19482 PyObject * obj0 = 0 ;
19483 PyObject * obj1 = 0 ;
19484 PyObject * obj2 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self",(char *) "self",(char *) "_class", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19491 arg2 = obj1;
19492 arg3 = obj2;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 (arg1)->_setCallbackInfo(arg2,arg3);
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 Py_INCREF(Py_None); resultobj = Py_None;
19501 return resultobj;
19502 fail:
19503 return NULL;
19504 }
19505
19506
19507 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj;
19509 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19510 wxDC *arg2 = 0 ;
19511 PyObject * obj0 = 0 ;
19512 PyObject * obj1 = 0 ;
19513 char *kwnames[] = {
19514 (char *) "self",(char *) "dc", NULL
19515 };
19516
19517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
19518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19520 if (arg2 == NULL) {
19521 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19522 }
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 (arg1)->base_OnDraw(*arg2);
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 Py_INCREF(Py_None); resultobj = Py_None;
19531 return resultobj;
19532 fail:
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj;
19539 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19540 wxDC *arg2 = 0 ;
19541 PyObject * obj0 = 0 ;
19542 PyObject * obj1 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self",(char *) "dc", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 if (arg2 == NULL) {
19551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19552 }
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 (arg1)->base_OnDrawContents(*arg2);
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 Py_INCREF(Py_None); resultobj = Py_None;
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj;
19569 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19570 wxDC *arg2 = 0 ;
19571 bool arg3 = (bool) FALSE ;
19572 PyObject * obj0 = 0 ;
19573 PyObject * obj1 = 0 ;
19574 PyObject * obj2 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self",(char *) "dc",(char *) "erase", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19582 if (arg2 == NULL) {
19583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19584 }
19585 if (obj2) {
19586 {
19587 arg3 = (bool) SPyObj_AsBool(obj2);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 }
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 (arg1)->base_OnDrawBranches(*arg2,arg3);
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 Py_INCREF(Py_None); resultobj = Py_None;
19599 return resultobj;
19600 fail:
19601 return NULL;
19602 }
19603
19604
19605 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
19606 PyObject *resultobj;
19607 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19608 wxDC *arg2 = 0 ;
19609 PyObject * obj0 = 0 ;
19610 PyObject * obj1 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self",(char *) "dc", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19618 if (arg2 == NULL) {
19619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19620 }
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 (arg1)->base_OnMoveLinks(*arg2);
19624
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 Py_INCREF(Py_None); resultobj = Py_None;
19629 return resultobj;
19630 fail:
19631 return NULL;
19632 }
19633
19634
19635 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19636 PyObject *resultobj;
19637 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19638 wxDC *arg2 = 0 ;
19639 PyObject * obj0 = 0 ;
19640 PyObject * obj1 = 0 ;
19641 char *kwnames[] = {
19642 (char *) "self",(char *) "dc", NULL
19643 };
19644
19645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19648 if (arg2 == NULL) {
19649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19650 }
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 (arg1)->base_OnErase(*arg2);
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 Py_INCREF(Py_None); resultobj = Py_None;
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj;
19667 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19668 wxDC *arg2 = 0 ;
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj1 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "dc", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19678 if (arg2 == NULL) {
19679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19680 }
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 (arg1)->base_OnEraseContents(*arg2);
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 Py_INCREF(Py_None); resultobj = Py_None;
19689 return resultobj;
19690 fail:
19691 return NULL;
19692 }
19693
19694
19695 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj;
19697 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19698 wxDC *arg2 = 0 ;
19699 PyObject * obj0 = 0 ;
19700 PyObject * obj1 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self",(char *) "dc", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19708 if (arg2 == NULL) {
19709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19710 }
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 (arg1)->base_OnHighlight(*arg2);
19714
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
19718 Py_INCREF(Py_None); resultobj = Py_None;
19719 return resultobj;
19720 fail:
19721 return NULL;
19722 }
19723
19724
19725 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19726 PyObject *resultobj;
19727 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19728 double arg2 ;
19729 double arg3 ;
19730 int arg4 = (int) 0 ;
19731 int arg5 = (int) 0 ;
19732 PyObject * obj0 = 0 ;
19733 char *kwnames[] = {
19734 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19735 };
19736
19737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19739 {
19740 PyThreadState* __tstate = wxPyBeginAllowThreads();
19741 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19742
19743 wxPyEndAllowThreads(__tstate);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 }
19746 Py_INCREF(Py_None); resultobj = Py_None;
19747 return resultobj;
19748 fail:
19749 return NULL;
19750 }
19751
19752
19753 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19754 PyObject *resultobj;
19755 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19756 double arg2 ;
19757 double arg3 ;
19758 int arg4 = (int) 0 ;
19759 int arg5 = (int) 0 ;
19760 PyObject * obj0 = 0 ;
19761 char *kwnames[] = {
19762 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19763 };
19764
19765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19770
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 Py_INCREF(Py_None); resultobj = Py_None;
19775 return resultobj;
19776 fail:
19777 return NULL;
19778 }
19779
19780
19781 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19782 PyObject *resultobj;
19783 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19784 double arg2 ;
19785 double arg3 ;
19786 int arg4 = (int) 0 ;
19787 int arg5 = (int) 0 ;
19788 PyObject * obj0 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19791 };
19792
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 Py_INCREF(Py_None); resultobj = Py_None;
19803 return resultobj;
19804 fail:
19805 return NULL;
19806 }
19807
19808
19809 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19810 PyObject *resultobj;
19811 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19812 double arg2 ;
19813 double arg3 ;
19814 PyObject * obj0 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self",(char *) "x",(char *) "y", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 (arg1)->base_OnSize(arg2,arg3);
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 Py_INCREF(Py_None); resultobj = Py_None;
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19838 wxDC *arg2 = 0 ;
19839 double arg3 ;
19840 double arg4 ;
19841 double arg5 ;
19842 double arg6 ;
19843 bool arg7 = (bool) True ;
19844 bool result;
19845 PyObject * obj0 = 0 ;
19846 PyObject * obj1 = 0 ;
19847 PyObject * obj6 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19850 };
19851
19852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19854 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19855 if (arg2 == NULL) {
19856 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19857 }
19858 if (obj6) {
19859 {
19860 arg7 = (bool) SPyObj_AsBool(obj6);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 }
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19867
19868 wxPyEndAllowThreads(__tstate);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 }
19871 resultobj = PyInt_FromLong((long)result);
19872 return resultobj;
19873 fail:
19874 return NULL;
19875 }
19876
19877
19878 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19881 wxDC *arg2 = 0 ;
19882 double arg3 ;
19883 double arg4 ;
19884 double arg5 ;
19885 double arg6 ;
19886 bool arg7 = (bool) True ;
19887 PyObject * obj0 = 0 ;
19888 PyObject * obj1 = 0 ;
19889 PyObject * obj6 = 0 ;
19890 char *kwnames[] = {
19891 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19892 };
19893
19894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19897 if (arg2 == NULL) {
19898 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19899 }
19900 if (obj6) {
19901 {
19902 arg7 = (bool) SPyObj_AsBool(obj6);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 }
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 Py_INCREF(Py_None); resultobj = Py_None;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19923 bool arg2 ;
19924 double arg3 ;
19925 double arg4 ;
19926 int arg5 = (int) 0 ;
19927 int arg6 = (int) 0 ;
19928 PyObject * obj0 = 0 ;
19929 PyObject * obj1 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19936 {
19937 arg2 = (bool) SPyObj_AsBool(obj1);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 Py_INCREF(Py_None); resultobj = Py_None;
19948 return resultobj;
19949 fail:
19950 return NULL;
19951 }
19952
19953
19954 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj;
19956 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19957 double arg2 ;
19958 double arg3 ;
19959 int arg4 = (int) 0 ;
19960 int arg5 = (int) 0 ;
19961 PyObject * obj0 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 Py_INCREF(Py_None); resultobj = Py_None;
19976 return resultobj;
19977 fail:
19978 return NULL;
19979 }
19980
19981
19982 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19983 PyObject *resultobj;
19984 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19985 double arg2 ;
19986 double arg3 ;
19987 int arg4 = (int) 0 ;
19988 int arg5 = (int) 0 ;
19989 PyObject * obj0 = 0 ;
19990 char *kwnames[] = {
19991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19992 };
19993
19994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
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
20010 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20011 PyObject *resultobj;
20012 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20013 bool arg2 ;
20014 double arg3 ;
20015 double arg4 ;
20016 int arg5 = (int) 0 ;
20017 int arg6 = (int) 0 ;
20018 PyObject * obj0 = 0 ;
20019 PyObject * obj1 = 0 ;
20020 char *kwnames[] = {
20021 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20022 };
20023
20024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
20025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20026 {
20027 arg2 = (bool) SPyObj_AsBool(obj1);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
20033
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 Py_INCREF(Py_None); resultobj = Py_None;
20038 return resultobj;
20039 fail:
20040 return NULL;
20041 }
20042
20043
20044 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20045 PyObject *resultobj;
20046 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20047 double arg2 ;
20048 double arg3 ;
20049 int arg4 = (int) 0 ;
20050 int arg5 = (int) 0 ;
20051 PyObject * obj0 = 0 ;
20052 char *kwnames[] = {
20053 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20054 };
20055
20056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 Py_INCREF(Py_None); resultobj = Py_None;
20066 return resultobj;
20067 fail:
20068 return NULL;
20069 }
20070
20071
20072 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20073 PyObject *resultobj;
20074 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20075 double arg2 ;
20076 double arg3 ;
20077 int arg4 = (int) 0 ;
20078 int arg5 = (int) 0 ;
20079 PyObject * obj0 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
20089
20090 wxPyEndAllowThreads(__tstate);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 }
20093 Py_INCREF(Py_None); resultobj = Py_None;
20094 return resultobj;
20095 fail:
20096 return NULL;
20097 }
20098
20099
20100 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj;
20102 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20103 wxDC *arg2 = 0 ;
20104 double arg3 ;
20105 double arg4 ;
20106 double arg5 ;
20107 double arg6 ;
20108 PyObject * obj0 = 0 ;
20109 PyObject * obj1 = 0 ;
20110 char *kwnames[] = {
20111 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
20115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20117 if (arg2 == NULL) {
20118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20119 }
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 Py_INCREF(Py_None); resultobj = Py_None;
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20137 wxDC *arg2 = 0 ;
20138 PyObject * obj0 = 0 ;
20139 PyObject * obj1 = 0 ;
20140 char *kwnames[] = {
20141 (char *) "self",(char *) "dc", NULL
20142 };
20143
20144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
20145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20147 if (arg2 == NULL) {
20148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20149 }
20150 {
20151 PyThreadState* __tstate = wxPyBeginAllowThreads();
20152 (arg1)->base_OnDrawControlPoints(*arg2);
20153
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 Py_INCREF(Py_None); resultobj = Py_None;
20158 return resultobj;
20159 fail:
20160 return NULL;
20161 }
20162
20163
20164 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20165 PyObject *resultobj;
20166 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20167 wxDC *arg2 = 0 ;
20168 PyObject * obj0 = 0 ;
20169 PyObject * obj1 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self",(char *) "dc", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
20175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20177 if (arg2 == NULL) {
20178 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20179 }
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 (arg1)->base_OnEraseControlPoints(*arg2);
20183
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 Py_INCREF(Py_None); resultobj = Py_None;
20188 return resultobj;
20189 fail:
20190 return NULL;
20191 }
20192
20193
20194 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
20195 PyObject *resultobj;
20196 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20197 wxDC *arg2 = 0 ;
20198 bool arg3 = (bool) True ;
20199 PyObject * obj0 = 0 ;
20200 PyObject * obj1 = 0 ;
20201 PyObject * obj2 = 0 ;
20202 char *kwnames[] = {
20203 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
20204 };
20205
20206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
20207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20209 if (arg2 == NULL) {
20210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20211 }
20212 if (obj2) {
20213 {
20214 arg3 = (bool) SPyObj_AsBool(obj2);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 }
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 (arg1)->base_OnMoveLink(*arg2,arg3);
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 Py_INCREF(Py_None); resultobj = Py_None;
20226 return resultobj;
20227 fail:
20228 return NULL;
20229 }
20230
20231
20232 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20235 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20236 bool arg3 ;
20237 double arg4 ;
20238 double arg5 ;
20239 int arg6 = (int) 0 ;
20240 int arg7 = (int) 0 ;
20241 PyObject * obj0 = 0 ;
20242 PyObject * obj1 = 0 ;
20243 PyObject * obj2 = 0 ;
20244 char *kwnames[] = {
20245 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20246 };
20247
20248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
20249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20251 {
20252 arg3 = (bool) SPyObj_AsBool(obj2);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
20258
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 Py_INCREF(Py_None); resultobj = Py_None;
20263 return resultobj;
20264 fail:
20265 return NULL;
20266 }
20267
20268
20269 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20270 PyObject *resultobj;
20271 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20272 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20273 double arg3 ;
20274 double arg4 ;
20275 int arg5 = (int) 0 ;
20276 int arg6 = (int) 0 ;
20277 PyObject * obj0 = 0 ;
20278 PyObject * obj1 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
20284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20286 {
20287 PyThreadState* __tstate = wxPyBeginAllowThreads();
20288 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
20289
20290 wxPyEndAllowThreads(__tstate);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 }
20293 Py_INCREF(Py_None); resultobj = Py_None;
20294 return resultobj;
20295 fail:
20296 return NULL;
20297 }
20298
20299
20300 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20301 PyObject *resultobj;
20302 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20303 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20304 double arg3 ;
20305 double arg4 ;
20306 int arg5 = (int) 0 ;
20307 int arg6 = (int) 0 ;
20308 PyObject * obj0 = 0 ;
20309 PyObject * obj1 = 0 ;
20310 char *kwnames[] = {
20311 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
20315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 Py_INCREF(Py_None); resultobj = Py_None;
20325 return resultobj;
20326 fail:
20327 return NULL;
20328 }
20329
20330
20331 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20332 PyObject *resultobj;
20333 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20334 double arg2 ;
20335 double arg3 ;
20336 PyObject * obj0 = 0 ;
20337 char *kwnames[] = {
20338 (char *) "self",(char *) "w",(char *) "h", NULL
20339 };
20340
20341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
20342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20343 {
20344 PyThreadState* __tstate = wxPyBeginAllowThreads();
20345 (arg1)->base_OnBeginSize(arg2,arg3);
20346
20347 wxPyEndAllowThreads(__tstate);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 Py_INCREF(Py_None); resultobj = Py_None;
20351 return resultobj;
20352 fail:
20353 return NULL;
20354 }
20355
20356
20357 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20358 PyObject *resultobj;
20359 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
20360 double arg2 ;
20361 double arg3 ;
20362 PyObject * obj0 = 0 ;
20363 char *kwnames[] = {
20364 (char *) "self",(char *) "w",(char *) "h", NULL
20365 };
20366
20367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
20368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 (arg1)->base_OnEndSize(arg2,arg3);
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 Py_INCREF(Py_None); resultobj = Py_None;
20377 return resultobj;
20378 fail:
20379 return NULL;
20380 }
20381
20382
20383 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
20384 PyObject *obj;
20385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20386 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
20387 Py_INCREF(obj);
20388 return Py_BuildValue((char *)"");
20389 }
20390 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 int arg1 = (int) 0 ;
20393 int arg2 = (int) 0 ;
20394 double arg3 = (double) 0.0 ;
20395 double arg4 = (double) 0.0 ;
20396 wxString const &arg5_defvalue = wxPyEmptyString ;
20397 wxString *arg5 = (wxString *) &arg5_defvalue ;
20398 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
20399 long arg7 = (long) -1 ;
20400 wxArrowHead *result;
20401 bool temp5 = False ;
20402 PyObject * obj4 = 0 ;
20403 PyObject * obj5 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiddOOl:new_ArrowHead",kwnames,&arg1,&arg2,&arg3,&arg4,&obj4,&obj5,&arg7)) goto fail;
20409 if (obj4) {
20410 {
20411 arg5 = wxString_in_helper(obj4);
20412 if (arg5 == NULL) SWIG_fail;
20413 temp5 = True;
20414 }
20415 }
20416 if (obj5) {
20417 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20418 }
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 {
20427 resultobj = wxPyMake_wxObject(result);
20428 }
20429 {
20430 if (temp5)
20431 delete arg5;
20432 }
20433 return resultobj;
20434 fail:
20435 {
20436 if (temp5)
20437 delete arg5;
20438 }
20439 return NULL;
20440 }
20441
20442
20443 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20444 PyObject *resultobj;
20445 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20446 PyObject * obj0 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
20452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 delete arg1;
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 Py_INCREF(Py_None); resultobj = Py_None;
20461 return resultobj;
20462 fail:
20463 return NULL;
20464 }
20465
20466
20467 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20470 int result;
20471 PyObject * obj0 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (int)(arg1)->_GetType();
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 resultobj = PyInt_FromLong((long)result);
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20495 int result;
20496 PyObject * obj0 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 result = (int)(arg1)->GetPosition();
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 resultobj = PyInt_FromLong((long)result);
20511 return resultobj;
20512 fail:
20513 return NULL;
20514 }
20515
20516
20517 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20520 int arg2 ;
20521 PyObject * obj0 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self",(char *) "pos", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ArrowHead_SetPosition",kwnames,&obj0,&arg2)) goto fail;
20527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 (arg1)->SetPosition(arg2);
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 Py_INCREF(Py_None); resultobj = Py_None;
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20545 double result;
20546 PyObject * obj0 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 result = (double)(arg1)->GetXOffset();
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 resultobj = PyFloat_FromDouble(result);
20561 return resultobj;
20562 fail:
20563 return NULL;
20564 }
20565
20566
20567 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20568 PyObject *resultobj;
20569 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20570 double result;
20571 PyObject * obj0 = 0 ;
20572 char *kwnames[] = {
20573 (char *) "self", NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
20577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (double)(arg1)->GetYOffset();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 resultobj = PyFloat_FromDouble(result);
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20595 double result;
20596 PyObject * obj0 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self", NULL
20599 };
20600
20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
20602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20603 {
20604 PyThreadState* __tstate = wxPyBeginAllowThreads();
20605 result = (double)(arg1)->GetSpacing();
20606
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 resultobj = PyFloat_FromDouble(result);
20611 return resultobj;
20612 fail:
20613 return NULL;
20614 }
20615
20616
20617 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj;
20619 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20620 double result;
20621 PyObject * obj0 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
20627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 result = (double)(arg1)->GetSize();
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 resultobj = PyFloat_FromDouble(result);
20636 return resultobj;
20637 fail:
20638 return NULL;
20639 }
20640
20641
20642 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj;
20644 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20645 wxString result;
20646 PyObject * obj0 = 0 ;
20647 char *kwnames[] = {
20648 (char *) "self", NULL
20649 };
20650
20651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
20652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 result = (arg1)->GetName();
20656
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 {
20661 #if wxUSE_UNICODE
20662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20663 #else
20664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20665 #endif
20666 }
20667 return resultobj;
20668 fail:
20669 return NULL;
20670 }
20671
20672
20673 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj;
20675 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20676 double arg2 ;
20677 PyObject * obj0 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self",(char *) "x", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
20683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 (arg1)->SetXOffset(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
20698 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20701 double arg2 ;
20702 PyObject * obj0 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self",(char *) "y", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetYOffset",kwnames,&obj0,&arg2)) goto fail;
20708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 (arg1)->SetYOffset(arg2);
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 Py_INCREF(Py_None); resultobj = Py_None;
20717 return resultobj;
20718 fail:
20719 return NULL;
20720 }
20721
20722
20723 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20724 PyObject *resultobj;
20725 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20726 wxPseudoMetaFile *result;
20727 PyObject * obj0 = 0 ;
20728 char *kwnames[] = {
20729 (char *) "self", NULL
20730 };
20731
20732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
20733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 {
20742 resultobj = wxPyMake_wxObject(result);
20743 }
20744 return resultobj;
20745 fail:
20746 return NULL;
20747 }
20748
20749
20750 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20751 PyObject *resultobj;
20752 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20753 long result;
20754 PyObject * obj0 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 result = (long)(arg1)->GetId();
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 resultobj = PyInt_FromLong((long)result);
20769 return resultobj;
20770 fail:
20771 return NULL;
20772 }
20773
20774
20775 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj;
20777 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20778 int result;
20779 PyObject * obj0 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
20785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 result = (int)(arg1)->GetArrowEnd();
20789
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 resultobj = PyInt_FromLong((long)result);
20794 return resultobj;
20795 fail:
20796 return NULL;
20797 }
20798
20799
20800 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj;
20802 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20803 double result;
20804 PyObject * obj0 = 0 ;
20805 char *kwnames[] = {
20806 (char *) "self", NULL
20807 };
20808
20809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
20810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20811 {
20812 PyThreadState* __tstate = wxPyBeginAllowThreads();
20813 result = (double)(arg1)->GetArrowSize();
20814
20815 wxPyEndAllowThreads(__tstate);
20816 if (PyErr_Occurred()) SWIG_fail;
20817 }
20818 resultobj = PyFloat_FromDouble(result);
20819 return resultobj;
20820 fail:
20821 return NULL;
20822 }
20823
20824
20825 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20826 PyObject *resultobj;
20827 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20828 double arg2 ;
20829 PyObject * obj0 = 0 ;
20830 char *kwnames[] = {
20831 (char *) "self",(char *) "size", NULL
20832 };
20833
20834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSize",kwnames,&obj0,&arg2)) goto fail;
20835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20836 {
20837 PyThreadState* __tstate = wxPyBeginAllowThreads();
20838 (arg1)->SetSize(arg2);
20839
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 Py_INCREF(Py_None); resultobj = Py_None;
20844 return resultobj;
20845 fail:
20846 return NULL;
20847 }
20848
20849
20850 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20851 PyObject *resultobj;
20852 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20853 double arg2 ;
20854 PyObject * obj0 = 0 ;
20855 char *kwnames[] = {
20856 (char *) "self",(char *) "sp", NULL
20857 };
20858
20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSpacing",kwnames,&obj0,&arg2)) goto fail;
20860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 (arg1)->SetSpacing(arg2);
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 Py_INCREF(Py_None); resultobj = Py_None;
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
20876 PyObject *obj;
20877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20878 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
20879 Py_INCREF(obj);
20880 return Py_BuildValue((char *)"");
20881 }
20882 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20883 PyObject *resultobj;
20884 wxPyLineShape *result;
20885 char *kwnames[] = {
20886 NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
20890 {
20891 PyThreadState* __tstate = wxPyBeginAllowThreads();
20892 result = (wxPyLineShape *)new wxPyLineShape();
20893
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLineShape, 1);
20898 return resultobj;
20899 fail:
20900 return NULL;
20901 }
20902
20903
20904 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj;
20906 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20907 PyObject *arg2 = (PyObject *) 0 ;
20908 PyObject *arg3 = (PyObject *) 0 ;
20909 PyObject * obj0 = 0 ;
20910 PyObject * obj1 = 0 ;
20911 PyObject * obj2 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self",(char *) "self",(char *) "_class", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20918 arg2 = obj1;
20919 arg3 = obj2;
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 (arg1)->_setCallbackInfo(arg2,arg3);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 Py_INCREF(Py_None); resultobj = Py_None;
20928 return resultobj;
20929 fail:
20930 return NULL;
20931 }
20932
20933
20934 static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20935 PyObject *resultobj;
20936 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20937 int arg2 ;
20938 int arg3 = (int) ARROW_POSITION_END ;
20939 double arg4 = (double) 10.0 ;
20940 double arg5 = (double) 0.0 ;
20941 wxString const &arg6_defvalue = wxPyEmptyString ;
20942 wxString *arg6 = (wxString *) &arg6_defvalue ;
20943 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
20944 long arg8 = (long) -1 ;
20945 bool temp6 = False ;
20946 PyObject * obj0 = 0 ;
20947 PyObject * obj5 = 0 ;
20948 PyObject * obj6 = 0 ;
20949 char *kwnames[] = {
20950 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20951 };
20952
20953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8)) goto fail;
20954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20955 if (obj5) {
20956 {
20957 arg6 = wxString_in_helper(obj5);
20958 if (arg6 == NULL) SWIG_fail;
20959 temp6 = True;
20960 }
20961 }
20962 if (obj6) {
20963 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20964 }
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 Py_INCREF(Py_None); resultobj = Py_None;
20973 {
20974 if (temp6)
20975 delete arg6;
20976 }
20977 return resultobj;
20978 fail:
20979 {
20980 if (temp6)
20981 delete arg6;
20982 }
20983 return NULL;
20984 }
20985
20986
20987 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
20988 PyObject *resultobj;
20989 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20990 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
20991 PyObject *arg3 = (PyObject *) 0 ;
20992 int arg4 ;
20993 PyObject * obj0 = 0 ;
20994 PyObject * obj1 = 0 ;
20995 PyObject * obj2 = 0 ;
20996 char *kwnames[] = {
20997 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20998 };
20999
21000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
21001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21003 arg3 = obj2;
21004 {
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
21006 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
21007
21008 wxPyEndAllowThreads(__tstate);
21009 if (PyErr_Occurred()) SWIG_fail;
21010 }
21011 Py_INCREF(Py_None); resultobj = Py_None;
21012 return resultobj;
21013 fail:
21014 return NULL;
21015 }
21016
21017
21018 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
21019 PyObject *resultobj;
21020 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21021 wxString *arg2 = 0 ;
21022 bool result;
21023 bool temp2 = False ;
21024 PyObject * obj0 = 0 ;
21025 PyObject * obj1 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self",(char *) "name", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
21031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21032 {
21033 arg2 = wxString_in_helper(obj1);
21034 if (arg2 == NULL) SWIG_fail;
21035 temp2 = True;
21036 }
21037 {
21038 PyThreadState* __tstate = wxPyBeginAllowThreads();
21039 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
21040
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 resultobj = PyInt_FromLong((long)result);
21045 {
21046 if (temp2)
21047 delete arg2;
21048 }
21049 return resultobj;
21050 fail:
21051 {
21052 if (temp2)
21053 delete arg2;
21054 }
21055 return NULL;
21056 }
21057
21058
21059 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21060 PyObject *resultobj;
21061 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21062 int arg2 = (int) -1 ;
21063 PyObject * obj0 = 0 ;
21064 char *kwnames[] = {
21065 (char *) "self",(char *) "position", NULL
21066 };
21067
21068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&arg2)) goto fail;
21069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21070 {
21071 PyThreadState* __tstate = wxPyBeginAllowThreads();
21072 (arg1)->ClearArrowsAtPosition(arg2);
21073
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 Py_INCREF(Py_None); resultobj = Py_None;
21078 return resultobj;
21079 fail:
21080 return NULL;
21081 }
21082
21083
21084 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
21085 PyObject *resultobj;
21086 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21087 wxDC *arg2 = 0 ;
21088 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
21089 double arg4 ;
21090 bool arg5 ;
21091 PyObject * obj0 = 0 ;
21092 PyObject * obj1 = 0 ;
21093 PyObject * obj2 = 0 ;
21094 PyObject * obj4 = 0 ;
21095 char *kwnames[] = {
21096 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
21097 };
21098
21099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
21100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21102 if (arg2 == NULL) {
21103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21104 }
21105 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21106 {
21107 arg5 = (bool) SPyObj_AsBool(obj4);
21108 if (PyErr_Occurred()) SWIG_fail;
21109 }
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
21113
21114 wxPyEndAllowThreads(__tstate);
21115 if (PyErr_Occurred()) SWIG_fail;
21116 }
21117 Py_INCREF(Py_None); resultobj = Py_None;
21118 return resultobj;
21119 fail:
21120 return NULL;
21121 }
21122
21123
21124 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21127 long arg2 ;
21128 bool result;
21129 PyObject * obj0 = 0 ;
21130 char *kwnames[] = {
21131 (char *) "self",(char *) "arrowId", NULL
21132 };
21133
21134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
21135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21136 {
21137 PyThreadState* __tstate = wxPyBeginAllowThreads();
21138 result = (bool)(arg1)->DeleteArrowHead(arg2);
21139
21140 wxPyEndAllowThreads(__tstate);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
21143 resultobj = PyInt_FromLong((long)result);
21144 return resultobj;
21145 fail:
21146 return NULL;
21147 }
21148
21149
21150 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
21151 PyObject *resultobj;
21152 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21153 int arg2 ;
21154 wxString *arg3 = 0 ;
21155 bool result;
21156 bool temp3 = False ;
21157 PyObject * obj0 = 0 ;
21158 PyObject * obj2 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self",(char *) "position",(char *) "name", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
21164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21165 {
21166 arg3 = wxString_in_helper(obj2);
21167 if (arg3 == NULL) SWIG_fail;
21168 temp3 = True;
21169 }
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 resultobj = PyInt_FromLong((long)result);
21178 {
21179 if (temp3)
21180 delete arg3;
21181 }
21182 return resultobj;
21183 fail:
21184 {
21185 if (temp3)
21186 delete arg3;
21187 }
21188 return NULL;
21189 }
21190
21191
21192 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj;
21194 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21195 bool result;
21196 PyObject * obj0 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self", NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
21202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 result = (bool)(arg1)->DeleteLineControlPoint();
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 resultobj = PyInt_FromLong((long)result);
21211 return resultobj;
21212 fail:
21213 return NULL;
21214 }
21215
21216
21217 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
21218 PyObject *resultobj;
21219 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21220 wxDC *arg2 = 0 ;
21221 PyObject * obj0 = 0 ;
21222 PyObject * obj1 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self",(char *) "dc", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
21228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21230 if (arg2 == NULL) {
21231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21232 }
21233 {
21234 PyThreadState* __tstate = wxPyBeginAllowThreads();
21235 (arg1)->DrawArrows(*arg2);
21236
21237 wxPyEndAllowThreads(__tstate);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 Py_INCREF(Py_None); resultobj = Py_None;
21241 return resultobj;
21242 fail:
21243 return NULL;
21244 }
21245
21246
21247 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj;
21249 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21250 wxDC *arg2 = 0 ;
21251 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
21252 double arg4 ;
21253 double arg5 ;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 PyObject * obj2 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
21262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21264 if (arg2 == NULL) {
21265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21266 }
21267 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 Py_INCREF(Py_None); resultobj = Py_None;
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21285 wxDC *arg2 = 0 ;
21286 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
21287 double arg4 ;
21288 double arg5 ;
21289 PyObject * obj0 = 0 ;
21290 PyObject * obj1 = 0 ;
21291 PyObject * obj2 = 0 ;
21292 char *kwnames[] = {
21293 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
21294 };
21295
21296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
21297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21299 if (arg2 == NULL) {
21300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21301 }
21302 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 Py_INCREF(Py_None); resultobj = Py_None;
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21320 long arg2 ;
21321 wxArrowHead *result;
21322 PyObject * obj0 = 0 ;
21323 char *kwnames[] = {
21324 (char *) "self",(char *) "arrowId", NULL
21325 };
21326
21327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
21328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 {
21337 resultobj = wxPyMake_wxObject(result);
21338 }
21339 return resultobj;
21340 fail:
21341 return NULL;
21342 }
21343
21344
21345 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
21346 PyObject *resultobj;
21347 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21348 int arg2 ;
21349 wxString *arg3 = 0 ;
21350 wxArrowHead *result;
21351 bool temp3 = False ;
21352 PyObject * obj0 = 0 ;
21353 PyObject * obj2 = 0 ;
21354 char *kwnames[] = {
21355 (char *) "self",(char *) "position",(char *) "name", NULL
21356 };
21357
21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_FindArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
21359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21360 {
21361 arg3 = wxString_in_helper(obj2);
21362 if (arg3 == NULL) SWIG_fail;
21363 temp3 = True;
21364 }
21365 {
21366 PyThreadState* __tstate = wxPyBeginAllowThreads();
21367 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
21368
21369 wxPyEndAllowThreads(__tstate);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 }
21372 {
21373 resultobj = wxPyMake_wxObject(result);
21374 }
21375 {
21376 if (temp3)
21377 delete arg3;
21378 }
21379 return resultobj;
21380 fail:
21381 {
21382 if (temp3)
21383 delete arg3;
21384 }
21385 return NULL;
21386 }
21387
21388
21389 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj;
21391 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21392 double *arg2 = (double *) 0 ;
21393 double *arg3 = (double *) 0 ;
21394 double *arg4 = (double *) 0 ;
21395 double *arg5 = (double *) 0 ;
21396 double temp2 ;
21397 double temp3 ;
21398 double temp4 ;
21399 double temp5 ;
21400 PyObject * obj0 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self", NULL
21403 };
21404
21405 arg2 = &temp2;
21406 arg3 = &temp3;
21407 arg4 = &temp4;
21408 arg5 = &temp5;
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
21410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
21414
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 Py_INCREF(Py_None); resultobj = Py_None;
21419 {
21420 PyObject *o = PyFloat_FromDouble((double) (*arg2));
21421 resultobj = t_output_helper(resultobj,o);
21422 }
21423 {
21424 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21425 resultobj = t_output_helper(resultobj,o);
21426 }
21427 {
21428 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21429 resultobj = t_output_helper(resultobj,o);
21430 }
21431 {
21432 PyObject *o = PyFloat_FromDouble((double) (*arg5));
21433 resultobj = t_output_helper(resultobj,o);
21434 }
21435 return resultobj;
21436 fail:
21437 return NULL;
21438 }
21439
21440
21441 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj;
21443 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21444 double arg2 ;
21445 double arg3 ;
21446 int result;
21447 PyObject * obj0 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self",(char *) "x",(char *) "y", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_FindLinePosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
21453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 result = (int)(arg1)->FindLinePosition(arg2,arg3);
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 resultobj = PyInt_FromLong((long)result);
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21471 double result;
21472 PyObject * obj0 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = (double)(arg1)->FindMinimumWidth();
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 resultobj = PyFloat_FromDouble(result);
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21496 wxPyShape *arg2 = (wxPyShape *) 0 ;
21497 int *arg3 = (int *) 0 ;
21498 int *arg4 = (int *) 0 ;
21499 bool arg5 ;
21500 int temp3 ;
21501 int temp4 ;
21502 PyObject * obj0 = 0 ;
21503 PyObject * obj1 = 0 ;
21504 PyObject * obj2 = 0 ;
21505 char *kwnames[] = {
21506 (char *) "self",(char *) "image",(char *) "incoming", NULL
21507 };
21508
21509 arg3 = &temp3;
21510 arg4 = &temp4;
21511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21513 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21514 {
21515 arg5 = (bool) SPyObj_AsBool(obj2);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 (arg1)->FindNth(arg2,arg3,arg4,arg5);
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 Py_INCREF(Py_None); resultobj = Py_None;
21526 {
21527 PyObject *o = PyInt_FromLong((long) (*arg3));
21528 resultobj = t_output_helper(resultobj,o);
21529 }
21530 {
21531 PyObject *o = PyInt_FromLong((long) (*arg4));
21532 resultobj = t_output_helper(resultobj,o);
21533 }
21534 return resultobj;
21535 fail:
21536 return NULL;
21537 }
21538
21539
21540 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21541 PyObject *resultobj;
21542 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21543 int result;
21544 PyObject * obj0 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
21550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 result = (int)(arg1)->GetAttachmentFrom();
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 resultobj = PyInt_FromLong((long)result);
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21568 int result;
21569 PyObject * obj0 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
21575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 result = (int)(arg1)->GetAttachmentTo();
21579
21580 wxPyEndAllowThreads(__tstate);
21581 if (PyErr_Occurred()) SWIG_fail;
21582 }
21583 resultobj = PyInt_FromLong((long)result);
21584 return resultobj;
21585 fail:
21586 return NULL;
21587 }
21588
21589
21590 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
21591 PyObject *resultobj;
21592 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21593 double *arg2 = (double *) 0 ;
21594 double *arg3 = (double *) 0 ;
21595 double *arg4 = (double *) 0 ;
21596 double *arg5 = (double *) 0 ;
21597 double temp2 ;
21598 double temp3 ;
21599 double temp4 ;
21600 double temp5 ;
21601 PyObject * obj0 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self", NULL
21604 };
21605
21606 arg2 = &temp2;
21607 arg3 = &temp3;
21608 arg4 = &temp4;
21609 arg5 = &temp5;
21610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
21611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21612 {
21613 PyThreadState* __tstate = wxPyBeginAllowThreads();
21614 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
21615
21616 wxPyEndAllowThreads(__tstate);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 Py_INCREF(Py_None); resultobj = Py_None;
21620 {
21621 PyObject *o = PyFloat_FromDouble((double) (*arg2));
21622 resultobj = t_output_helper(resultobj,o);
21623 }
21624 {
21625 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21626 resultobj = t_output_helper(resultobj,o);
21627 }
21628 {
21629 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21630 resultobj = t_output_helper(resultobj,o);
21631 }
21632 {
21633 PyObject *o = PyFloat_FromDouble((double) (*arg5));
21634 resultobj = t_output_helper(resultobj,o);
21635 }
21636 return resultobj;
21637 fail:
21638 return NULL;
21639 }
21640
21641
21642 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21643 PyObject *resultobj;
21644 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21645 wxPyShape *result;
21646 PyObject * obj0 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "self", NULL
21649 };
21650
21651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
21652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21653 {
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 result = (wxPyShape *)(arg1)->GetFrom();
21656
21657 wxPyEndAllowThreads(__tstate);
21658 if (PyErr_Occurred()) SWIG_fail;
21659 }
21660 {
21661 resultobj = wxPyMake_wxShapeEvtHandler(result);
21662 }
21663 return resultobj;
21664 fail:
21665 return NULL;
21666 }
21667
21668
21669 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21672 int arg2 ;
21673 double *arg3 = (double *) 0 ;
21674 double *arg4 = (double *) 0 ;
21675 double temp3 ;
21676 double temp4 ;
21677 PyObject * obj0 = 0 ;
21678 char *kwnames[] = {
21679 (char *) "self",(char *) "position", NULL
21680 };
21681
21682 arg3 = &temp3;
21683 arg4 = &temp4;
21684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames,&obj0,&arg2)) goto fail;
21685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 (arg1)->GetLabelPosition(arg2,arg3,arg4);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 Py_INCREF(Py_None); resultobj = Py_None;
21694 {
21695 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21696 resultobj = t_output_helper(resultobj,o);
21697 }
21698 {
21699 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21700 resultobj = t_output_helper(resultobj,o);
21701 }
21702 return resultobj;
21703 fail:
21704 return NULL;
21705 }
21706
21707
21708 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21709 PyObject *resultobj;
21710 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21711 wxPyShape *arg2 = (wxPyShape *) 0 ;
21712 wxRealPoint *result;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self",(char *) "shape", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
21720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 0);
21730 return resultobj;
21731 fail:
21732 return NULL;
21733 }
21734
21735
21736 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21737 PyObject *resultobj;
21738 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21739 wxPyShape *result;
21740 PyObject * obj0 = 0 ;
21741 char *kwnames[] = {
21742 (char *) "self", NULL
21743 };
21744
21745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
21746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21747 {
21748 PyThreadState* __tstate = wxPyBeginAllowThreads();
21749 result = (wxPyShape *)(arg1)->GetTo();
21750
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
21754 {
21755 resultobj = wxPyMake_wxShapeEvtHandler(result);
21756 }
21757 return resultobj;
21758 fail:
21759 return NULL;
21760 }
21761
21762
21763 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21766 PyObject * obj0 = 0 ;
21767 char *kwnames[] = {
21768 (char *) "self", NULL
21769 };
21770
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
21772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 (arg1)->Initialise();
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 Py_INCREF(Py_None); resultobj = Py_None;
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21790 wxDC *arg2 = (wxDC *) 0 ;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "dc", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 (arg1)->InsertLineControlPoint(arg2);
21803
21804 wxPyEndAllowThreads(__tstate);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 }
21807 Py_INCREF(Py_None); resultobj = Py_None;
21808 return resultobj;
21809 fail:
21810 return NULL;
21811 }
21812
21813
21814 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
21815 PyObject *resultobj;
21816 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21817 wxPyShape *arg2 = (wxPyShape *) 0 ;
21818 bool result;
21819 PyObject * obj0 = 0 ;
21820 PyObject * obj1 = 0 ;
21821 char *kwnames[] = {
21822 (char *) "self",(char *) "shape", NULL
21823 };
21824
21825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
21826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21827 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 result = (bool)(arg1)->IsEnd(arg2);
21831
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 resultobj = PyInt_FromLong((long)result);
21836 return resultobj;
21837 fail:
21838 return NULL;
21839 }
21840
21841
21842 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21845 bool result;
21846 PyObject * obj0 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
21852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21853 {
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 result = (bool)(arg1)->IsSpline();
21856
21857 wxPyEndAllowThreads(__tstate);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 }
21860 resultobj = PyInt_FromLong((long)result);
21861 return resultobj;
21862 fail:
21863 return NULL;
21864 }
21865
21866
21867 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21868 PyObject *resultobj;
21869 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21870 int arg2 ;
21871 PyObject * obj0 = 0 ;
21872 char *kwnames[] = {
21873 (char *) "self",(char *) "n", NULL
21874 };
21875
21876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&arg2)) goto fail;
21877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 (arg1)->MakeLineControlPoints(arg2);
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 Py_INCREF(Py_None); resultobj = Py_None;
21886 return resultobj;
21887 fail:
21888 return NULL;
21889 }
21890
21891
21892 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj;
21894 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21895 PyObject *result;
21896 PyObject * obj0 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
21902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 resultobj = result;
21911 return resultobj;
21912 fail:
21913 return NULL;
21914 }
21915
21916
21917 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21918 PyObject *resultobj;
21919 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21920 int arg2 ;
21921 PyObject * obj0 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self",(char *) "fromAttach", NULL
21924 };
21925
21926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&arg2)) goto fail;
21927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 (arg1)->SetAttachmentFrom(arg2);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 Py_INCREF(Py_None); resultobj = Py_None;
21936 return resultobj;
21937 fail:
21938 return NULL;
21939 }
21940
21941
21942 static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj;
21944 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21945 int arg2 ;
21946 int arg3 ;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyLineShape_SetAttachments",kwnames,&obj0,&arg2,&arg3)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21954 {
21955 PyThreadState* __tstate = wxPyBeginAllowThreads();
21956 (arg1)->SetAttachments(arg2,arg3);
21957
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 Py_INCREF(Py_None); resultobj = Py_None;
21962 return resultobj;
21963 fail:
21964 return NULL;
21965 }
21966
21967
21968 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj;
21970 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21971 int arg2 ;
21972 PyObject * obj0 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "toAttach", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames,&obj0,&arg2)) goto fail;
21978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 (arg1)->SetAttachmentTo(arg2);
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
21986 Py_INCREF(Py_None); resultobj = Py_None;
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21996 double arg2 ;
21997 double arg3 ;
21998 double arg4 ;
21999 double arg5 ;
22000 PyObject * obj0 = 0 ;
22001 char *kwnames[] = {
22002 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
22003 };
22004
22005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyLineShape_SetEnds",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
22010
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 Py_INCREF(Py_None); resultobj = Py_None;
22015 return resultobj;
22016 fail:
22017 return NULL;
22018 }
22019
22020
22021 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj;
22023 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22024 wxPyShape *arg2 = (wxPyShape *) 0 ;
22025 PyObject * obj0 = 0 ;
22026 PyObject * obj1 = 0 ;
22027 char *kwnames[] = {
22028 (char *) "self",(char *) "object", NULL
22029 };
22030
22031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
22032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 (arg1)->SetFrom(arg2);
22037
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 Py_INCREF(Py_None); resultobj = Py_None;
22042 return resultobj;
22043 fail:
22044 return NULL;
22045 }
22046
22047
22048 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
22049 PyObject *resultobj;
22050 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22051 bool arg2 ;
22052 PyObject * obj0 = 0 ;
22053 PyObject * obj1 = 0 ;
22054 char *kwnames[] = {
22055 (char *) "self",(char *) "ignore", NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
22059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22060 {
22061 arg2 = (bool) SPyObj_AsBool(obj1);
22062 if (PyErr_Occurred()) SWIG_fail;
22063 }
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 (arg1)->SetIgnoreOffsets(arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 Py_INCREF(Py_None); resultobj = Py_None;
22072 return resultobj;
22073 fail:
22074 return NULL;
22075 }
22076
22077
22078 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22081 bool arg2 ;
22082 PyObject * obj0 = 0 ;
22083 PyObject * obj1 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self",(char *) "spline", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
22089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22090 {
22091 arg2 = (bool) SPyObj_AsBool(obj1);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 {
22095 PyThreadState* __tstate = wxPyBeginAllowThreads();
22096 (arg1)->SetSpline(arg2);
22097
22098 wxPyEndAllowThreads(__tstate);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 }
22101 Py_INCREF(Py_None); resultobj = Py_None;
22102 return resultobj;
22103 fail:
22104 return NULL;
22105 }
22106
22107
22108 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22111 wxPyShape *arg2 = (wxPyShape *) 0 ;
22112 PyObject * obj0 = 0 ;
22113 PyObject * obj1 = 0 ;
22114 char *kwnames[] = {
22115 (char *) "self",(char *) "object", NULL
22116 };
22117
22118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
22119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22121 {
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 (arg1)->SetTo(arg2);
22124
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 Py_INCREF(Py_None); resultobj = Py_None;
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj;
22137 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22138 wxDC *arg2 = (wxDC *) NULL ;
22139 PyObject * obj0 = 0 ;
22140 PyObject * obj1 = 0 ;
22141 char *kwnames[] = {
22142 (char *) "self",(char *) "dc", NULL
22143 };
22144
22145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
22146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22147 if (obj1) {
22148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22149 }
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 (arg1)->Straighten(arg2);
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 Py_INCREF(Py_None); resultobj = Py_None;
22158 return resultobj;
22159 fail:
22160 return NULL;
22161 }
22162
22163
22164 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22167 PyObject * obj0 = 0 ;
22168 char *kwnames[] = {
22169 (char *) "self", NULL
22170 };
22171
22172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
22173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 (arg1)->Unlink();
22177
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 Py_INCREF(Py_None); resultobj = Py_None;
22182 return resultobj;
22183 fail:
22184 return NULL;
22185 }
22186
22187
22188 static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
22189 PyObject *resultobj;
22190 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22191 bool arg2 ;
22192 bool arg3 ;
22193 PyObject * obj0 = 0 ;
22194 PyObject * obj1 = 0 ;
22195 PyObject * obj2 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
22201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22202 {
22203 arg2 = (bool) SPyObj_AsBool(obj1);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 {
22207 arg3 = (bool) SPyObj_AsBool(obj2);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 }
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 (arg1)->SetAlignmentOrientation(arg2,arg3);
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 Py_INCREF(Py_None); resultobj = Py_None;
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22227 bool arg2 ;
22228 int arg3 ;
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&arg3)) goto fail;
22236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22237 {
22238 arg2 = (bool) SPyObj_AsBool(obj1);
22239 if (PyErr_Occurred()) SWIG_fail;
22240 }
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 (arg1)->SetAlignmentType(arg2,arg3);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 Py_INCREF(Py_None); resultobj = Py_None;
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22258 bool arg2 ;
22259 bool result;
22260 PyObject * obj0 = 0 ;
22261 PyObject * obj1 = 0 ;
22262 char *kwnames[] = {
22263 (char *) "self",(char *) "isEnd", NULL
22264 };
22265
22266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
22267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22268 {
22269 arg2 = (bool) SPyObj_AsBool(obj1);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 resultobj = PyInt_FromLong((long)result);
22280 return resultobj;
22281 fail:
22282 return NULL;
22283 }
22284
22285
22286 static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22289 bool arg2 ;
22290 int result;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "isEnd", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22299 {
22300 arg2 = (bool) SPyObj_AsBool(obj1);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 result = (int)(arg1)->GetAlignmentType(arg2);
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 resultobj = PyInt_FromLong((long)result);
22311 return resultobj;
22312 fail:
22313 return NULL;
22314 }
22315
22316
22317 static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
22318 PyObject *resultobj;
22319 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22320 int result;
22321 PyObject * obj0 = 0 ;
22322 char *kwnames[] = {
22323 (char *) "self", NULL
22324 };
22325
22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
22327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 resultobj = PyInt_FromLong((long)result);
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22345 int result;
22346 PyObject * obj0 = 0 ;
22347 char *kwnames[] = {
22348 (char *) "self", NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
22352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22353 {
22354 PyThreadState* __tstate = wxPyBeginAllowThreads();
22355 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
22356
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 resultobj = PyInt_FromLong((long)result);
22361 return resultobj;
22362 fail:
22363 return NULL;
22364 }
22365
22366
22367 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22368 PyObject *resultobj;
22369 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22370 wxDC *arg2 = 0 ;
22371 PyObject * obj0 = 0 ;
22372 PyObject * obj1 = 0 ;
22373 char *kwnames[] = {
22374 (char *) "self",(char *) "dc", NULL
22375 };
22376
22377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22380 if (arg2 == NULL) {
22381 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22382 }
22383 {
22384 PyThreadState* __tstate = wxPyBeginAllowThreads();
22385 (arg1)->base_OnDraw(*arg2);
22386
22387 wxPyEndAllowThreads(__tstate);
22388 if (PyErr_Occurred()) SWIG_fail;
22389 }
22390 Py_INCREF(Py_None); resultobj = Py_None;
22391 return resultobj;
22392 fail:
22393 return NULL;
22394 }
22395
22396
22397 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22398 PyObject *resultobj;
22399 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22400 wxDC *arg2 = 0 ;
22401 PyObject * obj0 = 0 ;
22402 PyObject * obj1 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self",(char *) "dc", NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22410 if (arg2 == NULL) {
22411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22412 }
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 (arg1)->base_OnDrawContents(*arg2);
22416
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 Py_INCREF(Py_None); resultobj = Py_None;
22421 return resultobj;
22422 fail:
22423 return NULL;
22424 }
22425
22426
22427 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22428 PyObject *resultobj;
22429 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22430 wxDC *arg2 = 0 ;
22431 bool arg3 = (bool) FALSE ;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 PyObject * obj2 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self",(char *) "dc",(char *) "erase", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22442 if (arg2 == NULL) {
22443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22444 }
22445 if (obj2) {
22446 {
22447 arg3 = (bool) SPyObj_AsBool(obj2);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 }
22451 {
22452 PyThreadState* __tstate = wxPyBeginAllowThreads();
22453 (arg1)->base_OnDrawBranches(*arg2,arg3);
22454
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
22458 Py_INCREF(Py_None); resultobj = Py_None;
22459 return resultobj;
22460 fail:
22461 return NULL;
22462 }
22463
22464
22465 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22466 PyObject *resultobj;
22467 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22468 wxDC *arg2 = 0 ;
22469 PyObject * obj0 = 0 ;
22470 PyObject * obj1 = 0 ;
22471 char *kwnames[] = {
22472 (char *) "self",(char *) "dc", NULL
22473 };
22474
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22477 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22478 if (arg2 == NULL) {
22479 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22480 }
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 (arg1)->base_OnMoveLinks(*arg2);
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 Py_INCREF(Py_None); resultobj = Py_None;
22489 return resultobj;
22490 fail:
22491 return NULL;
22492 }
22493
22494
22495 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22498 wxDC *arg2 = 0 ;
22499 PyObject * obj0 = 0 ;
22500 PyObject * obj1 = 0 ;
22501 char *kwnames[] = {
22502 (char *) "self",(char *) "dc", NULL
22503 };
22504
22505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22508 if (arg2 == NULL) {
22509 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22510 }
22511 {
22512 PyThreadState* __tstate = wxPyBeginAllowThreads();
22513 (arg1)->base_OnErase(*arg2);
22514
22515 wxPyEndAllowThreads(__tstate);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 Py_INCREF(Py_None); resultobj = Py_None;
22519 return resultobj;
22520 fail:
22521 return NULL;
22522 }
22523
22524
22525 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22526 PyObject *resultobj;
22527 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22528 wxDC *arg2 = 0 ;
22529 PyObject * obj0 = 0 ;
22530 PyObject * obj1 = 0 ;
22531 char *kwnames[] = {
22532 (char *) "self",(char *) "dc", NULL
22533 };
22534
22535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22538 if (arg2 == NULL) {
22539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22540 }
22541 {
22542 PyThreadState* __tstate = wxPyBeginAllowThreads();
22543 (arg1)->base_OnEraseContents(*arg2);
22544
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 Py_INCREF(Py_None); resultobj = Py_None;
22549 return resultobj;
22550 fail:
22551 return NULL;
22552 }
22553
22554
22555 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj;
22557 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22558 wxDC *arg2 = 0 ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self",(char *) "dc", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 if (arg2 == NULL) {
22569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22570 }
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 (arg1)->base_OnHighlight(*arg2);
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 Py_INCREF(Py_None); resultobj = Py_None;
22579 return resultobj;
22580 fail:
22581 return NULL;
22582 }
22583
22584
22585 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22586 PyObject *resultobj;
22587 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22588 double arg2 ;
22589 double arg3 ;
22590 int arg4 = (int) 0 ;
22591 int arg5 = (int) 0 ;
22592 PyObject * obj0 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22599 {
22600 PyThreadState* __tstate = wxPyBeginAllowThreads();
22601 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22602
22603 wxPyEndAllowThreads(__tstate);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 }
22606 Py_INCREF(Py_None); resultobj = Py_None;
22607 return resultobj;
22608 fail:
22609 return NULL;
22610 }
22611
22612
22613 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22614 PyObject *resultobj;
22615 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22616 double arg2 ;
22617 double arg3 ;
22618 int arg4 = (int) 0 ;
22619 int arg5 = (int) 0 ;
22620 PyObject * obj0 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22627 {
22628 PyThreadState* __tstate = wxPyBeginAllowThreads();
22629 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22630
22631 wxPyEndAllowThreads(__tstate);
22632 if (PyErr_Occurred()) SWIG_fail;
22633 }
22634 Py_INCREF(Py_None); resultobj = Py_None;
22635 return resultobj;
22636 fail:
22637 return NULL;
22638 }
22639
22640
22641 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22644 double arg2 ;
22645 double arg3 ;
22646 int arg4 = (int) 0 ;
22647 int arg5 = (int) 0 ;
22648 PyObject * obj0 = 0 ;
22649 char *kwnames[] = {
22650 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22651 };
22652
22653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22655 {
22656 PyThreadState* __tstate = wxPyBeginAllowThreads();
22657 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22658
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 Py_INCREF(Py_None); resultobj = Py_None;
22663 return resultobj;
22664 fail:
22665 return NULL;
22666 }
22667
22668
22669 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22672 double arg2 ;
22673 double arg3 ;
22674 PyObject * obj0 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self",(char *) "x",(char *) "y", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 (arg1)->base_OnSize(arg2,arg3);
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 Py_INCREF(Py_None); resultobj = Py_None;
22689 return resultobj;
22690 fail:
22691 return NULL;
22692 }
22693
22694
22695 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22698 wxDC *arg2 = 0 ;
22699 double arg3 ;
22700 double arg4 ;
22701 double arg5 ;
22702 double arg6 ;
22703 bool arg7 = (bool) True ;
22704 bool result;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 PyObject * obj6 = 0 ;
22708 char *kwnames[] = {
22709 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22710 };
22711
22712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22715 if (arg2 == NULL) {
22716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22717 }
22718 if (obj6) {
22719 {
22720 arg7 = (bool) SPyObj_AsBool(obj6);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 }
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 resultobj = PyInt_FromLong((long)result);
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22741 wxDC *arg2 = 0 ;
22742 double arg3 ;
22743 double arg4 ;
22744 double arg5 ;
22745 double arg6 ;
22746 bool arg7 = (bool) True ;
22747 PyObject * obj0 = 0 ;
22748 PyObject * obj1 = 0 ;
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
22754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22757 if (arg2 == NULL) {
22758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22759 }
22760 if (obj6) {
22761 {
22762 arg7 = (bool) SPyObj_AsBool(obj6);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 }
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 Py_INCREF(Py_None); resultobj = Py_None;
22774 return resultobj;
22775 fail:
22776 return NULL;
22777 }
22778
22779
22780 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22781 PyObject *resultobj;
22782 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22783 bool arg2 ;
22784 double arg3 ;
22785 double arg4 ;
22786 int arg5 = (int) 0 ;
22787 int arg6 = (int) 0 ;
22788 PyObject * obj0 = 0 ;
22789 PyObject * obj1 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22796 {
22797 arg2 = (bool) SPyObj_AsBool(obj1);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22817 double arg2 ;
22818 double arg3 ;
22819 int arg4 = (int) 0 ;
22820 int arg5 = (int) 0 ;
22821 PyObject * obj0 = 0 ;
22822 char *kwnames[] = {
22823 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22824 };
22825
22826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 Py_INCREF(Py_None); resultobj = Py_None;
22836 return resultobj;
22837 fail:
22838 return NULL;
22839 }
22840
22841
22842 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj;
22844 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22845 double arg2 ;
22846 double arg3 ;
22847 int arg4 = (int) 0 ;
22848 int arg5 = (int) 0 ;
22849 PyObject * obj0 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 Py_INCREF(Py_None); resultobj = Py_None;
22864 return resultobj;
22865 fail:
22866 return NULL;
22867 }
22868
22869
22870 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22871 PyObject *resultobj;
22872 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22873 bool arg2 ;
22874 double arg3 ;
22875 double arg4 ;
22876 int arg5 = (int) 0 ;
22877 int arg6 = (int) 0 ;
22878 PyObject * obj0 = 0 ;
22879 PyObject * obj1 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22886 {
22887 arg2 = (bool) SPyObj_AsBool(obj1);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 }
22890 {
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22893
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 Py_INCREF(Py_None); resultobj = Py_None;
22898 return resultobj;
22899 fail:
22900 return NULL;
22901 }
22902
22903
22904 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22905 PyObject *resultobj;
22906 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22907 double arg2 ;
22908 double arg3 ;
22909 int arg4 = (int) 0 ;
22910 int arg5 = (int) 0 ;
22911 PyObject * obj0 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22918 {
22919 PyThreadState* __tstate = wxPyBeginAllowThreads();
22920 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22921
22922 wxPyEndAllowThreads(__tstate);
22923 if (PyErr_Occurred()) SWIG_fail;
22924 }
22925 Py_INCREF(Py_None); resultobj = Py_None;
22926 return resultobj;
22927 fail:
22928 return NULL;
22929 }
22930
22931
22932 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22933 PyObject *resultobj;
22934 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22935 double arg2 ;
22936 double arg3 ;
22937 int arg4 = (int) 0 ;
22938 int arg5 = (int) 0 ;
22939 PyObject * obj0 = 0 ;
22940 char *kwnames[] = {
22941 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22942 };
22943
22944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22949
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 Py_INCREF(Py_None); resultobj = Py_None;
22954 return resultobj;
22955 fail:
22956 return NULL;
22957 }
22958
22959
22960 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22961 PyObject *resultobj;
22962 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22963 wxDC *arg2 = 0 ;
22964 double arg3 ;
22965 double arg4 ;
22966 double arg5 ;
22967 double arg6 ;
22968 PyObject * obj0 = 0 ;
22969 PyObject * obj1 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22977 if (arg2 == NULL) {
22978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22979 }
22980 {
22981 PyThreadState* __tstate = wxPyBeginAllowThreads();
22982 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22983
22984 wxPyEndAllowThreads(__tstate);
22985 if (PyErr_Occurred()) SWIG_fail;
22986 }
22987 Py_INCREF(Py_None); resultobj = Py_None;
22988 return resultobj;
22989 fail:
22990 return NULL;
22991 }
22992
22993
22994 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj;
22996 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22997 wxDC *arg2 = 0 ;
22998 PyObject * obj0 = 0 ;
22999 PyObject * obj1 = 0 ;
23000 char *kwnames[] = {
23001 (char *) "self",(char *) "dc", NULL
23002 };
23003
23004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23007 if (arg2 == NULL) {
23008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23009 }
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 (arg1)->base_OnDrawControlPoints(*arg2);
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 Py_INCREF(Py_None); resultobj = Py_None;
23018 return resultobj;
23019 fail:
23020 return NULL;
23021 }
23022
23023
23024 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23025 PyObject *resultobj;
23026 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
23027 wxDC *arg2 = 0 ;
23028 PyObject * obj0 = 0 ;
23029 PyObject * obj1 = 0 ;
23030 char *kwnames[] = {
23031 (char *) "self",(char *) "dc", NULL
23032 };
23033
23034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23037 if (arg2 == NULL) {
23038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23039 }
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 (arg1)->base_OnEraseControlPoints(*arg2);
23043
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 Py_INCREF(Py_None); resultobj = Py_None;
23048 return resultobj;
23049 fail:
23050 return NULL;
23051 }
23052
23053
23054 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23055 PyObject *resultobj;
23056 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
23057 wxDC *arg2 = 0 ;
23058 bool arg3 = (bool) True ;
23059 PyObject * obj0 = 0 ;
23060 PyObject * obj1 = 0 ;
23061 PyObject * obj2 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23069 if (arg2 == NULL) {
23070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23071 }
23072 if (obj2) {
23073 {
23074 arg3 = (bool) SPyObj_AsBool(obj2);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 }
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 (arg1)->base_OnMoveLink(*arg2,arg3);
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 Py_INCREF(Py_None); resultobj = Py_None;
23086 return resultobj;
23087 fail:
23088 return NULL;
23089 }
23090
23091
23092 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23093 PyObject *resultobj;
23094 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
23095 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23096 bool arg3 ;
23097 double arg4 ;
23098 double arg5 ;
23099 int arg6 = (int) 0 ;
23100 int arg7 = (int) 0 ;
23101 PyObject * obj0 = 0 ;
23102 PyObject * obj1 = 0 ;
23103 PyObject * obj2 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23111 {
23112 arg3 = (bool) SPyObj_AsBool(obj2);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 }
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23118
23119 wxPyEndAllowThreads(__tstate);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 Py_INCREF(Py_None); resultobj = Py_None;
23123 return resultobj;
23124 fail:
23125 return NULL;
23126 }
23127
23128
23129 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
23132 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23133 double arg3 ;
23134 double arg4 ;
23135 int arg5 = (int) 0 ;
23136 int arg6 = (int) 0 ;
23137 PyObject * obj0 = 0 ;
23138 PyObject * obj1 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
23148 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23149
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 Py_INCREF(Py_None); resultobj = Py_None;
23154 return resultobj;
23155 fail:
23156 return NULL;
23157 }
23158
23159
23160 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23161 PyObject *resultobj;
23162 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
23163 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23164 double arg3 ;
23165 double arg4 ;
23166 int arg5 = (int) 0 ;
23167 int arg6 = (int) 0 ;
23168 PyObject * obj0 = 0 ;
23169 PyObject * obj1 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 Py_INCREF(Py_None); resultobj = Py_None;
23185 return resultobj;
23186 fail:
23187 return NULL;
23188 }
23189
23190
23191 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23192 PyObject *resultobj;
23193 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
23194 double arg2 ;
23195 double arg3 ;
23196 PyObject * obj0 = 0 ;
23197 char *kwnames[] = {
23198 (char *) "self",(char *) "w",(char *) "h", NULL
23199 };
23200
23201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 (arg1)->base_OnBeginSize(arg2,arg3);
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
23210 Py_INCREF(Py_None); resultobj = Py_None;
23211 return resultobj;
23212 fail:
23213 return NULL;
23214 }
23215
23216
23217 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23218 PyObject *resultobj;
23219 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
23220 double arg2 ;
23221 double arg3 ;
23222 PyObject * obj0 = 0 ;
23223 char *kwnames[] = {
23224 (char *) "self",(char *) "w",(char *) "h", NULL
23225 };
23226
23227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 (arg1)->base_OnEndSize(arg2,arg3);
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 Py_INCREF(Py_None); resultobj = Py_None;
23237 return resultobj;
23238 fail:
23239 return NULL;
23240 }
23241
23242
23243 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
23244 PyObject *obj;
23245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23246 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
23247 Py_INCREF(obj);
23248 return Py_BuildValue((char *)"");
23249 }
23250 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj;
23252 wxPyPolygonShape *result;
23253 char *kwnames[] = {
23254 NULL
23255 };
23256
23257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = (wxPyPolygonShape *)new wxPyPolygonShape();
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPolygonShape, 1);
23266 return resultobj;
23267 fail:
23268 return NULL;
23269 }
23270
23271
23272 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23275 PyObject *arg2 = (PyObject *) 0 ;
23276 PyObject *arg3 = (PyObject *) 0 ;
23277 PyObject * obj0 = 0 ;
23278 PyObject * obj1 = 0 ;
23279 PyObject * obj2 = 0 ;
23280 char *kwnames[] = {
23281 (char *) "self",(char *) "self",(char *) "_class", NULL
23282 };
23283
23284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23286 arg2 = obj1;
23287 arg3 = obj2;
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 (arg1)->_setCallbackInfo(arg2,arg3);
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 Py_INCREF(Py_None); resultobj = Py_None;
23296 return resultobj;
23297 fail:
23298 return NULL;
23299 }
23300
23301
23302 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23303 PyObject *resultobj;
23304 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23305 PyObject *arg2 = (PyObject *) 0 ;
23306 PyObject *result;
23307 PyObject * obj0 = 0 ;
23308 PyObject * obj1 = 0 ;
23309 char *kwnames[] = {
23310 (char *) "self",(char *) "points", NULL
23311 };
23312
23313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
23314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23315 arg2 = obj1;
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 resultobj = result;
23324 return resultobj;
23325 fail:
23326 return NULL;
23327 }
23328
23329
23330 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23331 PyObject *resultobj;
23332 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23333 int arg2 = (int) 0 ;
23334 PyObject * obj0 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self",(char *) "pos", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&arg2)) goto fail;
23340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 (arg1)->AddPolygonPoint(arg2);
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 Py_INCREF(Py_None); resultobj = Py_None;
23349 return resultobj;
23350 fail:
23351 return NULL;
23352 }
23353
23354
23355 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23358 PyObject * obj0 = 0 ;
23359 char *kwnames[] = {
23360 (char *) "self", NULL
23361 };
23362
23363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
23364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 (arg1)->CalculatePolygonCentre();
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 Py_INCREF(Py_None); resultobj = Py_None;
23373 return resultobj;
23374 fail:
23375 return NULL;
23376 }
23377
23378
23379 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23380 PyObject *resultobj;
23381 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23382 int arg2 = (int) 0 ;
23383 PyObject * obj0 = 0 ;
23384 char *kwnames[] = {
23385 (char *) "self",(char *) "pos", NULL
23386 };
23387
23388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&arg2)) goto fail;
23389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 (arg1)->DeletePolygonPoint(arg2);
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 Py_INCREF(Py_None); resultobj = Py_None;
23398 return resultobj;
23399 fail:
23400 return NULL;
23401 }
23402
23403
23404 static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj;
23406 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23407 PyObject *result;
23408 PyObject * obj0 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
23418
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 resultobj = result;
23423 return resultobj;
23424 fail:
23425 return NULL;
23426 }
23427
23428
23429 static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23430 PyObject *resultobj;
23431 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23432 PyObject *result;
23433 PyObject * obj0 = 0 ;
23434 char *kwnames[] = {
23435 (char *) "self", NULL
23436 };
23437
23438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
23439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23440 {
23441 PyThreadState* __tstate = wxPyBeginAllowThreads();
23442 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
23443
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 resultobj = result;
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj;
23456 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23457 double result;
23458 PyObject * obj0 = 0 ;
23459 char *kwnames[] = {
23460 (char *) "self", NULL
23461 };
23462
23463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
23464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
23468
23469 wxPyEndAllowThreads(__tstate);
23470 if (PyErr_Occurred()) SWIG_fail;
23471 }
23472 resultobj = PyFloat_FromDouble(result);
23473 return resultobj;
23474 fail:
23475 return NULL;
23476 }
23477
23478
23479 static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23480 PyObject *resultobj;
23481 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23482 double result;
23483 PyObject * obj0 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 resultobj = PyFloat_FromDouble(result);
23498 return resultobj;
23499 fail:
23500 return NULL;
23501 }
23502
23503
23504 static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23505 PyObject *resultobj;
23506 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23507 double arg2 ;
23508 PyObject * obj0 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self",(char *) "w", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&arg2)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->SetOriginalWidth(arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 Py_INCREF(Py_None); resultobj = Py_None;
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23532 double arg2 ;
23533 PyObject * obj0 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self",(char *) "h", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&arg2)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 (arg1)->SetOriginalHeight(arg2);
23543
23544 wxPyEndAllowThreads(__tstate);
23545 if (PyErr_Occurred()) SWIG_fail;
23546 }
23547 Py_INCREF(Py_None); resultobj = Py_None;
23548 return resultobj;
23549 fail:
23550 return NULL;
23551 }
23552
23553
23554 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23555 PyObject *resultobj;
23556 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23557 PyObject * obj0 = 0 ;
23558 char *kwnames[] = {
23559 (char *) "self", NULL
23560 };
23561
23562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
23563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 (arg1)->UpdateOriginalPoints();
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 Py_INCREF(Py_None); resultobj = Py_None;
23572 return resultobj;
23573 fail:
23574 return NULL;
23575 }
23576
23577
23578 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23579 PyObject *resultobj;
23580 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23581 wxDC *arg2 = 0 ;
23582 PyObject * obj0 = 0 ;
23583 PyObject * obj1 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self",(char *) "dc", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23591 if (arg2 == NULL) {
23592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23593 }
23594 {
23595 PyThreadState* __tstate = wxPyBeginAllowThreads();
23596 (arg1)->base_OnDraw(*arg2);
23597
23598 wxPyEndAllowThreads(__tstate);
23599 if (PyErr_Occurred()) SWIG_fail;
23600 }
23601 Py_INCREF(Py_None); resultobj = Py_None;
23602 return resultobj;
23603 fail:
23604 return NULL;
23605 }
23606
23607
23608 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23609 PyObject *resultobj;
23610 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23611 wxDC *arg2 = 0 ;
23612 PyObject * obj0 = 0 ;
23613 PyObject * obj1 = 0 ;
23614 char *kwnames[] = {
23615 (char *) "self",(char *) "dc", NULL
23616 };
23617
23618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23621 if (arg2 == NULL) {
23622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23623 }
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 (arg1)->base_OnDrawContents(*arg2);
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 Py_INCREF(Py_None); resultobj = Py_None;
23632 return resultobj;
23633 fail:
23634 return NULL;
23635 }
23636
23637
23638 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23639 PyObject *resultobj;
23640 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23641 wxDC *arg2 = 0 ;
23642 bool arg3 = (bool) FALSE ;
23643 PyObject * obj0 = 0 ;
23644 PyObject * obj1 = 0 ;
23645 PyObject * obj2 = 0 ;
23646 char *kwnames[] = {
23647 (char *) "self",(char *) "dc",(char *) "erase", NULL
23648 };
23649
23650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23653 if (arg2 == NULL) {
23654 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23655 }
23656 if (obj2) {
23657 {
23658 arg3 = (bool) SPyObj_AsBool(obj2);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 }
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 (arg1)->base_OnDrawBranches(*arg2,arg3);
23665
23666 wxPyEndAllowThreads(__tstate);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 Py_INCREF(Py_None); resultobj = Py_None;
23670 return resultobj;
23671 fail:
23672 return NULL;
23673 }
23674
23675
23676 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23677 PyObject *resultobj;
23678 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23679 wxDC *arg2 = 0 ;
23680 PyObject * obj0 = 0 ;
23681 PyObject * obj1 = 0 ;
23682 char *kwnames[] = {
23683 (char *) "self",(char *) "dc", NULL
23684 };
23685
23686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23689 if (arg2 == NULL) {
23690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23691 }
23692 {
23693 PyThreadState* __tstate = wxPyBeginAllowThreads();
23694 (arg1)->base_OnMoveLinks(*arg2);
23695
23696 wxPyEndAllowThreads(__tstate);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
23699 Py_INCREF(Py_None); resultobj = Py_None;
23700 return resultobj;
23701 fail:
23702 return NULL;
23703 }
23704
23705
23706 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23707 PyObject *resultobj;
23708 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23709 wxDC *arg2 = 0 ;
23710 PyObject * obj0 = 0 ;
23711 PyObject * obj1 = 0 ;
23712 char *kwnames[] = {
23713 (char *) "self",(char *) "dc", NULL
23714 };
23715
23716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23719 if (arg2 == NULL) {
23720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23721 }
23722 {
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 (arg1)->base_OnErase(*arg2);
23725
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 Py_INCREF(Py_None); resultobj = Py_None;
23730 return resultobj;
23731 fail:
23732 return NULL;
23733 }
23734
23735
23736 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23737 PyObject *resultobj;
23738 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23739 wxDC *arg2 = 0 ;
23740 PyObject * obj0 = 0 ;
23741 PyObject * obj1 = 0 ;
23742 char *kwnames[] = {
23743 (char *) "self",(char *) "dc", NULL
23744 };
23745
23746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23749 if (arg2 == NULL) {
23750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23751 }
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 (arg1)->base_OnEraseContents(*arg2);
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 Py_INCREF(Py_None); resultobj = Py_None;
23760 return resultobj;
23761 fail:
23762 return NULL;
23763 }
23764
23765
23766 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23767 PyObject *resultobj;
23768 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23769 wxDC *arg2 = 0 ;
23770 PyObject * obj0 = 0 ;
23771 PyObject * obj1 = 0 ;
23772 char *kwnames[] = {
23773 (char *) "self",(char *) "dc", NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23779 if (arg2 == NULL) {
23780 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23781 }
23782 {
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 (arg1)->base_OnHighlight(*arg2);
23785
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 Py_INCREF(Py_None); resultobj = Py_None;
23790 return resultobj;
23791 fail:
23792 return NULL;
23793 }
23794
23795
23796 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj;
23798 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23799 double arg2 ;
23800 double arg3 ;
23801 int arg4 = (int) 0 ;
23802 int arg5 = (int) 0 ;
23803 PyObject * obj0 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23813
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 Py_INCREF(Py_None); resultobj = Py_None;
23818 return resultobj;
23819 fail:
23820 return NULL;
23821 }
23822
23823
23824 static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23825 PyObject *resultobj;
23826 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23827 double arg2 ;
23828 double arg3 ;
23829 int arg4 = (int) 0 ;
23830 int arg5 = (int) 0 ;
23831 PyObject * obj0 = 0 ;
23832 char *kwnames[] = {
23833 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23834 };
23835
23836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23838 {
23839 PyThreadState* __tstate = wxPyBeginAllowThreads();
23840 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23841
23842 wxPyEndAllowThreads(__tstate);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
23845 Py_INCREF(Py_None); resultobj = Py_None;
23846 return resultobj;
23847 fail:
23848 return NULL;
23849 }
23850
23851
23852 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23853 PyObject *resultobj;
23854 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23855 double arg2 ;
23856 double arg3 ;
23857 int arg4 = (int) 0 ;
23858 int arg5 = (int) 0 ;
23859 PyObject * obj0 = 0 ;
23860 char *kwnames[] = {
23861 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23862 };
23863
23864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23866 {
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23869
23870 wxPyEndAllowThreads(__tstate);
23871 if (PyErr_Occurred()) SWIG_fail;
23872 }
23873 Py_INCREF(Py_None); resultobj = Py_None;
23874 return resultobj;
23875 fail:
23876 return NULL;
23877 }
23878
23879
23880 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23881 PyObject *resultobj;
23882 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23883 double arg2 ;
23884 double arg3 ;
23885 PyObject * obj0 = 0 ;
23886 char *kwnames[] = {
23887 (char *) "self",(char *) "x",(char *) "y", NULL
23888 };
23889
23890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 (arg1)->base_OnSize(arg2,arg3);
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 Py_INCREF(Py_None); resultobj = Py_None;
23900 return resultobj;
23901 fail:
23902 return NULL;
23903 }
23904
23905
23906 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj;
23908 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23909 wxDC *arg2 = 0 ;
23910 double arg3 ;
23911 double arg4 ;
23912 double arg5 ;
23913 double arg6 ;
23914 bool arg7 = (bool) True ;
23915 bool result;
23916 PyObject * obj0 = 0 ;
23917 PyObject * obj1 = 0 ;
23918 PyObject * obj6 = 0 ;
23919 char *kwnames[] = {
23920 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23921 };
23922
23923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23926 if (arg2 == NULL) {
23927 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23928 }
23929 if (obj6) {
23930 {
23931 arg7 = (bool) SPyObj_AsBool(obj6);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 }
23934 }
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23938
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 resultobj = PyInt_FromLong((long)result);
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23952 wxDC *arg2 = 0 ;
23953 double arg3 ;
23954 double arg4 ;
23955 double arg5 ;
23956 double arg6 ;
23957 bool arg7 = (bool) True ;
23958 PyObject * obj0 = 0 ;
23959 PyObject * obj1 = 0 ;
23960 PyObject * obj6 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23968 if (arg2 == NULL) {
23969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23970 }
23971 if (obj6) {
23972 {
23973 arg7 = (bool) SPyObj_AsBool(obj6);
23974 if (PyErr_Occurred()) SWIG_fail;
23975 }
23976 }
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 Py_INCREF(Py_None); resultobj = Py_None;
23985 return resultobj;
23986 fail:
23987 return NULL;
23988 }
23989
23990
23991 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23992 PyObject *resultobj;
23993 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23994 bool arg2 ;
23995 double arg3 ;
23996 double arg4 ;
23997 int arg5 = (int) 0 ;
23998 int arg6 = (int) 0 ;
23999 PyObject * obj0 = 0 ;
24000 PyObject * obj1 = 0 ;
24001 char *kwnames[] = {
24002 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24003 };
24004
24005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24007 {
24008 arg2 = (bool) SPyObj_AsBool(obj1);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 {
24012 PyThreadState* __tstate = wxPyBeginAllowThreads();
24013 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24014
24015 wxPyEndAllowThreads(__tstate);
24016 if (PyErr_Occurred()) SWIG_fail;
24017 }
24018 Py_INCREF(Py_None); resultobj = Py_None;
24019 return resultobj;
24020 fail:
24021 return NULL;
24022 }
24023
24024
24025 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24026 PyObject *resultobj;
24027 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24028 double arg2 ;
24029 double arg3 ;
24030 int arg4 = (int) 0 ;
24031 int arg5 = (int) 0 ;
24032 PyObject * obj0 = 0 ;
24033 char *kwnames[] = {
24034 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24035 };
24036
24037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24042
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 Py_INCREF(Py_None); resultobj = Py_None;
24047 return resultobj;
24048 fail:
24049 return NULL;
24050 }
24051
24052
24053 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj;
24055 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24056 double arg2 ;
24057 double arg3 ;
24058 int arg4 = (int) 0 ;
24059 int arg5 = (int) 0 ;
24060 PyObject * obj0 = 0 ;
24061 char *kwnames[] = {
24062 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24063 };
24064
24065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24067 {
24068 PyThreadState* __tstate = wxPyBeginAllowThreads();
24069 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24070
24071 wxPyEndAllowThreads(__tstate);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 }
24074 Py_INCREF(Py_None); resultobj = Py_None;
24075 return resultobj;
24076 fail:
24077 return NULL;
24078 }
24079
24080
24081 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj;
24083 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24084 bool arg2 ;
24085 double arg3 ;
24086 double arg4 ;
24087 int arg5 = (int) 0 ;
24088 int arg6 = (int) 0 ;
24089 PyObject * obj0 = 0 ;
24090 PyObject * obj1 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24097 {
24098 arg2 = (bool) SPyObj_AsBool(obj1);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 }
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24104
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 Py_INCREF(Py_None); resultobj = Py_None;
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj;
24117 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24118 double arg2 ;
24119 double arg3 ;
24120 int arg4 = (int) 0 ;
24121 int arg5 = (int) 0 ;
24122 PyObject * obj0 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24129 {
24130 PyThreadState* __tstate = wxPyBeginAllowThreads();
24131 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24132
24133 wxPyEndAllowThreads(__tstate);
24134 if (PyErr_Occurred()) SWIG_fail;
24135 }
24136 Py_INCREF(Py_None); resultobj = Py_None;
24137 return resultobj;
24138 fail:
24139 return NULL;
24140 }
24141
24142
24143 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24146 double arg2 ;
24147 double arg3 ;
24148 int arg4 = (int) 0 ;
24149 int arg5 = (int) 0 ;
24150 PyObject * obj0 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24157 {
24158 PyThreadState* __tstate = wxPyBeginAllowThreads();
24159 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24160
24161 wxPyEndAllowThreads(__tstate);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 }
24164 Py_INCREF(Py_None); resultobj = Py_None;
24165 return resultobj;
24166 fail:
24167 return NULL;
24168 }
24169
24170
24171 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24174 wxDC *arg2 = 0 ;
24175 double arg3 ;
24176 double arg4 ;
24177 double arg5 ;
24178 double arg6 ;
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24188 if (arg2 == NULL) {
24189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24190 }
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24194
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 Py_INCREF(Py_None); resultobj = Py_None;
24199 return resultobj;
24200 fail:
24201 return NULL;
24202 }
24203
24204
24205 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj;
24207 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24208 wxDC *arg2 = 0 ;
24209 PyObject * obj0 = 0 ;
24210 PyObject * obj1 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self",(char *) "dc", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24218 if (arg2 == NULL) {
24219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24220 }
24221 {
24222 PyThreadState* __tstate = wxPyBeginAllowThreads();
24223 (arg1)->base_OnDrawControlPoints(*arg2);
24224
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 Py_INCREF(Py_None); resultobj = Py_None;
24229 return resultobj;
24230 fail:
24231 return NULL;
24232 }
24233
24234
24235 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24236 PyObject *resultobj;
24237 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24238 wxDC *arg2 = 0 ;
24239 PyObject * obj0 = 0 ;
24240 PyObject * obj1 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self",(char *) "dc", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24248 if (arg2 == NULL) {
24249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24250 }
24251 {
24252 PyThreadState* __tstate = wxPyBeginAllowThreads();
24253 (arg1)->base_OnEraseControlPoints(*arg2);
24254
24255 wxPyEndAllowThreads(__tstate);
24256 if (PyErr_Occurred()) SWIG_fail;
24257 }
24258 Py_INCREF(Py_None); resultobj = Py_None;
24259 return resultobj;
24260 fail:
24261 return NULL;
24262 }
24263
24264
24265 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24266 PyObject *resultobj;
24267 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24268 wxDC *arg2 = 0 ;
24269 bool arg3 = (bool) True ;
24270 PyObject * obj0 = 0 ;
24271 PyObject * obj1 = 0 ;
24272 PyObject * obj2 = 0 ;
24273 char *kwnames[] = {
24274 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24279 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24280 if (arg2 == NULL) {
24281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24282 }
24283 if (obj2) {
24284 {
24285 arg3 = (bool) SPyObj_AsBool(obj2);
24286 if (PyErr_Occurred()) SWIG_fail;
24287 }
24288 }
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 (arg1)->base_OnMoveLink(*arg2,arg3);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 Py_INCREF(Py_None); resultobj = Py_None;
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj;
24305 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24306 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24307 bool arg3 ;
24308 double arg4 ;
24309 double arg5 ;
24310 int arg6 = (int) 0 ;
24311 int arg7 = (int) 0 ;
24312 PyObject * obj0 = 0 ;
24313 PyObject * obj1 = 0 ;
24314 PyObject * obj2 = 0 ;
24315 char *kwnames[] = {
24316 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24317 };
24318
24319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
24320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24322 {
24323 arg3 = (bool) SPyObj_AsBool(obj2);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 Py_INCREF(Py_None); resultobj = Py_None;
24334 return resultobj;
24335 fail:
24336 return NULL;
24337 }
24338
24339
24340 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24341 PyObject *resultobj;
24342 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24343 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24344 double arg3 ;
24345 double arg4 ;
24346 int arg5 = (int) 0 ;
24347 int arg6 = (int) 0 ;
24348 PyObject * obj0 = 0 ;
24349 PyObject * obj1 = 0 ;
24350 char *kwnames[] = {
24351 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24352 };
24353
24354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24360
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 Py_INCREF(Py_None); resultobj = Py_None;
24365 return resultobj;
24366 fail:
24367 return NULL;
24368 }
24369
24370
24371 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24374 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24375 double arg3 ;
24376 double arg4 ;
24377 int arg5 = (int) 0 ;
24378 int arg6 = (int) 0 ;
24379 PyObject * obj0 = 0 ;
24380 PyObject * obj1 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24383 };
24384
24385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24388 {
24389 PyThreadState* __tstate = wxPyBeginAllowThreads();
24390 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24391
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 Py_INCREF(Py_None); resultobj = Py_None;
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24403 PyObject *resultobj;
24404 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24405 double arg2 ;
24406 double arg3 ;
24407 PyObject * obj0 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self",(char *) "w",(char *) "h", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 (arg1)->base_OnBeginSize(arg2,arg3);
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 Py_INCREF(Py_None); resultobj = Py_None;
24422 return resultobj;
24423 fail:
24424 return NULL;
24425 }
24426
24427
24428 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24429 PyObject *resultobj;
24430 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
24431 double arg2 ;
24432 double arg3 ;
24433 PyObject * obj0 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self",(char *) "w",(char *) "h", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 (arg1)->base_OnEndSize(arg2,arg3);
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 Py_INCREF(Py_None); resultobj = Py_None;
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
24455 PyObject *obj;
24456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24457 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
24458 Py_INCREF(obj);
24459 return Py_BuildValue((char *)"");
24460 }
24461 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 double arg1 = (double) 0.0 ;
24464 double arg2 = (double) 0.0 ;
24465 wxPyTextShape *result;
24466 char *kwnames[] = {
24467 (char *) "width",(char *) "height", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyTextShape",kwnames,&arg1,&arg2)) goto fail;
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextShape, 1);
24479 return resultobj;
24480 fail:
24481 return NULL;
24482 }
24483
24484
24485 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24486 PyObject *resultobj;
24487 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24488 PyObject *arg2 = (PyObject *) 0 ;
24489 PyObject *arg3 = (PyObject *) 0 ;
24490 PyObject * obj0 = 0 ;
24491 PyObject * obj1 = 0 ;
24492 PyObject * obj2 = 0 ;
24493 char *kwnames[] = {
24494 (char *) "self",(char *) "self",(char *) "_class", NULL
24495 };
24496
24497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24499 arg2 = obj1;
24500 arg3 = obj2;
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 (arg1)->_setCallbackInfo(arg2,arg3);
24504
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 Py_INCREF(Py_None); resultobj = Py_None;
24509 return resultobj;
24510 fail:
24511 return NULL;
24512 }
24513
24514
24515 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
24516 PyObject *resultobj;
24517 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24518 PyObject * obj0 = 0 ;
24519 char *kwnames[] = {
24520 (char *) "self", NULL
24521 };
24522
24523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
24524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 (arg1)->base_OnDelete();
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 Py_INCREF(Py_None); resultobj = Py_None;
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
24540 PyObject *resultobj;
24541 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24542 wxDC *arg2 = 0 ;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 char *kwnames[] = {
24546 (char *) "self",(char *) "dc", NULL
24547 };
24548
24549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
24550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24552 if (arg2 == NULL) {
24553 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24554 }
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->base_OnDraw(*arg2);
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 Py_INCREF(Py_None); resultobj = Py_None;
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24572 wxDC *arg2 = 0 ;
24573 PyObject * obj0 = 0 ;
24574 PyObject * obj1 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self",(char *) "dc", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24582 if (arg2 == NULL) {
24583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24584 }
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 (arg1)->base_OnDrawContents(*arg2);
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 Py_INCREF(Py_None); resultobj = Py_None;
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24602 wxDC *arg2 = 0 ;
24603 bool arg3 = (bool) FALSE ;
24604 PyObject * obj0 = 0 ;
24605 PyObject * obj1 = 0 ;
24606 PyObject * obj2 = 0 ;
24607 char *kwnames[] = {
24608 (char *) "self",(char *) "dc",(char *) "erase", NULL
24609 };
24610
24611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
24612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24614 if (arg2 == NULL) {
24615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24616 }
24617 if (obj2) {
24618 {
24619 arg3 = (bool) SPyObj_AsBool(obj2);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
24622 }
24623 {
24624 PyThreadState* __tstate = wxPyBeginAllowThreads();
24625 (arg1)->base_OnDrawBranches(*arg2,arg3);
24626
24627 wxPyEndAllowThreads(__tstate);
24628 if (PyErr_Occurred()) SWIG_fail;
24629 }
24630 Py_INCREF(Py_None); resultobj = Py_None;
24631 return resultobj;
24632 fail:
24633 return NULL;
24634 }
24635
24636
24637 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
24638 PyObject *resultobj;
24639 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24640 wxDC *arg2 = 0 ;
24641 PyObject * obj0 = 0 ;
24642 PyObject * obj1 = 0 ;
24643 char *kwnames[] = {
24644 (char *) "self",(char *) "dc", NULL
24645 };
24646
24647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
24648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24650 if (arg2 == NULL) {
24651 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24652 }
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 (arg1)->base_OnMoveLinks(*arg2);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 Py_INCREF(Py_None); resultobj = Py_None;
24661 return resultobj;
24662 fail:
24663 return NULL;
24664 }
24665
24666
24667 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
24668 PyObject *resultobj;
24669 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24670 wxDC *arg2 = 0 ;
24671 PyObject * obj0 = 0 ;
24672 PyObject * obj1 = 0 ;
24673 char *kwnames[] = {
24674 (char *) "self",(char *) "dc", NULL
24675 };
24676
24677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
24678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24679 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24680 if (arg2 == NULL) {
24681 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24682 }
24683 {
24684 PyThreadState* __tstate = wxPyBeginAllowThreads();
24685 (arg1)->base_OnErase(*arg2);
24686
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 Py_INCREF(Py_None); resultobj = Py_None;
24691 return resultobj;
24692 fail:
24693 return NULL;
24694 }
24695
24696
24697 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
24698 PyObject *resultobj;
24699 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24700 wxDC *arg2 = 0 ;
24701 PyObject * obj0 = 0 ;
24702 PyObject * obj1 = 0 ;
24703 char *kwnames[] = {
24704 (char *) "self",(char *) "dc", NULL
24705 };
24706
24707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
24708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24709 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24710 if (arg2 == NULL) {
24711 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24712 }
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 (arg1)->base_OnEraseContents(*arg2);
24716
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 Py_INCREF(Py_None); resultobj = Py_None;
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
24728 PyObject *resultobj;
24729 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24730 wxDC *arg2 = 0 ;
24731 PyObject * obj0 = 0 ;
24732 PyObject * obj1 = 0 ;
24733 char *kwnames[] = {
24734 (char *) "self",(char *) "dc", NULL
24735 };
24736
24737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
24738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24739 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24740 if (arg2 == NULL) {
24741 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24742 }
24743 {
24744 PyThreadState* __tstate = wxPyBeginAllowThreads();
24745 (arg1)->base_OnHighlight(*arg2);
24746
24747 wxPyEndAllowThreads(__tstate);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 Py_INCREF(Py_None); resultobj = Py_None;
24751 return resultobj;
24752 fail:
24753 return NULL;
24754 }
24755
24756
24757 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24758 PyObject *resultobj;
24759 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24760 double arg2 ;
24761 double arg3 ;
24762 int arg4 = (int) 0 ;
24763 int arg5 = (int) 0 ;
24764 PyObject * obj0 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24767 };
24768
24769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 Py_INCREF(Py_None); resultobj = Py_None;
24779 return resultobj;
24780 fail:
24781 return NULL;
24782 }
24783
24784
24785 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24786 PyObject *resultobj;
24787 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24788 double arg2 ;
24789 double arg3 ;
24790 int arg4 = (int) 0 ;
24791 int arg5 = (int) 0 ;
24792 PyObject * obj0 = 0 ;
24793 char *kwnames[] = {
24794 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24795 };
24796
24797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24799 {
24800 PyThreadState* __tstate = wxPyBeginAllowThreads();
24801 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
24802
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 Py_INCREF(Py_None); resultobj = Py_None;
24807 return resultobj;
24808 fail:
24809 return NULL;
24810 }
24811
24812
24813 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24814 PyObject *resultobj;
24815 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24816 double arg2 ;
24817 double arg3 ;
24818 int arg4 = (int) 0 ;
24819 int arg5 = (int) 0 ;
24820 PyObject * obj0 = 0 ;
24821 char *kwnames[] = {
24822 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24823 };
24824
24825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 Py_INCREF(Py_None); resultobj = Py_None;
24835 return resultobj;
24836 fail:
24837 return NULL;
24838 }
24839
24840
24841 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24842 PyObject *resultobj;
24843 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24844 double arg2 ;
24845 double arg3 ;
24846 PyObject * obj0 = 0 ;
24847 char *kwnames[] = {
24848 (char *) "self",(char *) "x",(char *) "y", NULL
24849 };
24850
24851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 (arg1)->base_OnSize(arg2,arg3);
24856
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
24860 Py_INCREF(Py_None); resultobj = Py_None;
24861 return resultobj;
24862 fail:
24863 return NULL;
24864 }
24865
24866
24867 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
24868 PyObject *resultobj;
24869 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24870 wxDC *arg2 = 0 ;
24871 double arg3 ;
24872 double arg4 ;
24873 double arg5 ;
24874 double arg6 ;
24875 bool arg7 = (bool) True ;
24876 bool result;
24877 PyObject * obj0 = 0 ;
24878 PyObject * obj1 = 0 ;
24879 PyObject * obj6 = 0 ;
24880 char *kwnames[] = {
24881 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24882 };
24883
24884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
24885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24887 if (arg2 == NULL) {
24888 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24889 }
24890 if (obj6) {
24891 {
24892 arg7 = (bool) SPyObj_AsBool(obj6);
24893 if (PyErr_Occurred()) SWIG_fail;
24894 }
24895 }
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
24899
24900 wxPyEndAllowThreads(__tstate);
24901 if (PyErr_Occurred()) SWIG_fail;
24902 }
24903 resultobj = PyInt_FromLong((long)result);
24904 return resultobj;
24905 fail:
24906 return NULL;
24907 }
24908
24909
24910 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
24911 PyObject *resultobj;
24912 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24913 wxDC *arg2 = 0 ;
24914 double arg3 ;
24915 double arg4 ;
24916 double arg5 ;
24917 double arg6 ;
24918 bool arg7 = (bool) True ;
24919 PyObject * obj0 = 0 ;
24920 PyObject * obj1 = 0 ;
24921 PyObject * obj6 = 0 ;
24922 char *kwnames[] = {
24923 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24924 };
24925
24926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
24927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24929 if (arg2 == NULL) {
24930 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24931 }
24932 if (obj6) {
24933 {
24934 arg7 = (bool) SPyObj_AsBool(obj6);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 }
24937 }
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24941
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
24945 Py_INCREF(Py_None); resultobj = Py_None;
24946 return resultobj;
24947 fail:
24948 return NULL;
24949 }
24950
24951
24952 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24953 PyObject *resultobj;
24954 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24955 bool arg2 ;
24956 double arg3 ;
24957 double arg4 ;
24958 int arg5 = (int) 0 ;
24959 int arg6 = (int) 0 ;
24960 PyObject * obj0 = 0 ;
24961 PyObject * obj1 = 0 ;
24962 char *kwnames[] = {
24963 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24964 };
24965
24966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24968 {
24969 arg2 = (bool) SPyObj_AsBool(obj1);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24975
24976 wxPyEndAllowThreads(__tstate);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 }
24979 Py_INCREF(Py_None); resultobj = Py_None;
24980 return resultobj;
24981 fail:
24982 return NULL;
24983 }
24984
24985
24986 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24989 double arg2 ;
24990 double arg3 ;
24991 int arg4 = (int) 0 ;
24992 int arg5 = (int) 0 ;
24993 PyObject * obj0 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25000 {
25001 PyThreadState* __tstate = wxPyBeginAllowThreads();
25002 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
25003
25004 wxPyEndAllowThreads(__tstate);
25005 if (PyErr_Occurred()) SWIG_fail;
25006 }
25007 Py_INCREF(Py_None); resultobj = Py_None;
25008 return resultobj;
25009 fail:
25010 return NULL;
25011 }
25012
25013
25014 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25015 PyObject *resultobj;
25016 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25017 double arg2 ;
25018 double arg3 ;
25019 int arg4 = (int) 0 ;
25020 int arg5 = (int) 0 ;
25021 PyObject * obj0 = 0 ;
25022 char *kwnames[] = {
25023 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25024 };
25025
25026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
25027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25028 {
25029 PyThreadState* __tstate = wxPyBeginAllowThreads();
25030 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
25031
25032 wxPyEndAllowThreads(__tstate);
25033 if (PyErr_Occurred()) SWIG_fail;
25034 }
25035 Py_INCREF(Py_None); resultobj = Py_None;
25036 return resultobj;
25037 fail:
25038 return NULL;
25039 }
25040
25041
25042 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25043 PyObject *resultobj;
25044 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25045 bool arg2 ;
25046 double arg3 ;
25047 double arg4 ;
25048 int arg5 = (int) 0 ;
25049 int arg6 = (int) 0 ;
25050 PyObject * obj0 = 0 ;
25051 PyObject * obj1 = 0 ;
25052 char *kwnames[] = {
25053 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25054 };
25055
25056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
25057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25058 {
25059 arg2 = (bool) SPyObj_AsBool(obj1);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 Py_INCREF(Py_None); resultobj = Py_None;
25070 return resultobj;
25071 fail:
25072 return NULL;
25073 }
25074
25075
25076 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25077 PyObject *resultobj;
25078 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25079 double arg2 ;
25080 double arg3 ;
25081 int arg4 = (int) 0 ;
25082 int arg5 = (int) 0 ;
25083 PyObject * obj0 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
25089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25090 {
25091 PyThreadState* __tstate = wxPyBeginAllowThreads();
25092 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
25093
25094 wxPyEndAllowThreads(__tstate);
25095 if (PyErr_Occurred()) SWIG_fail;
25096 }
25097 Py_INCREF(Py_None); resultobj = Py_None;
25098 return resultobj;
25099 fail:
25100 return NULL;
25101 }
25102
25103
25104 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25105 PyObject *resultobj;
25106 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25107 double arg2 ;
25108 double arg3 ;
25109 int arg4 = (int) 0 ;
25110 int arg5 = (int) 0 ;
25111 PyObject * obj0 = 0 ;
25112 char *kwnames[] = {
25113 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25114 };
25115
25116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
25117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
25121
25122 wxPyEndAllowThreads(__tstate);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 Py_INCREF(Py_None); resultobj = Py_None;
25126 return resultobj;
25127 fail:
25128 return NULL;
25129 }
25130
25131
25132 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
25133 PyObject *resultobj;
25134 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25135 wxDC *arg2 = 0 ;
25136 double arg3 ;
25137 double arg4 ;
25138 double arg5 ;
25139 double arg6 ;
25140 PyObject * obj0 = 0 ;
25141 PyObject * obj1 = 0 ;
25142 char *kwnames[] = {
25143 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25144 };
25145
25146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
25147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25149 if (arg2 == NULL) {
25150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25151 }
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
25159 Py_INCREF(Py_None); resultobj = Py_None;
25160 return resultobj;
25161 fail:
25162 return NULL;
25163 }
25164
25165
25166 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
25167 PyObject *resultobj;
25168 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25169 wxDC *arg2 = 0 ;
25170 PyObject * obj0 = 0 ;
25171 PyObject * obj1 = 0 ;
25172 char *kwnames[] = {
25173 (char *) "self",(char *) "dc", NULL
25174 };
25175
25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
25177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25179 if (arg2 == NULL) {
25180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25181 }
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 (arg1)->base_OnDrawControlPoints(*arg2);
25185
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 Py_INCREF(Py_None); resultobj = Py_None;
25190 return resultobj;
25191 fail:
25192 return NULL;
25193 }
25194
25195
25196 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj;
25198 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25199 wxDC *arg2 = 0 ;
25200 PyObject * obj0 = 0 ;
25201 PyObject * obj1 = 0 ;
25202 char *kwnames[] = {
25203 (char *) "self",(char *) "dc", NULL
25204 };
25205
25206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
25207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25209 if (arg2 == NULL) {
25210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25211 }
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 (arg1)->base_OnEraseControlPoints(*arg2);
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 Py_INCREF(Py_None); resultobj = Py_None;
25220 return resultobj;
25221 fail:
25222 return NULL;
25223 }
25224
25225
25226 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25227 PyObject *resultobj;
25228 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25229 wxDC *arg2 = 0 ;
25230 bool arg3 = (bool) True ;
25231 PyObject * obj0 = 0 ;
25232 PyObject * obj1 = 0 ;
25233 PyObject * obj2 = 0 ;
25234 char *kwnames[] = {
25235 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
25236 };
25237
25238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
25239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25241 if (arg2 == NULL) {
25242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25243 }
25244 if (obj2) {
25245 {
25246 arg3 = (bool) SPyObj_AsBool(obj2);
25247 if (PyErr_Occurred()) SWIG_fail;
25248 }
25249 }
25250 {
25251 PyThreadState* __tstate = wxPyBeginAllowThreads();
25252 (arg1)->base_OnMoveLink(*arg2,arg3);
25253
25254 wxPyEndAllowThreads(__tstate);
25255 if (PyErr_Occurred()) SWIG_fail;
25256 }
25257 Py_INCREF(Py_None); resultobj = Py_None;
25258 return resultobj;
25259 fail:
25260 return NULL;
25261 }
25262
25263
25264 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25265 PyObject *resultobj;
25266 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25267 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25268 bool arg3 ;
25269 double arg4 ;
25270 double arg5 ;
25271 int arg6 = (int) 0 ;
25272 int arg7 = (int) 0 ;
25273 PyObject * obj0 = 0 ;
25274 PyObject * obj1 = 0 ;
25275 PyObject * obj2 = 0 ;
25276 char *kwnames[] = {
25277 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25278 };
25279
25280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
25281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25283 {
25284 arg3 = (bool) SPyObj_AsBool(obj2);
25285 if (PyErr_Occurred()) SWIG_fail;
25286 }
25287 {
25288 PyThreadState* __tstate = wxPyBeginAllowThreads();
25289 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
25290
25291 wxPyEndAllowThreads(__tstate);
25292 if (PyErr_Occurred()) SWIG_fail;
25293 }
25294 Py_INCREF(Py_None); resultobj = Py_None;
25295 return resultobj;
25296 fail:
25297 return NULL;
25298 }
25299
25300
25301 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25302 PyObject *resultobj;
25303 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25304 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25305 double arg3 ;
25306 double arg4 ;
25307 int arg5 = (int) 0 ;
25308 int arg6 = (int) 0 ;
25309 PyObject * obj0 = 0 ;
25310 PyObject * obj1 = 0 ;
25311 char *kwnames[] = {
25312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25313 };
25314
25315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
25316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25317 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25318 {
25319 PyThreadState* __tstate = wxPyBeginAllowThreads();
25320 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
25321
25322 wxPyEndAllowThreads(__tstate);
25323 if (PyErr_Occurred()) SWIG_fail;
25324 }
25325 Py_INCREF(Py_None); resultobj = Py_None;
25326 return resultobj;
25327 fail:
25328 return NULL;
25329 }
25330
25331
25332 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25333 PyObject *resultobj;
25334 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25335 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25336 double arg3 ;
25337 double arg4 ;
25338 int arg5 = (int) 0 ;
25339 int arg6 = (int) 0 ;
25340 PyObject * obj0 = 0 ;
25341 PyObject * obj1 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
25347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25349 {
25350 PyThreadState* __tstate = wxPyBeginAllowThreads();
25351 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
25352
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
25356 Py_INCREF(Py_None); resultobj = Py_None;
25357 return resultobj;
25358 fail:
25359 return NULL;
25360 }
25361
25362
25363 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25364 PyObject *resultobj;
25365 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25366 double arg2 ;
25367 double arg3 ;
25368 PyObject * obj0 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self",(char *) "w",(char *) "h", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
25374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25375 {
25376 PyThreadState* __tstate = wxPyBeginAllowThreads();
25377 (arg1)->base_OnBeginSize(arg2,arg3);
25378
25379 wxPyEndAllowThreads(__tstate);
25380 if (PyErr_Occurred()) SWIG_fail;
25381 }
25382 Py_INCREF(Py_None); resultobj = Py_None;
25383 return resultobj;
25384 fail:
25385 return NULL;
25386 }
25387
25388
25389 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25390 PyObject *resultobj;
25391 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
25392 double arg2 ;
25393 double arg3 ;
25394 PyObject * obj0 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self",(char *) "w",(char *) "h", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
25400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 (arg1)->base_OnEndSize(arg2,arg3);
25404
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 Py_INCREF(Py_None); resultobj = Py_None;
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
25416 PyObject *obj;
25417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25418 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
25419 Py_INCREF(obj);
25420 return Py_BuildValue((char *)"");
25421 }
25422 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
25423 PyObject *resultobj;
25424 wxDiagram *result;
25425 char *kwnames[] = {
25426 NULL
25427 };
25428
25429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 result = (wxDiagram *)new wxDiagram();
25433
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 {
25438 resultobj = wxPyMake_wxObject(result);
25439 }
25440 return resultobj;
25441 fail:
25442 return NULL;
25443 }
25444
25445
25446 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25447 PyObject *resultobj;
25448 wxDiagram *arg1 = (wxDiagram *) 0 ;
25449 wxPyShape *arg2 = (wxPyShape *) 0 ;
25450 wxPyShape *arg3 = (wxPyShape *) NULL ;
25451 PyObject * obj0 = 0 ;
25452 PyObject * obj1 = 0 ;
25453 PyObject * obj2 = 0 ;
25454 char *kwnames[] = {
25455 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25456 };
25457
25458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
25459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25461 if (obj2) {
25462 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25463 }
25464 {
25465 PyThreadState* __tstate = wxPyBeginAllowThreads();
25466 (arg1)->AddShape(arg2,arg3);
25467
25468 wxPyEndAllowThreads(__tstate);
25469 if (PyErr_Occurred()) SWIG_fail;
25470 }
25471 Py_INCREF(Py_None); resultobj = Py_None;
25472 return resultobj;
25473 fail:
25474 return NULL;
25475 }
25476
25477
25478 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
25479 PyObject *resultobj;
25480 wxDiagram *arg1 = (wxDiagram *) 0 ;
25481 wxDC *arg2 = 0 ;
25482 PyObject * obj0 = 0 ;
25483 PyObject * obj1 = 0 ;
25484 char *kwnames[] = {
25485 (char *) "self",(char *) "dc", NULL
25486 };
25487
25488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
25489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25491 if (arg2 == NULL) {
25492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25493 }
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 (arg1)->Clear(*arg2);
25497
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 Py_INCREF(Py_None); resultobj = Py_None;
25502 return resultobj;
25503 fail:
25504 return NULL;
25505 }
25506
25507
25508 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxDiagram *arg1 = (wxDiagram *) 0 ;
25511 PyObject * obj0 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
25517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 (arg1)->DeleteAllShapes();
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 Py_INCREF(Py_None); resultobj = Py_None;
25526 return resultobj;
25527 fail:
25528 return NULL;
25529 }
25530
25531
25532 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
25533 PyObject *resultobj;
25534 wxDiagram *arg1 = (wxDiagram *) 0 ;
25535 wxDC *arg2 = 0 ;
25536 double arg3 ;
25537 double arg4 ;
25538 double arg5 ;
25539 double arg6 ;
25540 PyObject * obj0 = 0 ;
25541 PyObject * obj1 = 0 ;
25542 char *kwnames[] = {
25543 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25544 };
25545
25546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:Diagram_DrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
25547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25549 if (arg2 == NULL) {
25550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25551 }
25552 {
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
25555
25556 wxPyEndAllowThreads(__tstate);
25557 if (PyErr_Occurred()) SWIG_fail;
25558 }
25559 Py_INCREF(Py_None); resultobj = Py_None;
25560 return resultobj;
25561 fail:
25562 return NULL;
25563 }
25564
25565
25566 static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25567 PyObject *resultobj;
25568 wxDiagram *arg1 = (wxDiagram *) 0 ;
25569 long arg2 ;
25570 wxPyShape *result;
25571 PyObject * obj0 = 0 ;
25572 char *kwnames[] = {
25573 (char *) "self",(char *) "id", NULL
25574 };
25575
25576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Diagram_FindShape",kwnames,&obj0,&arg2)) goto fail;
25577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 result = (wxPyShape *)(arg1)->FindShape(arg2);
25581
25582 wxPyEndAllowThreads(__tstate);
25583 if (PyErr_Occurred()) SWIG_fail;
25584 }
25585 {
25586 resultobj = wxPyMake_wxShapeEvtHandler(result);
25587 }
25588 return resultobj;
25589 fail:
25590 return NULL;
25591 }
25592
25593
25594 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
25595 PyObject *resultobj;
25596 wxDiagram *arg1 = (wxDiagram *) 0 ;
25597 wxPyShapeCanvas *result;
25598 PyObject * obj0 = 0 ;
25599 char *kwnames[] = {
25600 (char *) "self", NULL
25601 };
25602
25603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
25604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25605 {
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
25608
25609 wxPyEndAllowThreads(__tstate);
25610 if (PyErr_Occurred()) SWIG_fail;
25611 }
25612 {
25613 resultobj = wxPyMake_wxObject(result);
25614 }
25615 return resultobj;
25616 fail:
25617 return NULL;
25618 }
25619
25620
25621 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25622 PyObject *resultobj;
25623 wxDiagram *arg1 = (wxDiagram *) 0 ;
25624 int result;
25625 PyObject * obj0 = 0 ;
25626 char *kwnames[] = {
25627 (char *) "self", NULL
25628 };
25629
25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
25631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 result = (int)(arg1)->GetCount();
25635
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 resultobj = PyInt_FromLong((long)result);
25640 return resultobj;
25641 fail:
25642 return NULL;
25643 }
25644
25645
25646 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25647 PyObject *resultobj;
25648 wxDiagram *arg1 = (wxDiagram *) 0 ;
25649 double result;
25650 PyObject * obj0 = 0 ;
25651 char *kwnames[] = {
25652 (char *) "self", NULL
25653 };
25654
25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
25656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25657 {
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 result = (double)(arg1)->GetGridSpacing();
25660
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
25664 resultobj = PyFloat_FromDouble(result);
25665 return resultobj;
25666 fail:
25667 return NULL;
25668 }
25669
25670
25671 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj;
25673 wxDiagram *arg1 = (wxDiagram *) 0 ;
25674 int result;
25675 PyObject * obj0 = 0 ;
25676 char *kwnames[] = {
25677 (char *) "self", NULL
25678 };
25679
25680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
25681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 result = (int)(arg1)->GetMouseTolerance();
25685
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 resultobj = PyInt_FromLong((long)result);
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxDiagram *arg1 = (wxDiagram *) 0 ;
25699 PyObject *result;
25700 PyObject * obj0 = 0 ;
25701 char *kwnames[] = {
25702 (char *) "self", NULL
25703 };
25704
25705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
25706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 result = (PyObject *)wxDiagram_GetShapeList(arg1);
25710
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
25714 resultobj = result;
25715 return resultobj;
25716 fail:
25717 return NULL;
25718 }
25719
25720
25721 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25722 PyObject *resultobj;
25723 wxDiagram *arg1 = (wxDiagram *) 0 ;
25724 bool result;
25725 PyObject * obj0 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "self", NULL
25728 };
25729
25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
25731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 result = (bool)(arg1)->GetQuickEditMode();
25735
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 resultobj = PyInt_FromLong((long)result);
25740 return resultobj;
25741 fail:
25742 return NULL;
25743 }
25744
25745
25746 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
25747 PyObject *resultobj;
25748 wxDiagram *arg1 = (wxDiagram *) 0 ;
25749 bool result;
25750 PyObject * obj0 = 0 ;
25751 char *kwnames[] = {
25752 (char *) "self", NULL
25753 };
25754
25755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
25756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 result = (bool)(arg1)->GetSnapToGrid();
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 resultobj = PyInt_FromLong((long)result);
25765 return resultobj;
25766 fail:
25767 return NULL;
25768 }
25769
25770
25771 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25772 PyObject *resultobj;
25773 wxDiagram *arg1 = (wxDiagram *) 0 ;
25774 wxPyShape *arg2 = (wxPyShape *) 0 ;
25775 PyObject * obj0 = 0 ;
25776 PyObject * obj1 = 0 ;
25777 char *kwnames[] = {
25778 (char *) "self",(char *) "shape", NULL
25779 };
25780
25781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
25782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 (arg1)->InsertShape(arg2);
25787
25788 wxPyEndAllowThreads(__tstate);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
25791 Py_INCREF(Py_None); resultobj = Py_None;
25792 return resultobj;
25793 fail:
25794 return NULL;
25795 }
25796
25797
25798 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25799 PyObject *resultobj;
25800 wxDiagram *arg1 = (wxDiagram *) 0 ;
25801 wxDC *arg2 = 0 ;
25802 PyObject * obj0 = 0 ;
25803 PyObject * obj1 = 0 ;
25804 char *kwnames[] = {
25805 (char *) "self",(char *) "dc", NULL
25806 };
25807
25808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
25809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25811 if (arg2 == NULL) {
25812 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25813 }
25814 {
25815 PyThreadState* __tstate = wxPyBeginAllowThreads();
25816 (arg1)->RecentreAll(*arg2);
25817
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
25821 Py_INCREF(Py_None); resultobj = Py_None;
25822 return resultobj;
25823 fail:
25824 return NULL;
25825 }
25826
25827
25828 static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
25829 PyObject *resultobj;
25830 wxDiagram *arg1 = (wxDiagram *) 0 ;
25831 wxDC *arg2 = 0 ;
25832 PyObject * obj0 = 0 ;
25833 PyObject * obj1 = 0 ;
25834 char *kwnames[] = {
25835 (char *) "self",(char *) "dc", NULL
25836 };
25837
25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
25839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25841 if (arg2 == NULL) {
25842 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25843 }
25844 {
25845 PyThreadState* __tstate = wxPyBeginAllowThreads();
25846 (arg1)->Redraw(*arg2);
25847
25848 wxPyEndAllowThreads(__tstate);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 }
25851 Py_INCREF(Py_None); resultobj = Py_None;
25852 return resultobj;
25853 fail:
25854 return NULL;
25855 }
25856
25857
25858 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
25859 PyObject *resultobj;
25860 wxDiagram *arg1 = (wxDiagram *) 0 ;
25861 PyObject * obj0 = 0 ;
25862 char *kwnames[] = {
25863 (char *) "self", NULL
25864 };
25865
25866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
25867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25868 {
25869 PyThreadState* __tstate = wxPyBeginAllowThreads();
25870 (arg1)->RemoveAllShapes();
25871
25872 wxPyEndAllowThreads(__tstate);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 Py_INCREF(Py_None); resultobj = Py_None;
25876 return resultobj;
25877 fail:
25878 return NULL;
25879 }
25880
25881
25882 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25883 PyObject *resultobj;
25884 wxDiagram *arg1 = (wxDiagram *) 0 ;
25885 wxPyShape *arg2 = (wxPyShape *) 0 ;
25886 PyObject * obj0 = 0 ;
25887 PyObject * obj1 = 0 ;
25888 char *kwnames[] = {
25889 (char *) "self",(char *) "shape", NULL
25890 };
25891
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
25893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 (arg1)->RemoveShape(arg2);
25898
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 Py_INCREF(Py_None); resultobj = Py_None;
25903 return resultobj;
25904 fail:
25905 return NULL;
25906 }
25907
25908
25909 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
25910 PyObject *resultobj;
25911 wxDiagram *arg1 = (wxDiagram *) 0 ;
25912 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
25913 PyObject * obj0 = 0 ;
25914 PyObject * obj1 = 0 ;
25915 char *kwnames[] = {
25916 (char *) "self",(char *) "canvas", NULL
25917 };
25918
25919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
25920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 (arg1)->SetCanvas(arg2);
25925
25926 wxPyEndAllowThreads(__tstate);
25927 if (PyErr_Occurred()) SWIG_fail;
25928 }
25929 Py_INCREF(Py_None); resultobj = Py_None;
25930 return resultobj;
25931 fail:
25932 return NULL;
25933 }
25934
25935
25936 static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25937 PyObject *resultobj;
25938 wxDiagram *arg1 = (wxDiagram *) 0 ;
25939 double arg2 ;
25940 PyObject * obj0 = 0 ;
25941 char *kwnames[] = {
25942 (char *) "self",(char *) "spacing", NULL
25943 };
25944
25945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Diagram_SetGridSpacing",kwnames,&obj0,&arg2)) goto fail;
25946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 (arg1)->SetGridSpacing(arg2);
25950
25951 wxPyEndAllowThreads(__tstate);
25952 if (PyErr_Occurred()) SWIG_fail;
25953 }
25954 Py_INCREF(Py_None); resultobj = Py_None;
25955 return resultobj;
25956 fail:
25957 return NULL;
25958 }
25959
25960
25961 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
25962 PyObject *resultobj;
25963 wxDiagram *arg1 = (wxDiagram *) 0 ;
25964 int arg2 ;
25965 PyObject * obj0 = 0 ;
25966 char *kwnames[] = {
25967 (char *) "self",(char *) "tolerance", NULL
25968 };
25969
25970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Diagram_SetMouseTolerance",kwnames,&obj0,&arg2)) goto fail;
25971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 (arg1)->SetMouseTolerance(arg2);
25975
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
25979 Py_INCREF(Py_None); resultobj = Py_None;
25980 return resultobj;
25981 fail:
25982 return NULL;
25983 }
25984
25985
25986 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25987 PyObject *resultobj;
25988 wxDiagram *arg1 = (wxDiagram *) 0 ;
25989 bool arg2 ;
25990 PyObject * obj0 = 0 ;
25991 PyObject * obj1 = 0 ;
25992 char *kwnames[] = {
25993 (char *) "self",(char *) "mode", NULL
25994 };
25995
25996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
25997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25998 {
25999 arg2 = (bool) SPyObj_AsBool(obj1);
26000 if (PyErr_Occurred()) SWIG_fail;
26001 }
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 (arg1)->SetQuickEditMode(arg2);
26005
26006 wxPyEndAllowThreads(__tstate);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
26009 Py_INCREF(Py_None); resultobj = Py_None;
26010 return resultobj;
26011 fail:
26012 return NULL;
26013 }
26014
26015
26016 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
26017 PyObject *resultobj;
26018 wxDiagram *arg1 = (wxDiagram *) 0 ;
26019 bool arg2 ;
26020 PyObject * obj0 = 0 ;
26021 PyObject * obj1 = 0 ;
26022 char *kwnames[] = {
26023 (char *) "self",(char *) "snap", NULL
26024 };
26025
26026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
26027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26028 {
26029 arg2 = (bool) SPyObj_AsBool(obj1);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 (arg1)->SetSnapToGrid(arg2);
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 Py_INCREF(Py_None); resultobj = Py_None;
26040 return resultobj;
26041 fail:
26042 return NULL;
26043 }
26044
26045
26046 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26047 PyObject *resultobj;
26048 wxDiagram *arg1 = (wxDiagram *) 0 ;
26049 bool arg2 ;
26050 PyObject * obj0 = 0 ;
26051 PyObject * obj1 = 0 ;
26052 char *kwnames[] = {
26053 (char *) "self",(char *) "show", NULL
26054 };
26055
26056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
26057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26058 {
26059 arg2 = (bool) SPyObj_AsBool(obj1);
26060 if (PyErr_Occurred()) SWIG_fail;
26061 }
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 (arg1)->ShowAll(arg2);
26065
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 Py_INCREF(Py_None); resultobj = Py_None;
26070 return resultobj;
26071 fail:
26072 return NULL;
26073 }
26074
26075
26076 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
26077 PyObject *resultobj;
26078 wxDiagram *arg1 = (wxDiagram *) 0 ;
26079 double *arg2 = (double *) 0 ;
26080 double *arg3 = (double *) 0 ;
26081 double temp2 ;
26082 double temp3 ;
26083 PyObject * obj0 = 0 ;
26084 PyObject * obj1 = 0 ;
26085 PyObject * obj2 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26088 };
26089
26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
26091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26092 {
26093 temp2 = PyFloat_AsDouble(obj1);
26094 if (PyErr_Occurred()) SWIG_fail;
26095 arg2 = &temp2;
26096 }
26097 {
26098 temp3 = PyFloat_AsDouble(obj2);
26099 if (PyErr_Occurred()) SWIG_fail;
26100 arg3 = &temp3;
26101 }
26102 {
26103 PyThreadState* __tstate = wxPyBeginAllowThreads();
26104 (arg1)->Snap(arg2,arg3);
26105
26106 wxPyEndAllowThreads(__tstate);
26107 if (PyErr_Occurred()) SWIG_fail;
26108 }
26109 Py_INCREF(Py_None); resultobj = Py_None;
26110 {
26111 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26112 resultobj = t_output_helper(resultobj,o);
26113 }
26114 {
26115 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26116 resultobj = t_output_helper(resultobj,o);
26117 }
26118 return resultobj;
26119 fail:
26120 return NULL;
26121 }
26122
26123
26124 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
26125 PyObject *obj;
26126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26127 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
26128 Py_INCREF(obj);
26129 return Py_BuildValue((char *)"");
26130 }
26131 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
26132 PyObject *resultobj;
26133 wxWindow *arg1 = (wxWindow *) NULL ;
26134 int arg2 = (int) -1 ;
26135 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26136 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26137 wxSize const &arg4_defvalue = wxDefaultSize ;
26138 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26139 long arg5 = (long) wxBORDER ;
26140 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
26141 wxString *arg6 = (wxString *) &arg6_defvalue ;
26142 wxPyShapeCanvas *result;
26143 wxPoint temp3 ;
26144 wxSize temp4 ;
26145 bool temp6 = False ;
26146 PyObject * obj0 = 0 ;
26147 PyObject * obj2 = 0 ;
26148 PyObject * obj3 = 0 ;
26149 PyObject * obj5 = 0 ;
26150 char *kwnames[] = {
26151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26152 };
26153
26154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
26155 if (obj0) {
26156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26157 }
26158 if (obj2) {
26159 {
26160 arg3 = &temp3;
26161 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26162 }
26163 }
26164 if (obj3) {
26165 {
26166 arg4 = &temp4;
26167 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26168 }
26169 }
26170 if (obj5) {
26171 {
26172 arg6 = wxString_in_helper(obj5);
26173 if (arg6 == NULL) SWIG_fail;
26174 temp6 = True;
26175 }
26176 }
26177 {
26178 PyThreadState* __tstate = wxPyBeginAllowThreads();
26179 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
26180
26181 wxPyEndAllowThreads(__tstate);
26182 if (PyErr_Occurred()) SWIG_fail;
26183 }
26184 {
26185 resultobj = wxPyMake_wxObject(result);
26186 }
26187 {
26188 if (temp6)
26189 delete arg6;
26190 }
26191 return resultobj;
26192 fail:
26193 {
26194 if (temp6)
26195 delete arg6;
26196 }
26197 return NULL;
26198 }
26199
26200
26201 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26202 PyObject *resultobj;
26203 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26204 PyObject *arg2 = (PyObject *) 0 ;
26205 PyObject *arg3 = (PyObject *) 0 ;
26206 PyObject * obj0 = 0 ;
26207 PyObject * obj1 = 0 ;
26208 PyObject * obj2 = 0 ;
26209 char *kwnames[] = {
26210 (char *) "self",(char *) "self",(char *) "_class", NULL
26211 };
26212
26213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26215 arg2 = obj1;
26216 arg3 = obj2;
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 (arg1)->_setCallbackInfo(arg2,arg3);
26220
26221 wxPyEndAllowThreads(__tstate);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
26224 Py_INCREF(Py_None); resultobj = Py_None;
26225 return resultobj;
26226 fail:
26227 return NULL;
26228 }
26229
26230
26231 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
26232 PyObject *resultobj;
26233 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26234 wxPyShape *arg2 = (wxPyShape *) 0 ;
26235 wxPyShape *arg3 = (wxPyShape *) NULL ;
26236 PyObject * obj0 = 0 ;
26237 PyObject * obj1 = 0 ;
26238 PyObject * obj2 = 0 ;
26239 char *kwnames[] = {
26240 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
26241 };
26242
26243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
26244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26246 if (obj2) {
26247 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26248 }
26249 {
26250 PyThreadState* __tstate = wxPyBeginAllowThreads();
26251 (arg1)->AddShape(arg2,arg3);
26252
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
26256 Py_INCREF(Py_None); resultobj = Py_None;
26257 return resultobj;
26258 fail:
26259 return NULL;
26260 }
26261
26262
26263 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
26264 PyObject *resultobj;
26265 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26266 double arg2 ;
26267 double arg3 ;
26268 int *arg4 = (int *) 0 ;
26269 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
26270 wxPyShape *arg6 = (wxPyShape *) NULL ;
26271 wxPyShape *result;
26272 int temp4 ;
26273 PyObject * obj0 = 0 ;
26274 PyObject * obj3 = 0 ;
26275 PyObject * obj4 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
26278 };
26279
26280 arg4 = &temp4;
26281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
26282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26283 if (obj3) {
26284 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxClassInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26285 }
26286 if (obj4) {
26287 if ((SWIG_ConvertPtr(obj4,(void **) &arg6, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26288 }
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 {
26297 resultobj = wxPyMake_wxShapeEvtHandler(result);
26298 }
26299 {
26300 PyObject *o = PyInt_FromLong((long) (*arg4));
26301 resultobj = t_output_helper(resultobj,o);
26302 }
26303 return resultobj;
26304 fail:
26305 return NULL;
26306 }
26307
26308
26309 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
26310 PyObject *resultobj;
26311 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26312 double arg2 ;
26313 double arg3 ;
26314 int *arg4 = (int *) 0 ;
26315 int arg5 ;
26316 wxPyShape *result;
26317 int temp4 ;
26318 PyObject * obj0 = 0 ;
26319 char *kwnames[] = {
26320 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
26321 };
26322
26323 arg4 = &temp4;
26324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&arg2,&arg3,&arg5)) goto fail;
26325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
26329
26330 wxPyEndAllowThreads(__tstate);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
26333 {
26334 resultobj = wxPyMake_wxShapeEvtHandler(result);
26335 }
26336 {
26337 PyObject *o = PyInt_FromLong((long) (*arg4));
26338 resultobj = t_output_helper(resultobj,o);
26339 }
26340 return resultobj;
26341 fail:
26342 return NULL;
26343 }
26344
26345
26346 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
26347 PyObject *resultobj;
26348 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26349 wxDiagram *result;
26350 PyObject * obj0 = 0 ;
26351 char *kwnames[] = {
26352 (char *) "self", NULL
26353 };
26354
26355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
26356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26357 {
26358 PyThreadState* __tstate = wxPyBeginAllowThreads();
26359 result = (wxDiagram *)(arg1)->GetDiagram();
26360
26361 wxPyEndAllowThreads(__tstate);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 {
26365 resultobj = wxPyMake_wxObject(result);
26366 }
26367 return resultobj;
26368 fail:
26369 return NULL;
26370 }
26371
26372
26373 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
26374 PyObject *resultobj;
26375 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26376 bool result;
26377 PyObject * obj0 = 0 ;
26378 char *kwnames[] = {
26379 (char *) "self", NULL
26380 };
26381
26382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
26383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26384 {
26385 PyThreadState* __tstate = wxPyBeginAllowThreads();
26386 result = (bool)(arg1)->GetQuickEditMode();
26387
26388 wxPyEndAllowThreads(__tstate);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 }
26391 resultobj = PyInt_FromLong((long)result);
26392 return resultobj;
26393 fail:
26394 return NULL;
26395 }
26396
26397
26398 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
26399 PyObject *resultobj;
26400 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26401 wxPyShape *arg2 = (wxPyShape *) 0 ;
26402 PyObject * obj0 = 0 ;
26403 PyObject * obj1 = 0 ;
26404 char *kwnames[] = {
26405 (char *) "self",(char *) "shape", NULL
26406 };
26407
26408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
26409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26411 {
26412 PyThreadState* __tstate = wxPyBeginAllowThreads();
26413 (arg1)->InsertShape(arg2);
26414
26415 wxPyEndAllowThreads(__tstate);
26416 if (PyErr_Occurred()) SWIG_fail;
26417 }
26418 Py_INCREF(Py_None); resultobj = Py_None;
26419 return resultobj;
26420 fail:
26421 return NULL;
26422 }
26423
26424
26425 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
26426 PyObject *resultobj;
26427 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26428 double arg2 ;
26429 double arg3 ;
26430 int arg4 = (int) 0 ;
26431 PyObject * obj0 = 0 ;
26432 char *kwnames[] = {
26433 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26434 };
26435
26436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26438 {
26439 PyThreadState* __tstate = wxPyBeginAllowThreads();
26440 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
26441
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
26445 Py_INCREF(Py_None); resultobj = Py_None;
26446 return resultobj;
26447 fail:
26448 return NULL;
26449 }
26450
26451
26452 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
26453 PyObject *resultobj;
26454 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26455 double arg2 ;
26456 double arg3 ;
26457 int arg4 = (int) 0 ;
26458 PyObject * obj0 = 0 ;
26459 char *kwnames[] = {
26460 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26461 };
26462
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 Py_INCREF(Py_None); resultobj = Py_None;
26473 return resultobj;
26474 fail:
26475 return NULL;
26476 }
26477
26478
26479 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
26480 PyObject *resultobj;
26481 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26482 double arg2 ;
26483 double arg3 ;
26484 int arg4 = (int) 0 ;
26485 PyObject * obj0 = 0 ;
26486 char *kwnames[] = {
26487 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26488 };
26489
26490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
26495
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 Py_INCREF(Py_None); resultobj = Py_None;
26500 return resultobj;
26501 fail:
26502 return NULL;
26503 }
26504
26505
26506 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj;
26508 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26509 double arg2 ;
26510 double arg3 ;
26511 int arg4 = (int) 0 ;
26512 PyObject * obj0 = 0 ;
26513 char *kwnames[] = {
26514 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26515 };
26516
26517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
26522
26523 wxPyEndAllowThreads(__tstate);
26524 if (PyErr_Occurred()) SWIG_fail;
26525 }
26526 Py_INCREF(Py_None); resultobj = Py_None;
26527 return resultobj;
26528 fail:
26529 return NULL;
26530 }
26531
26532
26533 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
26534 PyObject *resultobj;
26535 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26536 bool arg2 ;
26537 double arg3 ;
26538 double arg4 ;
26539 int arg5 = (int) 0 ;
26540 PyObject * obj0 = 0 ;
26541 PyObject * obj1 = 0 ;
26542 char *kwnames[] = {
26543 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
26544 };
26545
26546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
26547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26548 {
26549 arg2 = (bool) SPyObj_AsBool(obj1);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 {
26553 PyThreadState* __tstate = wxPyBeginAllowThreads();
26554 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
26555
26556 wxPyEndAllowThreads(__tstate);
26557 if (PyErr_Occurred()) SWIG_fail;
26558 }
26559 Py_INCREF(Py_None); resultobj = Py_None;
26560 return resultobj;
26561 fail:
26562 return NULL;
26563 }
26564
26565
26566 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
26567 PyObject *resultobj;
26568 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26569 bool arg2 ;
26570 double arg3 ;
26571 double arg4 ;
26572 int arg5 = (int) 0 ;
26573 PyObject * obj0 = 0 ;
26574 PyObject * obj1 = 0 ;
26575 char *kwnames[] = {
26576 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
26577 };
26578
26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
26580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26581 {
26582 arg2 = (bool) SPyObj_AsBool(obj1);
26583 if (PyErr_Occurred()) SWIG_fail;
26584 }
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
26588
26589 wxPyEndAllowThreads(__tstate);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 }
26592 Py_INCREF(Py_None); resultobj = Py_None;
26593 return resultobj;
26594 fail:
26595 return NULL;
26596 }
26597
26598
26599 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
26600 PyObject *resultobj;
26601 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26602 double arg2 ;
26603 double arg3 ;
26604 int arg4 = (int) 0 ;
26605 PyObject * obj0 = 0 ;
26606 char *kwnames[] = {
26607 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26608 };
26609
26610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26612 {
26613 PyThreadState* __tstate = wxPyBeginAllowThreads();
26614 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
26615
26616 wxPyEndAllowThreads(__tstate);
26617 if (PyErr_Occurred()) SWIG_fail;
26618 }
26619 Py_INCREF(Py_None); resultobj = Py_None;
26620 return resultobj;
26621 fail:
26622 return NULL;
26623 }
26624
26625
26626 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
26627 PyObject *resultobj;
26628 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26629 double arg2 ;
26630 double arg3 ;
26631 int arg4 = (int) 0 ;
26632 PyObject * obj0 = 0 ;
26633 char *kwnames[] = {
26634 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26635 };
26636
26637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 (arg1)->base_OnRightClick(arg2,arg3,arg4);
26642
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 Py_INCREF(Py_None); resultobj = Py_None;
26647 return resultobj;
26648 fail:
26649 return NULL;
26650 }
26651
26652
26653 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
26654 PyObject *resultobj;
26655 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26656 wxDC *arg2 = 0 ;
26657 PyObject * obj0 = 0 ;
26658 PyObject * obj1 = 0 ;
26659 char *kwnames[] = {
26660 (char *) "self",(char *) "dc", NULL
26661 };
26662
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
26664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26666 if (arg2 == NULL) {
26667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26668 }
26669 {
26670 PyThreadState* __tstate = wxPyBeginAllowThreads();
26671 (arg1)->Redraw(*arg2);
26672
26673 wxPyEndAllowThreads(__tstate);
26674 if (PyErr_Occurred()) SWIG_fail;
26675 }
26676 Py_INCREF(Py_None); resultobj = Py_None;
26677 return resultobj;
26678 fail:
26679 return NULL;
26680 }
26681
26682
26683 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
26684 PyObject *resultobj;
26685 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26686 wxPyShape *arg2 = (wxPyShape *) 0 ;
26687 PyObject * obj0 = 0 ;
26688 PyObject * obj1 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self",(char *) "shape", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
26694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26696 {
26697 PyThreadState* __tstate = wxPyBeginAllowThreads();
26698 (arg1)->RemoveShape(arg2);
26699
26700 wxPyEndAllowThreads(__tstate);
26701 if (PyErr_Occurred()) SWIG_fail;
26702 }
26703 Py_INCREF(Py_None); resultobj = Py_None;
26704 return resultobj;
26705 fail:
26706 return NULL;
26707 }
26708
26709
26710 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
26711 PyObject *resultobj;
26712 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26713 wxDiagram *arg2 = (wxDiagram *) 0 ;
26714 PyObject * obj0 = 0 ;
26715 PyObject * obj1 = 0 ;
26716 char *kwnames[] = {
26717 (char *) "self",(char *) "diagram", NULL
26718 };
26719
26720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
26721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 (arg1)->SetDiagram(arg2);
26726
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 Py_INCREF(Py_None); resultobj = Py_None;
26731 return resultobj;
26732 fail:
26733 return NULL;
26734 }
26735
26736
26737 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj;
26739 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26740 double *arg2 = (double *) 0 ;
26741 double *arg3 = (double *) 0 ;
26742 double temp2 ;
26743 double temp3 ;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 PyObject * obj2 = 0 ;
26747 char *kwnames[] = {
26748 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26749 };
26750
26751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
26752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26753 {
26754 temp2 = PyFloat_AsDouble(obj1);
26755 if (PyErr_Occurred()) SWIG_fail;
26756 arg2 = &temp2;
26757 }
26758 {
26759 temp3 = PyFloat_AsDouble(obj2);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 arg3 = &temp3;
26762 }
26763 {
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 (arg1)->Snap(arg2,arg3);
26766
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 Py_INCREF(Py_None); resultobj = Py_None;
26771 {
26772 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26773 resultobj = t_output_helper(resultobj,o);
26774 }
26775 {
26776 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26777 resultobj = t_output_helper(resultobj,o);
26778 }
26779 return resultobj;
26780 fail:
26781 return NULL;
26782 }
26783
26784
26785 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
26786 PyObject *obj;
26787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26788 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
26789 Py_INCREF(obj);
26790 return Py_BuildValue((char *)"");
26791 }
26792 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
26793 PyObject *resultobj;
26794 char *kwnames[] = {
26795 NULL
26796 };
26797
26798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
26799 {
26800 PyThreadState* __tstate = wxPyBeginAllowThreads();
26801 wxOGLInitialize();
26802
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
26806 Py_INCREF(Py_None); resultobj = Py_None;
26807 return resultobj;
26808 fail:
26809 return NULL;
26810 }
26811
26812
26813 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
26814 PyObject *resultobj;
26815 char *kwnames[] = {
26816 NULL
26817 };
26818
26819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 wxOGLCleanUp();
26823
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 Py_INCREF(Py_None); resultobj = Py_None;
26828 return resultobj;
26829 fail:
26830 return NULL;
26831 }
26832
26833
26834 static PyMethodDef SwigMethods[] = {
26835 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
26865 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
26873 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
26911 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
27079 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
27121 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
27155 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
27188 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
27224 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
27253 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27261 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27266 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27273 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27276 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
27284 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
27289 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27291 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27327 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
27335 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27345 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27350 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27352 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27353 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27357 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27358 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27359 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27360 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27361 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27362 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27363 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27365 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27366 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
27369 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
27370 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27371 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
27372 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
27373 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
27374 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
27375 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
27376 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
27377 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
27378 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
27379 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
27380 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
27381 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
27382 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
27383 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
27384 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
27385 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
27386 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
27387 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
27388 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
27389 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
27390 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
27391 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
27392 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
27393 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
27394 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
27395 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
27396 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27397 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27398 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27399 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27400 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27401 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27402 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27403 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27404 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27405 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27406 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27407 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27408 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27409 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27410 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27411 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27412 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27413 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27414 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27415 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27416 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27417 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27418 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27419 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27420 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27421 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27422 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27423 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27424 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27425 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
27426 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
27427 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27428 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27429 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27430 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27431 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27432 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27433 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27434 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27435 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27436 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27437 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27438 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27439 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27440 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27441 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27442 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27443 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27444 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27445 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27446 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27447 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27448 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27449 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27450 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27451 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27452 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27453 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27454 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27455 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27456 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
27457 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
27458 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27459 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27460 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27461 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27462 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27463 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27464 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27465 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27466 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27467 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27468 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27469 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27470 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27471 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27472 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27473 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27474 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27475 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27476 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27477 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27478 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27479 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27480 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27481 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27482 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27483 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27484 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27485 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27486 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27487 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
27488 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
27489 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
27490 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
27491 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
27492 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
27493 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
27494 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
27495 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27496 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
27497 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
27498 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
27499 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
27500 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
27501 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
27502 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
27503 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
27504 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
27505 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27506 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
27507 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
27508 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27509 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
27510 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
27511 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
27512 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
27513 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
27514 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
27515 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
27516 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
27517 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
27518 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
27519 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
27520 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
27521 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
27522 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
27523 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
27524 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
27525 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
27526 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
27527 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
27528 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
27529 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
27530 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
27531 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
27532 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
27533 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
27534 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
27535 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
27536 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
27537 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
27538 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
27539 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
27540 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
27541 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
27542 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
27543 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
27544 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
27545 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
27546 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
27547 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
27548 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
27549 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
27550 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
27551 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
27552 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
27553 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
27554 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
27555 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27556 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27557 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27558 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27559 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27560 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27561 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27562 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27563 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27564 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27565 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27566 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27567 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27568 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27569 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27570 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27571 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27572 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27573 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27574 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27575 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27576 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27577 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27578 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27579 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27580 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27581 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27582 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27583 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
27584 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
27585 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27586 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
27587 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
27588 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
27589 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
27590 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
27591 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
27592 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
27593 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
27594 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
27595 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
27596 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
27597 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27598 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27599 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27600 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27601 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27602 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27603 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27604 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27605 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27606 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27607 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27608 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27609 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27610 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27611 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27612 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27613 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27614 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27615 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27616 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27617 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27618 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27619 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27620 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27621 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27622 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27623 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27624 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27625 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
27626 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
27627 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27628 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27629 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27630 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27631 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27632 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27633 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27634 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27635 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27636 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27637 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27638 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27639 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27640 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27641 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27642 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27643 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27644 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27645 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27646 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27647 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27648 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27649 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27650 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27651 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27652 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27653 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27654 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27655 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27656 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27657 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
27658 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
27659 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
27660 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
27661 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
27662 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
27663 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
27664 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
27665 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
27666 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
27667 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
27668 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
27669 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
27670 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
27671 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
27672 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
27673 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
27674 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
27675 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
27676 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
27677 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
27678 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
27679 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
27680 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
27681 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
27682 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
27683 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
27684 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
27685 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27686 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
27687 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
27688 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
27689 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
27690 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
27691 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
27692 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27693 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27694 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27695 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27696 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27697 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27698 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27699 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27700 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
27701 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
27702 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
27703 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
27704 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
27705 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
27706 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
27707 { NULL, NULL }
27708 };
27709
27710
27711 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27712
27713 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27714 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27715 }
27716 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27717 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27718 }
27719 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27720 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27721 }
27722 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27723 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27724 }
27725 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27726 return (void *)((wxPanel *) ((wxPyPanel *) x));
27727 }
27728 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27729 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27730 }
27731 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27732 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27733 }
27734 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27735 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27736 }
27737 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
27738 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27739 }
27740 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27741 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27742 }
27743 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
27744 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27745 }
27746 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
27747 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27748 }
27749 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
27750 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27751 }
27752 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
27753 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
27754 }
27755 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27756 return (void *)((wxWindow *) ((wxMenuBar *) x));
27757 }
27758 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
27759 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27760 }
27761 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
27762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27763 }
27764 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
27765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27766 }
27767 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
27768 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27769 }
27770 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
27771 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27772 }
27773 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
27774 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27775 }
27776 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
27777 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27778 }
27779 static void *_p_wxPanelTo_p_wxWindow(void *x) {
27780 return (void *)((wxWindow *) ((wxPanel *) x));
27781 }
27782 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
27783 return (void *)((wxWindow *) ((wxStatusBar *) x));
27784 }
27785 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
27786 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
27787 }
27788 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
27789 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
27790 }
27791 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
27792 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27793 }
27794 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
27795 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27796 }
27797 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
27798 return (void *)((wxWindow *) ((wxPopupWindow *) x));
27799 }
27800 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
27801 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
27802 }
27803 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
27804 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
27805 }
27806 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
27807 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
27808 }
27809 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
27810 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
27811 }
27812 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
27813 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
27814 }
27815 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
27816 return (void *)((wxWindow *) ((wxSashWindow *) x));
27817 }
27818 static void *_p_wxControlTo_p_wxWindow(void *x) {
27819 return (void *)((wxWindow *) ((wxControl *) x));
27820 }
27821 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
27822 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27823 }
27824 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
27825 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27826 }
27827 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
27828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27829 }
27830 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27831 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27832 }
27833 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
27834 return (void *)((wxWindow *) ((wxPyWindow *) x));
27835 }
27836 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
27837 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27838 }
27839 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
27840 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27841 }
27842 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
27843 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27844 }
27845 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
27846 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27847 }
27848 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
27849 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
27850 }
27851 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
27852 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27853 }
27854 static void *_p_wxFrameTo_p_wxWindow(void *x) {
27855 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
27856 }
27857 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
27858 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27859 }
27860 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
27861 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27862 }
27863 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
27864 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27865 }
27866 static void *_p_wxDialogTo_p_wxWindow(void *x) {
27867 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
27868 }
27869 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
27870 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27871 }
27872 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
27873 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27874 }
27875 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
27876 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27877 }
27878 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27879 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27880 }
27881 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
27882 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
27883 }
27884 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
27885 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
27886 }
27887 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
27888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27889 }
27890 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
27891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27892 }
27893 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27894 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27895 }
27896 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27897 return (void *)((wxObject *) ((wxSizerItem *) x));
27898 }
27899 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27900 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27901 }
27902 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27903 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27904 }
27905 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
27906 return (void *)((wxObject *) ((wxOGLConstraint *) x));
27907 }
27908 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27909 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27910 }
27911 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27912 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27913 }
27914 static void *_p_wxSizerTo_p_wxObject(void *x) {
27915 return (void *)((wxObject *) ((wxSizer *) x));
27916 }
27917 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
27918 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27919 }
27920 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
27921 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27922 }
27923 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
27924 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
27925 }
27926 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27927 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27928 }
27929 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27930 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27931 }
27932 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
27933 return (void *)((wxObject *) ((wxArrowHead *) x));
27934 }
27935 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
27936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
27937 }
27938 static void *_p_wxEventTo_p_wxObject(void *x) {
27939 return (void *)((wxObject *) ((wxEvent *) x));
27940 }
27941 static void *_p_wxFontDataTo_p_wxObject(void *x) {
27942 return (void *)((wxObject *) ((wxFontData *) x));
27943 }
27944 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
27945 return (void *)((wxObject *) ((wxPrintData *) x));
27946 }
27947 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27948 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27949 }
27950 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27951 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27952 }
27953 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27954 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27955 }
27956 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
27957 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
27958 }
27959 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
27960 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
27961 }
27962 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
27963 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
27964 }
27965 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27966 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27967 }
27968 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27969 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27970 }
27971 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27972 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27973 }
27974 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27975 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27976 }
27977 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27978 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27979 }
27980 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27981 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27982 }
27983 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
27984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27985 }
27986 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
27987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27988 }
27989 static void *_p_wxControlTo_p_wxObject(void *x) {
27990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27991 }
27992 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
27993 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
27994 }
27995 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27996 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27997 }
27998 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
27999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28000 }
28001 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28002 return (void *)((wxObject *) ((wxFSFile *) x));
28003 }
28004 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28005 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28006 }
28007 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
28008 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
28009 }
28010 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28011 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28012 }
28013 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28015 }
28016 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28017 return (void *)((wxObject *) ((wxColourData *) x));
28018 }
28019 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28020 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28021 }
28022 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28023 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28024 }
28025 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28027 }
28028 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28030 }
28031 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28033 }
28034 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28036 }
28037 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28039 }
28040 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28042 }
28043 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28045 }
28046 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28048 }
28049 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28051 }
28052 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28053 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28054 }
28055 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28056 return (void *)((wxObject *) ((wxPrinter *) x));
28057 }
28058 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28059 return (void *)((wxObject *) ((wxMenuItem *) x));
28060 }
28061 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28062 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28063 }
28064 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28065 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28066 }
28067 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28068 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28069 }
28070 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28071 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28072 }
28073 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28074 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28075 }
28076 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28077 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28078 }
28079 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28080 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28081 }
28082 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28083 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28084 }
28085 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28086 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28087 }
28088 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28089 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28090 }
28091 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28092 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28093 }
28094 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28095 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28096 }
28097 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28098 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28099 }
28100 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28101 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28102 }
28103 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28104 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28105 }
28106 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28107 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28108 }
28109 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28110 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28111 }
28112 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28113 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28114 }
28115 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28116 return (void *)((wxObject *) ((wxImageHandler *) x));
28117 }
28118 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28119 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28120 }
28121 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28122 return (void *)((wxObject *) ((wxEvtHandler *) x));
28123 }
28124 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28125 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28126 }
28127 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
28128 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
28129 }
28130 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28132 }
28133 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28135 }
28136 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
28137 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
28138 }
28139 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28140 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28141 }
28142 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
28143 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
28144 }
28145 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28147 }
28148 static void *_p_wxImageTo_p_wxObject(void *x) {
28149 return (void *)((wxObject *) ((wxImage *) x));
28150 }
28151 static void *_p_wxFrameTo_p_wxObject(void *x) {
28152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28153 }
28154 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28155 return (void *)((wxObject *) ((wxPyPrintout *) x));
28156 }
28157 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28158 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28159 }
28160 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28161 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28162 }
28163 static void *_p_wxDiagramTo_p_wxObject(void *x) {
28164 return (void *)((wxObject *) ((wxDiagram *) x));
28165 }
28166 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28168 }
28169 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28171 }
28172 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28173 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28174 }
28175 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28176 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28177 }
28178 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28179 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28180 }
28181 static void *_p_wxWindowTo_p_wxObject(void *x) {
28182 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28183 }
28184 static void *_p_wxMenuTo_p_wxObject(void *x) {
28185 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28186 }
28187 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28189 }
28190 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28192 }
28193 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28195 }
28196 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28198 }
28199 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28201 }
28202 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28204 }
28205 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28207 }
28208 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28210 }
28211 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28213 }
28214 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28216 }
28217 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28219 }
28220 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28222 }
28223 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28224 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28225 }
28226 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28227 return (void *)((wxObject *) ((wxPrintPreview *) x));
28228 }
28229 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28230 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28231 }
28232 static void *_p_wxPanelTo_p_wxObject(void *x) {
28233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28234 }
28235 static void *_p_wxDialogTo_p_wxObject(void *x) {
28236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28237 }
28238 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28240 }
28241 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28243 }
28244 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28246 }
28247 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
28249 }
28250 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
28252 }
28253 static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
28254 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
28255 }
28256 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
28257 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
28258 }
28259 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28260 return (void *)((wxObject *) ((wxFileSystem *) x));
28261 }
28262 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28264 }
28265 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28266 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28267 }
28268 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28269 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28270 }
28271 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28272 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28273 }
28274 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28275 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28276 }
28277 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28278 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28279 }
28280 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28281 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28282 }
28283 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28284 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28285 }
28286 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28288 }
28289 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28291 }
28292 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28293 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28294 }
28295 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28296 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28297 }
28298 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28300 }
28301 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
28302 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
28303 }
28304 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
28305 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
28306 }
28307 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
28308 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
28309 }
28310 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
28311 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
28312 }
28313 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
28314 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
28315 }
28316 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28318 }
28319 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28320 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28321 }
28322 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28323 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28324 }
28325 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28326 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28327 }
28328 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28329 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28330 }
28331 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
28332 return (void *)((wxObject *) ((wxShapeRegion *) x));
28333 }
28334 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
28335 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
28336 }
28337 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
28338 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
28339 }
28340 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
28341 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
28342 }
28343 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
28344 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
28345 }
28346 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
28347 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
28348 }
28349 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
28350 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
28351 }
28352 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
28353 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
28354 }
28355 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
28356 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
28357 }
28358 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
28359 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
28360 }
28361 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
28362 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
28363 }
28364 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
28365 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
28366 }
28367 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
28368 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
28369 }
28370 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
28371 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
28372 }
28373 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28374 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28375 }
28376 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28377 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28378 }
28379 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28380 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28381 }
28382 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28383 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28384 }
28385 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28386 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28387 }
28388 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28389 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28390 }
28391 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28392 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28393 }
28394 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28396 }
28397 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28398 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28399 }
28400 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28401 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28402 }
28403 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28405 }
28406 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28407 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28408 }
28409 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28410 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28411 }
28412 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28413 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28414 }
28415 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28416 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28417 }
28418 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28419 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28420 }
28421 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28422 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28423 }
28424 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28425 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28426 }
28427 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28428 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28429 }
28430 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28431 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28432 }
28433 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28434 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28435 }
28436 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28437 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28438 }
28439 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28440 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28441 }
28442 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28443 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28444 }
28445 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28446 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28447 }
28448 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28449 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28450 }
28451 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28452 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28453 }
28454 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28455 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28456 }
28457 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28458 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28459 }
28460 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28461 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28462 }
28463 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28464 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28465 }
28466 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28467 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28468 }
28469 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28470 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28471 }
28472 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28474 }
28475 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28476 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28477 }
28478 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28479 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28480 }
28481 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
28482 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
28483 }
28484 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28485 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28486 }
28487 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28488 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28489 }
28490 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28491 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28492 }
28493 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28494 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28495 }
28496 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
28497 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
28498 }
28499 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28500 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28501 }
28502 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28503 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28504 }
28505 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28506 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28507 }
28508 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28509 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28510 }
28511 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28512 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28513 }
28514 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
28515 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
28516 }
28517 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
28518 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
28519 }
28520 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28521 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28522 }
28523 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
28524 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
28525 }
28526 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
28527 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
28528 }
28529 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
28530 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
28531 }
28532 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
28533 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
28534 }
28535 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
28536 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
28537 }
28538 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
28539 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
28540 }
28541 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
28542 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
28543 }
28544 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
28545 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
28546 }
28547 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
28548 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
28549 }
28550 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
28551 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
28552 }
28553 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
28554 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
28555 }
28556 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
28557 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
28558 }
28559 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
28560 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
28561 }
28562 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
28563 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
28564 }
28565 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
28566 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
28567 }
28568 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
28569 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
28570 }
28571 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
28572 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
28573 }
28574 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
28575 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
28576 }
28577 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
28578 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
28579 }
28580 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
28581 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
28582 }
28583 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
28584 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
28585 }
28586 static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
28587 static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
28588 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28589 static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
28590 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28591 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
28592 static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
28593 static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
28594 static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
28595 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
28596 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28597 static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
28598 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28599 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow},{0}};
28600 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
28601 static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
28602 static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
28603 static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
28604 static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
28605 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28606 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject},{0}};
28607 static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
28608 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28609 static swig_type_info _swigt__p_wxPyShapeEvtHandler[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyShapeEvtHandler"},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler},{0}};
28610 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
28611 static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape},{"_p_wxPyEllipseShape"},{0}};
28612 static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
28613 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28614 static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
28615 static swig_type_info _swigt__p_wxPyShape[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape},{"_p_wxPyShape"},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape},{0}};
28616 static swig_type_info _swigt__p_wxAttachmentPoint[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0},{"_p_wxAttachmentPoint"},{0}};
28617 static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
28618 static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
28619 static swig_type_info _swigt__p_wxPyRectangleShape[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0},{"_p_wxPyRectangleShape"},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape},{0}};
28620 static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape},{0}};
28621 static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
28622 static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
28623 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28624 static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
28625 static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
28626 static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
28627
28628 static swig_type_info *swig_types_initial[] = {
28629 _swigt__p_wxOGLConstraint,
28630 _swigt__p_wxBrush,
28631 _swigt__p_wxColour,
28632 _swigt__p_wxShapeRegion,
28633 _swigt__p_wxDC,
28634 _swigt__p_wxRealPoint,
28635 _swigt__p_wxPyControlPoint,
28636 _swigt__p_wxArrowHead,
28637 _swigt__p_wxStringList,
28638 _swigt__p_wxPanel,
28639 _swigt__p_bool,
28640 _swigt__p_wxList,
28641 _swigt__p_wxFont,
28642 _swigt__p_wxScrolledWindow,
28643 _swigt__p_wxWindow,
28644 _swigt__p_double,
28645 _swigt__p_wxPyDivisionShape,
28646 _swigt__p_wxPyDrawnShape,
28647 _swigt__p_wxPyPolygonShape,
28648 _swigt__p_wxBitmap,
28649 _swigt__p_wxObject,
28650 _swigt__p_wxPyBitmapShape,
28651 _swigt__p_wxString,
28652 _swigt__p_wxPyShapeEvtHandler,
28653 _swigt__p_wxEvtHandler,
28654 _swigt__p_wxPyEllipseShape,
28655 _swigt__p_wxPyShapeCanvas,
28656 _swigt__p_wxPoint,
28657 _swigt__p_wxDiagram,
28658 _swigt__p_wxPyShape,
28659 _swigt__p_wxAttachmentPoint,
28660 _swigt__p_wxClassInfo,
28661 _swigt__p_wxPyLineShape,
28662 _swigt__p_wxPyRectangleShape,
28663 _swigt__p_wxPyCompositeShape,
28664 _swigt__p_wxPyCircleShape,
28665 _swigt__p_wxPen,
28666 _swigt__p_int,
28667 _swigt__p_wxPseudoMetaFile,
28668 _swigt__p_wxPyTextShape,
28669 _swigt__p_wxPyDividedShape,
28670 0
28671 };
28672
28673
28674 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28675
28676 static swig_const_info swig_const_table[] = {
28677 { SWIG_PY_INT, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE, 0, 0, 0},
28678 { SWIG_PY_INT, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS, 0, 0, 0},
28679 { SWIG_PY_INT, (char *)"KEY_SHIFT", (long) KEY_SHIFT, 0, 0, 0},
28680 { SWIG_PY_INT, (char *)"KEY_CTRL", (long) KEY_CTRL, 0, 0, 0},
28681 { SWIG_PY_INT, (char *)"ARROW_NONE", (long) ARROW_NONE, 0, 0, 0},
28682 { SWIG_PY_INT, (char *)"ARROW_END", (long) ARROW_END, 0, 0, 0},
28683 { SWIG_PY_INT, (char *)"ARROW_BOTH", (long) ARROW_BOTH, 0, 0, 0},
28684 { SWIG_PY_INT, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE, 0, 0, 0},
28685 { SWIG_PY_INT, (char *)"ARROW_START", (long) ARROW_START, 0, 0, 0},
28686 { SWIG_PY_INT, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE, 0, 0, 0},
28687 { SWIG_PY_INT, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE, 0, 0, 0},
28688 { SWIG_PY_INT, (char *)"ARROW_ARROW", (long) ARROW_ARROW, 0, 0, 0},
28689 { SWIG_PY_INT, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE, 0, 0, 0},
28690 { SWIG_PY_INT, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE, 0, 0, 0},
28691 { SWIG_PY_INT, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE, 0, 0, 0},
28692 { SWIG_PY_INT, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END, 0, 0, 0},
28693 { SWIG_PY_INT, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START, 0, 0, 0},
28694 { SWIG_PY_INT, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL, 0, 0, 0},
28695 { SWIG_PY_INT, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL, 0, 0, 0},
28696 { SWIG_PY_INT, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL, 0, 0, 0},
28697 { SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO, 0, 0, 0},
28698 { SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM, 0, 0, 0},
28699 { SWIG_PY_INT, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE, 0, 0, 0},
28700 { SWIG_PY_INT, (char *)"FORMAT_NONE", (long) FORMAT_NONE, 0, 0, 0},
28701 { SWIG_PY_INT, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ, 0, 0, 0},
28702 { SWIG_PY_INT, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT, 0, 0, 0},
28703 { SWIG_PY_INT, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS, 0, 0, 0},
28704 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ, 0, 0, 0},
28705 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT, 0, 0, 0},
28706 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE, 0, 0, 0},
28707 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE, 0, 0, 0},
28708 { SWIG_PY_INT, (char *)"SHADOW_NONE", (long) SHADOW_NONE, 0, 0, 0},
28709 { SWIG_PY_INT, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT, 0, 0, 0},
28710 { SWIG_PY_INT, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT, 0, 0, 0},
28711 { SWIG_PY_INT, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT, 0, 0, 0},
28712 { SWIG_PY_INT, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT, 0, 0, 0},
28713 { SWIG_PY_INT, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT, 0, 0, 0},
28714 { SWIG_PY_INT, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT, 0, 0, 0},
28715 { SWIG_PY_INT, (char *)"OP_ALL", (long) OP_ALL, 0, 0, 0},
28716 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE, 0, 0, 0},
28717 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE, 0, 0, 0},
28718 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING, 0, 0, 0},
28719 { SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL, 0, 0, 0},
28720 { SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB, 0, 0, 0},
28721 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY, 0, 0, 0},
28722 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY, 0, 0, 0},
28723 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH, 0, 0, 0},
28724 { SWIG_PY_INT, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF, 0, 0, 0},
28725 { SWIG_PY_INT, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF, 0, 0, 0},
28726 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE, 0, 0, 0},
28727 { SWIG_PY_INT, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW, 0, 0, 0},
28728 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP, 0, 0, 0},
28729 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM, 0, 0, 0},
28730 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT, 0, 0, 0},
28731 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT, 0, 0, 0},
28732 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP, 0, 0, 0},
28733 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM, 0, 0, 0},
28734 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT, 0, 0, 0},
28735 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT, 0, 0, 0},
28736 { SWIG_PY_INT, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE, 0, 0, 0},
28737 { SWIG_PY_INT, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT, 0, 0, 0},
28738 { SWIG_PY_INT, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP, 0, 0, 0},
28739 { SWIG_PY_INT, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT, 0, 0, 0},
28740 { SWIG_PY_INT, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM, 0, 0, 0},
28741 {0}};
28742
28743 #ifdef __cplusplus
28744 }
28745 #endif
28746
28747 #ifdef __cplusplus
28748 extern "C"
28749 #endif
28750 SWIGEXPORT(void) SWIG_init(void) {
28751 static PyObject *SWIG_globals = 0;
28752 static int typeinit = 0;
28753 PyObject *m, *d;
28754 int i;
28755 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28756 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28757 d = PyModule_GetDict(m);
28758
28759 if (!typeinit) {
28760 for (i = 0; swig_types_initial[i]; i++) {
28761 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28762 }
28763 typeinit = 1;
28764 }
28765 SWIG_InstallConstants(d,swig_const_table);
28766
28767
28768
28769 // initoglbasicc();
28770 // initoglshapesc();
28771 // initoglshapes2c();
28772 // initoglcanvasc();
28773
28774
28775 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
28776 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
28777 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
28778 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
28779 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
28780 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
28781 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
28782 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
28783 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
28784 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
28785 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
28786 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
28787 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
28788 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
28789
28790
28791 }
28792