]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/mac/ogl_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / ogl / mac / 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 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
234 #define SWIGTYPE_p_wxBrush swig_types[1]
235 #define SWIGTYPE_p_wxColour swig_types[2]
236 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
237 #define SWIGTYPE_p_wxDC swig_types[4]
238 #define SWIGTYPE_p_wxRealPoint swig_types[5]
239 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
240 #define SWIGTYPE_p_wxArrowHead swig_types[7]
241 #define SWIGTYPE_p_char swig_types[8]
242 #define SWIGTYPE_p_wxStringList swig_types[9]
243 #define SWIGTYPE_p_wxPanel swig_types[10]
244 #define SWIGTYPE_p_bool swig_types[11]
245 #define SWIGTYPE_p_wxList swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
248 #define SWIGTYPE_p_wxWindow swig_types[15]
249 #define SWIGTYPE_p_double swig_types[16]
250 #define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
251 #define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
252 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
253 #define SWIGTYPE_p_wxBitmap swig_types[20]
254 #define SWIGTYPE_p_wxObject swig_types[21]
255 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
256 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
258 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
259 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
260 #define SWIGTYPE_p_wxPoint swig_types[27]
261 #define SWIGTYPE_p_wxDiagram swig_types[28]
262 #define SWIGTYPE_p_wxPyShape swig_types[29]
263 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
264 #define SWIGTYPE_p_wxClassInfo swig_types[31]
265 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
266 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
267 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
268 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
269 #define SWIGTYPE_p_wxPen swig_types[36]
270 #define SWIGTYPE_p_int swig_types[37]
271 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
272 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
273 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
274 static swig_type_info *swig_types[42];
275
276 /* -------- TYPES TABLE (END) -------- */
277
278
279 /*-----------------------------------------------
280 @(target):= _ogl.so
281 ------------------------------------------------*/
282 #define SWIG_init init_ogl
283
284 #define SWIG_name "_ogl"
285
286 #include <limits.h>
287 #include <float.h>
288 #include <string.h>
289
290 #ifndef SWIGSTATIC
291 #ifdef __cplusplus
292 #define SWIGSTATIC(a) static inline a
293 #else
294 #define SWIGSTATIC(a) static a
295 #endif
296 #endif
297
298 #ifndef numeric_cast
299 #ifdef __cplusplus
300 #ifdef HAVE_NUMERIC_CAST
301 #define numeric_cast(type,a) numeric_cast<type>(a)
302 #else
303 #define numeric_cast(type,a) static_cast<type>(a)
304 #endif
305 #else
306 #define numeric_cast(type,a) (type)(a)
307 #endif
308 #endif
309
310
311
312 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
313 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
314 #define SWIG_PyObj_FromShort PyInt_FromLong
315 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
316 #define SWIG_PyObj_FromInt PyInt_FromLong
317 #define SWIG_PyObj_FromLong PyInt_FromLong
318 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
319 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
320 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
321 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
322
323
324 #include "wx/wxPython/wxPython.h"
325 #include "wx/wxPython/pyclasses.h"
326 #include "oglhelpers.h"
327
328
329 static const wxString wxPyEmptyString(wxEmptyString);
330
331 SWIGSTATIC(double)
332 SWIG_PyObj_AsDouble(PyObject *obj)
333 {
334 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
335 #if HAVE_LONG_LONG
336 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
337 #else
338 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
339 #endif
340 if (PyErr_Occurred()) {
341 PyErr_Clear();
342 PyErr_SetString(PyExc_TypeError, "a double is expected");
343 }
344 }
345
346
347 SWIGSTATIC(int)
348 SWIG_PyObj_AsInt(PyObject *obj)
349 {
350 return numeric_cast(int,
351 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
352 }
353
354
355 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
356 PyObject* o2;
357 PyObject* o3;
358
359 if (!target) {
360 target = o;
361 } else if (target == Py_None) {
362 Py_DECREF(Py_None);
363 target = o;
364 } else {
365 if (!PyTuple_Check(target)) {
366 o2 = target;
367 target = PyTuple_New(1);
368 PyTuple_SetItem(target, 0, o2);
369 }
370 o3 = PyTuple_New(1);
371 PyTuple_SetItem(o3, 0, o);
372
373 o2 = target;
374 target = PySequence_Concat(o2, o3);
375 Py_DECREF(o2);
376 Py_DECREF(o3);
377 }
378 return target;
379 }
380
381
382 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
383
384 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
385 self->SetClientObject(new wxPyOORClientData(_self));
386 }
387
388 SWIGSTATIC(bool)
389 SWIG_PyObj_AsBool(PyObject *obj)
390 {
391 return PyObject_IsTrue(obj) ? true : false;
392 }
393
394
395 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
396
397 PyObject *wxPyShape_GetChildren(wxPyShape *self){
398 wxList& list = self->GetChildren();
399 return wxPy_ConvertShapeList(&list);
400 }
401 PyObject *wxPyShape_GetLines(wxPyShape *self){
402 wxList& list = self->GetLines();
403 return wxPy_ConvertShapeList(&list);
404 }
405
406 SWIGSTATIC(long)
407 SWIG_PyObj_AsLong(PyObject * obj)
408 {
409 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
410 }
411
412 PyObject *wxPyShape_GetRegions(wxPyShape *self){
413 wxList& list = self->GetRegions();
414 return wxPy_ConvertList(&list);
415 }
416 PyObject *wxPyShape_GetAttachments(wxPyShape *self){
417 wxList& list = self->GetAttachments();
418 return wxPy_ConvertList(&list);
419 }
420 void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
421 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
422 self->ApplyAttachmentOrdering(*list);
423 delete list;
424 }
425
426 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
427 // 6, so instead I'l just expand it out by hand...
428 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
429
430 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
431 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
432 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
433 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
434 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
435 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
436 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
437 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
438 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
439 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
440 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
441 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
442 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
443 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
444 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
445 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
446 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
447 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
448 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
449 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
450 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
451 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
452 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
453 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
454 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
455 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
456 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
457 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
458 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
459
460
461
462 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
463
464
465 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
466
467
468 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
469
470 wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
471 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
472 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
473 delete list;
474 return rv;
475 }
476
477 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
478
479 wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
480 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
481 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
482 delete list;
483 return rv;
484 }
485 PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
486 wxList& list = self->GetConstraints();
487 return wxPy_ConvertList(&list);
488 }
489 PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
490 wxList& list = self->GetDivisions();
491 return wxPy_ConvertShapeList(&list);
492 }
493
494 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
495
496
497 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
498
499
500 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
501
502
503 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
504
505
506 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
507
508 void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
509 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
510 self->AddArrowOrdered(arrow, *list, end);
511 delete list;
512 }
513 PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
514 wxList* list = self->GetLineControlPoints();
515 return wxPy_ConvertShapeList(list);
516 }
517
518 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
519
520 PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
521 wxList* list = wxPy_wxRealPoint_ListHelper(points);
522 if (list) {
523 self->Create(list);
524 Py_INCREF(Py_None);
525 return Py_None;
526 }
527 else return NULL;
528 }
529 PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
530 wxList* list = self->GetPoints();
531 PyObject* pyList;
532 PyObject* pyObj;
533 wxObject* wxObj;
534 wxNode* node = list->GetFirst();
535
536 wxPyBeginBlockThreads();
537 pyList = PyList_New(0);
538 while (node) {
539 wxObj = node->GetData();
540 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
541 PyList_Append(pyList, pyObj);
542 node = node->GetNext();
543 }
544 wxPyEndBlockThreads();
545 return pyList;
546 }
547 PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
548 wxList* list = self->GetOriginalPoints();
549 PyObject* pyList;
550 PyObject* pyObj;
551 wxObject* wxObj;
552 wxNode* node = list->GetFirst();
553
554 wxPyBeginBlockThreads();
555 pyList = PyList_New(0);
556 while (node) {
557 wxObj = node->GetData();
558 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
559 PyList_Append(pyList, pyObj);
560 node = node->GetNext();
561 }
562 wxPyEndBlockThreads();
563 return pyList;
564 }
565
566 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
567
568
569 // Put some wx default wxChar* values into wxStrings.
570 DECLARE_DEF_STRING(ShapeCanvasNameStr);
571
572 PyObject *wxDiagram_GetShapeList(wxDiagram *self){
573 wxList* list = self->GetShapeList();
574 return wxPy_ConvertShapeList(list);
575 }
576
577 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
578 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
579 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
580 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
581 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
582 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
583 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
584 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
585
586
587 //---------------------------------------------------------------------------
588
589 // Convert from a Python list to a list of className objects. This one will
590 // work for any class for the VERY generic cases, but beyond that the helper
591 // needs to know more about the type.
592 wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
593 wxPyBeginBlockThreads();
594 if (!PyList_Check(pyList)) {
595 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
596 wxPyEndBlockThreads();
597 return NULL;
598 }
599 int count = PyList_Size(pyList);
600 wxList* list = new wxList;
601 if (! list) {
602 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
603 wxPyEndBlockThreads();
604 return NULL;
605 }
606 for (int x=0; x<count; x++) {
607 PyObject* pyo = PyList_GetItem(pyList, x);
608 wxObject* wxo = NULL;
609
610 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
611 wxString errmsg;
612 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
613 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
614 wxPyEndBlockThreads();
615 return NULL;
616 }
617 list->Append(wxo);
618 }
619 wxPyEndBlockThreads();
620 return list;
621 }
622
623 //---------------------------------------------------------------------------
624
625 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
626 wxPyBeginBlockThreads();
627 if (!PyList_Check(pyList)) {
628 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
629 wxPyEndBlockThreads();
630 return NULL;
631 }
632 int count = PyList_Size(pyList);
633 wxList* list = new wxList;
634 if (! list) {
635 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
636 wxPyEndBlockThreads();
637 return NULL;
638 }
639 for (int x=0; x<count; x++) {
640 PyObject* pyo = PyList_GetItem(pyList, x);
641
642 if (PyTuple_Check(pyo)) {
643 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
644 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
645
646 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
647 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
648
649 list->Append((wxObject*) new wxRealPoint(val1, val2));
650
651 } else {
652 wxRealPoint* wxo = NULL;
653 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
654 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
655 wxPyEndBlockThreads();
656 return NULL;
657 }
658 list->Append((wxObject*) new wxRealPoint(*wxo));
659 }
660 }
661 wxPyEndBlockThreads();
662 return list;
663 }
664
665 //---------------------------------------------------------------------------
666
667 PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
668 PyObject* target = NULL;
669
670 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
671 // If it's derived from wxShapeEvtHandler then there may
672 // already be a pointer to a Python object that we can use
673 // in the OOR data.
674 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
675 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
676 if (data) {
677 target = data->m_obj;
678 Py_INCREF(target);
679 }
680 }
681 if (! target) {
682 target = wxPyMake_wxObject2(source, FALSE);
683 if (target != Py_None)
684 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
685 }
686 return target;
687 }
688
689 //---------------------------------------------------------------------------
690
691 PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
692 wxList* list = (wxList*)listbase;
693 PyObject* pyList;
694 PyObject* pyObj;
695 wxObject* wxObj;
696 wxNode* node = list->GetFirst();
697
698 wxPyBeginBlockThreads();
699 pyList = PyList_New(0);
700 while (node) {
701 wxObj = node->GetData();
702 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
703 PyList_Append(pyList, pyObj);
704 node = node->GetNext();
705 }
706 wxPyEndBlockThreads();
707 return pyList;
708 }
709
710
711 //---------------------------------------------------------------------------
712
713 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
714 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
715 IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
716 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
717 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
718 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
719 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
720 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
721 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
722 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
723 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
724 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
725 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
726 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
727 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
728
729 //---------------------------------------------------------------------------
730
731 // extern "C" SWIGEXPORT(void) initoglbasicc();
732 // extern "C" SWIGEXPORT(void) initoglshapesc();
733 // extern "C" SWIGEXPORT(void) initoglshapes2c();
734 // extern "C" SWIGEXPORT(void) initoglcanvasc();
735
736 #ifdef __cplusplus
737 extern "C" {
738 #endif
739 static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
740 PyObject *resultobj;
741 wxShapeRegion *result;
742 char *kwnames[] = {
743 NULL
744 };
745
746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
747 {
748 PyThreadState* __tstate = wxPyBeginAllowThreads();
749 result = (wxShapeRegion *)new wxShapeRegion();
750
751 wxPyEndAllowThreads(__tstate);
752 if (PyErr_Occurred()) SWIG_fail;
753 }
754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShapeRegion, 1);
755 return resultobj;
756 fail:
757 return NULL;
758 }
759
760
761 static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
762 PyObject *resultobj;
763 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
764 wxString *arg2 = 0 ;
765 bool temp2 = False ;
766 PyObject * obj0 = 0 ;
767 PyObject * obj1 = 0 ;
768 char *kwnames[] = {
769 (char *) "self",(char *) "s", NULL
770 };
771
772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
774 {
775 arg2 = wxString_in_helper(obj1);
776 if (arg2 == NULL) SWIG_fail;
777 temp2 = True;
778 }
779 {
780 PyThreadState* __tstate = wxPyBeginAllowThreads();
781 (arg1)->SetText((wxString const &)*arg2);
782
783 wxPyEndAllowThreads(__tstate);
784 if (PyErr_Occurred()) SWIG_fail;
785 }
786 Py_INCREF(Py_None); resultobj = Py_None;
787 {
788 if (temp2)
789 delete arg2;
790 }
791 return resultobj;
792 fail:
793 {
794 if (temp2)
795 delete arg2;
796 }
797 return NULL;
798 }
799
800
801 static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
802 PyObject *resultobj;
803 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
804 wxFont *arg2 = (wxFont *) 0 ;
805 PyObject * obj0 = 0 ;
806 PyObject * obj1 = 0 ;
807 char *kwnames[] = {
808 (char *) "self",(char *) "f", NULL
809 };
810
811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
813 {
814 wxFont* temp;
815 if (obj1) {
816 if (obj1 == Py_None) {
817 temp = NULL;
818 }
819 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
820 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
821 return NULL;
822 }
823 }
824 if (temp)
825 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
826 temp->GetFamily(),
827 temp->GetStyle(),
828 temp->GetWeight(),
829 temp->GetUnderlined(),
830 temp->GetFaceName(),
831 temp->GetEncoding());
832 else
833 arg2 = NULL;
834 }
835 {
836 PyThreadState* __tstate = wxPyBeginAllowThreads();
837 (arg1)->SetFont(arg2);
838
839 wxPyEndAllowThreads(__tstate);
840 if (PyErr_Occurred()) SWIG_fail;
841 }
842 Py_INCREF(Py_None); resultobj = Py_None;
843 return resultobj;
844 fail:
845 return NULL;
846 }
847
848
849 static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
850 PyObject *resultobj;
851 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
852 double arg2 ;
853 double arg3 ;
854 PyObject * obj0 = 0 ;
855 PyObject * obj1 = 0 ;
856 PyObject * obj2 = 0 ;
857 char *kwnames[] = {
858 (char *) "self",(char *) "w",(char *) "h", NULL
859 };
860
861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
863 {
864 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
865 if (PyErr_Occurred()) SWIG_fail;
866 }
867 {
868 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
869 if (PyErr_Occurred()) SWIG_fail;
870 }
871 {
872 PyThreadState* __tstate = wxPyBeginAllowThreads();
873 (arg1)->SetMinSize(arg2,arg3);
874
875 wxPyEndAllowThreads(__tstate);
876 if (PyErr_Occurred()) SWIG_fail;
877 }
878 Py_INCREF(Py_None); resultobj = Py_None;
879 return resultobj;
880 fail:
881 return NULL;
882 }
883
884
885 static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
886 PyObject *resultobj;
887 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
888 double arg2 ;
889 double arg3 ;
890 PyObject * obj0 = 0 ;
891 PyObject * obj1 = 0 ;
892 PyObject * obj2 = 0 ;
893 char *kwnames[] = {
894 (char *) "self",(char *) "w",(char *) "h", NULL
895 };
896
897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
899 {
900 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
901 if (PyErr_Occurred()) SWIG_fail;
902 }
903 {
904 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
905 if (PyErr_Occurred()) SWIG_fail;
906 }
907 {
908 PyThreadState* __tstate = wxPyBeginAllowThreads();
909 (arg1)->SetSize(arg2,arg3);
910
911 wxPyEndAllowThreads(__tstate);
912 if (PyErr_Occurred()) SWIG_fail;
913 }
914 Py_INCREF(Py_None); resultobj = Py_None;
915 return resultobj;
916 fail:
917 return NULL;
918 }
919
920
921 static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
922 PyObject *resultobj;
923 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
924 double arg2 ;
925 double arg3 ;
926 PyObject * obj0 = 0 ;
927 PyObject * obj1 = 0 ;
928 PyObject * obj2 = 0 ;
929 char *kwnames[] = {
930 (char *) "self",(char *) "x",(char *) "y", NULL
931 };
932
933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
935 {
936 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
937 if (PyErr_Occurred()) SWIG_fail;
938 }
939 {
940 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
941 if (PyErr_Occurred()) SWIG_fail;
942 }
943 {
944 PyThreadState* __tstate = wxPyBeginAllowThreads();
945 (arg1)->SetPosition(arg2,arg3);
946
947 wxPyEndAllowThreads(__tstate);
948 if (PyErr_Occurred()) SWIG_fail;
949 }
950 Py_INCREF(Py_None); resultobj = Py_None;
951 return resultobj;
952 fail:
953 return NULL;
954 }
955
956
957 static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
958 PyObject *resultobj;
959 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
960 double arg2 ;
961 double arg3 ;
962 PyObject * obj0 = 0 ;
963 PyObject * obj1 = 0 ;
964 PyObject * obj2 = 0 ;
965 char *kwnames[] = {
966 (char *) "self",(char *) "x",(char *) "y", NULL
967 };
968
969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
971 {
972 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
973 if (PyErr_Occurred()) SWIG_fail;
974 }
975 {
976 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
977 if (PyErr_Occurred()) SWIG_fail;
978 }
979 {
980 PyThreadState* __tstate = wxPyBeginAllowThreads();
981 (arg1)->SetProportions(arg2,arg3);
982
983 wxPyEndAllowThreads(__tstate);
984 if (PyErr_Occurred()) SWIG_fail;
985 }
986 Py_INCREF(Py_None); resultobj = Py_None;
987 return resultobj;
988 fail:
989 return NULL;
990 }
991
992
993 static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
994 PyObject *resultobj;
995 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
996 int arg2 ;
997 PyObject * obj0 = 0 ;
998 PyObject * obj1 = 0 ;
999 char *kwnames[] = {
1000 (char *) "self",(char *) "mode", NULL
1001 };
1002
1003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
1004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1005 {
1006 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1007 if (PyErr_Occurred()) SWIG_fail;
1008 }
1009 {
1010 PyThreadState* __tstate = wxPyBeginAllowThreads();
1011 (arg1)->SetFormatMode(arg2);
1012
1013 wxPyEndAllowThreads(__tstate);
1014 if (PyErr_Occurred()) SWIG_fail;
1015 }
1016 Py_INCREF(Py_None); resultobj = Py_None;
1017 return resultobj;
1018 fail:
1019 return NULL;
1020 }
1021
1022
1023 static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject *resultobj;
1025 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1026 wxString *arg2 = 0 ;
1027 bool temp2 = False ;
1028 PyObject * obj0 = 0 ;
1029 PyObject * obj1 = 0 ;
1030 char *kwnames[] = {
1031 (char *) "self",(char *) "s", NULL
1032 };
1033
1034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
1035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1036 {
1037 arg2 = wxString_in_helper(obj1);
1038 if (arg2 == NULL) SWIG_fail;
1039 temp2 = True;
1040 }
1041 {
1042 PyThreadState* __tstate = wxPyBeginAllowThreads();
1043 (arg1)->SetName((wxString const &)*arg2);
1044
1045 wxPyEndAllowThreads(__tstate);
1046 if (PyErr_Occurred()) SWIG_fail;
1047 }
1048 Py_INCREF(Py_None); resultobj = Py_None;
1049 {
1050 if (temp2)
1051 delete arg2;
1052 }
1053 return resultobj;
1054 fail:
1055 {
1056 if (temp2)
1057 delete arg2;
1058 }
1059 return NULL;
1060 }
1061
1062
1063 static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject *resultobj;
1065 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1066 wxString *arg2 = 0 ;
1067 bool temp2 = False ;
1068 PyObject * obj0 = 0 ;
1069 PyObject * obj1 = 0 ;
1070 char *kwnames[] = {
1071 (char *) "self",(char *) "col", NULL
1072 };
1073
1074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
1075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1076 {
1077 arg2 = wxString_in_helper(obj1);
1078 if (arg2 == NULL) SWIG_fail;
1079 temp2 = True;
1080 }
1081 {
1082 PyThreadState* __tstate = wxPyBeginAllowThreads();
1083 (arg1)->SetColour((wxString const &)*arg2);
1084
1085 wxPyEndAllowThreads(__tstate);
1086 if (PyErr_Occurred()) SWIG_fail;
1087 }
1088 Py_INCREF(Py_None); resultobj = Py_None;
1089 {
1090 if (temp2)
1091 delete arg2;
1092 }
1093 return resultobj;
1094 fail:
1095 {
1096 if (temp2)
1097 delete arg2;
1098 }
1099 return NULL;
1100 }
1101
1102
1103 static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1104 PyObject *resultobj;
1105 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1106 wxString result;
1107 PyObject * obj0 = 0 ;
1108 char *kwnames[] = {
1109 (char *) "self", NULL
1110 };
1111
1112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
1113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1114 {
1115 PyThreadState* __tstate = wxPyBeginAllowThreads();
1116 result = (arg1)->GetText();
1117
1118 wxPyEndAllowThreads(__tstate);
1119 if (PyErr_Occurred()) SWIG_fail;
1120 }
1121 {
1122 #if wxUSE_UNICODE
1123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1124 #else
1125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1126 #endif
1127 }
1128 return resultobj;
1129 fail:
1130 return NULL;
1131 }
1132
1133
1134 static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1135 PyObject *resultobj;
1136 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1137 wxFont *result;
1138 PyObject * obj0 = 0 ;
1139 char *kwnames[] = {
1140 (char *) "self", NULL
1141 };
1142
1143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
1144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1145 {
1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
1147 result = (wxFont *)(arg1)->GetFont();
1148
1149 wxPyEndAllowThreads(__tstate);
1150 if (PyErr_Occurred()) SWIG_fail;
1151 }
1152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
1153 return resultobj;
1154 fail:
1155 return NULL;
1156 }
1157
1158
1159 static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject *resultobj;
1161 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1162 double *arg2 = (double *) 0 ;
1163 double *arg3 = (double *) 0 ;
1164 double temp2 ;
1165 double temp3 ;
1166 PyObject * obj0 = 0 ;
1167 char *kwnames[] = {
1168 (char *) "self", NULL
1169 };
1170
1171 arg2 = &temp2;
1172 arg3 = &temp3;
1173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",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 (arg1)->GetMinSize(arg2,arg3);
1178
1179 wxPyEndAllowThreads(__tstate);
1180 if (PyErr_Occurred()) SWIG_fail;
1181 }
1182 Py_INCREF(Py_None); resultobj = Py_None;
1183 {
1184 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1185 resultobj = t_output_helper(resultobj,o);
1186 }
1187 {
1188 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1189 resultobj = t_output_helper(resultobj,o);
1190 }
1191 return resultobj;
1192 fail:
1193 return NULL;
1194 }
1195
1196
1197 static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1198 PyObject *resultobj;
1199 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1200 double *arg2 = (double *) 0 ;
1201 double *arg3 = (double *) 0 ;
1202 double temp2 ;
1203 double temp3 ;
1204 PyObject * obj0 = 0 ;
1205 char *kwnames[] = {
1206 (char *) "self", NULL
1207 };
1208
1209 arg2 = &temp2;
1210 arg3 = &temp3;
1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1213 {
1214 PyThreadState* __tstate = wxPyBeginAllowThreads();
1215 (arg1)->GetProportion(arg2,arg3);
1216
1217 wxPyEndAllowThreads(__tstate);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 Py_INCREF(Py_None); resultobj = Py_None;
1221 {
1222 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1223 resultobj = t_output_helper(resultobj,o);
1224 }
1225 {
1226 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1227 resultobj = t_output_helper(resultobj,o);
1228 }
1229 return resultobj;
1230 fail:
1231 return NULL;
1232 }
1233
1234
1235 static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject *resultobj;
1237 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1238 double *arg2 = (double *) 0 ;
1239 double *arg3 = (double *) 0 ;
1240 double temp2 ;
1241 double temp3 ;
1242 PyObject * obj0 = 0 ;
1243 char *kwnames[] = {
1244 (char *) "self", NULL
1245 };
1246
1247 arg2 = &temp2;
1248 arg3 = &temp3;
1249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1251 {
1252 PyThreadState* __tstate = wxPyBeginAllowThreads();
1253 (arg1)->GetSize(arg2,arg3);
1254
1255 wxPyEndAllowThreads(__tstate);
1256 if (PyErr_Occurred()) SWIG_fail;
1257 }
1258 Py_INCREF(Py_None); resultobj = Py_None;
1259 {
1260 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1261 resultobj = t_output_helper(resultobj,o);
1262 }
1263 {
1264 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1265 resultobj = t_output_helper(resultobj,o);
1266 }
1267 return resultobj;
1268 fail:
1269 return NULL;
1270 }
1271
1272
1273 static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1274 PyObject *resultobj;
1275 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1276 double *arg2 = (double *) 0 ;
1277 double *arg3 = (double *) 0 ;
1278 double temp2 ;
1279 double temp3 ;
1280 PyObject * obj0 = 0 ;
1281 char *kwnames[] = {
1282 (char *) "self", NULL
1283 };
1284
1285 arg2 = &temp2;
1286 arg3 = &temp3;
1287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 (arg1)->GetPosition(arg2,arg3);
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 Py_INCREF(Py_None); resultobj = Py_None;
1297 {
1298 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1299 resultobj = t_output_helper(resultobj,o);
1300 }
1301 {
1302 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1303 resultobj = t_output_helper(resultobj,o);
1304 }
1305 return resultobj;
1306 fail:
1307 return NULL;
1308 }
1309
1310
1311 static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject *resultobj;
1313 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1314 int result;
1315 PyObject * obj0 = 0 ;
1316 char *kwnames[] = {
1317 (char *) "self", NULL
1318 };
1319
1320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1322 {
1323 PyThreadState* __tstate = wxPyBeginAllowThreads();
1324 result = (int)(arg1)->GetFormatMode();
1325
1326 wxPyEndAllowThreads(__tstate);
1327 if (PyErr_Occurred()) SWIG_fail;
1328 }
1329 resultobj = SWIG_PyObj_FromInt((int)result);
1330 return resultobj;
1331 fail:
1332 return NULL;
1333 }
1334
1335
1336 static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject *resultobj;
1338 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1339 wxString result;
1340 PyObject * obj0 = 0 ;
1341 char *kwnames[] = {
1342 (char *) "self", NULL
1343 };
1344
1345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1347 {
1348 PyThreadState* __tstate = wxPyBeginAllowThreads();
1349 result = (arg1)->GetName();
1350
1351 wxPyEndAllowThreads(__tstate);
1352 if (PyErr_Occurred()) SWIG_fail;
1353 }
1354 {
1355 #if wxUSE_UNICODE
1356 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1357 #else
1358 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1359 #endif
1360 }
1361 return resultobj;
1362 fail:
1363 return NULL;
1364 }
1365
1366
1367 static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1370 wxString result;
1371 PyObject * obj0 = 0 ;
1372 char *kwnames[] = {
1373 (char *) "self", NULL
1374 };
1375
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1378 {
1379 PyThreadState* __tstate = wxPyBeginAllowThreads();
1380 result = (arg1)->GetColour();
1381
1382 wxPyEndAllowThreads(__tstate);
1383 if (PyErr_Occurred()) SWIG_fail;
1384 }
1385 {
1386 #if wxUSE_UNICODE
1387 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1388 #else
1389 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1390 #endif
1391 }
1392 return resultobj;
1393 fail:
1394 return NULL;
1395 }
1396
1397
1398 static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1399 PyObject *resultobj;
1400 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1401 wxColour result;
1402 PyObject * obj0 = 0 ;
1403 char *kwnames[] = {
1404 (char *) "self", NULL
1405 };
1406
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1409 {
1410 PyThreadState* __tstate = wxPyBeginAllowThreads();
1411 result = (arg1)->GetActualColourObject();
1412
1413 wxPyEndAllowThreads(__tstate);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
1416 {
1417 wxColour * resultptr;
1418 resultptr = new wxColour((wxColour &) result);
1419 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1420 }
1421 return resultobj;
1422 fail:
1423 return NULL;
1424 }
1425
1426
1427 static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1430 wxList *result;
1431 PyObject * obj0 = 0 ;
1432 char *kwnames[] = {
1433 (char *) "self", NULL
1434 };
1435
1436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 {
1441 wxList &_result_ref = (arg1)->GetFormattedText();
1442 result = (wxList *) &_result_ref;
1443 }
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxList, 0);
1449 return resultobj;
1450 fail:
1451 return NULL;
1452 }
1453
1454
1455 static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1458 wxString result;
1459 PyObject * obj0 = 0 ;
1460 char *kwnames[] = {
1461 (char *) "self", NULL
1462 };
1463
1464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1466 {
1467 PyThreadState* __tstate = wxPyBeginAllowThreads();
1468 result = (arg1)->GetPenColour();
1469
1470 wxPyEndAllowThreads(__tstate);
1471 if (PyErr_Occurred()) SWIG_fail;
1472 }
1473 {
1474 #if wxUSE_UNICODE
1475 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1476 #else
1477 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1478 #endif
1479 }
1480 return resultobj;
1481 fail:
1482 return NULL;
1483 }
1484
1485
1486 static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1487 PyObject *resultobj;
1488 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1489 int result;
1490 PyObject * obj0 = 0 ;
1491 char *kwnames[] = {
1492 (char *) "self", NULL
1493 };
1494
1495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1497 {
1498 PyThreadState* __tstate = wxPyBeginAllowThreads();
1499 result = (int)(arg1)->GetPenStyle();
1500
1501 wxPyEndAllowThreads(__tstate);
1502 if (PyErr_Occurred()) SWIG_fail;
1503 }
1504 resultobj = SWIG_PyObj_FromInt((int)result);
1505 return resultobj;
1506 fail:
1507 return NULL;
1508 }
1509
1510
1511 static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1512 PyObject *resultobj;
1513 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1514 int arg2 ;
1515 PyObject * obj0 = 0 ;
1516 PyObject * obj1 = 0 ;
1517 char *kwnames[] = {
1518 (char *) "self",(char *) "style", NULL
1519 };
1520
1521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
1522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1523 {
1524 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 }
1527 {
1528 PyThreadState* __tstate = wxPyBeginAllowThreads();
1529 (arg1)->SetPenStyle(arg2);
1530
1531 wxPyEndAllowThreads(__tstate);
1532 if (PyErr_Occurred()) SWIG_fail;
1533 }
1534 Py_INCREF(Py_None); resultobj = Py_None;
1535 return resultobj;
1536 fail:
1537 return NULL;
1538 }
1539
1540
1541 static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject *resultobj;
1543 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1544 wxString *arg2 = 0 ;
1545 bool temp2 = False ;
1546 PyObject * obj0 = 0 ;
1547 PyObject * obj1 = 0 ;
1548 char *kwnames[] = {
1549 (char *) "self",(char *) "col", NULL
1550 };
1551
1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1554 {
1555 arg2 = wxString_in_helper(obj1);
1556 if (arg2 == NULL) SWIG_fail;
1557 temp2 = True;
1558 }
1559 {
1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
1561 (arg1)->SetPenColour((wxString const &)*arg2);
1562
1563 wxPyEndAllowThreads(__tstate);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 Py_INCREF(Py_None); resultobj = Py_None;
1567 {
1568 if (temp2)
1569 delete arg2;
1570 }
1571 return resultobj;
1572 fail:
1573 {
1574 if (temp2)
1575 delete arg2;
1576 }
1577 return NULL;
1578 }
1579
1580
1581 static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1582 PyObject *resultobj;
1583 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1584 wxPen *result;
1585 PyObject * obj0 = 0 ;
1586 char *kwnames[] = {
1587 (char *) "self", NULL
1588 };
1589
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1592 {
1593 PyThreadState* __tstate = wxPyBeginAllowThreads();
1594 result = (wxPen *)(arg1)->GetActualPen();
1595
1596 wxPyEndAllowThreads(__tstate);
1597 if (PyErr_Occurred()) SWIG_fail;
1598 }
1599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
1600 return resultobj;
1601 fail:
1602 return NULL;
1603 }
1604
1605
1606 static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1607 PyObject *resultobj;
1608 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1609 double result;
1610 PyObject * obj0 = 0 ;
1611 char *kwnames[] = {
1612 (char *) "self", NULL
1613 };
1614
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",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 = (double)(arg1)->GetWidth();
1620
1621 wxPyEndAllowThreads(__tstate);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 resultobj = SWIG_PyObj_FromDouble((double)result);
1625 return resultobj;
1626 fail:
1627 return NULL;
1628 }
1629
1630
1631 static PyObject *_wrap_ShapeRegion_GetHeight(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_GetHeight",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)->GetHeight();
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 resultobj = SWIG_PyObj_FromDouble((double)result);
1650 return resultobj;
1651 fail:
1652 return NULL;
1653 }
1654
1655
1656 static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject *resultobj;
1658 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1659 PyObject * obj0 = 0 ;
1660 char *kwnames[] = {
1661 (char *) "self", NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 {
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 (arg1)->ClearText();
1669
1670 wxPyEndAllowThreads(__tstate);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 Py_INCREF(Py_None); resultobj = Py_None;
1674 return resultobj;
1675 fail:
1676 return NULL;
1677 }
1678
1679
1680 static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1681 PyObject *obj;
1682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1683 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1684 Py_INCREF(obj);
1685 return Py_BuildValue((char *)"");
1686 }
1687 static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1688 PyObject *resultobj;
1689 int arg1 = (int) 0 ;
1690 double arg2 = (double) 0.0 ;
1691 double arg3 = (double) 0.0 ;
1692 wxAttachmentPoint *result;
1693 PyObject * obj0 = 0 ;
1694 PyObject * obj1 = 0 ;
1695 PyObject * obj2 = 0 ;
1696 char *kwnames[] = {
1697 (char *) "id",(char *) "x",(char *) "y", NULL
1698 };
1699
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
1701 if (obj0) {
1702 {
1703 arg1 = (int) SWIG_PyObj_AsInt(obj0);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 }
1706 }
1707 if (obj1) {
1708 {
1709 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 }
1712 }
1713 if (obj2) {
1714 {
1715 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 }
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAttachmentPoint, 1);
1727 return resultobj;
1728 fail:
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1736 int arg2 ;
1737 PyObject * obj0 = 0 ;
1738 PyObject * obj1 = 0 ;
1739 char *kwnames[] = {
1740 (char *) "self",(char *) "m_id", NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
1744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1745 {
1746 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 }
1749 if (arg1) (arg1)->m_id = arg2;
1750
1751 Py_INCREF(Py_None); resultobj = Py_None;
1752 return resultobj;
1753 fail:
1754 return NULL;
1755 }
1756
1757
1758 static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1759 PyObject *resultobj;
1760 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1761 int result;
1762 PyObject * obj0 = 0 ;
1763 char *kwnames[] = {
1764 (char *) "self", NULL
1765 };
1766
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
1768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1769 result = (int) ((arg1)->m_id);
1770
1771 resultobj = SWIG_PyObj_FromInt((int)result);
1772 return resultobj;
1773 fail:
1774 return NULL;
1775 }
1776
1777
1778 static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1779 PyObject *resultobj;
1780 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1781 double arg2 ;
1782 PyObject * obj0 = 0 ;
1783 PyObject * obj1 = 0 ;
1784 char *kwnames[] = {
1785 (char *) "self",(char *) "m_x", NULL
1786 };
1787
1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
1789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1790 {
1791 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
1794 if (arg1) (arg1)->m_x = arg2;
1795
1796 Py_INCREF(Py_None); resultobj = Py_None;
1797 return resultobj;
1798 fail:
1799 return NULL;
1800 }
1801
1802
1803 static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1804 PyObject *resultobj;
1805 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1806 double result;
1807 PyObject * obj0 = 0 ;
1808 char *kwnames[] = {
1809 (char *) "self", NULL
1810 };
1811
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
1813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1814 result = (double) ((arg1)->m_x);
1815
1816 resultobj = SWIG_PyObj_FromDouble((double)result);
1817 return resultobj;
1818 fail:
1819 return NULL;
1820 }
1821
1822
1823 static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1824 PyObject *resultobj;
1825 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1826 double arg2 ;
1827 PyObject * obj0 = 0 ;
1828 PyObject * obj1 = 0 ;
1829 char *kwnames[] = {
1830 (char *) "self",(char *) "m_y", NULL
1831 };
1832
1833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
1834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1835 {
1836 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 if (arg1) (arg1)->m_y = arg2;
1840
1841 Py_INCREF(Py_None); resultobj = Py_None;
1842 return resultobj;
1843 fail:
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1851 double result;
1852 PyObject * obj0 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self", NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 result = (double) ((arg1)->m_y);
1860
1861 resultobj = SWIG_PyObj_FromDouble((double)result);
1862 return resultobj;
1863 fail:
1864 return NULL;
1865 }
1866
1867
1868 static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
1869 PyObject *obj;
1870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1871 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1872 Py_INCREF(obj);
1873 return Py_BuildValue((char *)"");
1874 }
1875 static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1878 wxPyShape *arg2 = (wxPyShape *) NULL ;
1879 wxPyShapeEvtHandler *result;
1880 PyObject * obj0 = 0 ;
1881 PyObject * obj1 = 0 ;
1882 char *kwnames[] = {
1883 (char *) "prev",(char *) "shape", NULL
1884 };
1885
1886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1887 if (obj0) {
1888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1889 }
1890 if (obj1) {
1891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1892 }
1893 {
1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
1895 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1896
1897 wxPyEndAllowThreads(__tstate);
1898 if (PyErr_Occurred()) SWIG_fail;
1899 }
1900 {
1901 resultobj = wxPyMake_wxShapeEvtHandler(result);
1902 }
1903 return resultobj;
1904 fail:
1905 return NULL;
1906 }
1907
1908
1909 static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1910 PyObject *resultobj;
1911 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1912 PyObject *arg2 = (PyObject *) 0 ;
1913 PyObject *arg3 = (PyObject *) 0 ;
1914 PyObject * obj0 = 0 ;
1915 PyObject * obj1 = 0 ;
1916 PyObject * obj2 = 0 ;
1917 char *kwnames[] = {
1918 (char *) "self",(char *) "self",(char *) "_class", NULL
1919 };
1920
1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1923 arg2 = obj1;
1924 arg3 = obj2;
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 (arg1)->_setCallbackInfo(arg2,arg3);
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
1932 Py_INCREF(Py_None); resultobj = Py_None;
1933 return resultobj;
1934 fail:
1935 return NULL;
1936 }
1937
1938
1939 static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject *resultobj;
1941 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1942 PyObject *arg2 = (PyObject *) 0 ;
1943 PyObject * obj0 = 0 ;
1944 PyObject * obj1 = 0 ;
1945 char *kwnames[] = {
1946 (char *) "self",(char *) "_self", NULL
1947 };
1948
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1951 arg2 = obj1;
1952 {
1953 PyThreadState* __tstate = wxPyBeginAllowThreads();
1954 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
1955
1956 wxPyEndAllowThreads(__tstate);
1957 if (PyErr_Occurred()) SWIG_fail;
1958 }
1959 Py_INCREF(Py_None); resultobj = Py_None;
1960 return resultobj;
1961 fail:
1962 return NULL;
1963 }
1964
1965
1966 static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1967 PyObject *resultobj;
1968 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1969 wxPyShape *arg2 = (wxPyShape *) 0 ;
1970 PyObject * obj0 = 0 ;
1971 PyObject * obj1 = 0 ;
1972 char *kwnames[] = {
1973 (char *) "self",(char *) "sh", NULL
1974 };
1975
1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
1977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1979 {
1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
1981 (arg1)->SetShape(arg2);
1982
1983 wxPyEndAllowThreads(__tstate);
1984 if (PyErr_Occurred()) SWIG_fail;
1985 }
1986 Py_INCREF(Py_None); resultobj = Py_None;
1987 return resultobj;
1988 fail:
1989 return NULL;
1990 }
1991
1992
1993 static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1994 PyObject *resultobj;
1995 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1996 wxPyShape *result;
1997 PyObject * obj0 = 0 ;
1998 char *kwnames[] = {
1999 (char *) "self", NULL
2000 };
2001
2002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
2003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2004 {
2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
2006 result = (wxPyShape *)(arg1)->GetShape();
2007
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) SWIG_fail;
2010 }
2011 {
2012 resultobj = wxPyMake_wxShapeEvtHandler(result);
2013 }
2014 return resultobj;
2015 fail:
2016 return NULL;
2017 }
2018
2019
2020 static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject *resultobj;
2022 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2023 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2024 PyObject * obj0 = 0 ;
2025 PyObject * obj1 = 0 ;
2026 char *kwnames[] = {
2027 (char *) "self",(char *) "handler", NULL
2028 };
2029
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2033 {
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
2035 (arg1)->SetPreviousHandler(arg2);
2036
2037 wxPyEndAllowThreads(__tstate);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
2040 Py_INCREF(Py_None); resultobj = Py_None;
2041 return resultobj;
2042 fail:
2043 return NULL;
2044 }
2045
2046
2047 static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2048 PyObject *resultobj;
2049 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2050 wxPyShapeEvtHandler *result;
2051 PyObject * obj0 = 0 ;
2052 char *kwnames[] = {
2053 (char *) "self", NULL
2054 };
2055
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2058 {
2059 PyThreadState* __tstate = wxPyBeginAllowThreads();
2060 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2061
2062 wxPyEndAllowThreads(__tstate);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 }
2065 {
2066 resultobj = wxPyMake_wxShapeEvtHandler(result);
2067 }
2068 return resultobj;
2069 fail:
2070 return NULL;
2071 }
2072
2073
2074 static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
2075 PyObject *resultobj;
2076 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2077 wxPyShapeEvtHandler *result;
2078 PyObject * obj0 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2085 {
2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
2087 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2088
2089 wxPyEndAllowThreads(__tstate);
2090 if (PyErr_Occurred()) SWIG_fail;
2091 }
2092 {
2093 resultobj = wxPyMake_wxShapeEvtHandler(result);
2094 }
2095 return resultobj;
2096 fail:
2097 return NULL;
2098 }
2099
2100
2101 static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject *resultobj;
2103 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2104 PyObject * obj0 = 0 ;
2105 char *kwnames[] = {
2106 (char *) "self", NULL
2107 };
2108
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2111 {
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 (arg1)->base_OnDelete();
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 }
2118 Py_INCREF(Py_None); resultobj = Py_None;
2119 return resultobj;
2120 fail:
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2128 wxDC *arg2 = 0 ;
2129 PyObject * obj0 = 0 ;
2130 PyObject * obj1 = 0 ;
2131 char *kwnames[] = {
2132 (char *) "self",(char *) "dc", NULL
2133 };
2134
2135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2138 if (arg2 == NULL) {
2139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2140 }
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 (arg1)->base_OnDraw(*arg2);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 Py_INCREF(Py_None); resultobj = Py_None;
2149 return resultobj;
2150 fail:
2151 return NULL;
2152 }
2153
2154
2155 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject *resultobj;
2157 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2158 wxDC *arg2 = 0 ;
2159 PyObject * obj0 = 0 ;
2160 PyObject * obj1 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "self",(char *) "dc", NULL
2163 };
2164
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2168 if (arg2 == NULL) {
2169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 (arg1)->base_OnDrawContents(*arg2);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 Py_INCREF(Py_None); resultobj = Py_None;
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2188 wxDC *arg2 = 0 ;
2189 bool arg3 = (bool) False ;
2190 PyObject * obj0 = 0 ;
2191 PyObject * obj1 = 0 ;
2192 PyObject * obj2 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self",(char *) "dc",(char *) "erase", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2200 if (arg2 == NULL) {
2201 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2202 }
2203 if (obj2) {
2204 {
2205 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 }
2209 {
2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
2211 (arg1)->base_OnDrawBranches(*arg2,arg3);
2212
2213 wxPyEndAllowThreads(__tstate);
2214 if (PyErr_Occurred()) SWIG_fail;
2215 }
2216 Py_INCREF(Py_None); resultobj = Py_None;
2217 return resultobj;
2218 fail:
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2226 wxDC *arg2 = 0 ;
2227 PyObject * obj0 = 0 ;
2228 PyObject * obj1 = 0 ;
2229 char *kwnames[] = {
2230 (char *) "self",(char *) "dc", NULL
2231 };
2232
2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2236 if (arg2 == NULL) {
2237 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2238 }
2239 {
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 (arg1)->base_OnMoveLinks(*arg2);
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 Py_INCREF(Py_None); resultobj = Py_None;
2247 return resultobj;
2248 fail:
2249 return NULL;
2250 }
2251
2252
2253 static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2254 PyObject *resultobj;
2255 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2256 wxDC *arg2 = 0 ;
2257 PyObject * obj0 = 0 ;
2258 PyObject * obj1 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "self",(char *) "dc", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2266 if (arg2 == NULL) {
2267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2268 }
2269 {
2270 PyThreadState* __tstate = wxPyBeginAllowThreads();
2271 (arg1)->base_OnErase(*arg2);
2272
2273 wxPyEndAllowThreads(__tstate);
2274 if (PyErr_Occurred()) SWIG_fail;
2275 }
2276 Py_INCREF(Py_None); resultobj = Py_None;
2277 return resultobj;
2278 fail:
2279 return NULL;
2280 }
2281
2282
2283 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2284 PyObject *resultobj;
2285 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2286 wxDC *arg2 = 0 ;
2287 PyObject * obj0 = 0 ;
2288 PyObject * obj1 = 0 ;
2289 char *kwnames[] = {
2290 (char *) "self",(char *) "dc", NULL
2291 };
2292
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2296 if (arg2 == NULL) {
2297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2298 }
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 (arg1)->base_OnEraseContents(*arg2);
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 Py_INCREF(Py_None); resultobj = Py_None;
2307 return resultobj;
2308 fail:
2309 return NULL;
2310 }
2311
2312
2313 static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2316 wxDC *arg2 = 0 ;
2317 PyObject * obj0 = 0 ;
2318 PyObject * obj1 = 0 ;
2319 char *kwnames[] = {
2320 (char *) "self",(char *) "dc", NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2326 if (arg2 == NULL) {
2327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2328 }
2329 {
2330 PyThreadState* __tstate = wxPyBeginAllowThreads();
2331 (arg1)->base_OnHighlight(*arg2);
2332
2333 wxPyEndAllowThreads(__tstate);
2334 if (PyErr_Occurred()) SWIG_fail;
2335 }
2336 Py_INCREF(Py_None); resultobj = Py_None;
2337 return resultobj;
2338 fail:
2339 return NULL;
2340 }
2341
2342
2343 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2344 PyObject *resultobj;
2345 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2346 double arg2 ;
2347 double arg3 ;
2348 int arg4 = (int) 0 ;
2349 int arg5 = (int) 0 ;
2350 PyObject * obj0 = 0 ;
2351 PyObject * obj1 = 0 ;
2352 PyObject * obj2 = 0 ;
2353 PyObject * obj3 = 0 ;
2354 PyObject * obj4 = 0 ;
2355 char *kwnames[] = {
2356 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2357 };
2358
2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2361 {
2362 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2363 if (PyErr_Occurred()) SWIG_fail;
2364 }
2365 {
2366 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2367 if (PyErr_Occurred()) SWIG_fail;
2368 }
2369 if (obj3) {
2370 {
2371 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 }
2375 if (obj4) {
2376 {
2377 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2378 if (PyErr_Occurred()) SWIG_fail;
2379 }
2380 }
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
2388 Py_INCREF(Py_None); resultobj = Py_None;
2389 return resultobj;
2390 fail:
2391 return NULL;
2392 }
2393
2394
2395 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2398 double arg2 ;
2399 double arg3 ;
2400 int arg4 = (int) 0 ;
2401 int arg5 = (int) 0 ;
2402 PyObject * obj0 = 0 ;
2403 PyObject * obj1 = 0 ;
2404 PyObject * obj2 = 0 ;
2405 PyObject * obj3 = 0 ;
2406 PyObject * obj4 = 0 ;
2407 char *kwnames[] = {
2408 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2409 };
2410
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2413 {
2414 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2415 if (PyErr_Occurred()) SWIG_fail;
2416 }
2417 {
2418 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 if (obj3) {
2422 {
2423 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 }
2427 if (obj4) {
2428 {
2429 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2430 if (PyErr_Occurred()) SWIG_fail;
2431 }
2432 }
2433 {
2434 PyThreadState* __tstate = wxPyBeginAllowThreads();
2435 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2436
2437 wxPyEndAllowThreads(__tstate);
2438 if (PyErr_Occurred()) SWIG_fail;
2439 }
2440 Py_INCREF(Py_None); resultobj = Py_None;
2441 return resultobj;
2442 fail:
2443 return NULL;
2444 }
2445
2446
2447 static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2448 PyObject *resultobj;
2449 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2450 double arg2 ;
2451 double arg3 ;
2452 int arg4 = (int) 0 ;
2453 int arg5 = (int) 0 ;
2454 PyObject * obj0 = 0 ;
2455 PyObject * obj1 = 0 ;
2456 PyObject * obj2 = 0 ;
2457 PyObject * obj3 = 0 ;
2458 PyObject * obj4 = 0 ;
2459 char *kwnames[] = {
2460 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2461 };
2462
2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2465 {
2466 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2467 if (PyErr_Occurred()) SWIG_fail;
2468 }
2469 {
2470 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 if (obj3) {
2474 {
2475 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 }
2479 if (obj4) {
2480 {
2481 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 }
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 Py_INCREF(Py_None); resultobj = Py_None;
2493 return resultobj;
2494 fail:
2495 return NULL;
2496 }
2497
2498
2499 static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject *resultobj;
2501 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2502 double arg2 ;
2503 double arg3 ;
2504 PyObject * obj0 = 0 ;
2505 PyObject * obj1 = 0 ;
2506 PyObject * obj2 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "self",(char *) "x",(char *) "y", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2513 {
2514 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 {
2518 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2519 if (PyErr_Occurred()) SWIG_fail;
2520 }
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 (arg1)->base_OnSize(arg2,arg3);
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) SWIG_fail;
2527 }
2528 Py_INCREF(Py_None); resultobj = Py_None;
2529 return resultobj;
2530 fail:
2531 return NULL;
2532 }
2533
2534
2535 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2536 PyObject *resultobj;
2537 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2538 wxDC *arg2 = 0 ;
2539 double arg3 ;
2540 double arg4 ;
2541 double arg5 ;
2542 double arg6 ;
2543 bool arg7 = (bool) True ;
2544 bool result;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 PyObject * obj2 = 0 ;
2548 PyObject * obj3 = 0 ;
2549 PyObject * obj4 = 0 ;
2550 PyObject * obj5 = 0 ;
2551 PyObject * obj6 = 0 ;
2552 char *kwnames[] = {
2553 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2554 };
2555
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2559 if (arg2 == NULL) {
2560 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2561 }
2562 {
2563 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 {
2567 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
2568 if (PyErr_Occurred()) SWIG_fail;
2569 }
2570 {
2571 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 {
2575 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 if (obj6) {
2579 {
2580 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 }
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2592 return resultobj;
2593 fail:
2594 return NULL;
2595 }
2596
2597
2598 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2599 PyObject *resultobj;
2600 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2601 wxDC *arg2 = 0 ;
2602 double arg3 ;
2603 double arg4 ;
2604 double arg5 ;
2605 double arg6 ;
2606 bool arg7 = (bool) True ;
2607 PyObject * obj0 = 0 ;
2608 PyObject * obj1 = 0 ;
2609 PyObject * obj2 = 0 ;
2610 PyObject * obj3 = 0 ;
2611 PyObject * obj4 = 0 ;
2612 PyObject * obj5 = 0 ;
2613 PyObject * obj6 = 0 ;
2614 char *kwnames[] = {
2615 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2616 };
2617
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2621 if (arg2 == NULL) {
2622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2623 }
2624 {
2625 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 {
2629 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
2630 if (PyErr_Occurred()) SWIG_fail;
2631 }
2632 {
2633 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
2636 {
2637 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 if (obj6) {
2641 {
2642 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
2643 if (PyErr_Occurred()) SWIG_fail;
2644 }
2645 }
2646 {
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
2648 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
2653 Py_INCREF(Py_None); resultobj = Py_None;
2654 return resultobj;
2655 fail:
2656 return NULL;
2657 }
2658
2659
2660 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2661 PyObject *resultobj;
2662 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2663 bool arg2 ;
2664 double arg3 ;
2665 double arg4 ;
2666 int arg5 = (int) 0 ;
2667 int arg6 = (int) 0 ;
2668 PyObject * obj0 = 0 ;
2669 PyObject * obj1 = 0 ;
2670 PyObject * obj2 = 0 ;
2671 PyObject * obj3 = 0 ;
2672 PyObject * obj4 = 0 ;
2673 PyObject * obj5 = 0 ;
2674 char *kwnames[] = {
2675 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2680 {
2681 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2684 {
2685 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2686 if (PyErr_Occurred()) SWIG_fail;
2687 }
2688 {
2689 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 if (obj4) {
2693 {
2694 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 }
2698 if (obj5) {
2699 {
2700 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
2703 }
2704 {
2705 PyThreadState* __tstate = wxPyBeginAllowThreads();
2706 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2707
2708 wxPyEndAllowThreads(__tstate);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 }
2711 Py_INCREF(Py_None); resultobj = Py_None;
2712 return resultobj;
2713 fail:
2714 return NULL;
2715 }
2716
2717
2718 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2719 PyObject *resultobj;
2720 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2721 double arg2 ;
2722 double arg3 ;
2723 int arg4 = (int) 0 ;
2724 int arg5 = (int) 0 ;
2725 PyObject * obj0 = 0 ;
2726 PyObject * obj1 = 0 ;
2727 PyObject * obj2 = 0 ;
2728 PyObject * obj3 = 0 ;
2729 PyObject * obj4 = 0 ;
2730 char *kwnames[] = {
2731 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2732 };
2733
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2736 {
2737 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 {
2741 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 if (obj3) {
2745 {
2746 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 }
2750 if (obj4) {
2751 {
2752 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 }
2755 }
2756 {
2757 PyThreadState* __tstate = wxPyBeginAllowThreads();
2758 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2759
2760 wxPyEndAllowThreads(__tstate);
2761 if (PyErr_Occurred()) SWIG_fail;
2762 }
2763 Py_INCREF(Py_None); resultobj = Py_None;
2764 return resultobj;
2765 fail:
2766 return NULL;
2767 }
2768
2769
2770 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2771 PyObject *resultobj;
2772 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2773 double arg2 ;
2774 double arg3 ;
2775 int arg4 = (int) 0 ;
2776 int arg5 = (int) 0 ;
2777 PyObject * obj0 = 0 ;
2778 PyObject * obj1 = 0 ;
2779 PyObject * obj2 = 0 ;
2780 PyObject * obj3 = 0 ;
2781 PyObject * obj4 = 0 ;
2782 char *kwnames[] = {
2783 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2784 };
2785
2786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2788 {
2789 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2790 if (PyErr_Occurred()) SWIG_fail;
2791 }
2792 {
2793 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2794 if (PyErr_Occurred()) SWIG_fail;
2795 }
2796 if (obj3) {
2797 {
2798 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 }
2801 }
2802 if (obj4) {
2803 {
2804 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2805 if (PyErr_Occurred()) SWIG_fail;
2806 }
2807 }
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
2810 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 Py_INCREF(Py_None); resultobj = Py_None;
2816 return resultobj;
2817 fail:
2818 return NULL;
2819 }
2820
2821
2822 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject *resultobj;
2824 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2825 bool arg2 ;
2826 double arg3 ;
2827 double arg4 ;
2828 int arg5 = (int) 0 ;
2829 int arg6 = (int) 0 ;
2830 PyObject * obj0 = 0 ;
2831 PyObject * obj1 = 0 ;
2832 PyObject * obj2 = 0 ;
2833 PyObject * obj3 = 0 ;
2834 PyObject * obj4 = 0 ;
2835 PyObject * obj5 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2842 {
2843 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2844 if (PyErr_Occurred()) SWIG_fail;
2845 }
2846 {
2847 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 {
2851 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
2854 if (obj4) {
2855 {
2856 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 }
2860 if (obj5) {
2861 {
2862 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 }
2866 {
2867 PyThreadState* __tstate = wxPyBeginAllowThreads();
2868 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2869
2870 wxPyEndAllowThreads(__tstate);
2871 if (PyErr_Occurred()) SWIG_fail;
2872 }
2873 Py_INCREF(Py_None); resultobj = Py_None;
2874 return resultobj;
2875 fail:
2876 return NULL;
2877 }
2878
2879
2880 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2881 PyObject *resultobj;
2882 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2883 double arg2 ;
2884 double arg3 ;
2885 int arg4 = (int) 0 ;
2886 int arg5 = (int) 0 ;
2887 PyObject * obj0 = 0 ;
2888 PyObject * obj1 = 0 ;
2889 PyObject * obj2 = 0 ;
2890 PyObject * obj3 = 0 ;
2891 PyObject * obj4 = 0 ;
2892 char *kwnames[] = {
2893 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2894 };
2895
2896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2898 {
2899 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 {
2903 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2904 if (PyErr_Occurred()) SWIG_fail;
2905 }
2906 if (obj3) {
2907 {
2908 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 }
2912 if (obj4) {
2913 {
2914 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 Py_INCREF(Py_None); resultobj = Py_None;
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2935 double arg2 ;
2936 double arg3 ;
2937 int arg4 = (int) 0 ;
2938 int arg5 = (int) 0 ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 PyObject * obj2 = 0 ;
2942 PyObject * obj3 = 0 ;
2943 PyObject * obj4 = 0 ;
2944 char *kwnames[] = {
2945 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2950 {
2951 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2952 if (PyErr_Occurred()) SWIG_fail;
2953 }
2954 {
2955 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 if (obj3) {
2959 {
2960 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 }
2963 }
2964 if (obj4) {
2965 {
2966 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 }
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 Py_INCREF(Py_None); resultobj = Py_None;
2978 return resultobj;
2979 fail:
2980 return NULL;
2981 }
2982
2983
2984 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2985 PyObject *resultobj;
2986 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2987 wxDC *arg2 = 0 ;
2988 double arg3 ;
2989 double arg4 ;
2990 double arg5 ;
2991 double arg6 ;
2992 PyObject * obj0 = 0 ;
2993 PyObject * obj1 = 0 ;
2994 PyObject * obj2 = 0 ;
2995 PyObject * obj3 = 0 ;
2996 PyObject * obj4 = 0 ;
2997 PyObject * obj5 = 0 ;
2998 char *kwnames[] = {
2999 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3000 };
3001
3002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3005 if (arg2 == NULL) {
3006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3007 }
3008 {
3009 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 {
3013 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 {
3017 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 {
3021 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 return resultobj;
3033 fail:
3034 return NULL;
3035 }
3036
3037
3038 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj;
3040 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3041 wxDC *arg2 = 0 ;
3042 PyObject * obj0 = 0 ;
3043 PyObject * obj1 = 0 ;
3044 char *kwnames[] = {
3045 (char *) "self",(char *) "dc", NULL
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
3049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3051 if (arg2 == NULL) {
3052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3053 }
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 (arg1)->base_OnDrawControlPoints(*arg2);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065 }
3066
3067
3068 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3069 PyObject *resultobj;
3070 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3071 wxDC *arg2 = 0 ;
3072 PyObject * obj0 = 0 ;
3073 PyObject * obj1 = 0 ;
3074 char *kwnames[] = {
3075 (char *) "self",(char *) "dc", NULL
3076 };
3077
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
3079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3081 if (arg2 == NULL) {
3082 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3083 }
3084 {
3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
3086 (arg1)->base_OnEraseControlPoints(*arg2);
3087
3088 wxPyEndAllowThreads(__tstate);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 }
3091 Py_INCREF(Py_None); resultobj = Py_None;
3092 return resultobj;
3093 fail:
3094 return NULL;
3095 }
3096
3097
3098 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3099 PyObject *resultobj;
3100 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3101 wxDC *arg2 = 0 ;
3102 bool arg3 = (bool) True ;
3103 PyObject * obj0 = 0 ;
3104 PyObject * obj1 = 0 ;
3105 PyObject * obj2 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3113 if (arg2 == NULL) {
3114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3115 }
3116 if (obj2) {
3117 {
3118 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 }
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 (arg1)->base_OnMoveLink(*arg2,arg3);
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 Py_INCREF(Py_None); resultobj = Py_None;
3130 return resultobj;
3131 fail:
3132 return NULL;
3133 }
3134
3135
3136 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3139 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3140 bool arg3 ;
3141 double arg4 ;
3142 double arg5 ;
3143 int arg6 = (int) 0 ;
3144 int arg7 = (int) 0 ;
3145 PyObject * obj0 = 0 ;
3146 PyObject * obj1 = 0 ;
3147 PyObject * obj2 = 0 ;
3148 PyObject * obj3 = 0 ;
3149 PyObject * obj4 = 0 ;
3150 PyObject * obj5 = 0 ;
3151 PyObject * obj6 = 0 ;
3152 char *kwnames[] = {
3153 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3154 };
3155
3156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3158 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3159 {
3160 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 {
3164 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 {
3168 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
3169 if (PyErr_Occurred()) SWIG_fail;
3170 }
3171 if (obj5) {
3172 {
3173 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 }
3177 if (obj6) {
3178 {
3179 arg7 = (int) SWIG_PyObj_AsInt(obj6);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 Py_INCREF(Py_None); resultobj = Py_None;
3191 return resultobj;
3192 fail:
3193 return NULL;
3194 }
3195
3196
3197 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3198 PyObject *resultobj;
3199 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3200 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3201 double arg3 ;
3202 double arg4 ;
3203 int arg5 = (int) 0 ;
3204 int arg6 = (int) 0 ;
3205 PyObject * obj0 = 0 ;
3206 PyObject * obj1 = 0 ;
3207 PyObject * obj2 = 0 ;
3208 PyObject * obj3 = 0 ;
3209 PyObject * obj4 = 0 ;
3210 PyObject * obj5 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3218 {
3219 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 {
3223 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 if (obj4) {
3227 {
3228 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 }
3231 }
3232 if (obj5) {
3233 {
3234 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 }
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 Py_INCREF(Py_None); resultobj = Py_None;
3246 return resultobj;
3247 fail:
3248 return NULL;
3249 }
3250
3251
3252 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3253 PyObject *resultobj;
3254 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3255 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3256 double arg3 ;
3257 double arg4 ;
3258 int arg5 = (int) 0 ;
3259 int arg6 = (int) 0 ;
3260 PyObject * obj0 = 0 ;
3261 PyObject * obj1 = 0 ;
3262 PyObject * obj2 = 0 ;
3263 PyObject * obj3 = 0 ;
3264 PyObject * obj4 = 0 ;
3265 PyObject * obj5 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3273 {
3274 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 {
3278 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 if (obj4) {
3282 {
3283 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 }
3287 if (obj5) {
3288 {
3289 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 }
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 Py_INCREF(Py_None); resultobj = Py_None;
3301 return resultobj;
3302 fail:
3303 return NULL;
3304 }
3305
3306
3307 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject *resultobj;
3309 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3310 double arg2 ;
3311 double arg3 ;
3312 PyObject * obj0 = 0 ;
3313 PyObject * obj1 = 0 ;
3314 PyObject * obj2 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self",(char *) "w",(char *) "h", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 {
3322 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 {
3326 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 (arg1)->base_OnBeginSize(arg2,arg3);
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 Py_INCREF(Py_None); resultobj = Py_None;
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3346 double arg2 ;
3347 double arg3 ;
3348 PyObject * obj0 = 0 ;
3349 PyObject * obj1 = 0 ;
3350 PyObject * obj2 = 0 ;
3351 char *kwnames[] = {
3352 (char *) "self",(char *) "w",(char *) "h", NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3357 {
3358 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 {
3362 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 (arg1)->base_OnEndSize(arg2,arg3);
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 Py_INCREF(Py_None); resultobj = Py_None;
3373 return resultobj;
3374 fail:
3375 return NULL;
3376 }
3377
3378
3379 static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
3380 PyObject *obj;
3381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3382 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3383 Py_INCREF(obj);
3384 return Py_BuildValue((char *)"");
3385 }
3386 static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3387 PyObject *resultobj;
3388 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3389 wxPyShape *result;
3390 PyObject * obj0 = 0 ;
3391 char *kwnames[] = {
3392 (char *) "can", NULL
3393 };
3394
3395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3396 if (obj0) {
3397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3398 }
3399 {
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 result = (wxPyShape *)new wxPyShape(arg1);
3402
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 {
3407 resultobj = wxPyMake_wxShapeEvtHandler(result);
3408 }
3409 return resultobj;
3410 fail:
3411 return NULL;
3412 }
3413
3414
3415 static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 wxPyShape *arg1 = (wxPyShape *) 0 ;
3418 PyObject *arg2 = (PyObject *) 0 ;
3419 PyObject *arg3 = (PyObject *) 0 ;
3420 PyObject * obj0 = 0 ;
3421 PyObject * obj1 = 0 ;
3422 PyObject * obj2 = 0 ;
3423 char *kwnames[] = {
3424 (char *) "self",(char *) "self",(char *) "_class", NULL
3425 };
3426
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3429 arg2 = obj1;
3430 arg3 = obj2;
3431 {
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 (arg1)->_setCallbackInfo(arg2,arg3);
3434
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 Py_INCREF(Py_None); resultobj = Py_None;
3439 return resultobj;
3440 fail:
3441 return NULL;
3442 }
3443
3444
3445 static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
3446 PyObject *resultobj;
3447 wxPyShape *arg1 = (wxPyShape *) 0 ;
3448 double *arg2 = (double *) 0 ;
3449 double *arg3 = (double *) 0 ;
3450 double temp2 ;
3451 double temp3 ;
3452 PyObject * obj0 = 0 ;
3453 char *kwnames[] = {
3454 (char *) "self", NULL
3455 };
3456
3457 arg2 = &temp2;
3458 arg3 = &temp3;
3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
3460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 (arg1)->GetBoundingBoxMax(arg2,arg3);
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 Py_INCREF(Py_None); resultobj = Py_None;
3469 {
3470 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3471 resultobj = t_output_helper(resultobj,o);
3472 }
3473 {
3474 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3475 resultobj = t_output_helper(resultobj,o);
3476 }
3477 return resultobj;
3478 fail:
3479 return NULL;
3480 }
3481
3482
3483 static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj;
3485 wxPyShape *arg1 = (wxPyShape *) 0 ;
3486 double *arg2 = (double *) 0 ;
3487 double *arg3 = (double *) 0 ;
3488 double temp2 ;
3489 double temp3 ;
3490 PyObject * obj0 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self", NULL
3493 };
3494
3495 arg2 = &temp2;
3496 arg3 = &temp3;
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
3498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 (arg1)->GetBoundingBoxMin(arg2,arg3);
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 Py_INCREF(Py_None); resultobj = Py_None;
3507 {
3508 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3509 resultobj = t_output_helper(resultobj,o);
3510 }
3511 {
3512 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3513 resultobj = t_output_helper(resultobj,o);
3514 }
3515 return resultobj;
3516 fail:
3517 return NULL;
3518 }
3519
3520
3521 static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3522 PyObject *resultobj;
3523 wxPyShape *arg1 = (wxPyShape *) 0 ;
3524 double arg2 ;
3525 double arg3 ;
3526 double arg4 ;
3527 double arg5 ;
3528 double *arg6 = (double *) 0 ;
3529 double *arg7 = (double *) 0 ;
3530 bool result;
3531 double temp6 ;
3532 double temp7 ;
3533 PyObject * obj0 = 0 ;
3534 PyObject * obj1 = 0 ;
3535 PyObject * obj2 = 0 ;
3536 PyObject * obj3 = 0 ;
3537 PyObject * obj4 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3540 };
3541
3542 arg6 = &temp6;
3543 arg7 = &temp7;
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3546 {
3547 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 {
3551 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 {
3555 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 {
3559 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3570 {
3571 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3572 resultobj = t_output_helper(resultobj,o);
3573 }
3574 {
3575 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3576 resultobj = t_output_helper(resultobj,o);
3577 }
3578 return resultobj;
3579 fail:
3580 return NULL;
3581 }
3582
3583
3584 static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxPyShape *arg1 = (wxPyShape *) 0 ;
3587 wxPyShapeCanvas *result;
3588 PyObject * obj0 = 0 ;
3589 char *kwnames[] = {
3590 (char *) "self", NULL
3591 };
3592
3593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
3594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3598
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 {
3603 resultobj = wxPyMake_wxObject(result);
3604 }
3605 return resultobj;
3606 fail:
3607 return NULL;
3608 }
3609
3610
3611 static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3612 PyObject *resultobj;
3613 wxPyShape *arg1 = (wxPyShape *) 0 ;
3614 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3615 PyObject * obj0 = 0 ;
3616 PyObject * obj1 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "self",(char *) "the_canvas", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
3622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3624 {
3625 PyThreadState* __tstate = wxPyBeginAllowThreads();
3626 (arg1)->SetCanvas(arg2);
3627
3628 wxPyEndAllowThreads(__tstate);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
3631 Py_INCREF(Py_None); resultobj = Py_None;
3632 return resultobj;
3633 fail:
3634 return NULL;
3635 }
3636
3637
3638 static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxPyShape *arg1 = (wxPyShape *) 0 ;
3641 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3642 wxPyShape *arg3 = (wxPyShape *) NULL ;
3643 PyObject * obj0 = 0 ;
3644 PyObject * obj1 = 0 ;
3645 PyObject * obj2 = 0 ;
3646 char *kwnames[] = {
3647 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3648 };
3649
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
3651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3653 if (obj2) {
3654 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 }
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 (arg1)->AddToCanvas(arg2,arg3);
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 Py_INCREF(Py_None); resultobj = Py_None;
3664 return resultobj;
3665 fail:
3666 return NULL;
3667 }
3668
3669
3670 static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3671 PyObject *resultobj;
3672 wxPyShape *arg1 = (wxPyShape *) 0 ;
3673 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3674 PyObject * obj0 = 0 ;
3675 PyObject * obj1 = 0 ;
3676 char *kwnames[] = {
3677 (char *) "self",(char *) "the_canvas", NULL
3678 };
3679
3680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
3681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3683 {
3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
3685 (arg1)->InsertInCanvas(arg2);
3686
3687 wxPyEndAllowThreads(__tstate);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
3690 Py_INCREF(Py_None); resultobj = Py_None;
3691 return resultobj;
3692 fail:
3693 return NULL;
3694 }
3695
3696
3697 static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3698 PyObject *resultobj;
3699 wxPyShape *arg1 = (wxPyShape *) 0 ;
3700 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3701 PyObject * obj0 = 0 ;
3702 PyObject * obj1 = 0 ;
3703 char *kwnames[] = {
3704 (char *) "self",(char *) "the_canvas", NULL
3705 };
3706
3707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
3708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3709 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 (arg1)->RemoveFromCanvas(arg2);
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 Py_INCREF(Py_None); resultobj = Py_None;
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxPyShape *arg1 = (wxPyShape *) 0 ;
3727 double result;
3728 PyObject * obj0 = 0 ;
3729 char *kwnames[] = {
3730 (char *) "self", NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
3734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 result = (double)(arg1)->GetX();
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 resultobj = SWIG_PyObj_FromDouble((double)result);
3743 return resultobj;
3744 fail:
3745 return NULL;
3746 }
3747
3748
3749 static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxPyShape *arg1 = (wxPyShape *) 0 ;
3752 double result;
3753 PyObject * obj0 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 result = (double)(arg1)->GetY();
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 resultobj = SWIG_PyObj_FromDouble((double)result);
3768 return resultobj;
3769 fail:
3770 return NULL;
3771 }
3772
3773
3774 static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxPyShape *arg1 = (wxPyShape *) 0 ;
3777 double arg2 ;
3778 PyObject * obj0 = 0 ;
3779 PyObject * obj1 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self",(char *) "x", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3786 {
3787 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 (arg1)->SetX(arg2);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxPyShape *arg1 = (wxPyShape *) 0 ;
3807 double arg2 ;
3808 PyObject * obj0 = 0 ;
3809 PyObject * obj1 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "self",(char *) "y", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
3815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3816 {
3817 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 }
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 (arg1)->SetY(arg2);
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 Py_INCREF(Py_None); resultobj = Py_None;
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxPyShape *arg1 = (wxPyShape *) 0 ;
3837 wxPyShape *result;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 result = (wxPyShape *)(arg1)->GetParent();
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 {
3853 resultobj = wxPyMake_wxShapeEvtHandler(result);
3854 }
3855 return resultobj;
3856 fail:
3857 return NULL;
3858 }
3859
3860
3861 static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj;
3863 wxPyShape *arg1 = (wxPyShape *) 0 ;
3864 wxPyShape *arg2 = (wxPyShape *) 0 ;
3865 PyObject * obj0 = 0 ;
3866 PyObject * obj1 = 0 ;
3867 char *kwnames[] = {
3868 (char *) "self",(char *) "p", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 (arg1)->SetParent(arg2);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 Py_INCREF(Py_None); resultobj = Py_None;
3882 return resultobj;
3883 fail:
3884 return NULL;
3885 }
3886
3887
3888 static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 wxPyShape *arg1 = (wxPyShape *) 0 ;
3891 wxPyShape *result;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3899 {
3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
3901 result = (wxPyShape *)(arg1)->GetTopAncestor();
3902
3903 wxPyEndAllowThreads(__tstate);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 {
3907 resultobj = wxPyMake_wxShapeEvtHandler(result);
3908 }
3909 return resultobj;
3910 fail:
3911 return NULL;
3912 }
3913
3914
3915 static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxPyShape *arg1 = (wxPyShape *) 0 ;
3918 PyObject *result;
3919 PyObject * obj0 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "self", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 result = (PyObject *)wxPyShape_GetChildren(arg1);
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 resultobj = result;
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 wxPyShape *arg1 = (wxPyShape *) 0 ;
3943 PyObject * obj0 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "self", NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 (arg1)->Unlink();
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 Py_INCREF(Py_None); resultobj = Py_None;
3958 return resultobj;
3959 fail:
3960 return NULL;
3961 }
3962
3963
3964 static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3965 PyObject *resultobj;
3966 wxPyShape *arg1 = (wxPyShape *) 0 ;
3967 bool arg2 ;
3968 PyObject * obj0 = 0 ;
3969 PyObject * obj1 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self",(char *) "drawH", NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3976 {
3977 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 (arg1)->SetDrawHandles(arg2);
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 Py_INCREF(Py_None); resultobj = Py_None;
3988 return resultobj;
3989 fail:
3990 return NULL;
3991 }
3992
3993
3994 static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxPyShape *arg1 = (wxPyShape *) 0 ;
3997 bool result;
3998 PyObject * obj0 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
4004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 result = (bool)(arg1)->GetDrawHandles();
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4013 return resultobj;
4014 fail:
4015 return NULL;
4016 }
4017
4018
4019 static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject *resultobj;
4021 wxPyShape *arg1 = (wxPyShape *) 0 ;
4022 PyObject * obj0 = 0 ;
4023 char *kwnames[] = {
4024 (char *) "self", NULL
4025 };
4026
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
4028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4029 {
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4031 (arg1)->MakeControlPoints();
4032
4033 wxPyEndAllowThreads(__tstate);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 Py_INCREF(Py_None); resultobj = Py_None;
4037 return resultobj;
4038 fail:
4039 return NULL;
4040 }
4041
4042
4043 static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4044 PyObject *resultobj;
4045 wxPyShape *arg1 = (wxPyShape *) 0 ;
4046 wxDC *arg2 = (wxDC *) NULL ;
4047 PyObject * obj0 = 0 ;
4048 PyObject * obj1 = 0 ;
4049 char *kwnames[] = {
4050 (char *) "self",(char *) "dc", NULL
4051 };
4052
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
4054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4055 if (obj1) {
4056 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4057 }
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 (arg1)->DeleteControlPoints(arg2);
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 Py_INCREF(Py_None); resultobj = Py_None;
4066 return resultobj;
4067 fail:
4068 return NULL;
4069 }
4070
4071
4072 static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj;
4074 wxPyShape *arg1 = (wxPyShape *) 0 ;
4075 PyObject * obj0 = 0 ;
4076 char *kwnames[] = {
4077 (char *) "self", NULL
4078 };
4079
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
4081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 (arg1)->ResetControlPoints();
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 Py_INCREF(Py_None); resultobj = Py_None;
4090 return resultobj;
4091 fail:
4092 return NULL;
4093 }
4094
4095
4096 static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject *resultobj;
4098 wxPyShape *arg1 = (wxPyShape *) 0 ;
4099 wxPyShapeEvtHandler *result;
4100 PyObject * obj0 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
4106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4107 {
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4110
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 {
4115 resultobj = wxPyMake_wxShapeEvtHandler(result);
4116 }
4117 return resultobj;
4118 fail:
4119 return NULL;
4120 }
4121
4122
4123 static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4124 PyObject *resultobj;
4125 wxPyShape *arg1 = (wxPyShape *) 0 ;
4126 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4127 PyObject * obj0 = 0 ;
4128 PyObject * obj1 = 0 ;
4129 char *kwnames[] = {
4130 (char *) "self",(char *) "handler", NULL
4131 };
4132
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
4134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 (arg1)->SetEventHandler(arg2);
4139
4140 wxPyEndAllowThreads(__tstate);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4143 Py_INCREF(Py_None); resultobj = Py_None;
4144 return resultobj;
4145 fail:
4146 return NULL;
4147 }
4148
4149
4150 static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4151 PyObject *resultobj;
4152 wxPyShape *arg1 = (wxPyShape *) 0 ;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
4159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 (arg1)->MakeMandatoryControlPoints();
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 Py_INCREF(Py_None); resultobj = Py_None;
4168 return resultobj;
4169 fail:
4170 return NULL;
4171 }
4172
4173
4174 static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj;
4176 wxPyShape *arg1 = (wxPyShape *) 0 ;
4177 PyObject * obj0 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
4183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 (arg1)->ResetMandatoryControlPoints();
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 Py_INCREF(Py_None); resultobj = Py_None;
4192 return resultobj;
4193 fail:
4194 return NULL;
4195 }
4196
4197
4198 static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxPyShape *arg1 = (wxPyShape *) 0 ;
4201 bool result;
4202 PyObject * obj0 = 0 ;
4203 char *kwnames[] = {
4204 (char *) "self", NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 result = (bool)(arg1)->Recompute();
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 }
4216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4217 return resultobj;
4218 fail:
4219 return NULL;
4220 }
4221
4222
4223 static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxPyShape *arg1 = (wxPyShape *) 0 ;
4226 PyObject * obj0 = 0 ;
4227 char *kwnames[] = {
4228 (char *) "self", NULL
4229 };
4230
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
4232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 (arg1)->CalculateSize();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 Py_INCREF(Py_None); resultobj = Py_None;
4241 return resultobj;
4242 fail:
4243 return NULL;
4244 }
4245
4246
4247 static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj;
4249 wxPyShape *arg1 = (wxPyShape *) 0 ;
4250 bool arg2 = (bool) True ;
4251 wxDC *arg3 = (wxDC *) NULL ;
4252 PyObject * obj0 = 0 ;
4253 PyObject * obj1 = 0 ;
4254 PyObject * obj2 = 0 ;
4255 char *kwnames[] = {
4256 (char *) "self",(char *) "select",(char *) "dc", NULL
4257 };
4258
4259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
4260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4261 if (obj1) {
4262 {
4263 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 }
4267 if (obj2) {
4268 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4269 }
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 (arg1)->Select(arg2,arg3);
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 Py_INCREF(Py_None); resultobj = Py_None;
4278 return resultobj;
4279 fail:
4280 return NULL;
4281 }
4282
4283
4284 static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj;
4286 wxPyShape *arg1 = (wxPyShape *) 0 ;
4287 bool arg2 = (bool) True ;
4288 bool arg3 = (bool) False ;
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj1 = 0 ;
4291 PyObject * obj2 = 0 ;
4292 char *kwnames[] = {
4293 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4294 };
4295
4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
4297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4298 if (obj1) {
4299 {
4300 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 }
4304 if (obj2) {
4305 {
4306 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 (arg1)->SetHighlight(arg2,arg3);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 Py_INCREF(Py_None); resultobj = Py_None;
4318 return resultobj;
4319 fail:
4320 return NULL;
4321 }
4322
4323
4324 static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
4325 PyObject *resultobj;
4326 wxPyShape *arg1 = (wxPyShape *) 0 ;
4327 bool result;
4328 PyObject * obj0 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
4334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 result = (bool)(arg1)->IsHighlighted();
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4343 return resultobj;
4344 fail:
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 wxPyShape *arg1 = (wxPyShape *) 0 ;
4352 bool result;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 result = (bool)(arg1)->Selected();
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4368 return resultobj;
4369 fail:
4370 return NULL;
4371 }
4372
4373
4374 static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4375 PyObject *resultobj;
4376 wxPyShape *arg1 = (wxPyShape *) 0 ;
4377 bool result;
4378 PyObject * obj0 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 result = (bool)(arg1)->AncestorSelected();
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4393 return resultobj;
4394 fail:
4395 return NULL;
4396 }
4397
4398
4399 static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxPyShape *arg1 = (wxPyShape *) 0 ;
4402 int arg2 = (int) OP_ALL ;
4403 bool arg3 = (bool) False ;
4404 PyObject * obj0 = 0 ;
4405 PyObject * obj1 = 0 ;
4406 PyObject * obj2 = 0 ;
4407 char *kwnames[] = {
4408 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 if (obj1) {
4414 {
4415 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 }
4419 if (obj2) {
4420 {
4421 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 }
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 (arg1)->SetSensitivityFilter(arg2,arg3);
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_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj;
4441 wxPyShape *arg1 = (wxPyShape *) 0 ;
4442 int result;
4443 PyObject * obj0 = 0 ;
4444 char *kwnames[] = {
4445 (char *) "self", NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",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 = (int)(arg1)->GetSensitivityFilter();
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 resultobj = SWIG_PyObj_FromInt((int)result);
4458 return resultobj;
4459 fail:
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 wxPyShape *arg1 = (wxPyShape *) 0 ;
4467 bool arg2 ;
4468 bool arg3 = (bool) False ;
4469 PyObject * obj0 = 0 ;
4470 PyObject * obj1 = 0 ;
4471 PyObject * obj2 = 0 ;
4472 char *kwnames[] = {
4473 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4474 };
4475
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
4477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4478 {
4479 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 if (obj2) {
4483 {
4484 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 }
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 (arg1)->SetDraggable(arg2,arg3);
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 Py_INCREF(Py_None); resultobj = Py_None;
4496 return resultobj;
4497 fail:
4498 return NULL;
4499 }
4500
4501
4502 static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj;
4504 wxPyShape *arg1 = (wxPyShape *) 0 ;
4505 bool arg2 ;
4506 bool arg3 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 PyObject * obj2 = 0 ;
4510 char *kwnames[] = {
4511 (char *) "self",(char *) "x",(char *) "y", NULL
4512 };
4513
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4516 {
4517 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 {
4521 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 {
4525 PyThreadState* __tstate = wxPyBeginAllowThreads();
4526 (arg1)->SetFixedSize(arg2,arg3);
4527
4528 wxPyEndAllowThreads(__tstate);
4529 if (PyErr_Occurred()) SWIG_fail;
4530 }
4531 Py_INCREF(Py_None); resultobj = Py_None;
4532 return resultobj;
4533 fail:
4534 return NULL;
4535 }
4536
4537
4538 static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj;
4540 wxPyShape *arg1 = (wxPyShape *) 0 ;
4541 bool *arg2 = (bool *) 0 ;
4542 bool *arg3 = (bool *) 0 ;
4543 bool temp2 ;
4544 bool temp3 ;
4545 PyObject * obj0 = 0 ;
4546 char *kwnames[] = {
4547 (char *) "self", NULL
4548 };
4549
4550 arg2 = &temp2;
4551 arg3 = &temp3;
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
4553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 (arg1)->GetFixedSize(arg2,arg3);
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 Py_INCREF(Py_None); resultobj = Py_None;
4562 {
4563 PyObject *o = PyInt_FromLong((long) (*arg2));
4564 resultobj = t_output_helper(resultobj,o);
4565 }
4566 {
4567 PyObject *o = PyInt_FromLong((long) (*arg3));
4568 resultobj = t_output_helper(resultobj,o);
4569 }
4570 return resultobj;
4571 fail:
4572 return NULL;
4573 }
4574
4575
4576 static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxPyShape *arg1 = (wxPyShape *) 0 ;
4579 bool result;
4580 PyObject * obj0 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "self", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
4586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4587 {
4588 PyThreadState* __tstate = wxPyBeginAllowThreads();
4589 result = (bool)(arg1)->GetFixedWidth();
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4595 return resultobj;
4596 fail:
4597 return NULL;
4598 }
4599
4600
4601 static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject *resultobj;
4603 wxPyShape *arg1 = (wxPyShape *) 0 ;
4604 bool result;
4605 PyObject * obj0 = 0 ;
4606 char *kwnames[] = {
4607 (char *) "self", NULL
4608 };
4609
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
4611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 result = (bool)(arg1)->GetFixedHeight();
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4620 return resultobj;
4621 fail:
4622 return NULL;
4623 }
4624
4625
4626 static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4627 PyObject *resultobj;
4628 wxPyShape *arg1 = (wxPyShape *) 0 ;
4629 bool arg2 ;
4630 PyObject * obj0 = 0 ;
4631 PyObject * obj1 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "sp", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4638 {
4639 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 (arg1)->SetSpaceAttachments(arg2);
4645
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 Py_INCREF(Py_None); resultobj = Py_None;
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj;
4658 wxPyShape *arg1 = (wxPyShape *) 0 ;
4659 bool result;
4660 PyObject * obj0 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 result = (bool)(arg1)->GetSpaceAttachments();
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxPyShape *arg1 = (wxPyShape *) 0 ;
4684 int arg2 ;
4685 bool arg3 = (bool) False ;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 PyObject * obj2 = 0 ;
4689 char *kwnames[] = {
4690 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4691 };
4692
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
4694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4695 {
4696 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 if (obj2) {
4700 {
4701 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 }
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 (arg1)->SetShadowMode(arg2,arg3);
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 Py_INCREF(Py_None); resultobj = Py_None;
4713 return resultobj;
4714 fail:
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxPyShape *arg1 = (wxPyShape *) 0 ;
4722 int result;
4723 PyObject * obj0 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
4729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (int)(arg1)->GetShadowMode();
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 resultobj = SWIG_PyObj_FromInt((int)result);
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxPyShape *arg1 = (wxPyShape *) 0 ;
4747 double arg2 ;
4748 double arg3 ;
4749 int *arg4 = (int *) 0 ;
4750 double *arg5 = (double *) 0 ;
4751 bool result;
4752 int temp4 ;
4753 double temp5 ;
4754 PyObject * obj0 = 0 ;
4755 PyObject * obj1 = 0 ;
4756 PyObject * obj2 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self",(char *) "x",(char *) "y", NULL
4759 };
4760
4761 arg4 = &temp4;
4762 arg5 = &temp5;
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
4764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4765 {
4766 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
4767 if (PyErr_Occurred()) SWIG_fail;
4768 }
4769 {
4770 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4781 {
4782 PyObject *o = PyInt_FromLong((long) (*arg4));
4783 resultobj = t_output_helper(resultobj,o);
4784 }
4785 {
4786 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4787 resultobj = t_output_helper(resultobj,o);
4788 }
4789 return resultobj;
4790 fail:
4791 return NULL;
4792 }
4793
4794
4795 static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject *resultobj;
4797 wxPyShape *arg1 = (wxPyShape *) 0 ;
4798 bool arg2 ;
4799 PyObject * obj0 = 0 ;
4800 PyObject * obj1 = 0 ;
4801 char *kwnames[] = {
4802 (char *) "self",(char *) "cr", NULL
4803 };
4804
4805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
4806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4807 {
4808 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 (arg1)->SetCentreResize(arg2);
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_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxPyShape *arg1 = (wxPyShape *) 0 ;
4828 bool result;
4829 PyObject * obj0 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 result = (bool)(arg1)->GetCentreResize();
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4844 return resultobj;
4845 fail:
4846 return NULL;
4847 }
4848
4849
4850 static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4851 PyObject *resultobj;
4852 wxPyShape *arg1 = (wxPyShape *) 0 ;
4853 bool arg2 ;
4854 PyObject * obj0 = 0 ;
4855 PyObject * obj1 = 0 ;
4856 char *kwnames[] = {
4857 (char *) "self",(char *) "ar", NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4862 {
4863 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 (arg1)->SetMaintainAspectRatio(arg2);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 Py_INCREF(Py_None); resultobj = Py_None;
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxPyShape *arg1 = (wxPyShape *) 0 ;
4883 bool result;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = (bool)(arg1)->GetMaintainAspectRatio();
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxPyShape *arg1 = (wxPyShape *) 0 ;
4908 PyObject *result;
4909 PyObject * obj0 = 0 ;
4910 char *kwnames[] = {
4911 (char *) "self", NULL
4912 };
4913
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = (PyObject *)wxPyShape_GetLines(arg1);
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = result;
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxPyShape *arg1 = (wxPyShape *) 0 ;
4933 bool arg2 ;
4934 PyObject * obj0 = 0 ;
4935 PyObject * obj1 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self",(char *) "flag", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4942 {
4943 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 (arg1)->SetDisableLabel(arg2);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 Py_INCREF(Py_None); resultobj = Py_None;
4954 return resultobj;
4955 fail:
4956 return NULL;
4957 }
4958
4959
4960 static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxPyShape *arg1 = (wxPyShape *) 0 ;
4963 bool result;
4964 PyObject * obj0 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "self", NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
4970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (bool)(arg1)->GetDisableLabel();
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4979 return resultobj;
4980 fail:
4981 return NULL;
4982 }
4983
4984
4985 static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxPyShape *arg1 = (wxPyShape *) 0 ;
4988 int arg2 ;
4989 PyObject * obj0 = 0 ;
4990 PyObject * obj1 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self",(char *) "mode", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4997 {
4998 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 (arg1)->SetAttachmentMode(arg2);
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 Py_INCREF(Py_None); resultobj = Py_None;
5009 return resultobj;
5010 fail:
5011 return NULL;
5012 }
5013
5014
5015 static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5016 PyObject *resultobj;
5017 wxPyShape *arg1 = (wxPyShape *) 0 ;
5018 int result;
5019 PyObject * obj0 = 0 ;
5020 char *kwnames[] = {
5021 (char *) "self", NULL
5022 };
5023
5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
5025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 result = (int)(arg1)->GetAttachmentMode();
5029
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 resultobj = SWIG_PyObj_FromInt((int)result);
5034 return resultobj;
5035 fail:
5036 return NULL;
5037 }
5038
5039
5040 static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5041 PyObject *resultobj;
5042 wxPyShape *arg1 = (wxPyShape *) 0 ;
5043 long arg2 ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj1 = 0 ;
5046 char *kwnames[] = {
5047 (char *) "self",(char *) "i", NULL
5048 };
5049
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
5051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5052 {
5053 arg2 = (long) SWIG_PyObj_AsLong(obj1);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 {
5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
5058 (arg1)->SetId(arg2);
5059
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 Py_INCREF(Py_None); resultobj = Py_None;
5064 return resultobj;
5065 fail:
5066 return NULL;
5067 }
5068
5069
5070 static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj;
5072 wxPyShape *arg1 = (wxPyShape *) 0 ;
5073 long result;
5074 PyObject * obj0 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "self", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
5080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = (long)(arg1)->GetId();
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 resultobj = SWIG_PyObj_FromLong((long)result);
5089 return resultobj;
5090 fail:
5091 return NULL;
5092 }
5093
5094
5095 static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxPyShape *arg1 = (wxPyShape *) 0 ;
5098 wxPen *arg2 = (wxPen *) 0 ;
5099 PyObject * obj0 = 0 ;
5100 PyObject * obj1 = 0 ;
5101 char *kwnames[] = {
5102 (char *) "self",(char *) "pen", NULL
5103 };
5104
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
5106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5107 {
5108 wxPen* temp;
5109 if (obj1) {
5110 if (obj1 == Py_None) {
5111 temp = NULL;
5112 }
5113 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5114 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5115 return NULL;
5116 }
5117 }
5118 if (temp)
5119 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5120 temp->GetWidth(),
5121 temp->GetStyle());
5122 else
5123 arg2 = NULL;
5124 }
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 (arg1)->SetPen(arg2);
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 Py_INCREF(Py_None); resultobj = Py_None;
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxPyShape *arg1 = (wxPyShape *) 0 ;
5142 wxBrush *arg2 = (wxBrush *) 0 ;
5143 PyObject * obj0 = 0 ;
5144 PyObject * obj1 = 0 ;
5145 char *kwnames[] = {
5146 (char *) "self",(char *) "brush", NULL
5147 };
5148
5149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
5150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5151 {
5152 wxBrush* temp;
5153 if (obj1) {
5154 if (obj1 == Py_None) {
5155 temp = NULL;
5156 }
5157 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5158 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5159 return NULL;
5160 }
5161 }
5162 if (temp)
5163 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5164 else
5165 arg2 = NULL;
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->SetBrush(arg2);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxPyShape *arg1 = (wxPyShape *) 0 ;
5184 bool arg2 ;
5185 PyObject * obj0 = 0 ;
5186 PyObject * obj1 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self",(char *) "show", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5193 {
5194 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 (arg1)->Show(arg2);
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 Py_INCREF(Py_None); resultobj = Py_None;
5205 return resultobj;
5206 fail:
5207 return NULL;
5208 }
5209
5210
5211 static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxPyShape *arg1 = (wxPyShape *) 0 ;
5214 bool result;
5215 PyObject * obj0 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "self", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
5221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 result = (bool)(arg1)->IsShown();
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj;
5238 wxPyShape *arg1 = (wxPyShape *) 0 ;
5239 wxDC *arg2 = 0 ;
5240 double arg3 ;
5241 double arg4 ;
5242 bool arg5 = (bool) True ;
5243 PyObject * obj0 = 0 ;
5244 PyObject * obj1 = 0 ;
5245 PyObject * obj2 = 0 ;
5246 PyObject * obj3 = 0 ;
5247 PyObject * obj4 = 0 ;
5248 char *kwnames[] = {
5249 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5250 };
5251
5252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5255 if (arg2 == NULL) {
5256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5257 }
5258 {
5259 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 {
5263 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 if (obj4) {
5267 {
5268 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
5269 if (PyErr_Occurred()) SWIG_fail;
5270 }
5271 }
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 (arg1)->Move(*arg2,arg3,arg4,arg5);
5275
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 Py_INCREF(Py_None); resultobj = Py_None;
5280 return resultobj;
5281 fail:
5282 return NULL;
5283 }
5284
5285
5286 static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj;
5288 wxPyShape *arg1 = (wxPyShape *) 0 ;
5289 wxDC *arg2 = 0 ;
5290 PyObject * obj0 = 0 ;
5291 PyObject * obj1 = 0 ;
5292 char *kwnames[] = {
5293 (char *) "self",(char *) "dc", NULL
5294 };
5295
5296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
5297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5299 if (arg2 == NULL) {
5300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5301 }
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 (arg1)->Erase(*arg2);
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 Py_INCREF(Py_None); resultobj = Py_None;
5310 return resultobj;
5311 fail:
5312 return NULL;
5313 }
5314
5315
5316 static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxPyShape *arg1 = (wxPyShape *) 0 ;
5319 wxDC *arg2 = 0 ;
5320 PyObject * obj0 = 0 ;
5321 PyObject * obj1 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self",(char *) "dc", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
5327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5329 if (arg2 == NULL) {
5330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5331 }
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 (arg1)->EraseContents(*arg2);
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 Py_INCREF(Py_None); resultobj = Py_None;
5340 return resultobj;
5341 fail:
5342 return NULL;
5343 }
5344
5345
5346 static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
5347 PyObject *resultobj;
5348 wxPyShape *arg1 = (wxPyShape *) 0 ;
5349 wxDC *arg2 = 0 ;
5350 PyObject * obj0 = 0 ;
5351 PyObject * obj1 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self",(char *) "dc", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
5357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5359 if (arg2 == NULL) {
5360 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5361 }
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 (arg1)->Draw(*arg2);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 Py_INCREF(Py_None); resultobj = Py_None;
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxPyShape *arg1 = (wxPyShape *) 0 ;
5379 PyObject * obj0 = 0 ;
5380 char *kwnames[] = {
5381 (char *) "self", NULL
5382 };
5383
5384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
5385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->Flash();
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 Py_INCREF(Py_None); resultobj = Py_None;
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxPyShape *arg1 = (wxPyShape *) 0 ;
5403 wxDC *arg2 = 0 ;
5404 PyObject * obj0 = 0 ;
5405 PyObject * obj1 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "dc", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
5411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5413 if (arg2 == NULL) {
5414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5415 }
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 (arg1)->MoveLinks(*arg2);
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 Py_INCREF(Py_None); resultobj = Py_None;
5424 return resultobj;
5425 fail:
5426 return NULL;
5427 }
5428
5429
5430 static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxPyShape *arg1 = (wxPyShape *) 0 ;
5433 wxDC *arg2 = 0 ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self",(char *) "dc", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
5441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5443 if (arg2 == NULL) {
5444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5445 }
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 (arg1)->DrawContents(*arg2);
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 Py_INCREF(Py_None); resultobj = Py_None;
5454 return resultobj;
5455 fail:
5456 return NULL;
5457 }
5458
5459
5460 static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxPyShape *arg1 = (wxPyShape *) 0 ;
5463 double arg2 ;
5464 double arg3 ;
5465 bool arg4 = (bool) True ;
5466 PyObject * obj0 = 0 ;
5467 PyObject * obj1 = 0 ;
5468 PyObject * obj2 = 0 ;
5469 PyObject * obj3 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5476 {
5477 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 {
5481 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 if (obj3) {
5485 {
5486 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 (arg1)->SetSize(arg2,arg3,arg4);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 Py_INCREF(Py_None); resultobj = Py_None;
5498 return resultobj;
5499 fail:
5500 return NULL;
5501 }
5502
5503
5504 static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj;
5506 wxPyShape *arg1 = (wxPyShape *) 0 ;
5507 double arg2 ;
5508 double arg3 ;
5509 PyObject * obj0 = 0 ;
5510 PyObject * obj1 = 0 ;
5511 PyObject * obj2 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self",(char *) "x",(char *) "y", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
5517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5518 {
5519 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 {
5523 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 (arg1)->SetAttachmentSize(arg2,arg3);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 Py_INCREF(Py_None); resultobj = Py_None;
5534 return resultobj;
5535 fail:
5536 return NULL;
5537 }
5538
5539
5540 static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxPyShape *arg1 = (wxPyShape *) 0 ;
5543 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5544 PyObject * obj0 = 0 ;
5545 PyObject * obj1 = 0 ;
5546 char *kwnames[] = {
5547 (char *) "self",(char *) "can", NULL
5548 };
5549
5550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
5551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 (arg1)->Attach(arg2);
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 Py_INCREF(Py_None); resultobj = Py_None;
5561 return resultobj;
5562 fail:
5563 return NULL;
5564 }
5565
5566
5567 static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
5568 PyObject *resultobj;
5569 wxPyShape *arg1 = (wxPyShape *) 0 ;
5570 PyObject * obj0 = 0 ;
5571 char *kwnames[] = {
5572 (char *) "self", NULL
5573 };
5574
5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
5576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 (arg1)->Detach();
5580
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 Py_INCREF(Py_None); resultobj = Py_None;
5585 return resultobj;
5586 fail:
5587 return NULL;
5588 }
5589
5590
5591 static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj;
5593 wxPyShape *arg1 = (wxPyShape *) 0 ;
5594 bool result;
5595 PyObject * obj0 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
5601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 result = (bool)(arg1)->Constrain();
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxPyShape *arg1 = (wxPyShape *) 0 ;
5619 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5620 wxPyShape *arg3 = (wxPyShape *) 0 ;
5621 int arg4 = (int) 0 ;
5622 int arg5 = (int) 0 ;
5623 int arg6 = (int) -1 ;
5624 int arg7 = (int) -1 ;
5625 PyObject * obj0 = 0 ;
5626 PyObject * obj1 = 0 ;
5627 PyObject * obj2 = 0 ;
5628 PyObject * obj3 = 0 ;
5629 PyObject * obj4 = 0 ;
5630 PyObject * obj5 = 0 ;
5631 PyObject * obj6 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5639 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5640 if (obj3) {
5641 {
5642 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 }
5646 if (obj4) {
5647 {
5648 arg5 = (int) SWIG_PyObj_AsInt(obj4);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 }
5652 if (obj5) {
5653 {
5654 arg6 = (int) SWIG_PyObj_AsInt(obj5);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 }
5658 if (obj6) {
5659 {
5660 arg7 = (int) SWIG_PyObj_AsInt(obj6);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 }
5664 {
5665 PyThreadState* __tstate = wxPyBeginAllowThreads();
5666 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5667
5668 wxPyEndAllowThreads(__tstate);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 }
5671 Py_INCREF(Py_None); resultobj = Py_None;
5672 return resultobj;
5673 fail:
5674 return NULL;
5675 }
5676
5677
5678 static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj;
5680 wxPyShape *arg1 = (wxPyShape *) 0 ;
5681 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5682 int result;
5683 PyObject * obj0 = 0 ;
5684 PyObject * obj1 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "line", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 result = (int)(arg1)->GetLinePosition(arg2);
5695
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 resultobj = SWIG_PyObj_FromInt((int)result);
5700 return resultobj;
5701 fail:
5702 return NULL;
5703 }
5704
5705
5706 static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
5707 PyObject *resultobj;
5708 wxPyShape *arg1 = (wxPyShape *) 0 ;
5709 wxString *arg2 = 0 ;
5710 bool temp2 = False ;
5711 PyObject * obj0 = 0 ;
5712 PyObject * obj1 = 0 ;
5713 char *kwnames[] = {
5714 (char *) "self",(char *) "string", NULL
5715 };
5716
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
5718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5719 {
5720 arg2 = wxString_in_helper(obj1);
5721 if (arg2 == NULL) SWIG_fail;
5722 temp2 = True;
5723 }
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 (arg1)->AddText((wxString const &)*arg2);
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 Py_INCREF(Py_None); resultobj = Py_None;
5732 {
5733 if (temp2)
5734 delete arg2;
5735 }
5736 return resultobj;
5737 fail:
5738 {
5739 if (temp2)
5740 delete arg2;
5741 }
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxPyShape *arg1 = (wxPyShape *) 0 ;
5749 wxPen *result;
5750 PyObject * obj0 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (wxPen *)(arg1)->GetPen();
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxPyShape *arg1 = (wxPyShape *) 0 ;
5774 wxBrush *result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 result = (wxBrush *)(arg1)->GetBrush();
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
5790 return resultobj;
5791 fail:
5792 return NULL;
5793 }
5794
5795
5796 static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj;
5798 wxPyShape *arg1 = (wxPyShape *) 0 ;
5799 PyObject * obj0 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "self", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
5805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 (arg1)->SetDefaultRegionSize();
5809
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 Py_INCREF(Py_None); resultobj = Py_None;
5814 return resultobj;
5815 fail:
5816 return NULL;
5817 }
5818
5819
5820 static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxPyShape *arg1 = (wxPyShape *) 0 ;
5823 wxDC *arg2 = 0 ;
5824 wxString *arg3 = 0 ;
5825 int arg4 = (int) 0 ;
5826 bool temp3 = False ;
5827 PyObject * obj0 = 0 ;
5828 PyObject * obj1 = 0 ;
5829 PyObject * obj2 = 0 ;
5830 PyObject * obj3 = 0 ;
5831 char *kwnames[] = {
5832 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5833 };
5834
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 if (arg2 == NULL) {
5839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5840 }
5841 {
5842 arg3 = wxString_in_helper(obj2);
5843 if (arg3 == NULL) SWIG_fail;
5844 temp3 = True;
5845 }
5846 if (obj3) {
5847 {
5848 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 }
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 Py_INCREF(Py_None); resultobj = Py_None;
5860 {
5861 if (temp3)
5862 delete arg3;
5863 }
5864 return resultobj;
5865 fail:
5866 {
5867 if (temp3)
5868 delete arg3;
5869 }
5870 return NULL;
5871 }
5872
5873
5874 static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj;
5876 wxPyShape *arg1 = (wxPyShape *) 0 ;
5877 int arg2 ;
5878 int arg3 = (int) 0 ;
5879 PyObject * obj0 = 0 ;
5880 PyObject * obj1 = 0 ;
5881 PyObject * obj2 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
5887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5888 {
5889 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 if (obj2) {
5893 {
5894 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 }
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 (arg1)->SetFormatMode(arg2,arg3);
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 Py_INCREF(Py_None); resultobj = Py_None;
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxPyShape *arg1 = (wxPyShape *) 0 ;
5915 int arg2 = (int) 0 ;
5916 int result;
5917 PyObject * obj0 = 0 ;
5918 PyObject * obj1 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self",(char *) "regionId", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
5924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5925 if (obj1) {
5926 {
5927 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 }
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (int)(arg1)->GetFormatMode(arg2);
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 resultobj = SWIG_PyObj_FromInt((int)result);
5939 return resultobj;
5940 fail:
5941 return NULL;
5942 }
5943
5944
5945 static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5946 PyObject *resultobj;
5947 wxPyShape *arg1 = (wxPyShape *) 0 ;
5948 wxFont *arg2 = (wxFont *) 0 ;
5949 int arg3 = (int) 0 ;
5950 PyObject * obj0 = 0 ;
5951 PyObject * obj1 = 0 ;
5952 PyObject * obj2 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self",(char *) "font",(char *) "regionId", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5959 {
5960 wxFont* temp;
5961 if (obj1) {
5962 if (obj1 == Py_None) {
5963 temp = NULL;
5964 }
5965 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
5966 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
5967 return NULL;
5968 }
5969 }
5970 if (temp)
5971 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
5972 temp->GetFamily(),
5973 temp->GetStyle(),
5974 temp->GetWeight(),
5975 temp->GetUnderlined(),
5976 temp->GetFaceName(),
5977 temp->GetEncoding());
5978 else
5979 arg2 = NULL;
5980 }
5981 if (obj2) {
5982 {
5983 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 }
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 (arg1)->SetFont(arg2,arg3);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 Py_INCREF(Py_None); resultobj = Py_None;
5995 return resultobj;
5996 fail:
5997 return NULL;
5998 }
5999
6000
6001 static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxPyShape *arg1 = (wxPyShape *) 0 ;
6004 int arg2 = (int) 0 ;
6005 wxFont *result;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self",(char *) "regionId", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
6013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6014 if (obj1) {
6015 {
6016 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 }
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (wxFont *)(arg1)->GetFont(arg2);
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxPyShape *arg1 = (wxPyShape *) 0 ;
6037 wxString *arg2 = 0 ;
6038 int arg3 = (int) 0 ;
6039 bool temp2 = False ;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 PyObject * obj2 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6049 {
6050 arg2 = wxString_in_helper(obj1);
6051 if (arg2 == NULL) SWIG_fail;
6052 temp2 = True;
6053 }
6054 if (obj2) {
6055 {
6056 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 }
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6063
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 Py_INCREF(Py_None); resultobj = Py_None;
6068 {
6069 if (temp2)
6070 delete arg2;
6071 }
6072 return resultobj;
6073 fail:
6074 {
6075 if (temp2)
6076 delete arg2;
6077 }
6078 return NULL;
6079 }
6080
6081
6082 static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj;
6084 wxPyShape *arg1 = (wxPyShape *) 0 ;
6085 int arg2 = (int) 0 ;
6086 wxString result;
6087 PyObject * obj0 = 0 ;
6088 PyObject * obj1 = 0 ;
6089 char *kwnames[] = {
6090 (char *) "self",(char *) "regionId", NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
6094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6095 if (obj1) {
6096 {
6097 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 }
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (arg1)->GetTextColour(arg2);
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 {
6109 #if wxUSE_UNICODE
6110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6111 #else
6112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6113 #endif
6114 }
6115 return resultobj;
6116 fail:
6117 return NULL;
6118 }
6119
6120
6121 static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj;
6123 wxPyShape *arg1 = (wxPyShape *) 0 ;
6124 int result;
6125 PyObject * obj0 = 0 ;
6126 char *kwnames[] = {
6127 (char *) "self", NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
6131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 result = (int)(arg1)->GetNumberOfTextRegions();
6135
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 resultobj = SWIG_PyObj_FromInt((int)result);
6140 return resultobj;
6141 fail:
6142 return NULL;
6143 }
6144
6145
6146 static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj;
6148 wxPyShape *arg1 = (wxPyShape *) 0 ;
6149 wxString *arg2 = 0 ;
6150 int arg3 = (int) 0 ;
6151 bool temp2 = False ;
6152 PyObject * obj0 = 0 ;
6153 PyObject * obj1 = 0 ;
6154 PyObject * obj2 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self",(char *) "name",(char *) "regionId", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6161 {
6162 arg2 = wxString_in_helper(obj1);
6163 if (arg2 == NULL) SWIG_fail;
6164 temp2 = True;
6165 }
6166 if (obj2) {
6167 {
6168 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 }
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 {
6181 if (temp2)
6182 delete arg2;
6183 }
6184 return resultobj;
6185 fail:
6186 {
6187 if (temp2)
6188 delete arg2;
6189 }
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxPyShape *arg1 = (wxPyShape *) 0 ;
6197 int arg2 ;
6198 wxString result;
6199 PyObject * obj0 = 0 ;
6200 PyObject * obj1 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "self",(char *) "regionId", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
6206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6207 {
6208 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 result = (arg1)->GetRegionName(arg2);
6214
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 {
6219 #if wxUSE_UNICODE
6220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6221 #else
6222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6223 #endif
6224 }
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxPyShape *arg1 = (wxPyShape *) 0 ;
6234 wxString *arg2 = 0 ;
6235 int result;
6236 bool temp2 = False ;
6237 PyObject * obj0 = 0 ;
6238 PyObject * obj1 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "name", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6245 {
6246 arg2 = wxString_in_helper(obj1);
6247 if (arg2 == NULL) SWIG_fail;
6248 temp2 = True;
6249 }
6250 {
6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
6252 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6253
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 resultobj = SWIG_PyObj_FromInt((int)result);
6258 {
6259 if (temp2)
6260 delete arg2;
6261 }
6262 return resultobj;
6263 fail:
6264 {
6265 if (temp2)
6266 delete arg2;
6267 }
6268 return NULL;
6269 }
6270
6271
6272 static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxPyShape *arg1 = (wxPyShape *) 0 ;
6275 wxString const &arg2_defvalue = wxPyEmptyString ;
6276 wxString *arg2 = (wxString *) &arg2_defvalue ;
6277 bool temp2 = False ;
6278 PyObject * obj0 = 0 ;
6279 PyObject * obj1 = 0 ;
6280 char *kwnames[] = {
6281 (char *) "self",(char *) "parentName", NULL
6282 };
6283
6284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
6285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6286 if (obj1) {
6287 {
6288 arg2 = wxString_in_helper(obj1);
6289 if (arg2 == NULL) SWIG_fail;
6290 temp2 = True;
6291 }
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->NameRegions((wxString const &)*arg2);
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 Py_INCREF(Py_None); resultobj = Py_None;
6301 {
6302 if (temp2)
6303 delete arg2;
6304 }
6305 return resultobj;
6306 fail:
6307 {
6308 if (temp2)
6309 delete arg2;
6310 }
6311 return NULL;
6312 }
6313
6314
6315 static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxPyShape *arg1 = (wxPyShape *) 0 ;
6318 PyObject *result;
6319 PyObject * obj0 = 0 ;
6320 char *kwnames[] = {
6321 (char *) "self", NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
6325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 result = (PyObject *)wxPyShape_GetRegions(arg1);
6329
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = result;
6334 return resultobj;
6335 fail:
6336 return NULL;
6337 }
6338
6339
6340 static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6341 PyObject *resultobj;
6342 wxPyShape *arg1 = (wxPyShape *) 0 ;
6343 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self",(char *) "region", NULL
6348 };
6349
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
6351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 (arg1)->AddRegion(arg2);
6356
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 Py_INCREF(Py_None); resultobj = Py_None;
6361 return resultobj;
6362 fail:
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxPyShape *arg1 = (wxPyShape *) 0 ;
6370 PyObject * obj0 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6377 {
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 (arg1)->ClearRegions();
6380
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 Py_INCREF(Py_None); resultobj = Py_None;
6385 return resultobj;
6386 fail:
6387 return NULL;
6388 }
6389
6390
6391 static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxPyShape *arg1 = (wxPyShape *) 0 ;
6394 PyObject * obj0 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 (arg1)->AssignNewIds();
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 Py_INCREF(Py_None); resultobj = Py_None;
6409 return resultobj;
6410 fail:
6411 return NULL;
6412 }
6413
6414
6415 static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj;
6417 wxPyShape *arg1 = (wxPyShape *) 0 ;
6418 wxString *arg2 = 0 ;
6419 int *arg3 = (int *) 0 ;
6420 wxPyShape *result;
6421 bool temp2 = False ;
6422 int temp3 ;
6423 PyObject * obj0 = 0 ;
6424 PyObject * obj1 = 0 ;
6425 char *kwnames[] = {
6426 (char *) "self",(char *) "regionName", NULL
6427 };
6428
6429 arg3 = &temp3;
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
6431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6432 {
6433 arg2 = wxString_in_helper(obj1);
6434 if (arg2 == NULL) SWIG_fail;
6435 temp2 = True;
6436 }
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 {
6445 resultobj = wxPyMake_wxShapeEvtHandler(result);
6446 }
6447 {
6448 PyObject *o = PyInt_FromLong((long) (*arg3));
6449 resultobj = t_output_helper(resultobj,o);
6450 }
6451 {
6452 if (temp2)
6453 delete arg2;
6454 }
6455 return resultobj;
6456 fail:
6457 {
6458 if (temp2)
6459 delete arg2;
6460 }
6461 return NULL;
6462 }
6463
6464
6465 static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxPyShape *arg1 = (wxPyShape *) 0 ;
6468 wxStringList *arg2 = 0 ;
6469 PyObject * obj0 = 0 ;
6470 PyObject * obj1 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "self",(char *) "list", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
6476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6477 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStringList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6478 if (arg2 == NULL) {
6479 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 (arg1)->FindRegionNames(*arg2);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 Py_INCREF(Py_None); resultobj = Py_None;
6489 return resultobj;
6490 fail:
6491 return NULL;
6492 }
6493
6494
6495 static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj;
6497 wxPyShape *arg1 = (wxPyShape *) 0 ;
6498 int arg2 = (int) 0 ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 char *kwnames[] = {
6502 (char *) "self",(char *) "regionId", NULL
6503 };
6504
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
6506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6507 if (obj1) {
6508 {
6509 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 }
6513 {
6514 PyThreadState* __tstate = wxPyBeginAllowThreads();
6515 (arg1)->ClearText(arg2);
6516
6517 wxPyEndAllowThreads(__tstate);
6518 if (PyErr_Occurred()) SWIG_fail;
6519 }
6520 Py_INCREF(Py_None); resultobj = Py_None;
6521 return resultobj;
6522 fail:
6523 return NULL;
6524 }
6525
6526
6527 static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6528 PyObject *resultobj;
6529 wxPyShape *arg1 = (wxPyShape *) 0 ;
6530 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self",(char *) "line", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
6538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 (arg1)->RemoveLine(arg2);
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 Py_INCREF(Py_None); resultobj = Py_None;
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject *resultobj;
6556 wxPyShape *arg1 = (wxPyShape *) 0 ;
6557 int arg2 ;
6558 double *arg3 = (double *) 0 ;
6559 double *arg4 = (double *) 0 ;
6560 int arg5 = (int) 0 ;
6561 int arg6 = (int) 1 ;
6562 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6563 bool result;
6564 double temp3 ;
6565 double temp4 ;
6566 PyObject * obj0 = 0 ;
6567 PyObject * obj1 = 0 ;
6568 PyObject * obj2 = 0 ;
6569 PyObject * obj3 = 0 ;
6570 PyObject * obj4 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6573 };
6574
6575 arg3 = &temp3;
6576 arg4 = &temp4;
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6579 {
6580 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 if (obj2) {
6584 {
6585 arg5 = (int) SWIG_PyObj_AsInt(obj2);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 }
6589 if (obj3) {
6590 {
6591 arg6 = (int) SWIG_PyObj_AsInt(obj3);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 }
6595 if (obj4) {
6596 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6597 }
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6606 {
6607 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6608 resultobj = t_output_helper(resultobj,o);
6609 }
6610 {
6611 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6612 resultobj = t_output_helper(resultobj,o);
6613 }
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj;
6622 wxPyShape *arg1 = (wxPyShape *) 0 ;
6623 int result;
6624 PyObject * obj0 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
6630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 result = (int)(arg1)->GetNumberOfAttachments();
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 resultobj = SWIG_PyObj_FromInt((int)result);
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj;
6647 wxPyShape *arg1 = (wxPyShape *) 0 ;
6648 int arg2 ;
6649 bool result;
6650 PyObject * obj0 = 0 ;
6651 PyObject * obj1 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "self",(char *) "attachment", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
6657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6658 {
6659 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
6664 result = (bool)(arg1)->AttachmentIsValid(arg2);
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6670 return resultobj;
6671 fail:
6672 return NULL;
6673 }
6674
6675
6676 static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj;
6678 wxPyShape *arg1 = (wxPyShape *) 0 ;
6679 PyObject *result;
6680 PyObject * obj0 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
6686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 resultobj = result;
6695 return resultobj;
6696 fail:
6697 return NULL;
6698 }
6699
6700
6701 static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxPyShape *arg1 = (wxPyShape *) 0 ;
6704 int arg2 ;
6705 double *arg3 = (double *) 0 ;
6706 double *arg4 = (double *) 0 ;
6707 int arg5 = (int) 0 ;
6708 int arg6 = (int) 1 ;
6709 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6710 bool result;
6711 double temp3 ;
6712 double temp4 ;
6713 PyObject * obj0 = 0 ;
6714 PyObject * obj1 = 0 ;
6715 PyObject * obj2 = 0 ;
6716 PyObject * obj3 = 0 ;
6717 PyObject * obj4 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6720 };
6721
6722 arg3 = &temp3;
6723 arg4 = &temp4;
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6726 {
6727 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 if (obj2) {
6731 {
6732 arg5 = (int) SWIG_PyObj_AsInt(obj2);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 }
6736 if (obj3) {
6737 {
6738 arg6 = (int) SWIG_PyObj_AsInt(obj3);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 }
6742 if (obj4) {
6743 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6744 }
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6753 {
6754 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6755 resultobj = t_output_helper(resultobj,o);
6756 }
6757 {
6758 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6759 resultobj = t_output_helper(resultobj,o);
6760 }
6761 return resultobj;
6762 fail:
6763 return NULL;
6764 }
6765
6766
6767 static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6768 PyObject *resultobj;
6769 wxPyShape *arg1 = (wxPyShape *) 0 ;
6770 wxRealPoint *arg2 = 0 ;
6771 wxRealPoint *arg3 = 0 ;
6772 int arg4 ;
6773 int arg5 ;
6774 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6775 wxRealPoint result;
6776 wxRealPoint temp2 ;
6777 wxRealPoint temp3 ;
6778 PyObject * obj0 = 0 ;
6779 PyObject * obj1 = 0 ;
6780 PyObject * obj2 = 0 ;
6781 PyObject * obj3 = 0 ;
6782 PyObject * obj4 = 0 ;
6783 PyObject * obj5 = 0 ;
6784 char *kwnames[] = {
6785 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6786 };
6787
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6790 {
6791 arg2 = &temp2;
6792 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6793 }
6794 {
6795 arg3 = &temp3;
6796 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6797 }
6798 {
6799 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 {
6803 arg5 = (int) SWIG_PyObj_AsInt(obj4);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 {
6815 wxRealPoint * resultptr;
6816 resultptr = new wxRealPoint((wxRealPoint &) result);
6817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
6818 }
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxPyShape *arg1 = (wxPyShape *) 0 ;
6828 int arg2 ;
6829 wxRealPoint *arg3 = 0 ;
6830 wxRealPoint *arg4 = 0 ;
6831 bool result;
6832 wxRealPoint temp3 ;
6833 wxRealPoint temp4 ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836 PyObject * obj2 = 0 ;
6837 PyObject * obj3 = 0 ;
6838 char *kwnames[] = {
6839 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6840 };
6841
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6844 {
6845 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849 arg3 = &temp3;
6850 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6851 }
6852 {
6853 arg4 = &temp4;
6854 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6855 }
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6859
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6864 return resultobj;
6865 fail:
6866 return NULL;
6867 }
6868
6869
6870 static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6871 PyObject *resultobj;
6872 wxPyShape *arg1 = (wxPyShape *) 0 ;
6873 wxDC *arg2 = 0 ;
6874 int arg3 = (int) -1 ;
6875 bool arg4 = (bool) False ;
6876 PyObject * obj0 = 0 ;
6877 PyObject * obj1 = 0 ;
6878 PyObject * obj2 = 0 ;
6879 PyObject * obj3 = 0 ;
6880 char *kwnames[] = {
6881 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6882 };
6883
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6887 if (arg2 == NULL) {
6888 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6889 }
6890 if (obj2) {
6891 {
6892 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 }
6896 if (obj3) {
6897 {
6898 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 }
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 (arg1)->EraseLinks(*arg2,arg3,arg4);
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
6909 Py_INCREF(Py_None); resultobj = Py_None;
6910 return resultobj;
6911 fail:
6912 return NULL;
6913 }
6914
6915
6916 static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject *resultobj;
6918 wxPyShape *arg1 = (wxPyShape *) 0 ;
6919 wxDC *arg2 = 0 ;
6920 int arg3 = (int) -1 ;
6921 bool arg4 = (bool) False ;
6922 PyObject * obj0 = 0 ;
6923 PyObject * obj1 = 0 ;
6924 PyObject * obj2 = 0 ;
6925 PyObject * obj3 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6933 if (arg2 == NULL) {
6934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6935 }
6936 if (obj2) {
6937 {
6938 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 }
6942 if (obj3) {
6943 {
6944 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 }
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 (arg1)->DrawLinks(*arg2,arg3,arg4);
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 Py_INCREF(Py_None); resultobj = Py_None;
6956 return resultobj;
6957 fail:
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxPyShape *arg1 = (wxPyShape *) 0 ;
6965 wxDC *arg2 = 0 ;
6966 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
6967 double arg4 ;
6968 double arg5 ;
6969 bool result;
6970 PyObject * obj0 = 0 ;
6971 PyObject * obj1 = 0 ;
6972 PyObject * obj2 = 0 ;
6973 PyObject * obj3 = 0 ;
6974 PyObject * obj4 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6982 if (arg2 == NULL) {
6983 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6984 }
6985 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6986 {
6987 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 {
6991 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 {
6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
6996 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
6997
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7002 return resultobj;
7003 fail:
7004 return NULL;
7005 }
7006
7007
7008 static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
7009 PyObject *resultobj;
7010 wxPyShape *arg1 = (wxPyShape *) 0 ;
7011 PyObject *arg2 = (PyObject *) 0 ;
7012 PyObject * obj0 = 0 ;
7013 PyObject * obj1 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "self",(char *) "linesToSort", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
7019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7020 arg2 = obj1;
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 Py_INCREF(Py_None); resultobj = Py_None;
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 wxPyShape *arg1 = (wxPyShape *) 0 ;
7038 int arg2 ;
7039 wxRealPoint result;
7040 PyObject * obj0 = 0 ;
7041 PyObject * obj1 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self",(char *) "attachment", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
7047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7048 {
7049 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 {
7060 wxRealPoint * resultptr;
7061 resultptr = new wxRealPoint((wxRealPoint &) result);
7062 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
7063 }
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxPyShape *arg1 = (wxPyShape *) 0 ;
7073 int arg2 ;
7074 wxRealPoint *arg3 = 0 ;
7075 wxRealPoint *arg4 = 0 ;
7076 wxRealPoint *arg5 = 0 ;
7077 wxRealPoint *arg6 = 0 ;
7078 bool result;
7079 wxRealPoint temp3 ;
7080 wxRealPoint temp4 ;
7081 wxRealPoint temp5 ;
7082 wxRealPoint temp6 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 PyObject * obj2 = 0 ;
7086 PyObject * obj3 = 0 ;
7087 PyObject * obj4 = 0 ;
7088 PyObject * obj5 = 0 ;
7089 char *kwnames[] = {
7090 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7095 {
7096 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 }
7099 {
7100 arg3 = &temp3;
7101 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7102 }
7103 {
7104 arg4 = &temp4;
7105 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7106 }
7107 {
7108 arg5 = &temp5;
7109 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7110 }
7111 {
7112 arg6 = &temp6;
7113 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7114 }
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxPyShape *arg1 = (wxPyShape *) 0 ;
7132 int arg2 ;
7133 int arg3 ;
7134 wxRealPoint *arg4 = 0 ;
7135 wxRealPoint *arg5 = 0 ;
7136 bool result;
7137 wxRealPoint temp4 ;
7138 wxRealPoint temp5 ;
7139 PyObject * obj0 = 0 ;
7140 PyObject * obj1 = 0 ;
7141 PyObject * obj2 = 0 ;
7142 PyObject * obj3 = 0 ;
7143 PyObject * obj4 = 0 ;
7144 char *kwnames[] = {
7145 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7150 {
7151 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 }
7154 {
7155 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 {
7159 arg4 = &temp4;
7160 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7161 }
7162 {
7163 arg5 = &temp5;
7164 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7165 }
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7174 return resultobj;
7175 fail:
7176 return NULL;
7177 }
7178
7179
7180 static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxPyShape *arg1 = (wxPyShape *) 0 ;
7183 int arg2 ;
7184 int result;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self",(char *) "attachment", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7193 {
7194 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7200
7201 wxPyEndAllowThreads(__tstate);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 }
7204 resultobj = SWIG_PyObj_FromInt((int)result);
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxPyShape *arg1 = (wxPyShape *) 0 ;
7214 int arg2 ;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "len", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
7222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7223 {
7224 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 (arg1)->SetBranchNeckLength(arg2);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 Py_INCREF(Py_None); resultobj = Py_None;
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxPyShape *arg1 = (wxPyShape *) 0 ;
7244 int result;
7245 PyObject * obj0 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
7251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (int)(arg1)->GetBranchNeckLength();
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 resultobj = SWIG_PyObj_FromInt((int)result);
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxPyShape *arg1 = (wxPyShape *) 0 ;
7269 int arg2 ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 char *kwnames[] = {
7273 (char *) "self",(char *) "len", NULL
7274 };
7275
7276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
7277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7278 {
7279 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 (arg1)->SetBranchStemLength(arg2);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 Py_INCREF(Py_None); resultobj = Py_None;
7290 return resultobj;
7291 fail:
7292 return NULL;
7293 }
7294
7295
7296 static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj;
7298 wxPyShape *arg1 = (wxPyShape *) 0 ;
7299 int result;
7300 PyObject * obj0 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 result = (int)(arg1)->GetBranchStemLength();
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 }
7314 resultobj = SWIG_PyObj_FromInt((int)result);
7315 return resultobj;
7316 fail:
7317 return NULL;
7318 }
7319
7320
7321 static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7322 PyObject *resultobj;
7323 wxPyShape *arg1 = (wxPyShape *) 0 ;
7324 int arg2 ;
7325 PyObject * obj0 = 0 ;
7326 PyObject * obj1 = 0 ;
7327 char *kwnames[] = {
7328 (char *) "self",(char *) "len", NULL
7329 };
7330
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
7332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7333 {
7334 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 (arg1)->SetBranchSpacing(arg2);
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 Py_INCREF(Py_None); resultobj = Py_None;
7345 return resultobj;
7346 fail:
7347 return NULL;
7348 }
7349
7350
7351 static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject *resultobj;
7353 wxPyShape *arg1 = (wxPyShape *) 0 ;
7354 int result;
7355 PyObject * obj0 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "self", NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
7361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 result = (int)(arg1)->GetBranchSpacing();
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 resultobj = SWIG_PyObj_FromInt((int)result);
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxPyShape *arg1 = (wxPyShape *) 0 ;
7379 long arg2 ;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "self",(char *) "style", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
7387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7388 {
7389 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 (arg1)->SetBranchStyle(arg2);
7395
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 Py_INCREF(Py_None); resultobj = Py_None;
7400 return resultobj;
7401 fail:
7402 return NULL;
7403 }
7404
7405
7406 static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj;
7408 wxPyShape *arg1 = (wxPyShape *) 0 ;
7409 long result;
7410 PyObject * obj0 = 0 ;
7411 char *kwnames[] = {
7412 (char *) "self", NULL
7413 };
7414
7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
7416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 result = (long)(arg1)->GetBranchStyle();
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 resultobj = SWIG_PyObj_FromLong((long)result);
7425 return resultobj;
7426 fail:
7427 return NULL;
7428 }
7429
7430
7431 static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxPyShape *arg1 = (wxPyShape *) 0 ;
7434 int arg2 ;
7435 int result;
7436 PyObject * obj0 = 0 ;
7437 PyObject * obj1 = 0 ;
7438 char *kwnames[] = {
7439 (char *) "self",(char *) "physicalAttachment", NULL
7440 };
7441
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7444 {
7445 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 resultobj = SWIG_PyObj_FromInt((int)result);
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxPyShape *arg1 = (wxPyShape *) 0 ;
7465 int arg2 ;
7466 int result;
7467 PyObject * obj0 = 0 ;
7468 PyObject * obj1 = 0 ;
7469 char *kwnames[] = {
7470 (char *) "self",(char *) "logicalAttachment", NULL
7471 };
7472
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7475 {
7476 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 resultobj = SWIG_PyObj_FromInt((int)result);
7487 return resultobj;
7488 fail:
7489 return NULL;
7490 }
7491
7492
7493 static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxPyShape *arg1 = (wxPyShape *) 0 ;
7496 bool result;
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
7503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 result = (bool)(arg1)->Draggable();
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7512 return resultobj;
7513 fail:
7514 return NULL;
7515 }
7516
7517
7518 static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj;
7520 wxPyShape *arg1 = (wxPyShape *) 0 ;
7521 wxPyShape *arg2 = (wxPyShape *) 0 ;
7522 bool result;
7523 PyObject * obj0 = 0 ;
7524 PyObject * obj1 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self",(char *) "image", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (bool)(arg1)->HasDescendant(arg2);
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7540 return resultobj;
7541 fail:
7542 return NULL;
7543 }
7544
7545
7546 static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxPyShape *arg1 = (wxPyShape *) 0 ;
7549 bool arg2 = (bool) True ;
7550 bool arg3 = (bool) True ;
7551 wxPyShape *result;
7552 PyObject * obj0 = 0 ;
7553 PyObject * obj1 = 0 ;
7554 PyObject * obj2 = 0 ;
7555 char *kwnames[] = {
7556 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7557 };
7558
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
7560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7561 if (obj1) {
7562 {
7563 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 }
7567 if (obj2) {
7568 {
7569 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 }
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 {
7581 resultobj = wxPyMake_wxShapeEvtHandler(result);
7582 }
7583 return resultobj;
7584 fail:
7585 return NULL;
7586 }
7587
7588
7589 static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj;
7591 wxPyShape *arg1 = (wxPyShape *) 0 ;
7592 wxPyShape *arg2 = 0 ;
7593 PyObject * obj0 = 0 ;
7594 PyObject * obj1 = 0 ;
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "copy", NULL
7597 };
7598
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
7600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7601 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7602 if (arg2 == NULL) {
7603 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7604 }
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 (arg1)->Copy(*arg2);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 Py_INCREF(Py_None); resultobj = Py_None;
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxPyShape *arg1 = (wxPyShape *) 0 ;
7622 wxPyShape *arg2 = 0 ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self",(char *) "copy", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
7630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 if (arg2 == NULL) {
7633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7634 }
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 (arg1)->CopyWithHandler(*arg2);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 Py_INCREF(Py_None); resultobj = Py_None;
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj;
7651 wxPyShape *arg1 = (wxPyShape *) 0 ;
7652 double arg2 ;
7653 double arg3 ;
7654 double arg4 ;
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 PyObject * obj2 = 0 ;
7658 PyObject * obj3 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7665 {
7666 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 {
7670 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 {
7674 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 (arg1)->Rotate(arg2,arg3,arg4);
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 Py_INCREF(Py_None); resultobj = Py_None;
7685 return resultobj;
7686 fail:
7687 return NULL;
7688 }
7689
7690
7691 static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj;
7693 wxPyShape *arg1 = (wxPyShape *) 0 ;
7694 double result;
7695 PyObject * obj0 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (double)(arg1)->GetRotation();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 resultobj = SWIG_PyObj_FromDouble((double)result);
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxPyShape *arg1 = (wxPyShape *) 0 ;
7719 double arg2 ;
7720 PyObject * obj0 = 0 ;
7721 PyObject * obj1 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self",(char *) "rotation", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
7727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7728 {
7729 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->SetRotation(arg2);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj;
7748 wxPyShape *arg1 = (wxPyShape *) 0 ;
7749 PyObject * obj0 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 (arg1)->ClearAttachments();
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 Py_INCREF(Py_None); resultobj = Py_None;
7764 return resultobj;
7765 fail:
7766 return NULL;
7767 }
7768
7769
7770 static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxPyShape *arg1 = (wxPyShape *) 0 ;
7773 wxDC *arg2 = 0 ;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self",(char *) "dc", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) 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)->Recentre(*arg2);
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_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj;
7802 wxPyShape *arg1 = (wxPyShape *) 0 ;
7803 wxList *arg2 = 0 ;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self",(char *) "list", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",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_wxList,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)->ClearPointList(*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_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj;
7832 wxPyShape *arg1 = (wxPyShape *) 0 ;
7833 wxPen result;
7834 PyObject * obj0 = 0 ;
7835 char *kwnames[] = {
7836 (char *) "self", NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
7840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 result = (arg1)->GetBackgroundPen();
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 {
7849 wxPen * resultptr;
7850 resultptr = new wxPen((wxPen &) result);
7851 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPen, 1);
7852 }
7853 return resultobj;
7854 fail:
7855 return NULL;
7856 }
7857
7858
7859 static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxPyShape *arg1 = (wxPyShape *) 0 ;
7862 wxBrush result;
7863 PyObject * obj0 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
7869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 result = (arg1)->GetBackgroundBrush();
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 {
7878 wxBrush * resultptr;
7879 resultptr = new wxBrush((wxBrush &) result);
7880 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBrush, 1);
7881 }
7882 return resultobj;
7883 fail:
7884 return NULL;
7885 }
7886
7887
7888 static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
7889 PyObject *resultobj;
7890 wxPyShape *arg1 = (wxPyShape *) 0 ;
7891 PyObject * obj0 = 0 ;
7892 char *kwnames[] = {
7893 (char *) "self", NULL
7894 };
7895
7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
7897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 (arg1)->base_OnDelete();
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 Py_INCREF(Py_None); resultobj = Py_None;
7906 return resultobj;
7907 fail:
7908 return NULL;
7909 }
7910
7911
7912 static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7913 PyObject *resultobj;
7914 wxPyShape *arg1 = (wxPyShape *) 0 ;
7915 wxDC *arg2 = 0 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self",(char *) "dc", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
7923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7925 if (arg2 == NULL) {
7926 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7927 }
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 (arg1)->base_OnDraw(*arg2);
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 Py_INCREF(Py_None); resultobj = Py_None;
7936 return resultobj;
7937 fail:
7938 return NULL;
7939 }
7940
7941
7942 static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7943 PyObject *resultobj;
7944 wxPyShape *arg1 = (wxPyShape *) 0 ;
7945 wxDC *arg2 = 0 ;
7946 PyObject * obj0 = 0 ;
7947 PyObject * obj1 = 0 ;
7948 char *kwnames[] = {
7949 (char *) "self",(char *) "dc", NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
7953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7955 if (arg2 == NULL) {
7956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7957 }
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 (arg1)->base_OnDrawContents(*arg2);
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 Py_INCREF(Py_None); resultobj = Py_None;
7966 return resultobj;
7967 fail:
7968 return NULL;
7969 }
7970
7971
7972 static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxPyShape *arg1 = (wxPyShape *) 0 ;
7975 wxDC *arg2 = 0 ;
7976 bool arg3 = (bool) False ;
7977 PyObject * obj0 = 0 ;
7978 PyObject * obj1 = 0 ;
7979 PyObject * obj2 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self",(char *) "dc",(char *) "erase", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
7985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7987 if (arg2 == NULL) {
7988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7989 }
7990 if (obj2) {
7991 {
7992 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 (arg1)->base_OnDrawBranches(*arg2,arg3);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxPyShape *arg1 = (wxPyShape *) 0 ;
8013 wxDC *arg2 = 0 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "dc", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
8021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8023 if (arg2 == NULL) {
8024 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8025 }
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 (arg1)->base_OnMoveLinks(*arg2);
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) SWIG_fail;
8032 }
8033 Py_INCREF(Py_None); resultobj = Py_None;
8034 return resultobj;
8035 fail:
8036 return NULL;
8037 }
8038
8039
8040 static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 wxPyShape *arg1 = (wxPyShape *) 0 ;
8043 wxDC *arg2 = 0 ;
8044 PyObject * obj0 = 0 ;
8045 PyObject * obj1 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "dc", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8053 if (arg2 == NULL) {
8054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8055 }
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 (arg1)->base_OnErase(*arg2);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 Py_INCREF(Py_None); resultobj = Py_None;
8064 return resultobj;
8065 fail:
8066 return NULL;
8067 }
8068
8069
8070 static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8071 PyObject *resultobj;
8072 wxPyShape *arg1 = (wxPyShape *) 0 ;
8073 wxDC *arg2 = 0 ;
8074 PyObject * obj0 = 0 ;
8075 PyObject * obj1 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "self",(char *) "dc", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
8081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8083 if (arg2 == NULL) {
8084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8085 }
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 (arg1)->base_OnEraseContents(*arg2);
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 Py_INCREF(Py_None); resultobj = Py_None;
8094 return resultobj;
8095 fail:
8096 return NULL;
8097 }
8098
8099
8100 static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxPyShape *arg1 = (wxPyShape *) 0 ;
8103 wxDC *arg2 = 0 ;
8104 PyObject * obj0 = 0 ;
8105 PyObject * obj1 = 0 ;
8106 char *kwnames[] = {
8107 (char *) "self",(char *) "dc", NULL
8108 };
8109
8110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
8111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 if (arg2 == NULL) {
8114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8115 }
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 (arg1)->base_OnHighlight(*arg2);
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 Py_INCREF(Py_None); resultobj = Py_None;
8124 return resultobj;
8125 fail:
8126 return NULL;
8127 }
8128
8129
8130 static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxPyShape *arg1 = (wxPyShape *) 0 ;
8133 double arg2 ;
8134 double arg3 ;
8135 int arg4 = (int) 0 ;
8136 int arg5 = (int) 0 ;
8137 PyObject * obj0 = 0 ;
8138 PyObject * obj1 = 0 ;
8139 PyObject * obj2 = 0 ;
8140 PyObject * obj3 = 0 ;
8141 PyObject * obj4 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8148 {
8149 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 {
8153 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 if (obj3) {
8157 {
8158 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 }
8162 if (obj4) {
8163 {
8164 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 Py_INCREF(Py_None); resultobj = Py_None;
8176 return resultobj;
8177 fail:
8178 return NULL;
8179 }
8180
8181
8182 static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8183 PyObject *resultobj;
8184 wxPyShape *arg1 = (wxPyShape *) 0 ;
8185 double arg2 ;
8186 double arg3 ;
8187 int arg4 = (int) 0 ;
8188 int arg5 = (int) 0 ;
8189 PyObject * obj0 = 0 ;
8190 PyObject * obj1 = 0 ;
8191 PyObject * obj2 = 0 ;
8192 PyObject * obj3 = 0 ;
8193 PyObject * obj4 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8196 };
8197
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8200 {
8201 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 {
8205 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 if (obj3) {
8209 {
8210 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 }
8214 if (obj4) {
8215 {
8216 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 }
8220 {
8221 PyThreadState* __tstate = wxPyBeginAllowThreads();
8222 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8223
8224 wxPyEndAllowThreads(__tstate);
8225 if (PyErr_Occurred()) SWIG_fail;
8226 }
8227 Py_INCREF(Py_None); resultobj = Py_None;
8228 return resultobj;
8229 fail:
8230 return NULL;
8231 }
8232
8233
8234 static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8235 PyObject *resultobj;
8236 wxPyShape *arg1 = (wxPyShape *) 0 ;
8237 double arg2 ;
8238 double arg3 ;
8239 int arg4 = (int) 0 ;
8240 int arg5 = (int) 0 ;
8241 PyObject * obj0 = 0 ;
8242 PyObject * obj1 = 0 ;
8243 PyObject * obj2 = 0 ;
8244 PyObject * obj3 = 0 ;
8245 PyObject * obj4 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8252 {
8253 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 {
8257 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 }
8260 if (obj3) {
8261 {
8262 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 }
8265 }
8266 if (obj4) {
8267 {
8268 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 }
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 Py_INCREF(Py_None); resultobj = Py_None;
8280 return resultobj;
8281 fail:
8282 return NULL;
8283 }
8284
8285
8286 static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxPyShape *arg1 = (wxPyShape *) 0 ;
8289 double arg2 ;
8290 double arg3 ;
8291 PyObject * obj0 = 0 ;
8292 PyObject * obj1 = 0 ;
8293 PyObject * obj2 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self",(char *) "x",(char *) "y", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8300 {
8301 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 {
8305 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 {
8309 PyThreadState* __tstate = wxPyBeginAllowThreads();
8310 (arg1)->base_OnSize(arg2,arg3);
8311
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 Py_INCREF(Py_None); resultobj = Py_None;
8316 return resultobj;
8317 fail:
8318 return NULL;
8319 }
8320
8321
8322 static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject *resultobj;
8324 wxPyShape *arg1 = (wxPyShape *) 0 ;
8325 wxDC *arg2 = 0 ;
8326 double arg3 ;
8327 double arg4 ;
8328 double arg5 ;
8329 double arg6 ;
8330 bool arg7 = (bool) True ;
8331 bool result;
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 PyObject * obj2 = 0 ;
8335 PyObject * obj3 = 0 ;
8336 PyObject * obj4 = 0 ;
8337 PyObject * obj5 = 0 ;
8338 PyObject * obj6 = 0 ;
8339 char *kwnames[] = {
8340 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8341 };
8342
8343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8346 if (arg2 == NULL) {
8347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8348 }
8349 {
8350 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 {
8354 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 {
8358 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
8359 if (PyErr_Occurred()) SWIG_fail;
8360 }
8361 {
8362 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 if (obj6) {
8366 {
8367 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 }
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxPyShape *arg1 = (wxPyShape *) 0 ;
8388 wxDC *arg2 = 0 ;
8389 double arg3 ;
8390 double arg4 ;
8391 double arg5 ;
8392 double arg6 ;
8393 bool arg7 = (bool) True ;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
8396 PyObject * obj2 = 0 ;
8397 PyObject * obj3 = 0 ;
8398 PyObject * obj4 = 0 ;
8399 PyObject * obj5 = 0 ;
8400 PyObject * obj6 = 0 ;
8401 char *kwnames[] = {
8402 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8408 if (arg2 == NULL) {
8409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8410 }
8411 {
8412 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 {
8416 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 {
8420 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 {
8424 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 if (obj6) {
8428 {
8429 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 }
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxPyShape *arg1 = (wxPyShape *) 0 ;
8450 bool arg2 ;
8451 double arg3 ;
8452 double arg4 ;
8453 int arg5 = (int) 0 ;
8454 int arg6 = (int) 0 ;
8455 PyObject * obj0 = 0 ;
8456 PyObject * obj1 = 0 ;
8457 PyObject * obj2 = 0 ;
8458 PyObject * obj3 = 0 ;
8459 PyObject * obj4 = 0 ;
8460 PyObject * obj5 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8467 {
8468 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 {
8472 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 {
8476 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 if (obj4) {
8480 {
8481 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 }
8485 if (obj5) {
8486 {
8487 arg6 = (int) SWIG_PyObj_AsInt(obj5);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 Py_INCREF(Py_None); resultobj = Py_None;
8499 return resultobj;
8500 fail:
8501 return NULL;
8502 }
8503
8504
8505 static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj;
8507 wxPyShape *arg1 = (wxPyShape *) 0 ;
8508 double arg2 ;
8509 double arg3 ;
8510 int arg4 = (int) 0 ;
8511 int arg5 = (int) 0 ;
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 PyObject * obj2 = 0 ;
8515 PyObject * obj3 = 0 ;
8516 PyObject * obj4 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8523 {
8524 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 {
8528 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 if (obj3) {
8532 {
8533 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 }
8537 if (obj4) {
8538 {
8539 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 }
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 }
8550 Py_INCREF(Py_None); resultobj = Py_None;
8551 return resultobj;
8552 fail:
8553 return NULL;
8554 }
8555
8556
8557 static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8558 PyObject *resultobj;
8559 wxPyShape *arg1 = (wxPyShape *) 0 ;
8560 double arg2 ;
8561 double arg3 ;
8562 int arg4 = (int) 0 ;
8563 int arg5 = (int) 0 ;
8564 PyObject * obj0 = 0 ;
8565 PyObject * obj1 = 0 ;
8566 PyObject * obj2 = 0 ;
8567 PyObject * obj3 = 0 ;
8568 PyObject * obj4 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8575 {
8576 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 {
8580 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
8583 if (obj3) {
8584 {
8585 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 }
8589 if (obj4) {
8590 {
8591 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 }
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 Py_INCREF(Py_None); resultobj = Py_None;
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxPyShape *arg1 = (wxPyShape *) 0 ;
8612 bool arg2 ;
8613 double arg3 ;
8614 double arg4 ;
8615 int arg5 = (int) 0 ;
8616 int arg6 = (int) 0 ;
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619 PyObject * obj2 = 0 ;
8620 PyObject * obj3 = 0 ;
8621 PyObject * obj4 = 0 ;
8622 PyObject * obj5 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8629 {
8630 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 {
8634 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 {
8638 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 if (obj4) {
8642 {
8643 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 }
8646 }
8647 if (obj5) {
8648 {
8649 arg6 = (int) SWIG_PyObj_AsInt(obj5);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 }
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 Py_INCREF(Py_None); resultobj = Py_None;
8661 return resultobj;
8662 fail:
8663 return NULL;
8664 }
8665
8666
8667 static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8668 PyObject *resultobj;
8669 wxPyShape *arg1 = (wxPyShape *) 0 ;
8670 double arg2 ;
8671 double arg3 ;
8672 int arg4 = (int) 0 ;
8673 int arg5 = (int) 0 ;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 PyObject * obj2 = 0 ;
8677 PyObject * obj3 = 0 ;
8678 PyObject * obj4 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8685 {
8686 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 {
8690 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 if (obj3) {
8694 {
8695 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 }
8699 if (obj4) {
8700 {
8701 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 }
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8708
8709 wxPyEndAllowThreads(__tstate);
8710 if (PyErr_Occurred()) SWIG_fail;
8711 }
8712 Py_INCREF(Py_None); resultobj = Py_None;
8713 return resultobj;
8714 fail:
8715 return NULL;
8716 }
8717
8718
8719 static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj;
8721 wxPyShape *arg1 = (wxPyShape *) 0 ;
8722 double arg2 ;
8723 double arg3 ;
8724 int arg4 = (int) 0 ;
8725 int arg5 = (int) 0 ;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 PyObject * obj2 = 0 ;
8729 PyObject * obj3 = 0 ;
8730 PyObject * obj4 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8737 {
8738 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 {
8742 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 if (obj3) {
8746 {
8747 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 }
8751 if (obj4) {
8752 {
8753 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 }
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 Py_INCREF(Py_None); resultobj = Py_None;
8765 return resultobj;
8766 fail:
8767 return NULL;
8768 }
8769
8770
8771 static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxPyShape *arg1 = (wxPyShape *) 0 ;
8774 wxDC *arg2 = 0 ;
8775 double arg3 ;
8776 double arg4 ;
8777 double arg5 ;
8778 double arg6 ;
8779 PyObject * obj0 = 0 ;
8780 PyObject * obj1 = 0 ;
8781 PyObject * obj2 = 0 ;
8782 PyObject * obj3 = 0 ;
8783 PyObject * obj4 = 0 ;
8784 PyObject * obj5 = 0 ;
8785 char *kwnames[] = {
8786 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8787 };
8788
8789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8792 if (arg2 == NULL) {
8793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8794 }
8795 {
8796 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 {
8800 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 {
8804 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 {
8808 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8826 PyObject *resultobj;
8827 wxPyShape *arg1 = (wxPyShape *) 0 ;
8828 wxDC *arg2 = 0 ;
8829 PyObject * obj0 = 0 ;
8830 PyObject * obj1 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "dc", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
8836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8838 if (arg2 == NULL) {
8839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 (arg1)->base_OnDrawControlPoints(*arg2);
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 Py_INCREF(Py_None); resultobj = Py_None;
8849 return resultobj;
8850 fail:
8851 return NULL;
8852 }
8853
8854
8855 static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj;
8857 wxPyShape *arg1 = (wxPyShape *) 0 ;
8858 wxDC *arg2 = 0 ;
8859 PyObject * obj0 = 0 ;
8860 PyObject * obj1 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "self",(char *) "dc", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
8866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8868 if (arg2 == NULL) {
8869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8870 }
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 (arg1)->base_OnEraseControlPoints(*arg2);
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 Py_INCREF(Py_None); resultobj = Py_None;
8879 return resultobj;
8880 fail:
8881 return NULL;
8882 }
8883
8884
8885 static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj;
8887 wxPyShape *arg1 = (wxPyShape *) 0 ;
8888 wxDC *arg2 = 0 ;
8889 bool arg3 = (bool) True ;
8890 PyObject * obj0 = 0 ;
8891 PyObject * obj1 = 0 ;
8892 PyObject * obj2 = 0 ;
8893 char *kwnames[] = {
8894 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8895 };
8896
8897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
8898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8900 if (arg2 == NULL) {
8901 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8902 }
8903 if (obj2) {
8904 {
8905 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 }
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->base_OnMoveLink(*arg2,arg3);
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 Py_INCREF(Py_None); resultobj = Py_None;
8917 return resultobj;
8918 fail:
8919 return NULL;
8920 }
8921
8922
8923 static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxPyShape *arg1 = (wxPyShape *) 0 ;
8926 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8927 bool arg3 ;
8928 double arg4 ;
8929 double arg5 ;
8930 int arg6 = (int) 0 ;
8931 int arg7 = (int) 0 ;
8932 PyObject * obj0 = 0 ;
8933 PyObject * obj1 = 0 ;
8934 PyObject * obj2 = 0 ;
8935 PyObject * obj3 = 0 ;
8936 PyObject * obj4 = 0 ;
8937 PyObject * obj5 = 0 ;
8938 PyObject * obj6 = 0 ;
8939 char *kwnames[] = {
8940 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8941 };
8942
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8946 {
8947 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 {
8951 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 if (obj5) {
8959 {
8960 arg6 = (int) SWIG_PyObj_AsInt(obj5);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 }
8964 if (obj6) {
8965 {
8966 arg7 = (int) SWIG_PyObj_AsInt(obj6);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 }
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 Py_INCREF(Py_None); resultobj = Py_None;
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxPyShape *arg1 = (wxPyShape *) 0 ;
8987 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8988 double arg3 ;
8989 double arg4 ;
8990 int arg5 = (int) 0 ;
8991 int arg6 = (int) 0 ;
8992 PyObject * obj0 = 0 ;
8993 PyObject * obj1 = 0 ;
8994 PyObject * obj2 = 0 ;
8995 PyObject * obj3 = 0 ;
8996 PyObject * obj4 = 0 ;
8997 PyObject * obj5 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9005 {
9006 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 {
9010 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 if (obj4) {
9014 {
9015 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 }
9019 if (obj5) {
9020 {
9021 arg6 = (int) SWIG_PyObj_AsInt(obj5);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 }
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 Py_INCREF(Py_None); resultobj = Py_None;
9033 return resultobj;
9034 fail:
9035 return NULL;
9036 }
9037
9038
9039 static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxPyShape *arg1 = (wxPyShape *) 0 ;
9042 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9043 double arg3 ;
9044 double arg4 ;
9045 int arg5 = (int) 0 ;
9046 int arg6 = (int) 0 ;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj1 = 0 ;
9049 PyObject * obj2 = 0 ;
9050 PyObject * obj3 = 0 ;
9051 PyObject * obj4 = 0 ;
9052 PyObject * obj5 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9060 {
9061 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
9064 {
9065 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 if (obj4) {
9069 {
9070 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 }
9073 }
9074 if (obj5) {
9075 {
9076 arg6 = (int) SWIG_PyObj_AsInt(obj5);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 }
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 Py_INCREF(Py_None); resultobj = Py_None;
9088 return resultobj;
9089 fail:
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxPyShape *arg1 = (wxPyShape *) 0 ;
9097 double arg2 ;
9098 double arg3 ;
9099 PyObject * obj0 = 0 ;
9100 PyObject * obj1 = 0 ;
9101 PyObject * obj2 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self",(char *) "w",(char *) "h", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9108 {
9109 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 {
9113 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 (arg1)->base_OnBeginSize(arg2,arg3);
9119
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 Py_INCREF(Py_None); resultobj = Py_None;
9124 return resultobj;
9125 fail:
9126 return NULL;
9127 }
9128
9129
9130 static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxPyShape *arg1 = (wxPyShape *) 0 ;
9133 double arg2 ;
9134 double arg3 ;
9135 PyObject * obj0 = 0 ;
9136 PyObject * obj1 = 0 ;
9137 PyObject * obj2 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self",(char *) "w",(char *) "h", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9144 {
9145 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 {
9149 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 (arg1)->base_OnEndSize(arg2,arg3);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 Py_INCREF(Py_None); resultobj = Py_None;
9160 return resultobj;
9161 fail:
9162 return NULL;
9163 }
9164
9165
9166 static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
9167 PyObject *obj;
9168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9169 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9170 Py_INCREF(obj);
9171 return Py_BuildValue((char *)"");
9172 }
9173 static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxPseudoMetaFile *result;
9176 char *kwnames[] = {
9177 NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 {
9189 resultobj = wxPyMake_wxObject(result);
9190 }
9191 return resultobj;
9192 fail:
9193 return NULL;
9194 }
9195
9196
9197 static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj;
9199 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
9206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 delete arg1;
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 Py_INCREF(Py_None); resultobj = Py_None;
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9224 wxDC *arg2 = 0 ;
9225 double arg3 ;
9226 double arg4 ;
9227 PyObject * obj0 = 0 ;
9228 PyObject * obj1 = 0 ;
9229 PyObject * obj2 = 0 ;
9230 PyObject * obj3 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9233 };
9234
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9238 if (arg2 == NULL) {
9239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9240 }
9241 {
9242 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 {
9246 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 (arg1)->Draw(*arg2,arg3,arg4);
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 Py_INCREF(Py_None); resultobj = Py_None;
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9266 PyObject * obj0 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 (arg1)->Clear();
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 Py_INCREF(Py_None); resultobj = Py_None;
9281 return resultobj;
9282 fail:
9283 return NULL;
9284 }
9285
9286
9287 static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj;
9289 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9290 wxPseudoMetaFile *arg2 = 0 ;
9291 PyObject * obj0 = 0 ;
9292 PyObject * obj1 = 0 ;
9293 char *kwnames[] = {
9294 (char *) "self",(char *) "copy", NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
9298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9300 if (arg2 == NULL) {
9301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9302 }
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 (arg1)->Copy(*arg2);
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 Py_INCREF(Py_None); resultobj = Py_None;
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9320 double arg2 ;
9321 double arg3 ;
9322 PyObject * obj0 = 0 ;
9323 PyObject * obj1 = 0 ;
9324 PyObject * obj2 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self",(char *) "sx",(char *) "sy", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9331 {
9332 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 {
9336 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 {
9340 PyThreadState* __tstate = wxPyBeginAllowThreads();
9341 (arg1)->Scale(arg2,arg3);
9342
9343 wxPyEndAllowThreads(__tstate);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 }
9346 Py_INCREF(Py_None); resultobj = Py_None;
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9356 double arg2 ;
9357 double arg3 ;
9358 PyObject * obj0 = 0 ;
9359 PyObject * obj1 = 0 ;
9360 PyObject * obj2 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self",(char *) "w",(char *) "h", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9367 {
9368 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
9371 {
9372 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 {
9376 PyThreadState* __tstate = wxPyBeginAllowThreads();
9377 (arg1)->ScaleTo(arg2,arg3);
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 Py_INCREF(Py_None); resultobj = Py_None;
9383 return resultobj;
9384 fail:
9385 return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9392 double arg2 ;
9393 double arg3 ;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 PyObject * obj2 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self",(char *) "x",(char *) "y", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 {
9404 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 }
9407 {
9408 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 (arg1)->Translate(arg2,arg3);
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 Py_INCREF(Py_None); resultobj = Py_None;
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9428 double arg2 ;
9429 double arg3 ;
9430 double arg4 ;
9431 PyObject * obj0 = 0 ;
9432 PyObject * obj1 = 0 ;
9433 PyObject * obj2 = 0 ;
9434 PyObject * obj3 = 0 ;
9435 char *kwnames[] = {
9436 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9437 };
9438
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9441 {
9442 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 {
9446 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 {
9450 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 (arg1)->Rotate(arg2,arg3,arg4);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 Py_INCREF(Py_None); resultobj = Py_None;
9461 return resultobj;
9462 fail:
9463 return NULL;
9464 }
9465
9466
9467 static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9470 wxString *arg2 = 0 ;
9471 double *arg3 = (double *) 0 ;
9472 double *arg4 = (double *) 0 ;
9473 bool result;
9474 bool temp2 = False ;
9475 PyObject * obj0 = 0 ;
9476 PyObject * obj1 = 0 ;
9477 PyObject * obj2 = 0 ;
9478 PyObject * obj3 = 0 ;
9479 char *kwnames[] = {
9480 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9481 };
9482
9483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9485 {
9486 arg2 = wxString_in_helper(obj1);
9487 if (arg2 == NULL) SWIG_fail;
9488 temp2 = True;
9489 }
9490 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9491 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9500 {
9501 if (temp2)
9502 delete arg2;
9503 }
9504 return resultobj;
9505 fail:
9506 {
9507 if (temp2)
9508 delete arg2;
9509 }
9510 return NULL;
9511 }
9512
9513
9514 static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
9515 PyObject *resultobj;
9516 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9517 double *arg2 = (double *) 0 ;
9518 double *arg3 = (double *) 0 ;
9519 double *arg4 = (double *) 0 ;
9520 double *arg5 = (double *) 0 ;
9521 PyObject * obj0 = 0 ;
9522 PyObject * obj1 = 0 ;
9523 PyObject * obj2 = 0 ;
9524 PyObject * obj3 = 0 ;
9525 PyObject * obj4 = 0 ;
9526 char *kwnames[] = {
9527 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9528 };
9529
9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9533 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9534 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9535 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 Py_INCREF(Py_None); resultobj = Py_None;
9544 return resultobj;
9545 fail:
9546 return NULL;
9547 }
9548
9549
9550 static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9553 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9554 PyObject * obj0 = 0 ;
9555 PyObject * obj1 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self",(char *) "shape", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 (arg1)->CalculateSize(arg2);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 Py_INCREF(Py_None); resultobj = Py_None;
9571 return resultobj;
9572 fail:
9573 return NULL;
9574 }
9575
9576
9577 static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9578 PyObject *resultobj;
9579 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9580 bool arg2 ;
9581 PyObject * obj0 = 0 ;
9582 PyObject * obj1 = 0 ;
9583 char *kwnames[] = {
9584 (char *) "self",(char *) "rot", NULL
9585 };
9586
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
9588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9589 {
9590 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 {
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 (arg1)->SetRotateable(arg2);
9596
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 Py_INCREF(Py_None); resultobj = Py_None;
9601 return resultobj;
9602 fail:
9603 return NULL;
9604 }
9605
9606
9607 static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9608 PyObject *resultobj;
9609 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9610 bool result;
9611 PyObject * obj0 = 0 ;
9612 char *kwnames[] = {
9613 (char *) "self", NULL
9614 };
9615
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
9617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9618 {
9619 PyThreadState* __tstate = wxPyBeginAllowThreads();
9620 result = (bool)(arg1)->GetRotateable();
9621
9622 wxPyEndAllowThreads(__tstate);
9623 if (PyErr_Occurred()) SWIG_fail;
9624 }
9625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9626 return resultobj;
9627 fail:
9628 return NULL;
9629 }
9630
9631
9632 static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9633 PyObject *resultobj;
9634 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9635 double arg2 ;
9636 double arg3 ;
9637 PyObject * obj0 = 0 ;
9638 PyObject * obj1 = 0 ;
9639 PyObject * obj2 = 0 ;
9640 char *kwnames[] = {
9641 (char *) "self",(char *) "w",(char *) "h", NULL
9642 };
9643
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9646 {
9647 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 {
9651 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 (arg1)->SetSize(arg2,arg3);
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 Py_INCREF(Py_None); resultobj = Py_None;
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9671 wxBrush *arg2 = (wxBrush *) 0 ;
9672 PyObject * obj0 = 0 ;
9673 PyObject * obj1 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self",(char *) "brush", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
9679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9680 {
9681 wxBrush* temp;
9682 if (obj1) {
9683 if (obj1 == Py_None) {
9684 temp = NULL;
9685 }
9686 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9687 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9688 return NULL;
9689 }
9690 }
9691 if (temp)
9692 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9693 else
9694 arg2 = NULL;
9695 }
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 (arg1)->SetFillBrush(arg2);
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 Py_INCREF(Py_None); resultobj = Py_None;
9704 return resultobj;
9705 fail:
9706 return NULL;
9707 }
9708
9709
9710 static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject *resultobj;
9712 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9713 wxBrush *result;
9714 PyObject * obj0 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
9720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 result = (wxBrush *)(arg1)->GetFillBrush();
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
9729 return resultobj;
9730 fail:
9731 return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9738 wxPen *arg2 = (wxPen *) 0 ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self",(char *) "pen", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9747 {
9748 wxPen* temp;
9749 if (obj1) {
9750 if (obj1 == Py_None) {
9751 temp = NULL;
9752 }
9753 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9754 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9755 return NULL;
9756 }
9757 }
9758 if (temp)
9759 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9760 temp->GetWidth(),
9761 temp->GetStyle());
9762 else
9763 arg2 = NULL;
9764 }
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 (arg1)->SetOutlinePen(arg2);
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 Py_INCREF(Py_None); resultobj = Py_None;
9773 return resultobj;
9774 fail:
9775 return NULL;
9776 }
9777
9778
9779 static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj;
9781 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9782 wxPen *result;
9783 PyObject * obj0 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
9789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (wxPen *)(arg1)->GetOutlinePen();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9807 int arg2 ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 char *kwnames[] = {
9811 (char *) "self",(char *) "op", NULL
9812 };
9813
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
9815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9816 {
9817 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 (arg1)->SetOutlineOp(arg2);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 Py_INCREF(Py_None); resultobj = Py_None;
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj;
9836 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9837 int result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (int)(arg1)->GetOutlineOp();
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 resultobj = SWIG_PyObj_FromInt((int)result);
9853 return resultobj;
9854 fail:
9855 return NULL;
9856 }
9857
9858
9859 static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9862 bool result;
9863 PyObject * obj0 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
9869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (bool)(arg1)->IsValid();
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9878 return resultobj;
9879 fail:
9880 return NULL;
9881 }
9882
9883
9884 static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9885 PyObject *resultobj;
9886 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9887 wxPoint *arg2 = 0 ;
9888 wxPoint *arg3 = 0 ;
9889 wxPoint temp2 ;
9890 wxPoint temp3 ;
9891 PyObject * obj0 = 0 ;
9892 PyObject * obj1 = 0 ;
9893 PyObject * obj2 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9900 {
9901 arg2 = &temp2;
9902 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9903 }
9904 {
9905 arg3 = &temp3;
9906 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9907 }
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 Py_INCREF(Py_None); resultobj = Py_None;
9916 return resultobj;
9917 fail:
9918 return NULL;
9919 }
9920
9921
9922 static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9923 PyObject *resultobj;
9924 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9925 wxRect *arg2 = 0 ;
9926 wxRect temp2 ;
9927 PyObject * obj0 = 0 ;
9928 PyObject * obj1 = 0 ;
9929 char *kwnames[] = {
9930 (char *) "self",(char *) "rect", NULL
9931 };
9932
9933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
9934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9935 {
9936 arg2 = &temp2;
9937 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9938 }
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 (arg1)->DrawRectangle((wxRect const &)*arg2);
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 Py_INCREF(Py_None); resultobj = Py_None;
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9956 wxRect *arg2 = 0 ;
9957 double arg3 ;
9958 wxRect temp2 ;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 PyObject * obj2 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "rect",(char *) "radius", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9968 {
9969 arg2 = &temp2;
9970 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9971 }
9972 {
9973 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 Py_INCREF(Py_None); resultobj = Py_None;
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9993 wxPoint *arg2 = 0 ;
9994 wxPoint *arg3 = 0 ;
9995 wxPoint *arg4 = 0 ;
9996 wxPoint temp2 ;
9997 wxPoint temp3 ;
9998 wxPoint temp4 ;
9999 PyObject * obj0 = 0 ;
10000 PyObject * obj1 = 0 ;
10001 PyObject * obj2 = 0 ;
10002 PyObject * obj3 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10009 {
10010 arg2 = &temp2;
10011 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10012 }
10013 {
10014 arg3 = &temp3;
10015 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10016 }
10017 {
10018 arg4 = &temp4;
10019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10020 }
10021 {
10022 PyThreadState* __tstate = wxPyBeginAllowThreads();
10023 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10024
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 Py_INCREF(Py_None); resultobj = Py_None;
10029 return resultobj;
10030 fail:
10031 return NULL;
10032 }
10033
10034
10035 static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10036 PyObject *resultobj;
10037 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10038 wxRect *arg2 = 0 ;
10039 double arg3 ;
10040 double arg4 ;
10041 wxRect temp2 ;
10042 PyObject * obj0 = 0 ;
10043 PyObject * obj1 = 0 ;
10044 PyObject * obj2 = 0 ;
10045 PyObject * obj3 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10052 {
10053 arg2 = &temp2;
10054 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10055 }
10056 {
10057 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 {
10061 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 Py_INCREF(Py_None); resultobj = Py_None;
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10081 wxRect *arg2 = 0 ;
10082 wxRect temp2 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "rect", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
10090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10091 {
10092 arg2 = &temp2;
10093 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10094 }
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 (arg1)->DrawEllipse((wxRect const &)*arg2);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 Py_INCREF(Py_None); resultobj = Py_None;
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10112 wxPoint *arg2 = 0 ;
10113 wxPoint temp2 ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj1 = 0 ;
10116 char *kwnames[] = {
10117 (char *) "self",(char *) "pt", NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
10121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 {
10123 arg2 = &temp2;
10124 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10125 }
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 (arg1)->DrawPoint((wxPoint const &)*arg2);
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 Py_INCREF(Py_None); resultobj = Py_None;
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10143 wxString *arg2 = 0 ;
10144 wxPoint *arg3 = 0 ;
10145 bool temp2 = False ;
10146 wxPoint temp3 ;
10147 PyObject * obj0 = 0 ;
10148 PyObject * obj1 = 0 ;
10149 PyObject * obj2 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self",(char *) "text",(char *) "pt", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10156 {
10157 arg2 = wxString_in_helper(obj1);
10158 if (arg2 == NULL) SWIG_fail;
10159 temp2 = True;
10160 }
10161 {
10162 arg3 = &temp3;
10163 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10164 }
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 Py_INCREF(Py_None); resultobj = Py_None;
10173 {
10174 if (temp2)
10175 delete arg2;
10176 }
10177 return resultobj;
10178 fail:
10179 {
10180 if (temp2)
10181 delete arg2;
10182 }
10183 return NULL;
10184 }
10185
10186
10187 static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10188 PyObject *resultobj;
10189 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10190 int arg2 ;
10191 wxPoint *arg3 = (wxPoint *) 0 ;
10192 PyObject * obj0 = 0 ;
10193 PyObject * obj1 = 0 ;
10194 PyObject * obj2 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
10200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10201 {
10202 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 (arg1)->DrawLines(arg2,arg3);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 Py_INCREF(Py_None); resultobj = Py_None;
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10223 int arg2 ;
10224 wxPoint *arg3 = (wxPoint *) 0 ;
10225 int arg4 = (int) 0 ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
10228 PyObject * obj2 = 0 ;
10229 PyObject * obj3 = 0 ;
10230 char *kwnames[] = {
10231 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10232 };
10233
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10236 {
10237 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10241 if (obj3) {
10242 {
10243 arg4 = (int) SWIG_PyObj_AsInt(obj3);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 }
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 (arg1)->DrawPolygon(arg2,arg3,arg4);
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 Py_INCREF(Py_None); resultobj = Py_None;
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10264 int arg2 ;
10265 wxPoint *arg3 = (wxPoint *) 0 ;
10266 PyObject * obj0 = 0 ;
10267 PyObject * obj1 = 0 ;
10268 PyObject * obj2 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
10274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10275 {
10276 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 (arg1)->DrawSpline(arg2,arg3);
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 Py_INCREF(Py_None); resultobj = Py_None;
10288 return resultobj;
10289 fail:
10290 return NULL;
10291 }
10292
10293
10294 static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10297 wxRect *arg2 = 0 ;
10298 wxRect temp2 ;
10299 PyObject * obj0 = 0 ;
10300 PyObject * obj1 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self",(char *) "rect", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10307 {
10308 arg2 = &temp2;
10309 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10310 }
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 (arg1)->SetClippingRect((wxRect const &)*arg2);
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 Py_INCREF(Py_None); resultobj = Py_None;
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10328 PyObject * obj0 = 0 ;
10329 char *kwnames[] = {
10330 (char *) "self", NULL
10331 };
10332
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
10334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 (arg1)->DestroyClippingRect();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 Py_INCREF(Py_None); resultobj = Py_None;
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10352 wxPen *arg2 = (wxPen *) 0 ;
10353 bool arg3 = (bool) FALSE ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356 PyObject * obj2 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
10362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10363 {
10364 wxPen* temp;
10365 if (obj1) {
10366 if (obj1 == Py_None) {
10367 temp = NULL;
10368 }
10369 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10370 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10371 return NULL;
10372 }
10373 }
10374 if (temp)
10375 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10376 temp->GetWidth(),
10377 temp->GetStyle());
10378 else
10379 arg2 = NULL;
10380 }
10381 if (obj2) {
10382 {
10383 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 }
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 (arg1)->SetPen(arg2,arg3);
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 Py_INCREF(Py_None); resultobj = Py_None;
10395 return resultobj;
10396 fail:
10397 return NULL;
10398 }
10399
10400
10401 static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10404 wxBrush *arg2 = (wxBrush *) 0 ;
10405 bool arg3 = (bool) FALSE ;
10406 PyObject * obj0 = 0 ;
10407 PyObject * obj1 = 0 ;
10408 PyObject * obj2 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10415 {
10416 wxBrush* temp;
10417 if (obj1) {
10418 if (obj1 == Py_None) {
10419 temp = NULL;
10420 }
10421 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10422 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10423 return NULL;
10424 }
10425 }
10426 if (temp)
10427 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10428 else
10429 arg2 = NULL;
10430 }
10431 if (obj2) {
10432 {
10433 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 }
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 (arg1)->SetBrush(arg2,arg3);
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 Py_INCREF(Py_None); resultobj = Py_None;
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10454 wxFont *arg2 = (wxFont *) 0 ;
10455 PyObject * obj0 = 0 ;
10456 PyObject * obj1 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self",(char *) "font", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10463 {
10464 wxFont* temp;
10465 if (obj1) {
10466 if (obj1 == Py_None) {
10467 temp = NULL;
10468 }
10469 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10470 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10471 return NULL;
10472 }
10473 }
10474 if (temp)
10475 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10476 temp->GetFamily(),
10477 temp->GetStyle(),
10478 temp->GetWeight(),
10479 temp->GetUnderlined(),
10480 temp->GetFaceName(),
10481 temp->GetEncoding());
10482 else
10483 arg2 = NULL;
10484 }
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 (arg1)->SetFont(arg2);
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 Py_INCREF(Py_None); resultobj = Py_None;
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10502 wxColour *arg2 = 0 ;
10503 wxColour temp2 ;
10504 PyObject * obj0 = 0 ;
10505 PyObject * obj1 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self",(char *) "colour", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
10511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10512 {
10513 arg2 = &temp2;
10514 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10515 }
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 (arg1)->SetTextColour((wxColour const &)*arg2);
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 Py_INCREF(Py_None); resultobj = Py_None;
10524 return resultobj;
10525 fail:
10526 return NULL;
10527 }
10528
10529
10530 static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10531 PyObject *resultobj;
10532 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10533 wxColour *arg2 = 0 ;
10534 wxColour temp2 ;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self",(char *) "colour", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10543 {
10544 arg2 = &temp2;
10545 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10546 }
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 Py_INCREF(Py_None); resultobj = Py_None;
10555 return resultobj;
10556 fail:
10557 return NULL;
10558 }
10559
10560
10561 static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10562 PyObject *resultobj;
10563 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10564 int arg2 ;
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "mode", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
10572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10573 {
10574 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 (arg1)->SetBackgroundMode(arg2);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 Py_INCREF(Py_None); resultobj = Py_None;
10585 return resultobj;
10586 fail:
10587 return NULL;
10588 }
10589
10590
10591 static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
10592 PyObject *obj;
10593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10594 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10595 Py_INCREF(obj);
10596 return Py_BuildValue((char *)"");
10597 }
10598 static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10599 PyObject *resultobj;
10600 double arg1 = (double) 0.0 ;
10601 double arg2 = (double) 0.0 ;
10602 wxPyRectangleShape *result;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "width",(char *) "height", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10610 if (obj0) {
10611 {
10612 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
10613 if (PyErr_Occurred()) SWIG_fail;
10614 }
10615 }
10616 if (obj1) {
10617 {
10618 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 }
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyRectangleShape, 1);
10630 return resultobj;
10631 fail:
10632 return NULL;
10633 }
10634
10635
10636 static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10639 PyObject *arg2 = (PyObject *) 0 ;
10640 PyObject *arg3 = (PyObject *) 0 ;
10641 PyObject * obj0 = 0 ;
10642 PyObject * obj1 = 0 ;
10643 PyObject * obj2 = 0 ;
10644 char *kwnames[] = {
10645 (char *) "self",(char *) "self",(char *) "_class", NULL
10646 };
10647
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10650 arg2 = obj1;
10651 arg3 = obj2;
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 (arg1)->_setCallbackInfo(arg2,arg3);
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 Py_INCREF(Py_None); resultobj = Py_None;
10660 return resultobj;
10661 fail:
10662 return NULL;
10663 }
10664
10665
10666 static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj;
10668 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10669 double arg2 ;
10670 PyObject * obj0 = 0 ;
10671 PyObject * obj1 = 0 ;
10672 char *kwnames[] = {
10673 (char *) "self",(char *) "radius", NULL
10674 };
10675
10676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
10677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10678 {
10679 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->SetCornerRadius(arg2);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10699 double result;
10700 PyObject * obj0 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
10706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 result = (double)(arg1)->GetCornerRadius();
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 resultobj = SWIG_PyObj_FromDouble((double)result);
10715 return resultobj;
10716 fail:
10717 return NULL;
10718 }
10719
10720
10721 static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj;
10723 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10724 PyObject * obj0 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "self", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 (arg1)->base_OnDelete();
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 Py_INCREF(Py_None); resultobj = Py_None;
10739 return resultobj;
10740 fail:
10741 return NULL;
10742 }
10743
10744
10745 static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10748 wxDC *arg2 = 0 ;
10749 PyObject * obj0 = 0 ;
10750 PyObject * obj1 = 0 ;
10751 char *kwnames[] = {
10752 (char *) "self",(char *) "dc", NULL
10753 };
10754
10755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10758 if (arg2 == NULL) {
10759 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10760 }
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 (arg1)->base_OnDraw(*arg2);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 Py_INCREF(Py_None); resultobj = Py_None;
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10778 wxDC *arg2 = 0 ;
10779 PyObject * obj0 = 0 ;
10780 PyObject * obj1 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self",(char *) "dc", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10788 if (arg2 == NULL) {
10789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10790 }
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 (arg1)->base_OnDrawContents(*arg2);
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 Py_INCREF(Py_None); resultobj = Py_None;
10799 return resultobj;
10800 fail:
10801 return NULL;
10802 }
10803
10804
10805 static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj;
10807 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10808 wxDC *arg2 = 0 ;
10809 bool arg3 = (bool) FALSE ;
10810 PyObject * obj0 = 0 ;
10811 PyObject * obj1 = 0 ;
10812 PyObject * obj2 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self",(char *) "dc",(char *) "erase", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10820 if (arg2 == NULL) {
10821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10822 }
10823 if (obj2) {
10824 {
10825 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 }
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 (arg1)->base_OnDrawBranches(*arg2,arg3);
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 Py_INCREF(Py_None); resultobj = Py_None;
10837 return resultobj;
10838 fail:
10839 return NULL;
10840 }
10841
10842
10843 static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10846 wxDC *arg2 = 0 ;
10847 PyObject * obj0 = 0 ;
10848 PyObject * obj1 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self",(char *) "dc", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10856 if (arg2 == NULL) {
10857 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10858 }
10859 {
10860 PyThreadState* __tstate = wxPyBeginAllowThreads();
10861 (arg1)->base_OnMoveLinks(*arg2);
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 Py_INCREF(Py_None); resultobj = Py_None;
10867 return resultobj;
10868 fail:
10869 return NULL;
10870 }
10871
10872
10873 static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj;
10875 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10876 wxDC *arg2 = 0 ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "dc", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10886 if (arg2 == NULL) {
10887 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10888 }
10889 {
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 (arg1)->base_OnErase(*arg2);
10892
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 Py_INCREF(Py_None); resultobj = Py_None;
10897 return resultobj;
10898 fail:
10899 return NULL;
10900 }
10901
10902
10903 static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10904 PyObject *resultobj;
10905 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10906 wxDC *arg2 = 0 ;
10907 PyObject * obj0 = 0 ;
10908 PyObject * obj1 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self",(char *) "dc", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10916 if (arg2 == NULL) {
10917 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 (arg1)->base_OnEraseContents(*arg2);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 Py_INCREF(Py_None); resultobj = Py_None;
10927 return resultobj;
10928 fail:
10929 return NULL;
10930 }
10931
10932
10933 static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10934 PyObject *resultobj;
10935 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10936 wxDC *arg2 = 0 ;
10937 PyObject * obj0 = 0 ;
10938 PyObject * obj1 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self",(char *) "dc", NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10946 if (arg2 == NULL) {
10947 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10948 }
10949 {
10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
10951 (arg1)->base_OnHighlight(*arg2);
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 Py_INCREF(Py_None); resultobj = Py_None;
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10966 double arg2 ;
10967 double arg3 ;
10968 int arg4 = (int) 0 ;
10969 int arg5 = (int) 0 ;
10970 PyObject * obj0 = 0 ;
10971 PyObject * obj1 = 0 ;
10972 PyObject * obj2 = 0 ;
10973 PyObject * obj3 = 0 ;
10974 PyObject * obj4 = 0 ;
10975 char *kwnames[] = {
10976 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10977 };
10978
10979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10981 {
10982 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 {
10986 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 if (obj3) {
10990 {
10991 arg4 = (int) SWIG_PyObj_AsInt(obj3);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 }
10995 if (obj4) {
10996 {
10997 arg5 = (int) SWIG_PyObj_AsInt(obj4);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 }
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 Py_INCREF(Py_None); resultobj = Py_None;
11009 return resultobj;
11010 fail:
11011 return NULL;
11012 }
11013
11014
11015 static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj;
11017 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11018 double arg2 ;
11019 double arg3 ;
11020 int arg4 = (int) 0 ;
11021 int arg5 = (int) 0 ;
11022 PyObject * obj0 = 0 ;
11023 PyObject * obj1 = 0 ;
11024 PyObject * obj2 = 0 ;
11025 PyObject * obj3 = 0 ;
11026 PyObject * obj4 = 0 ;
11027 char *kwnames[] = {
11028 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11029 };
11030
11031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11033 {
11034 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 {
11038 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 if (obj3) {
11042 {
11043 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 }
11047 if (obj4) {
11048 {
11049 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 }
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 Py_INCREF(Py_None); resultobj = Py_None;
11061 return resultobj;
11062 fail:
11063 return NULL;
11064 }
11065
11066
11067 static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11070 double arg2 ;
11071 double arg3 ;
11072 int arg4 = (int) 0 ;
11073 int arg5 = (int) 0 ;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 PyObject * obj2 = 0 ;
11077 PyObject * obj3 = 0 ;
11078 PyObject * obj4 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11085 {
11086 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 {
11090 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 if (obj3) {
11094 {
11095 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 }
11099 if (obj4) {
11100 {
11101 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 }
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11122 double arg2 ;
11123 double arg3 ;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 PyObject * obj2 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self",(char *) "x",(char *) "y", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11133 {
11134 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 {
11138 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 {
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 (arg1)->base_OnSize(arg2,arg3);
11144
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 Py_INCREF(Py_None); resultobj = Py_None;
11149 return resultobj;
11150 fail:
11151 return NULL;
11152 }
11153
11154
11155 static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj;
11157 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11158 wxDC *arg2 = 0 ;
11159 double arg3 ;
11160 double arg4 ;
11161 double arg5 ;
11162 double arg6 ;
11163 bool arg7 = (bool) True ;
11164 bool result;
11165 PyObject * obj0 = 0 ;
11166 PyObject * obj1 = 0 ;
11167 PyObject * obj2 = 0 ;
11168 PyObject * obj3 = 0 ;
11169 PyObject * obj4 = 0 ;
11170 PyObject * obj5 = 0 ;
11171 PyObject * obj6 = 0 ;
11172 char *kwnames[] = {
11173 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11174 };
11175
11176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11179 if (arg2 == NULL) {
11180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11181 }
11182 {
11183 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 {
11187 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 {
11191 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
11196 if (PyErr_Occurred()) SWIG_fail;
11197 }
11198 if (obj6) {
11199 {
11200 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 }
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11207
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj;
11220 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11221 wxDC *arg2 = 0 ;
11222 double arg3 ;
11223 double arg4 ;
11224 double arg5 ;
11225 double arg6 ;
11226 bool arg7 = (bool) True ;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11229 PyObject * obj2 = 0 ;
11230 PyObject * obj3 = 0 ;
11231 PyObject * obj4 = 0 ;
11232 PyObject * obj5 = 0 ;
11233 PyObject * obj6 = 0 ;
11234 char *kwnames[] = {
11235 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11236 };
11237
11238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11241 if (arg2 == NULL) {
11242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11243 }
11244 {
11245 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11246 if (PyErr_Occurred()) SWIG_fail;
11247 }
11248 {
11249 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 {
11253 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 {
11257 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
11258 if (PyErr_Occurred()) SWIG_fail;
11259 }
11260 if (obj6) {
11261 {
11262 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 }
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 Py_INCREF(Py_None); resultobj = Py_None;
11274 return resultobj;
11275 fail:
11276 return NULL;
11277 }
11278
11279
11280 static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj;
11282 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11283 bool arg2 ;
11284 double arg3 ;
11285 double arg4 ;
11286 int arg5 = (int) 0 ;
11287 int arg6 = (int) 0 ;
11288 PyObject * obj0 = 0 ;
11289 PyObject * obj1 = 0 ;
11290 PyObject * obj2 = 0 ;
11291 PyObject * obj3 = 0 ;
11292 PyObject * obj4 = 0 ;
11293 PyObject * obj5 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11300 {
11301 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 {
11305 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 {
11309 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 if (obj4) {
11313 {
11314 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 }
11318 if (obj5) {
11319 {
11320 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 }
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11341 double arg2 ;
11342 double arg3 ;
11343 int arg4 = (int) 0 ;
11344 int arg5 = (int) 0 ;
11345 PyObject * obj0 = 0 ;
11346 PyObject * obj1 = 0 ;
11347 PyObject * obj2 = 0 ;
11348 PyObject * obj3 = 0 ;
11349 PyObject * obj4 = 0 ;
11350 char *kwnames[] = {
11351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11352 };
11353
11354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11356 {
11357 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11358 if (PyErr_Occurred()) SWIG_fail;
11359 }
11360 {
11361 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 if (obj3) {
11365 {
11366 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 }
11370 if (obj4) {
11371 {
11372 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 }
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 Py_INCREF(Py_None); resultobj = Py_None;
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj;
11392 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11393 double arg2 ;
11394 double arg3 ;
11395 int arg4 = (int) 0 ;
11396 int arg5 = (int) 0 ;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 PyObject * obj2 = 0 ;
11400 PyObject * obj3 = 0 ;
11401 PyObject * obj4 = 0 ;
11402 char *kwnames[] = {
11403 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11404 };
11405
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11408 {
11409 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 {
11413 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 if (obj3) {
11417 {
11418 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 }
11422 if (obj4) {
11423 {
11424 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 }
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
11430 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11431
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 }
11435 Py_INCREF(Py_None); resultobj = Py_None;
11436 return resultobj;
11437 fail:
11438 return NULL;
11439 }
11440
11441
11442 static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11443 PyObject *resultobj;
11444 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11445 bool arg2 ;
11446 double arg3 ;
11447 double arg4 ;
11448 int arg5 = (int) 0 ;
11449 int arg6 = (int) 0 ;
11450 PyObject * obj0 = 0 ;
11451 PyObject * obj1 = 0 ;
11452 PyObject * obj2 = 0 ;
11453 PyObject * obj3 = 0 ;
11454 PyObject * obj4 = 0 ;
11455 PyObject * obj5 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11458 };
11459
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11462 {
11463 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 {
11467 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 {
11471 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 if (obj4) {
11475 {
11476 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 }
11480 if (obj5) {
11481 {
11482 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 }
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 Py_INCREF(Py_None); resultobj = Py_None;
11494 return resultobj;
11495 fail:
11496 return NULL;
11497 }
11498
11499
11500 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11501 PyObject *resultobj;
11502 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11503 double arg2 ;
11504 double arg3 ;
11505 int arg4 = (int) 0 ;
11506 int arg5 = (int) 0 ;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 PyObject * obj2 = 0 ;
11510 PyObject * obj3 = 0 ;
11511 PyObject * obj4 = 0 ;
11512 char *kwnames[] = {
11513 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11514 };
11515
11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11518 {
11519 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 {
11523 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 if (obj3) {
11527 {
11528 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 }
11532 if (obj4) {
11533 {
11534 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 Py_INCREF(Py_None); resultobj = Py_None;
11546 return resultobj;
11547 fail:
11548 return NULL;
11549 }
11550
11551
11552 static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj;
11554 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11555 double arg2 ;
11556 double arg3 ;
11557 int arg4 = (int) 0 ;
11558 int arg5 = (int) 0 ;
11559 PyObject * obj0 = 0 ;
11560 PyObject * obj1 = 0 ;
11561 PyObject * obj2 = 0 ;
11562 PyObject * obj3 = 0 ;
11563 PyObject * obj4 = 0 ;
11564 char *kwnames[] = {
11565 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11566 };
11567
11568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11570 {
11571 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 {
11575 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 if (obj3) {
11579 {
11580 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 }
11584 if (obj4) {
11585 {
11586 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 }
11590 {
11591 PyThreadState* __tstate = wxPyBeginAllowThreads();
11592 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11593
11594 wxPyEndAllowThreads(__tstate);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 }
11597 Py_INCREF(Py_None); resultobj = Py_None;
11598 return resultobj;
11599 fail:
11600 return NULL;
11601 }
11602
11603
11604 static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11605 PyObject *resultobj;
11606 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11607 wxDC *arg2 = 0 ;
11608 double arg3 ;
11609 double arg4 ;
11610 double arg5 ;
11611 double arg6 ;
11612 PyObject * obj0 = 0 ;
11613 PyObject * obj1 = 0 ;
11614 PyObject * obj2 = 0 ;
11615 PyObject * obj3 = 0 ;
11616 PyObject * obj4 = 0 ;
11617 PyObject * obj5 = 0 ;
11618 char *kwnames[] = {
11619 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11620 };
11621
11622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11625 if (arg2 == NULL) {
11626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11627 }
11628 {
11629 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 {
11633 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 {
11637 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 {
11641 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 {
11645 PyThreadState* __tstate = wxPyBeginAllowThreads();
11646 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11647
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 Py_INCREF(Py_None); resultobj = Py_None;
11652 return resultobj;
11653 fail:
11654 return NULL;
11655 }
11656
11657
11658 static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11659 PyObject *resultobj;
11660 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11661 wxDC *arg2 = 0 ;
11662 PyObject * obj0 = 0 ;
11663 PyObject * obj1 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "self",(char *) "dc", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11671 if (arg2 == NULL) {
11672 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11673 }
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 (arg1)->base_OnDrawControlPoints(*arg2);
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 Py_INCREF(Py_None); resultobj = Py_None;
11682 return resultobj;
11683 fail:
11684 return NULL;
11685 }
11686
11687
11688 static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11689 PyObject *resultobj;
11690 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11691 wxDC *arg2 = 0 ;
11692 PyObject * obj0 = 0 ;
11693 PyObject * obj1 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self",(char *) "dc", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11701 if (arg2 == NULL) {
11702 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11703 }
11704 {
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 (arg1)->base_OnEraseControlPoints(*arg2);
11707
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
11711 Py_INCREF(Py_None); resultobj = Py_None;
11712 return resultobj;
11713 fail:
11714 return NULL;
11715 }
11716
11717
11718 static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11719 PyObject *resultobj;
11720 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11721 wxDC *arg2 = 0 ;
11722 bool arg3 = (bool) True ;
11723 PyObject * obj0 = 0 ;
11724 PyObject * obj1 = 0 ;
11725 PyObject * obj2 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11733 if (arg2 == NULL) {
11734 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11735 }
11736 if (obj2) {
11737 {
11738 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 }
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 (arg1)->base_OnMoveLink(*arg2,arg3);
11745
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 Py_INCREF(Py_None); resultobj = Py_None;
11750 return resultobj;
11751 fail:
11752 return NULL;
11753 }
11754
11755
11756 static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11757 PyObject *resultobj;
11758 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11759 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11760 bool arg3 ;
11761 double arg4 ;
11762 double arg5 ;
11763 int arg6 = (int) 0 ;
11764 int arg7 = (int) 0 ;
11765 PyObject * obj0 = 0 ;
11766 PyObject * obj1 = 0 ;
11767 PyObject * obj2 = 0 ;
11768 PyObject * obj3 = 0 ;
11769 PyObject * obj4 = 0 ;
11770 PyObject * obj5 = 0 ;
11771 PyObject * obj6 = 0 ;
11772 char *kwnames[] = {
11773 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11774 };
11775
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11779 {
11780 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 {
11784 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
11787 {
11788 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 if (obj5) {
11792 {
11793 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 }
11797 if (obj6) {
11798 {
11799 arg7 = (int) SWIG_PyObj_AsInt(obj6);
11800 if (PyErr_Occurred()) SWIG_fail;
11801 }
11802 }
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 Py_INCREF(Py_None); resultobj = Py_None;
11811 return resultobj;
11812 fail:
11813 return NULL;
11814 }
11815
11816
11817 static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11820 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11821 double arg3 ;
11822 double arg4 ;
11823 int arg5 = (int) 0 ;
11824 int arg6 = (int) 0 ;
11825 PyObject * obj0 = 0 ;
11826 PyObject * obj1 = 0 ;
11827 PyObject * obj2 = 0 ;
11828 PyObject * obj3 = 0 ;
11829 PyObject * obj4 = 0 ;
11830 PyObject * obj5 = 0 ;
11831 char *kwnames[] = {
11832 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11838 {
11839 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 {
11843 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 if (obj4) {
11847 {
11848 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 }
11852 if (obj5) {
11853 {
11854 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 }
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11861
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
11865 Py_INCREF(Py_None); resultobj = Py_None;
11866 return resultobj;
11867 fail:
11868 return NULL;
11869 }
11870
11871
11872 static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11873 PyObject *resultobj;
11874 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11875 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11876 double arg3 ;
11877 double arg4 ;
11878 int arg5 = (int) 0 ;
11879 int arg6 = (int) 0 ;
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
11882 PyObject * obj2 = 0 ;
11883 PyObject * obj3 = 0 ;
11884 PyObject * obj4 = 0 ;
11885 PyObject * obj5 = 0 ;
11886 char *kwnames[] = {
11887 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11893 {
11894 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 {
11898 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 if (obj4) {
11902 {
11903 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 }
11907 if (obj5) {
11908 {
11909 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 }
11913 {
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11916
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 Py_INCREF(Py_None); resultobj = Py_None;
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11930 double arg2 ;
11931 double arg3 ;
11932 PyObject * obj0 = 0 ;
11933 PyObject * obj1 = 0 ;
11934 PyObject * obj2 = 0 ;
11935 char *kwnames[] = {
11936 (char *) "self",(char *) "w",(char *) "h", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11941 {
11942 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 {
11946 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 (arg1)->base_OnBeginSize(arg2,arg3);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 Py_INCREF(Py_None); resultobj = Py_None;
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11966 double arg2 ;
11967 double arg3 ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 PyObject * obj2 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self",(char *) "w",(char *) "h", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11977 {
11978 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 {
11982 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 (arg1)->base_OnEndSize(arg2,arg3);
11988
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 Py_INCREF(Py_None); resultobj = Py_None;
11993 return resultobj;
11994 fail:
11995 return NULL;
11996 }
11997
11998
11999 static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
12000 PyObject *obj;
12001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12002 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
12003 Py_INCREF(obj);
12004 return Py_BuildValue((char *)"");
12005 }
12006 static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
12009 wxPyShape *arg2 = (wxPyShape *) NULL ;
12010 double arg3 = (double) 0.0 ;
12011 double arg4 = (double) 0.0 ;
12012 double arg5 = (double) 0.0 ;
12013 int arg6 = (int) 0 ;
12014 wxPyControlPoint *result;
12015 PyObject * obj0 = 0 ;
12016 PyObject * obj1 = 0 ;
12017 PyObject * obj2 = 0 ;
12018 PyObject * obj3 = 0 ;
12019 PyObject * obj4 = 0 ;
12020 PyObject * obj5 = 0 ;
12021 char *kwnames[] = {
12022 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12023 };
12024
12025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12026 if (obj0) {
12027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12028 }
12029 if (obj1) {
12030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12031 }
12032 if (obj2) {
12033 {
12034 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
12037 }
12038 if (obj3) {
12039 {
12040 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 }
12044 if (obj4) {
12045 {
12046 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
12049 }
12050 if (obj5) {
12051 {
12052 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 }
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 }
12063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControlPoint, 1);
12064 return resultobj;
12065 fail:
12066 return NULL;
12067 }
12068
12069
12070 static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12071 PyObject *resultobj;
12072 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12073 PyObject *arg2 = (PyObject *) 0 ;
12074 PyObject *arg3 = (PyObject *) 0 ;
12075 PyObject * obj0 = 0 ;
12076 PyObject * obj1 = 0 ;
12077 PyObject * obj2 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self",(char *) "self",(char *) "_class", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12084 arg2 = obj1;
12085 arg3 = obj2;
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 (arg1)->_setCallbackInfo(arg2,arg3);
12089
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 Py_INCREF(Py_None); resultobj = Py_None;
12094 return resultobj;
12095 fail:
12096 return NULL;
12097 }
12098
12099
12100 static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj;
12102 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12103 double arg2 ;
12104 PyObject * obj0 = 0 ;
12105 PyObject * obj1 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self",(char *) "radius", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12112 {
12113 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 (arg1)->SetCornerRadius(arg2);
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 Py_INCREF(Py_None); resultobj = Py_None;
12124 return resultobj;
12125 fail:
12126 return NULL;
12127 }
12128
12129
12130 static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj;
12132 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12133 PyObject * obj0 = 0 ;
12134 char *kwnames[] = {
12135 (char *) "self", NULL
12136 };
12137
12138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
12139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 (arg1)->base_OnDelete();
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 Py_INCREF(Py_None); resultobj = Py_None;
12148 return resultobj;
12149 fail:
12150 return NULL;
12151 }
12152
12153
12154 static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12155 PyObject *resultobj;
12156 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12157 wxDC *arg2 = 0 ;
12158 PyObject * obj0 = 0 ;
12159 PyObject * obj1 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "self",(char *) "dc", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12167 if (arg2 == NULL) {
12168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12169 }
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 (arg1)->base_OnDraw(*arg2);
12173
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 Py_INCREF(Py_None); resultobj = Py_None;
12178 return resultobj;
12179 fail:
12180 return NULL;
12181 }
12182
12183
12184 static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj;
12186 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12187 wxDC *arg2 = 0 ;
12188 PyObject * obj0 = 0 ;
12189 PyObject * obj1 = 0 ;
12190 char *kwnames[] = {
12191 (char *) "self",(char *) "dc", NULL
12192 };
12193
12194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12197 if (arg2 == NULL) {
12198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12199 }
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 (arg1)->base_OnDrawContents(*arg2);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 Py_INCREF(Py_None); resultobj = Py_None;
12208 return resultobj;
12209 fail:
12210 return NULL;
12211 }
12212
12213
12214 static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12217 wxDC *arg2 = 0 ;
12218 bool arg3 = (bool) FALSE ;
12219 PyObject * obj0 = 0 ;
12220 PyObject * obj1 = 0 ;
12221 PyObject * obj2 = 0 ;
12222 char *kwnames[] = {
12223 (char *) "self",(char *) "dc",(char *) "erase", NULL
12224 };
12225
12226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12229 if (arg2 == NULL) {
12230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12231 }
12232 if (obj2) {
12233 {
12234 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 }
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 (arg1)->base_OnDrawBranches(*arg2,arg3);
12241
12242 wxPyEndAllowThreads(__tstate);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
12245 Py_INCREF(Py_None); resultobj = Py_None;
12246 return resultobj;
12247 fail:
12248 return NULL;
12249 }
12250
12251
12252 static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12255 wxDC *arg2 = 0 ;
12256 PyObject * obj0 = 0 ;
12257 PyObject * obj1 = 0 ;
12258 char *kwnames[] = {
12259 (char *) "self",(char *) "dc", NULL
12260 };
12261
12262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
12263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12265 if (arg2 == NULL) {
12266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12267 }
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 (arg1)->base_OnMoveLinks(*arg2);
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 Py_INCREF(Py_None); resultobj = Py_None;
12276 return resultobj;
12277 fail:
12278 return NULL;
12279 }
12280
12281
12282 static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12285 wxDC *arg2 = 0 ;
12286 PyObject * obj0 = 0 ;
12287 PyObject * obj1 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self",(char *) "dc", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
12293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12295 if (arg2 == NULL) {
12296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12297 }
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 (arg1)->base_OnErase(*arg2);
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 Py_INCREF(Py_None); resultobj = Py_None;
12306 return resultobj;
12307 fail:
12308 return NULL;
12309 }
12310
12311
12312 static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12313 PyObject *resultobj;
12314 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12315 wxDC *arg2 = 0 ;
12316 PyObject * obj0 = 0 ;
12317 PyObject * obj1 = 0 ;
12318 char *kwnames[] = {
12319 (char *) "self",(char *) "dc", NULL
12320 };
12321
12322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
12323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12325 if (arg2 == NULL) {
12326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12327 }
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 (arg1)->base_OnEraseContents(*arg2);
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 Py_INCREF(Py_None); resultobj = Py_None;
12336 return resultobj;
12337 fail:
12338 return NULL;
12339 }
12340
12341
12342 static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12345 wxDC *arg2 = 0 ;
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self",(char *) "dc", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12355 if (arg2 == NULL) {
12356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12357 }
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
12360 (arg1)->base_OnHighlight(*arg2);
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 Py_INCREF(Py_None); resultobj = Py_None;
12366 return resultobj;
12367 fail:
12368 return NULL;
12369 }
12370
12371
12372 static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj;
12374 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12375 double arg2 ;
12376 double arg3 ;
12377 int arg4 = (int) 0 ;
12378 int arg5 = (int) 0 ;
12379 PyObject * obj0 = 0 ;
12380 PyObject * obj1 = 0 ;
12381 PyObject * obj2 = 0 ;
12382 PyObject * obj3 = 0 ;
12383 PyObject * obj4 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12390 {
12391 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 {
12395 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 if (obj3) {
12399 {
12400 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 }
12404 if (obj4) {
12405 {
12406 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 }
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 }
12417 Py_INCREF(Py_None); resultobj = Py_None;
12418 return resultobj;
12419 fail:
12420 return NULL;
12421 }
12422
12423
12424 static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12425 PyObject *resultobj;
12426 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12427 double arg2 ;
12428 double arg3 ;
12429 int arg4 = (int) 0 ;
12430 int arg5 = (int) 0 ;
12431 PyObject * obj0 = 0 ;
12432 PyObject * obj1 = 0 ;
12433 PyObject * obj2 = 0 ;
12434 PyObject * obj3 = 0 ;
12435 PyObject * obj4 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12442 {
12443 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12444 if (PyErr_Occurred()) SWIG_fail;
12445 }
12446 {
12447 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 if (obj3) {
12451 {
12452 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 }
12456 if (obj4) {
12457 {
12458 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 }
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12465
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 Py_INCREF(Py_None); resultobj = Py_None;
12470 return resultobj;
12471 fail:
12472 return NULL;
12473 }
12474
12475
12476 static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12477 PyObject *resultobj;
12478 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12479 double arg2 ;
12480 double arg3 ;
12481 int arg4 = (int) 0 ;
12482 int arg5 = (int) 0 ;
12483 PyObject * obj0 = 0 ;
12484 PyObject * obj1 = 0 ;
12485 PyObject * obj2 = 0 ;
12486 PyObject * obj3 = 0 ;
12487 PyObject * obj4 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12494 {
12495 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 {
12499 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
12502 if (obj3) {
12503 {
12504 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 }
12508 if (obj4) {
12509 {
12510 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 }
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
12517
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 Py_INCREF(Py_None); resultobj = Py_None;
12522 return resultobj;
12523 fail:
12524 return NULL;
12525 }
12526
12527
12528 static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj;
12530 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12531 double arg2 ;
12532 double arg3 ;
12533 PyObject * obj0 = 0 ;
12534 PyObject * obj1 = 0 ;
12535 PyObject * obj2 = 0 ;
12536 char *kwnames[] = {
12537 (char *) "self",(char *) "x",(char *) "y", NULL
12538 };
12539
12540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12542 {
12543 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 }
12546 {
12547 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 (arg1)->base_OnSize(arg2,arg3);
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 Py_INCREF(Py_None); resultobj = Py_None;
12558 return resultobj;
12559 fail:
12560 return NULL;
12561 }
12562
12563
12564 static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj;
12566 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12567 wxDC *arg2 = 0 ;
12568 double arg3 ;
12569 double arg4 ;
12570 double arg5 ;
12571 double arg6 ;
12572 bool arg7 = (bool) True ;
12573 bool result;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 PyObject * obj2 = 0 ;
12577 PyObject * obj3 = 0 ;
12578 PyObject * obj4 = 0 ;
12579 PyObject * obj5 = 0 ;
12580 PyObject * obj6 = 0 ;
12581 char *kwnames[] = {
12582 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12583 };
12584
12585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12588 if (arg2 == NULL) {
12589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12590 }
12591 {
12592 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 {
12596 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 {
12600 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 {
12604 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
12607 if (obj6) {
12608 {
12609 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 }
12613 {
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12630 wxDC *arg2 = 0 ;
12631 double arg3 ;
12632 double arg4 ;
12633 double arg5 ;
12634 double arg6 ;
12635 bool arg7 = (bool) True ;
12636 PyObject * obj0 = 0 ;
12637 PyObject * obj1 = 0 ;
12638 PyObject * obj2 = 0 ;
12639 PyObject * obj3 = 0 ;
12640 PyObject * obj4 = 0 ;
12641 PyObject * obj5 = 0 ;
12642 PyObject * obj6 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12650 if (arg2 == NULL) {
12651 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12652 }
12653 {
12654 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 {
12658 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 {
12662 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 {
12666 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 if (obj6) {
12670 {
12671 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 }
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12678
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
12682 Py_INCREF(Py_None); resultobj = Py_None;
12683 return resultobj;
12684 fail:
12685 return NULL;
12686 }
12687
12688
12689 static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj;
12691 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12692 bool arg2 ;
12693 double arg3 ;
12694 double arg4 ;
12695 int arg5 = (int) 0 ;
12696 int arg6 = (int) 0 ;
12697 PyObject * obj0 = 0 ;
12698 PyObject * obj1 = 0 ;
12699 PyObject * obj2 = 0 ;
12700 PyObject * obj3 = 0 ;
12701 PyObject * obj4 = 0 ;
12702 PyObject * obj5 = 0 ;
12703 char *kwnames[] = {
12704 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12709 {
12710 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 {
12714 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 {
12718 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 if (obj4) {
12722 {
12723 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 }
12727 if (obj5) {
12728 {
12729 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12730 if (PyErr_Occurred()) SWIG_fail;
12731 }
12732 }
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 Py_INCREF(Py_None); resultobj = Py_None;
12741 return resultobj;
12742 fail:
12743 return NULL;
12744 }
12745
12746
12747 static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12748 PyObject *resultobj;
12749 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12750 double arg2 ;
12751 double arg3 ;
12752 int arg4 = (int) 0 ;
12753 int arg5 = (int) 0 ;
12754 PyObject * obj0 = 0 ;
12755 PyObject * obj1 = 0 ;
12756 PyObject * obj2 = 0 ;
12757 PyObject * obj3 = 0 ;
12758 PyObject * obj4 = 0 ;
12759 char *kwnames[] = {
12760 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12765 {
12766 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 {
12770 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12771 if (PyErr_Occurred()) SWIG_fail;
12772 }
12773 if (obj3) {
12774 {
12775 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 }
12779 if (obj4) {
12780 {
12781 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 }
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 Py_INCREF(Py_None); resultobj = Py_None;
12793 return resultobj;
12794 fail:
12795 return NULL;
12796 }
12797
12798
12799 static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12800 PyObject *resultobj;
12801 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12802 double arg2 ;
12803 double arg3 ;
12804 int arg4 = (int) 0 ;
12805 int arg5 = (int) 0 ;
12806 PyObject * obj0 = 0 ;
12807 PyObject * obj1 = 0 ;
12808 PyObject * obj2 = 0 ;
12809 PyObject * obj3 = 0 ;
12810 PyObject * obj4 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12817 {
12818 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 {
12822 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 if (obj3) {
12826 {
12827 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 }
12831 if (obj4) {
12832 {
12833 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 }
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 Py_INCREF(Py_None); resultobj = Py_None;
12845 return resultobj;
12846 fail:
12847 return NULL;
12848 }
12849
12850
12851 static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj;
12853 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12854 bool arg2 ;
12855 double arg3 ;
12856 double arg4 ;
12857 int arg5 = (int) 0 ;
12858 int arg6 = (int) 0 ;
12859 PyObject * obj0 = 0 ;
12860 PyObject * obj1 = 0 ;
12861 PyObject * obj2 = 0 ;
12862 PyObject * obj3 = 0 ;
12863 PyObject * obj4 = 0 ;
12864 PyObject * obj5 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12871 {
12872 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
12875 {
12876 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 {
12880 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 if (obj4) {
12884 {
12885 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 }
12889 if (obj5) {
12890 {
12891 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 }
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 Py_INCREF(Py_None); resultobj = Py_None;
12903 return resultobj;
12904 fail:
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12912 double arg2 ;
12913 double arg3 ;
12914 int arg4 = (int) 0 ;
12915 int arg5 = (int) 0 ;
12916 PyObject * obj0 = 0 ;
12917 PyObject * obj1 = 0 ;
12918 PyObject * obj2 = 0 ;
12919 PyObject * obj3 = 0 ;
12920 PyObject * obj4 = 0 ;
12921 char *kwnames[] = {
12922 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12923 };
12924
12925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12927 {
12928 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 {
12932 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 if (obj3) {
12936 {
12937 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 }
12941 if (obj4) {
12942 {
12943 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 }
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 Py_INCREF(Py_None); resultobj = Py_None;
12955 return resultobj;
12956 fail:
12957 return NULL;
12958 }
12959
12960
12961 static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12962 PyObject *resultobj;
12963 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12964 double arg2 ;
12965 double arg3 ;
12966 int arg4 = (int) 0 ;
12967 int arg5 = (int) 0 ;
12968 PyObject * obj0 = 0 ;
12969 PyObject * obj1 = 0 ;
12970 PyObject * obj2 = 0 ;
12971 PyObject * obj3 = 0 ;
12972 PyObject * obj4 = 0 ;
12973 char *kwnames[] = {
12974 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12975 };
12976
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12979 {
12980 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
12983 {
12984 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 if (obj3) {
12988 {
12989 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 }
12993 if (obj4) {
12994 {
12995 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12996 if (PyErr_Occurred()) SWIG_fail;
12997 }
12998 }
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 Py_INCREF(Py_None); resultobj = Py_None;
13007 return resultobj;
13008 fail:
13009 return NULL;
13010 }
13011
13012
13013 static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj;
13015 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13016 wxDC *arg2 = 0 ;
13017 double arg3 ;
13018 double arg4 ;
13019 double arg5 ;
13020 double arg6 ;
13021 PyObject * obj0 = 0 ;
13022 PyObject * obj1 = 0 ;
13023 PyObject * obj2 = 0 ;
13024 PyObject * obj3 = 0 ;
13025 PyObject * obj4 = 0 ;
13026 PyObject * obj5 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13034 if (arg2 == NULL) {
13035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13036 }
13037 {
13038 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 {
13042 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 {
13046 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 {
13050 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
13060 Py_INCREF(Py_None); resultobj = Py_None;
13061 return resultobj;
13062 fail:
13063 return NULL;
13064 }
13065
13066
13067 static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13068 PyObject *resultobj;
13069 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13070 wxDC *arg2 = 0 ;
13071 PyObject * obj0 = 0 ;
13072 PyObject * obj1 = 0 ;
13073 char *kwnames[] = {
13074 (char *) "self",(char *) "dc", NULL
13075 };
13076
13077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
13078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13080 if (arg2 == NULL) {
13081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13082 }
13083 {
13084 PyThreadState* __tstate = wxPyBeginAllowThreads();
13085 (arg1)->base_OnDrawControlPoints(*arg2);
13086
13087 wxPyEndAllowThreads(__tstate);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 Py_INCREF(Py_None); resultobj = Py_None;
13091 return resultobj;
13092 fail:
13093 return NULL;
13094 }
13095
13096
13097 static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13098 PyObject *resultobj;
13099 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13100 wxDC *arg2 = 0 ;
13101 PyObject * obj0 = 0 ;
13102 PyObject * obj1 = 0 ;
13103 char *kwnames[] = {
13104 (char *) "self",(char *) "dc", NULL
13105 };
13106
13107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13110 if (arg2 == NULL) {
13111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13112 }
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 (arg1)->base_OnEraseControlPoints(*arg2);
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 Py_INCREF(Py_None); resultobj = Py_None;
13121 return resultobj;
13122 fail:
13123 return NULL;
13124 }
13125
13126
13127 static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj;
13129 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13130 wxDC *arg2 = 0 ;
13131 bool arg3 = (bool) True ;
13132 PyObject * obj0 = 0 ;
13133 PyObject * obj1 = 0 ;
13134 PyObject * obj2 = 0 ;
13135 char *kwnames[] = {
13136 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13137 };
13138
13139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13142 if (arg2 == NULL) {
13143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13144 }
13145 if (obj2) {
13146 {
13147 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 }
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 (arg1)->base_OnMoveLink(*arg2,arg3);
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
13158 Py_INCREF(Py_None); resultobj = Py_None;
13159 return resultobj;
13160 fail:
13161 return NULL;
13162 }
13163
13164
13165 static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13166 PyObject *resultobj;
13167 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13168 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13169 bool arg3 ;
13170 double arg4 ;
13171 double arg5 ;
13172 int arg6 = (int) 0 ;
13173 int arg7 = (int) 0 ;
13174 PyObject * obj0 = 0 ;
13175 PyObject * obj1 = 0 ;
13176 PyObject * obj2 = 0 ;
13177 PyObject * obj3 = 0 ;
13178 PyObject * obj4 = 0 ;
13179 PyObject * obj5 = 0 ;
13180 PyObject * obj6 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13188 {
13189 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 {
13193 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
13196 {
13197 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 if (obj5) {
13201 {
13202 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 }
13206 if (obj6) {
13207 {
13208 arg7 = (int) SWIG_PyObj_AsInt(obj6);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 }
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 Py_INCREF(Py_None); resultobj = Py_None;
13220 return resultobj;
13221 fail:
13222 return NULL;
13223 }
13224
13225
13226 static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13229 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13230 double arg3 ;
13231 double arg4 ;
13232 int arg5 = (int) 0 ;
13233 int arg6 = (int) 0 ;
13234 PyObject * obj0 = 0 ;
13235 PyObject * obj1 = 0 ;
13236 PyObject * obj2 = 0 ;
13237 PyObject * obj3 = 0 ;
13238 PyObject * obj4 = 0 ;
13239 PyObject * obj5 = 0 ;
13240 char *kwnames[] = {
13241 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13242 };
13243
13244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13247 {
13248 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 {
13252 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 if (obj4) {
13256 {
13257 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 }
13261 if (obj5) {
13262 {
13263 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 }
13266 }
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 Py_INCREF(Py_None); resultobj = Py_None;
13275 return resultobj;
13276 fail:
13277 return NULL;
13278 }
13279
13280
13281 static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13284 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13285 double arg3 ;
13286 double arg4 ;
13287 int arg5 = (int) 0 ;
13288 int arg6 = (int) 0 ;
13289 PyObject * obj0 = 0 ;
13290 PyObject * obj1 = 0 ;
13291 PyObject * obj2 = 0 ;
13292 PyObject * obj3 = 0 ;
13293 PyObject * obj4 = 0 ;
13294 PyObject * obj5 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13302 {
13303 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 }
13306 {
13307 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 if (obj4) {
13311 {
13312 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 }
13316 if (obj5) {
13317 {
13318 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 }
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 Py_INCREF(Py_None); resultobj = Py_None;
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13339 double arg2 ;
13340 double arg3 ;
13341 PyObject * obj0 = 0 ;
13342 PyObject * obj1 = 0 ;
13343 PyObject * obj2 = 0 ;
13344 char *kwnames[] = {
13345 (char *) "self",(char *) "w",(char *) "h", NULL
13346 };
13347
13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13350 {
13351 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 {
13355 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 (arg1)->base_OnBeginSize(arg2,arg3);
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 Py_INCREF(Py_None); resultobj = Py_None;
13366 return resultobj;
13367 fail:
13368 return NULL;
13369 }
13370
13371
13372 static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13373 PyObject *resultobj;
13374 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13375 double arg2 ;
13376 double arg3 ;
13377 PyObject * obj0 = 0 ;
13378 PyObject * obj1 = 0 ;
13379 PyObject * obj2 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self",(char *) "w",(char *) "h", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13386 {
13387 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
13390 {
13391 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 {
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 (arg1)->base_OnEndSize(arg2,arg3);
13397
13398 wxPyEndAllowThreads(__tstate);
13399 if (PyErr_Occurred()) SWIG_fail;
13400 }
13401 Py_INCREF(Py_None); resultobj = Py_None;
13402 return resultobj;
13403 fail:
13404 return NULL;
13405 }
13406
13407
13408 static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
13409 PyObject *obj;
13410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13411 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13412 Py_INCREF(obj);
13413 return Py_BuildValue((char *)"");
13414 }
13415 static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13416 PyObject *resultobj;
13417 wxPyBitmapShape *result;
13418 char *kwnames[] = {
13419 NULL
13420 };
13421
13422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13423 {
13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
13425 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13426
13427 wxPyEndAllowThreads(__tstate);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
13430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapShape, 1);
13431 return resultobj;
13432 fail:
13433 return NULL;
13434 }
13435
13436
13437 static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13438 PyObject *resultobj;
13439 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13440 PyObject *arg2 = (PyObject *) 0 ;
13441 PyObject *arg3 = (PyObject *) 0 ;
13442 PyObject * obj0 = 0 ;
13443 PyObject * obj1 = 0 ;
13444 PyObject * obj2 = 0 ;
13445 char *kwnames[] = {
13446 (char *) "self",(char *) "self",(char *) "_class", NULL
13447 };
13448
13449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13451 arg2 = obj1;
13452 arg3 = obj2;
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
13455 (arg1)->_setCallbackInfo(arg2,arg3);
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 Py_INCREF(Py_None); resultobj = Py_None;
13461 return resultobj;
13462 fail:
13463 return NULL;
13464 }
13465
13466
13467 static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13468 PyObject *resultobj;
13469 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13470 wxBitmap *result;
13471 PyObject * obj0 = 0 ;
13472 char *kwnames[] = {
13473 (char *) "self", NULL
13474 };
13475
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
13477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13478 {
13479 PyThreadState* __tstate = wxPyBeginAllowThreads();
13480 {
13481 wxBitmap &_result_ref = (arg1)->GetBitmap();
13482 result = (wxBitmap *) &_result_ref;
13483 }
13484
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) SWIG_fail;
13487 }
13488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13489 return resultobj;
13490 fail:
13491 return NULL;
13492 }
13493
13494
13495 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13496 PyObject *resultobj;
13497 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13498 wxString result;
13499 PyObject * obj0 = 0 ;
13500 char *kwnames[] = {
13501 (char *) "self", NULL
13502 };
13503
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
13505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 result = (arg1)->GetFilename();
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 {
13514 #if wxUSE_UNICODE
13515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13516 #else
13517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13518 #endif
13519 }
13520 return resultobj;
13521 fail:
13522 return NULL;
13523 }
13524
13525
13526 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13529 wxBitmap *arg2 = 0 ;
13530 PyObject * obj0 = 0 ;
13531 PyObject * obj1 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self",(char *) "bitmap", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
13537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13539 if (arg2 == NULL) {
13540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13541 }
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 Py_INCREF(Py_None); resultobj = Py_None;
13550 return resultobj;
13551 fail:
13552 return NULL;
13553 }
13554
13555
13556 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj;
13558 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13559 wxString *arg2 = 0 ;
13560 bool temp2 = False ;
13561 PyObject * obj0 = 0 ;
13562 PyObject * obj1 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self",(char *) "filename", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
13568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13569 {
13570 arg2 = wxString_in_helper(obj1);
13571 if (arg2 == NULL) SWIG_fail;
13572 temp2 = True;
13573 }
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 (arg1)->SetFilename((wxString const &)*arg2);
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 Py_INCREF(Py_None); resultobj = Py_None;
13582 {
13583 if (temp2)
13584 delete arg2;
13585 }
13586 return resultobj;
13587 fail:
13588 {
13589 if (temp2)
13590 delete arg2;
13591 }
13592 return NULL;
13593 }
13594
13595
13596 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13599 PyObject * obj0 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 (arg1)->base_OnDelete();
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 Py_INCREF(Py_None); resultobj = Py_None;
13614 return resultobj;
13615 fail:
13616 return NULL;
13617 }
13618
13619
13620 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13621 PyObject *resultobj;
13622 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13623 wxDC *arg2 = 0 ;
13624 PyObject * obj0 = 0 ;
13625 PyObject * obj1 = 0 ;
13626 char *kwnames[] = {
13627 (char *) "self",(char *) "dc", NULL
13628 };
13629
13630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13633 if (arg2 == NULL) {
13634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13635 }
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->base_OnDraw(*arg2);
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 Py_INCREF(Py_None); resultobj = Py_None;
13644 return resultobj;
13645 fail:
13646 return NULL;
13647 }
13648
13649
13650 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13653 wxDC *arg2 = 0 ;
13654 PyObject * obj0 = 0 ;
13655 PyObject * obj1 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "dc", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13663 if (arg2 == NULL) {
13664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13665 }
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 (arg1)->base_OnDrawContents(*arg2);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 Py_INCREF(Py_None); resultobj = Py_None;
13674 return resultobj;
13675 fail:
13676 return NULL;
13677 }
13678
13679
13680 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13683 wxDC *arg2 = 0 ;
13684 bool arg3 = (bool) FALSE ;
13685 PyObject * obj0 = 0 ;
13686 PyObject * obj1 = 0 ;
13687 PyObject * obj2 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self",(char *) "dc",(char *) "erase", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13695 if (arg2 == NULL) {
13696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13697 }
13698 if (obj2) {
13699 {
13700 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
13703 }
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 (arg1)->base_OnDrawBranches(*arg2,arg3);
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 Py_INCREF(Py_None); resultobj = Py_None;
13712 return resultobj;
13713 fail:
13714 return NULL;
13715 }
13716
13717
13718 static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj;
13720 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13721 wxDC *arg2 = 0 ;
13722 PyObject * obj0 = 0 ;
13723 PyObject * obj1 = 0 ;
13724 char *kwnames[] = {
13725 (char *) "self",(char *) "dc", NULL
13726 };
13727
13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13731 if (arg2 == NULL) {
13732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13733 }
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 (arg1)->base_OnMoveLinks(*arg2);
13737
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 Py_INCREF(Py_None); resultobj = Py_None;
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13751 wxDC *arg2 = 0 ;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self",(char *) "dc", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13761 if (arg2 == NULL) {
13762 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 (arg1)->base_OnErase(*arg2);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 Py_INCREF(Py_None); resultobj = Py_None;
13772 return resultobj;
13773 fail:
13774 return NULL;
13775 }
13776
13777
13778 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13779 PyObject *resultobj;
13780 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13781 wxDC *arg2 = 0 ;
13782 PyObject * obj0 = 0 ;
13783 PyObject * obj1 = 0 ;
13784 char *kwnames[] = {
13785 (char *) "self",(char *) "dc", NULL
13786 };
13787
13788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13791 if (arg2 == NULL) {
13792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13793 }
13794 {
13795 PyThreadState* __tstate = wxPyBeginAllowThreads();
13796 (arg1)->base_OnEraseContents(*arg2);
13797
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 Py_INCREF(Py_None); resultobj = Py_None;
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj;
13810 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13811 wxDC *arg2 = 0 ;
13812 PyObject * obj0 = 0 ;
13813 PyObject * obj1 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "self",(char *) "dc", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13821 if (arg2 == NULL) {
13822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13823 }
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 (arg1)->base_OnHighlight(*arg2);
13827
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 Py_INCREF(Py_None); resultobj = Py_None;
13832 return resultobj;
13833 fail:
13834 return NULL;
13835 }
13836
13837
13838 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13839 PyObject *resultobj;
13840 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13841 double arg2 ;
13842 double arg3 ;
13843 int arg4 = (int) 0 ;
13844 int arg5 = (int) 0 ;
13845 PyObject * obj0 = 0 ;
13846 PyObject * obj1 = 0 ;
13847 PyObject * obj2 = 0 ;
13848 PyObject * obj3 = 0 ;
13849 PyObject * obj4 = 0 ;
13850 char *kwnames[] = {
13851 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13852 };
13853
13854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13856 {
13857 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 {
13861 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 if (obj3) {
13865 {
13866 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 }
13870 if (obj4) {
13871 {
13872 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 }
13876 {
13877 PyThreadState* __tstate = wxPyBeginAllowThreads();
13878 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13879
13880 wxPyEndAllowThreads(__tstate);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 }
13883 Py_INCREF(Py_None); resultobj = Py_None;
13884 return resultobj;
13885 fail:
13886 return NULL;
13887 }
13888
13889
13890 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13891 PyObject *resultobj;
13892 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13893 double arg2 ;
13894 double arg3 ;
13895 int arg4 = (int) 0 ;
13896 int arg5 = (int) 0 ;
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj1 = 0 ;
13899 PyObject * obj2 = 0 ;
13900 PyObject * obj3 = 0 ;
13901 PyObject * obj4 = 0 ;
13902 char *kwnames[] = {
13903 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13904 };
13905
13906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13908 {
13909 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 {
13913 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 if (obj3) {
13917 {
13918 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 }
13922 if (obj4) {
13923 {
13924 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 }
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 Py_INCREF(Py_None); resultobj = Py_None;
13936 return resultobj;
13937 fail:
13938 return NULL;
13939 }
13940
13941
13942 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13943 PyObject *resultobj;
13944 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13945 double arg2 ;
13946 double arg3 ;
13947 int arg4 = (int) 0 ;
13948 int arg5 = (int) 0 ;
13949 PyObject * obj0 = 0 ;
13950 PyObject * obj1 = 0 ;
13951 PyObject * obj2 = 0 ;
13952 PyObject * obj3 = 0 ;
13953 PyObject * obj4 = 0 ;
13954 char *kwnames[] = {
13955 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13956 };
13957
13958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13960 {
13961 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 {
13965 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 if (obj3) {
13969 {
13970 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 }
13974 if (obj4) {
13975 {
13976 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 }
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13983
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 Py_INCREF(Py_None); resultobj = Py_None;
13988 return resultobj;
13989 fail:
13990 return NULL;
13991 }
13992
13993
13994 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj;
13996 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13997 double arg2 ;
13998 double arg3 ;
13999 PyObject * obj0 = 0 ;
14000 PyObject * obj1 = 0 ;
14001 PyObject * obj2 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self",(char *) "x",(char *) "y", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14008 {
14009 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 {
14013 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 (arg1)->base_OnSize(arg2,arg3);
14019
14020 wxPyEndAllowThreads(__tstate);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 }
14023 Py_INCREF(Py_None); resultobj = Py_None;
14024 return resultobj;
14025 fail:
14026 return NULL;
14027 }
14028
14029
14030 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
14031 PyObject *resultobj;
14032 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14033 wxDC *arg2 = 0 ;
14034 double arg3 ;
14035 double arg4 ;
14036 double arg5 ;
14037 double arg6 ;
14038 bool arg7 = (bool) True ;
14039 bool result;
14040 PyObject * obj0 = 0 ;
14041 PyObject * obj1 = 0 ;
14042 PyObject * obj2 = 0 ;
14043 PyObject * obj3 = 0 ;
14044 PyObject * obj4 = 0 ;
14045 PyObject * obj5 = 0 ;
14046 PyObject * obj6 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 if (arg2 == NULL) {
14055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14056 }
14057 {
14058 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 {
14062 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 }
14065 {
14066 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 {
14070 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 if (obj6) {
14074 {
14075 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 }
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14087 return resultobj;
14088 fail:
14089 return NULL;
14090 }
14091
14092
14093 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
14094 PyObject *resultobj;
14095 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14096 wxDC *arg2 = 0 ;
14097 double arg3 ;
14098 double arg4 ;
14099 double arg5 ;
14100 double arg6 ;
14101 bool arg7 = (bool) True ;
14102 PyObject * obj0 = 0 ;
14103 PyObject * obj1 = 0 ;
14104 PyObject * obj2 = 0 ;
14105 PyObject * obj3 = 0 ;
14106 PyObject * obj4 = 0 ;
14107 PyObject * obj5 = 0 ;
14108 PyObject * obj6 = 0 ;
14109 char *kwnames[] = {
14110 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14111 };
14112
14113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14116 if (arg2 == NULL) {
14117 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14118 }
14119 {
14120 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 {
14124 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 {
14128 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
14129 if (PyErr_Occurred()) SWIG_fail;
14130 }
14131 {
14132 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 if (obj6) {
14136 {
14137 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 }
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 Py_INCREF(Py_None); resultobj = Py_None;
14149 return resultobj;
14150 fail:
14151 return NULL;
14152 }
14153
14154
14155 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14158 bool arg2 ;
14159 double arg3 ;
14160 double arg4 ;
14161 int arg5 = (int) 0 ;
14162 int arg6 = (int) 0 ;
14163 PyObject * obj0 = 0 ;
14164 PyObject * obj1 = 0 ;
14165 PyObject * obj2 = 0 ;
14166 PyObject * obj3 = 0 ;
14167 PyObject * obj4 = 0 ;
14168 PyObject * obj5 = 0 ;
14169 char *kwnames[] = {
14170 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14175 {
14176 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 {
14180 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 {
14184 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 if (obj4) {
14188 {
14189 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 }
14193 if (obj5) {
14194 {
14195 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 }
14198 }
14199 {
14200 PyThreadState* __tstate = wxPyBeginAllowThreads();
14201 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14202
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 Py_INCREF(Py_None); resultobj = Py_None;
14207 return resultobj;
14208 fail:
14209 return NULL;
14210 }
14211
14212
14213 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14214 PyObject *resultobj;
14215 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14216 double arg2 ;
14217 double arg3 ;
14218 int arg4 = (int) 0 ;
14219 int arg5 = (int) 0 ;
14220 PyObject * obj0 = 0 ;
14221 PyObject * obj1 = 0 ;
14222 PyObject * obj2 = 0 ;
14223 PyObject * obj3 = 0 ;
14224 PyObject * obj4 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14231 {
14232 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 {
14236 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 if (obj3) {
14240 {
14241 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 }
14245 if (obj4) {
14246 {
14247 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 }
14251 {
14252 PyThreadState* __tstate = wxPyBeginAllowThreads();
14253 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14254
14255 wxPyEndAllowThreads(__tstate);
14256 if (PyErr_Occurred()) SWIG_fail;
14257 }
14258 Py_INCREF(Py_None); resultobj = Py_None;
14259 return resultobj;
14260 fail:
14261 return NULL;
14262 }
14263
14264
14265 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14268 double arg2 ;
14269 double arg3 ;
14270 int arg4 = (int) 0 ;
14271 int arg5 = (int) 0 ;
14272 PyObject * obj0 = 0 ;
14273 PyObject * obj1 = 0 ;
14274 PyObject * obj2 = 0 ;
14275 PyObject * obj3 = 0 ;
14276 PyObject * obj4 = 0 ;
14277 char *kwnames[] = {
14278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14279 };
14280
14281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14283 {
14284 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 {
14288 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 if (obj3) {
14292 {
14293 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 }
14297 if (obj4) {
14298 {
14299 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 }
14303 {
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14306
14307 wxPyEndAllowThreads(__tstate);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
14310 Py_INCREF(Py_None); resultobj = Py_None;
14311 return resultobj;
14312 fail:
14313 return NULL;
14314 }
14315
14316
14317 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14318 PyObject *resultobj;
14319 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14320 bool arg2 ;
14321 double arg3 ;
14322 double arg4 ;
14323 int arg5 = (int) 0 ;
14324 int arg6 = (int) 0 ;
14325 PyObject * obj0 = 0 ;
14326 PyObject * obj1 = 0 ;
14327 PyObject * obj2 = 0 ;
14328 PyObject * obj3 = 0 ;
14329 PyObject * obj4 = 0 ;
14330 PyObject * obj5 = 0 ;
14331 char *kwnames[] = {
14332 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14333 };
14334
14335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14337 {
14338 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 {
14342 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 {
14346 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 if (obj4) {
14350 {
14351 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14352 if (PyErr_Occurred()) SWIG_fail;
14353 }
14354 }
14355 if (obj5) {
14356 {
14357 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 }
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 Py_INCREF(Py_None); resultobj = Py_None;
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14378 double arg2 ;
14379 double arg3 ;
14380 int arg4 = (int) 0 ;
14381 int arg5 = (int) 0 ;
14382 PyObject * obj0 = 0 ;
14383 PyObject * obj1 = 0 ;
14384 PyObject * obj2 = 0 ;
14385 PyObject * obj3 = 0 ;
14386 PyObject * obj4 = 0 ;
14387 char *kwnames[] = {
14388 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14389 };
14390
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14393 {
14394 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 {
14398 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 if (obj3) {
14402 {
14403 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14404 if (PyErr_Occurred()) SWIG_fail;
14405 }
14406 }
14407 if (obj4) {
14408 {
14409 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 }
14413 {
14414 PyThreadState* __tstate = wxPyBeginAllowThreads();
14415 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14416
14417 wxPyEndAllowThreads(__tstate);
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 Py_INCREF(Py_None); resultobj = Py_None;
14421 return resultobj;
14422 fail:
14423 return NULL;
14424 }
14425
14426
14427 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14428 PyObject *resultobj;
14429 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14430 double arg2 ;
14431 double arg3 ;
14432 int arg4 = (int) 0 ;
14433 int arg5 = (int) 0 ;
14434 PyObject * obj0 = 0 ;
14435 PyObject * obj1 = 0 ;
14436 PyObject * obj2 = 0 ;
14437 PyObject * obj3 = 0 ;
14438 PyObject * obj4 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14445 {
14446 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 {
14450 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
14453 if (obj3) {
14454 {
14455 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 }
14459 if (obj4) {
14460 {
14461 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 }
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 Py_INCREF(Py_None); resultobj = Py_None;
14473 return resultobj;
14474 fail:
14475 return NULL;
14476 }
14477
14478
14479 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14482 wxDC *arg2 = 0 ;
14483 double arg3 ;
14484 double arg4 ;
14485 double arg5 ;
14486 double arg6 ;
14487 PyObject * obj0 = 0 ;
14488 PyObject * obj1 = 0 ;
14489 PyObject * obj2 = 0 ;
14490 PyObject * obj3 = 0 ;
14491 PyObject * obj4 = 0 ;
14492 PyObject * obj5 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14500 if (arg2 == NULL) {
14501 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14502 }
14503 {
14504 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14505 if (PyErr_Occurred()) SWIG_fail;
14506 }
14507 {
14508 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14509 if (PyErr_Occurred()) SWIG_fail;
14510 }
14511 {
14512 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 {
14516 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14522
14523 wxPyEndAllowThreads(__tstate);
14524 if (PyErr_Occurred()) SWIG_fail;
14525 }
14526 Py_INCREF(Py_None); resultobj = Py_None;
14527 return resultobj;
14528 fail:
14529 return NULL;
14530 }
14531
14532
14533 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14536 wxDC *arg2 = 0 ;
14537 PyObject * obj0 = 0 ;
14538 PyObject * obj1 = 0 ;
14539 char *kwnames[] = {
14540 (char *) "self",(char *) "dc", NULL
14541 };
14542
14543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14546 if (arg2 == NULL) {
14547 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14548 }
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 (arg1)->base_OnDrawControlPoints(*arg2);
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 Py_INCREF(Py_None); resultobj = Py_None;
14557 return resultobj;
14558 fail:
14559 return NULL;
14560 }
14561
14562
14563 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14564 PyObject *resultobj;
14565 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14566 wxDC *arg2 = 0 ;
14567 PyObject * obj0 = 0 ;
14568 PyObject * obj1 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "self",(char *) "dc", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
14574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14575 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14576 if (arg2 == NULL) {
14577 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14578 }
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 (arg1)->base_OnEraseControlPoints(*arg2);
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 Py_INCREF(Py_None); resultobj = Py_None;
14587 return resultobj;
14588 fail:
14589 return NULL;
14590 }
14591
14592
14593 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
14594 PyObject *resultobj;
14595 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14596 wxDC *arg2 = 0 ;
14597 bool arg3 = (bool) True ;
14598 PyObject * obj0 = 0 ;
14599 PyObject * obj1 = 0 ;
14600 PyObject * obj2 = 0 ;
14601 char *kwnames[] = {
14602 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14603 };
14604
14605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
14606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14608 if (arg2 == NULL) {
14609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14610 }
14611 if (obj2) {
14612 {
14613 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 }
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 (arg1)->base_OnMoveLink(*arg2,arg3);
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 Py_INCREF(Py_None); resultobj = Py_None;
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14634 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14635 bool arg3 ;
14636 double arg4 ;
14637 double arg5 ;
14638 int arg6 = (int) 0 ;
14639 int arg7 = (int) 0 ;
14640 PyObject * obj0 = 0 ;
14641 PyObject * obj1 = 0 ;
14642 PyObject * obj2 = 0 ;
14643 PyObject * obj3 = 0 ;
14644 PyObject * obj4 = 0 ;
14645 PyObject * obj5 = 0 ;
14646 PyObject * obj6 = 0 ;
14647 char *kwnames[] = {
14648 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14649 };
14650
14651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14654 {
14655 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
14658 {
14659 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 {
14663 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 if (obj5) {
14667 {
14668 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
14671 }
14672 if (obj6) {
14673 {
14674 arg7 = (int) SWIG_PyObj_AsInt(obj6);
14675 if (PyErr_Occurred()) SWIG_fail;
14676 }
14677 }
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 Py_INCREF(Py_None); resultobj = Py_None;
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj;
14694 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14695 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14696 double arg3 ;
14697 double arg4 ;
14698 int arg5 = (int) 0 ;
14699 int arg6 = (int) 0 ;
14700 PyObject * obj0 = 0 ;
14701 PyObject * obj1 = 0 ;
14702 PyObject * obj2 = 0 ;
14703 PyObject * obj3 = 0 ;
14704 PyObject * obj4 = 0 ;
14705 PyObject * obj5 = 0 ;
14706 char *kwnames[] = {
14707 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14708 };
14709
14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14713 {
14714 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 {
14718 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 if (obj4) {
14722 {
14723 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 }
14727 if (obj5) {
14728 {
14729 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14730 if (PyErr_Occurred()) SWIG_fail;
14731 }
14732 }
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 Py_INCREF(Py_None); resultobj = Py_None;
14741 return resultobj;
14742 fail:
14743 return NULL;
14744 }
14745
14746
14747 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14748 PyObject *resultobj;
14749 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14750 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14751 double arg3 ;
14752 double arg4 ;
14753 int arg5 = (int) 0 ;
14754 int arg6 = (int) 0 ;
14755 PyObject * obj0 = 0 ;
14756 PyObject * obj1 = 0 ;
14757 PyObject * obj2 = 0 ;
14758 PyObject * obj3 = 0 ;
14759 PyObject * obj4 = 0 ;
14760 PyObject * obj5 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14767 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14768 {
14769 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 {
14773 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 if (obj4) {
14777 {
14778 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14779 if (PyErr_Occurred()) SWIG_fail;
14780 }
14781 }
14782 if (obj5) {
14783 {
14784 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 }
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14791
14792 wxPyEndAllowThreads(__tstate);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 }
14795 Py_INCREF(Py_None); resultobj = Py_None;
14796 return resultobj;
14797 fail:
14798 return NULL;
14799 }
14800
14801
14802 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14803 PyObject *resultobj;
14804 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14805 double arg2 ;
14806 double arg3 ;
14807 PyObject * obj0 = 0 ;
14808 PyObject * obj1 = 0 ;
14809 PyObject * obj2 = 0 ;
14810 char *kwnames[] = {
14811 (char *) "self",(char *) "w",(char *) "h", NULL
14812 };
14813
14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14816 {
14817 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 {
14821 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 {
14825 PyThreadState* __tstate = wxPyBeginAllowThreads();
14826 (arg1)->base_OnBeginSize(arg2,arg3);
14827
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 Py_INCREF(Py_None); resultobj = Py_None;
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14839 PyObject *resultobj;
14840 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14841 double arg2 ;
14842 double arg3 ;
14843 PyObject * obj0 = 0 ;
14844 PyObject * obj1 = 0 ;
14845 PyObject * obj2 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self",(char *) "w",(char *) "h", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14852 {
14853 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 {
14857 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 (arg1)->base_OnEndSize(arg2,arg3);
14863
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
14867 Py_INCREF(Py_None); resultobj = Py_None;
14868 return resultobj;
14869 fail:
14870 return NULL;
14871 }
14872
14873
14874 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
14875 PyObject *obj;
14876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14877 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14878 Py_INCREF(obj);
14879 return Py_BuildValue((char *)"");
14880 }
14881 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14882 PyObject *resultobj;
14883 wxPyDrawnShape *result;
14884 char *kwnames[] = {
14885 NULL
14886 };
14887
14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14892
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDrawnShape, 1);
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14906 PyObject *arg2 = (PyObject *) 0 ;
14907 PyObject *arg3 = (PyObject *) 0 ;
14908 PyObject * obj0 = 0 ;
14909 PyObject * obj1 = 0 ;
14910 PyObject * obj2 = 0 ;
14911 char *kwnames[] = {
14912 (char *) "self",(char *) "self",(char *) "_class", NULL
14913 };
14914
14915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14917 arg2 = obj1;
14918 arg3 = obj2;
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 (arg1)->_setCallbackInfo(arg2,arg3);
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 Py_INCREF(Py_None); resultobj = Py_None;
14927 return resultobj;
14928 fail:
14929 return NULL;
14930 }
14931
14932
14933 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14936 PyObject * obj0 = 0 ;
14937 char *kwnames[] = {
14938 (char *) "self", NULL
14939 };
14940
14941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
14942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 (arg1)->CalculateSize();
14946
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 Py_INCREF(Py_None); resultobj = Py_None;
14951 return resultobj;
14952 fail:
14953 return NULL;
14954 }
14955
14956
14957 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14960 PyObject * obj0 = 0 ;
14961 char *kwnames[] = {
14962 (char *) "self", NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
14966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 (arg1)->DestroyClippingRect();
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 Py_INCREF(Py_None); resultobj = Py_None;
14975 return resultobj;
14976 fail:
14977 return NULL;
14978 }
14979
14980
14981 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14982 PyObject *resultobj;
14983 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14984 wxPoint *arg2 = 0 ;
14985 wxPoint *arg3 = 0 ;
14986 wxPoint *arg4 = 0 ;
14987 wxPoint temp2 ;
14988 wxPoint temp3 ;
14989 wxPoint temp4 ;
14990 PyObject * obj0 = 0 ;
14991 PyObject * obj1 = 0 ;
14992 PyObject * obj2 = 0 ;
14993 PyObject * obj3 = 0 ;
14994 char *kwnames[] = {
14995 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14996 };
14997
14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15000 {
15001 arg2 = &temp2;
15002 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15003 }
15004 {
15005 arg3 = &temp3;
15006 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15007 }
15008 {
15009 arg4 = &temp4;
15010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15011 }
15012 {
15013 PyThreadState* __tstate = wxPyBeginAllowThreads();
15014 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
15015
15016 wxPyEndAllowThreads(__tstate);
15017 if (PyErr_Occurred()) SWIG_fail;
15018 }
15019 Py_INCREF(Py_None); resultobj = Py_None;
15020 return resultobj;
15021 fail:
15022 return NULL;
15023 }
15024
15025
15026 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15027 PyObject *resultobj;
15028 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15029 int arg2 ;
15030 PyObject * obj0 = 0 ;
15031 PyObject * obj1 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self",(char *) "angle", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
15037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15038 {
15039 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 (arg1)->DrawAtAngle(arg2);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 Py_INCREF(Py_None); resultobj = Py_None;
15050 return resultobj;
15051 fail:
15052 return NULL;
15053 }
15054
15055
15056 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
15057 PyObject *resultobj;
15058 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15059 wxRect *arg2 = 0 ;
15060 double arg3 ;
15061 double arg4 ;
15062 wxRect temp2 ;
15063 PyObject * obj0 = 0 ;
15064 PyObject * obj1 = 0 ;
15065 PyObject * obj2 = 0 ;
15066 PyObject * obj3 = 0 ;
15067 char *kwnames[] = {
15068 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
15069 };
15070
15071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15073 {
15074 arg2 = &temp2;
15075 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15076 }
15077 {
15078 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
15081 {
15082 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 Py_INCREF(Py_None); resultobj = Py_None;
15093 return resultobj;
15094 fail:
15095 return NULL;
15096 }
15097
15098
15099 static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj;
15101 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15102 wxPoint *arg2 = 0 ;
15103 wxPoint *arg3 = 0 ;
15104 wxPoint temp2 ;
15105 wxPoint temp3 ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 PyObject * obj2 = 0 ;
15109 char *kwnames[] = {
15110 (char *) "self",(char *) "point1",(char *) "point2", NULL
15111 };
15112
15113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
15114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15115 {
15116 arg2 = &temp2;
15117 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15118 }
15119 {
15120 arg3 = &temp3;
15121 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15122 }
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
15126
15127 wxPyEndAllowThreads(__tstate);
15128 if (PyErr_Occurred()) SWIG_fail;
15129 }
15130 Py_INCREF(Py_None); resultobj = Py_None;
15131 return resultobj;
15132 fail:
15133 return NULL;
15134 }
15135
15136
15137 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15140 int arg2 ;
15141 wxPoint *arg3 = (wxPoint *) 0 ;
15142 PyObject * obj0 = 0 ;
15143 PyObject * obj1 = 0 ;
15144 PyObject * obj2 = 0 ;
15145 char *kwnames[] = {
15146 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15151 {
15152 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 (arg1)->DrawLines(arg2,arg3);
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 Py_INCREF(Py_None); resultobj = Py_None;
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15173 wxPoint *arg2 = 0 ;
15174 wxPoint temp2 ;
15175 PyObject * obj0 = 0 ;
15176 PyObject * obj1 = 0 ;
15177 char *kwnames[] = {
15178 (char *) "self",(char *) "point", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
15182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15183 {
15184 arg2 = &temp2;
15185 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15186 }
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 (arg1)->DrawPoint((wxPoint const &)*arg2);
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 Py_INCREF(Py_None); resultobj = Py_None;
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15204 int arg2 ;
15205 wxPoint *arg3 = (wxPoint *) 0 ;
15206 int arg4 = (int) 0 ;
15207 PyObject * obj0 = 0 ;
15208 PyObject * obj1 = 0 ;
15209 PyObject * obj2 = 0 ;
15210 PyObject * obj3 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15217 {
15218 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15222 if (obj3) {
15223 {
15224 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 }
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 (arg1)->DrawPolygon(arg2,arg3,arg4);
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 Py_INCREF(Py_None); resultobj = Py_None;
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15245 wxRect *arg2 = 0 ;
15246 wxRect temp2 ;
15247 PyObject * obj0 = 0 ;
15248 PyObject * obj1 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self",(char *) "rect", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
15254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15255 {
15256 arg2 = &temp2;
15257 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15258 }
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 (arg1)->DrawRectangle((wxRect const &)*arg2);
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 Py_INCREF(Py_None); resultobj = Py_None;
15267 return resultobj;
15268 fail:
15269 return NULL;
15270 }
15271
15272
15273 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15274 PyObject *resultobj;
15275 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15276 wxRect *arg2 = 0 ;
15277 double arg3 ;
15278 wxRect temp2 ;
15279 PyObject * obj0 = 0 ;
15280 PyObject * obj1 = 0 ;
15281 PyObject * obj2 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self",(char *) "rect",(char *) "radius", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15288 {
15289 arg2 = &temp2;
15290 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15291 }
15292 {
15293 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 Py_INCREF(Py_None); resultobj = Py_None;
15304 return resultobj;
15305 fail:
15306 return NULL;
15307 }
15308
15309
15310 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
15311 PyObject *resultobj;
15312 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15313 int arg2 ;
15314 wxPoint *arg3 = (wxPoint *) 0 ;
15315 PyObject * obj0 = 0 ;
15316 PyObject * obj1 = 0 ;
15317 PyObject * obj2 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
15323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15324 {
15325 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 (arg1)->DrawSpline(arg2,arg3);
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 Py_INCREF(Py_None); resultobj = Py_None;
15337 return resultobj;
15338 fail:
15339 return NULL;
15340 }
15341
15342
15343 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj;
15345 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15346 wxString *arg2 = 0 ;
15347 wxPoint *arg3 = 0 ;
15348 bool temp2 = False ;
15349 wxPoint temp3 ;
15350 PyObject * obj0 = 0 ;
15351 PyObject * obj1 = 0 ;
15352 PyObject * obj2 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self",(char *) "text",(char *) "point", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15359 {
15360 arg2 = wxString_in_helper(obj1);
15361 if (arg2 == NULL) SWIG_fail;
15362 temp2 = True;
15363 }
15364 {
15365 arg3 = &temp3;
15366 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15367 }
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 Py_INCREF(Py_None); resultobj = Py_None;
15376 {
15377 if (temp2)
15378 delete arg2;
15379 }
15380 return resultobj;
15381 fail:
15382 {
15383 if (temp2)
15384 delete arg2;
15385 }
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15393 int result;
15394 PyObject * obj0 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
15400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 result = (int)(arg1)->GetAngle();
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 resultobj = SWIG_PyObj_FromInt((int)result);
15409 return resultobj;
15410 fail:
15411 return NULL;
15412 }
15413
15414
15415 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15416 PyObject *resultobj;
15417 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15418 wxPseudoMetaFile *result;
15419 PyObject * obj0 = 0 ;
15420 char *kwnames[] = {
15421 (char *) "self", NULL
15422 };
15423
15424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
15425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 {
15429 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15430 result = (wxPseudoMetaFile *) &_result_ref;
15431 }
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPseudoMetaFile, 0);
15437 return resultobj;
15438 fail:
15439 return NULL;
15440 }
15441
15442
15443 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
15444 PyObject *resultobj;
15445 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15446 double result;
15447 PyObject * obj0 = 0 ;
15448 char *kwnames[] = {
15449 (char *) "self", NULL
15450 };
15451
15452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
15453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
15456 result = (double)(arg1)->GetRotation();
15457
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15461 resultobj = SWIG_PyObj_FromDouble((double)result);
15462 return resultobj;
15463 fail:
15464 return NULL;
15465 }
15466
15467
15468 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15469 PyObject *resultobj;
15470 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15471 wxString *arg2 = 0 ;
15472 bool result;
15473 bool temp2 = False ;
15474 PyObject * obj0 = 0 ;
15475 PyObject * obj1 = 0 ;
15476 char *kwnames[] = {
15477 (char *) "self",(char *) "filename", NULL
15478 };
15479
15480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
15481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15482 {
15483 arg2 = wxString_in_helper(obj1);
15484 if (arg2 == NULL) SWIG_fail;
15485 temp2 = True;
15486 }
15487 {
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15490
15491 wxPyEndAllowThreads(__tstate);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15495 {
15496 if (temp2)
15497 delete arg2;
15498 }
15499 return resultobj;
15500 fail:
15501 {
15502 if (temp2)
15503 delete arg2;
15504 }
15505 return NULL;
15506 }
15507
15508
15509 static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
15510 PyObject *resultobj;
15511 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15512 double arg2 ;
15513 double arg3 ;
15514 double arg4 ;
15515 PyObject * obj0 = 0 ;
15516 PyObject * obj1 = 0 ;
15517 PyObject * obj2 = 0 ;
15518 PyObject * obj3 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15525 {
15526 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 {
15530 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 {
15534 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 (arg1)->Rotate(arg2,arg3,arg4);
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 Py_INCREF(Py_None); resultobj = Py_None;
15545 return resultobj;
15546 fail:
15547 return NULL;
15548 }
15549
15550
15551 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15552 PyObject *resultobj;
15553 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15554 wxRect *arg2 = 0 ;
15555 wxRect temp2 ;
15556 PyObject * obj0 = 0 ;
15557 PyObject * obj1 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self",(char *) "rect", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
15563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15564 {
15565 arg2 = &temp2;
15566 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15567 }
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 (arg1)->SetClippingRect((wxRect const &)*arg2);
15571
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 Py_INCREF(Py_None); resultobj = Py_None;
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15585 wxColour *arg2 = 0 ;
15586 wxColour temp2 ;
15587 PyObject * obj0 = 0 ;
15588 PyObject * obj1 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "colour", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15595 {
15596 arg2 = &temp2;
15597 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15598 }
15599 {
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15602
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 Py_INCREF(Py_None); resultobj = Py_None;
15607 return resultobj;
15608 fail:
15609 return NULL;
15610 }
15611
15612
15613 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15614 PyObject *resultobj;
15615 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15616 int arg2 ;
15617 PyObject * obj0 = 0 ;
15618 PyObject * obj1 = 0 ;
15619 char *kwnames[] = {
15620 (char *) "self",(char *) "mode", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15625 {
15626 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 (arg1)->SetDrawnBackgroundMode(arg2);
15632
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 Py_INCREF(Py_None); resultobj = Py_None;
15637 return resultobj;
15638 fail:
15639 return NULL;
15640 }
15641
15642
15643 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj;
15645 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15646 wxBrush *arg2 = (wxBrush *) 0 ;
15647 bool arg3 = (bool) FALSE ;
15648 PyObject * obj0 = 0 ;
15649 PyObject * obj1 = 0 ;
15650 PyObject * obj2 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15657 {
15658 wxBrush* temp;
15659 if (obj1) {
15660 if (obj1 == Py_None) {
15661 temp = NULL;
15662 }
15663 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15664 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15665 return NULL;
15666 }
15667 }
15668 if (temp)
15669 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15670 else
15671 arg2 = NULL;
15672 }
15673 if (obj2) {
15674 {
15675 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 }
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 (arg1)->SetDrawnBrush(arg2,arg3);
15682
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 Py_INCREF(Py_None); resultobj = Py_None;
15687 return resultobj;
15688 fail:
15689 return NULL;
15690 }
15691
15692
15693 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15696 wxFont *arg2 = (wxFont *) 0 ;
15697 PyObject * obj0 = 0 ;
15698 PyObject * obj1 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self",(char *) "font", NULL
15701 };
15702
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
15704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15705 {
15706 wxFont* temp;
15707 if (obj1) {
15708 if (obj1 == Py_None) {
15709 temp = NULL;
15710 }
15711 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15712 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15713 return NULL;
15714 }
15715 }
15716 if (temp)
15717 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15718 temp->GetFamily(),
15719 temp->GetStyle(),
15720 temp->GetWeight(),
15721 temp->GetUnderlined(),
15722 temp->GetFaceName(),
15723 temp->GetEncoding());
15724 else
15725 arg2 = NULL;
15726 }
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 (arg1)->SetDrawnFont(arg2);
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_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
15742 PyObject *resultobj;
15743 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15744 wxPen *arg2 = (wxPen *) 0 ;
15745 bool arg3 = (bool) FALSE ;
15746 PyObject * obj0 = 0 ;
15747 PyObject * obj1 = 0 ;
15748 PyObject * obj2 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15755 {
15756 wxPen* temp;
15757 if (obj1) {
15758 if (obj1 == Py_None) {
15759 temp = NULL;
15760 }
15761 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15762 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15763 return NULL;
15764 }
15765 }
15766 if (temp)
15767 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15768 temp->GetWidth(),
15769 temp->GetStyle());
15770 else
15771 arg2 = NULL;
15772 }
15773 if (obj2) {
15774 {
15775 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 }
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 (arg1)->SetDrawnPen(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 *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15796 wxColour *arg2 = 0 ;
15797 wxColour temp2 ;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "colour", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15806 {
15807 arg2 = &temp2;
15808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15809 }
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 Py_INCREF(Py_None); resultobj = Py_None;
15818 return resultobj;
15819 fail:
15820 return NULL;
15821 }
15822
15823
15824 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15827 double arg2 ;
15828 double arg3 ;
15829 PyObject * obj0 = 0 ;
15830 PyObject * obj1 = 0 ;
15831 PyObject * obj2 = 0 ;
15832 char *kwnames[] = {
15833 (char *) "self",(char *) "sx",(char *) "sy", NULL
15834 };
15835
15836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15838 {
15839 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
15840 if (PyErr_Occurred()) SWIG_fail;
15841 }
15842 {
15843 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 (arg1)->Scale(arg2,arg3);
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 Py_INCREF(Py_None); resultobj = Py_None;
15854 return resultobj;
15855 fail:
15856 return NULL;
15857 }
15858
15859
15860 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj;
15862 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15863 bool arg2 ;
15864 PyObject * obj0 = 0 ;
15865 PyObject * obj1 = 0 ;
15866 char *kwnames[] = {
15867 (char *) "self",(char *) "save", NULL
15868 };
15869
15870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
15871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15872 {
15873 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 {
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 (arg1)->SetSaveToFile(arg2);
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 Py_INCREF(Py_None); resultobj = Py_None;
15884 return resultobj;
15885 fail:
15886 return NULL;
15887 }
15888
15889
15890 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
15891 PyObject *resultobj;
15892 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15893 double arg2 ;
15894 double arg3 ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 PyObject * obj2 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self",(char *) "x",(char *) "y", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15904 {
15905 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 {
15909 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 (arg1)->Translate(arg2,arg3);
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_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj;
15928 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15929 PyObject * obj0 = 0 ;
15930 char *kwnames[] = {
15931 (char *) "self", NULL
15932 };
15933
15934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
15935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 (arg1)->base_OnDelete();
15939
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
15943 Py_INCREF(Py_None); resultobj = Py_None;
15944 return resultobj;
15945 fail:
15946 return NULL;
15947 }
15948
15949
15950 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15951 PyObject *resultobj;
15952 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15953 wxDC *arg2 = 0 ;
15954 PyObject * obj0 = 0 ;
15955 PyObject * obj1 = 0 ;
15956 char *kwnames[] = {
15957 (char *) "self",(char *) "dc", NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15963 if (arg2 == NULL) {
15964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15965 }
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 (arg1)->base_OnDraw(*arg2);
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 Py_INCREF(Py_None); resultobj = Py_None;
15974 return resultobj;
15975 fail:
15976 return NULL;
15977 }
15978
15979
15980 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15981 PyObject *resultobj;
15982 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15983 wxDC *arg2 = 0 ;
15984 PyObject * obj0 = 0 ;
15985 PyObject * obj1 = 0 ;
15986 char *kwnames[] = {
15987 (char *) "self",(char *) "dc", NULL
15988 };
15989
15990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15993 if (arg2 == NULL) {
15994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 (arg1)->base_OnDrawContents(*arg2);
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 Py_INCREF(Py_None); resultobj = Py_None;
16004 return resultobj;
16005 fail:
16006 return NULL;
16007 }
16008
16009
16010 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16013 wxDC *arg2 = 0 ;
16014 bool arg3 = (bool) FALSE ;
16015 PyObject * obj0 = 0 ;
16016 PyObject * obj1 = 0 ;
16017 PyObject * obj2 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self",(char *) "dc",(char *) "erase", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16025 if (arg2 == NULL) {
16026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16027 }
16028 if (obj2) {
16029 {
16030 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 }
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 (arg1)->base_OnDrawBranches(*arg2,arg3);
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 Py_INCREF(Py_None); resultobj = Py_None;
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16051 wxDC *arg2 = 0 ;
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 char *kwnames[] = {
16055 (char *) "self",(char *) "dc", NULL
16056 };
16057
16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
16059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16061 if (arg2 == NULL) {
16062 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16063 }
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 (arg1)->base_OnMoveLinks(*arg2);
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 Py_INCREF(Py_None); resultobj = Py_None;
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16081 wxDC *arg2 = 0 ;
16082 PyObject * obj0 = 0 ;
16083 PyObject * obj1 = 0 ;
16084 char *kwnames[] = {
16085 (char *) "self",(char *) "dc", NULL
16086 };
16087
16088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
16089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16091 if (arg2 == NULL) {
16092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16093 }
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 (arg1)->base_OnErase(*arg2);
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 Py_INCREF(Py_None); resultobj = Py_None;
16102 return resultobj;
16103 fail:
16104 return NULL;
16105 }
16106
16107
16108 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj;
16110 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16111 wxDC *arg2 = 0 ;
16112 PyObject * obj0 = 0 ;
16113 PyObject * obj1 = 0 ;
16114 char *kwnames[] = {
16115 (char *) "self",(char *) "dc", NULL
16116 };
16117
16118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
16119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16121 if (arg2 == NULL) {
16122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16123 }
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 (arg1)->base_OnEraseContents(*arg2);
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 Py_INCREF(Py_None); resultobj = Py_None;
16132 return resultobj;
16133 fail:
16134 return NULL;
16135 }
16136
16137
16138 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16141 wxDC *arg2 = 0 ;
16142 PyObject * obj0 = 0 ;
16143 PyObject * obj1 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self",(char *) "dc", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16150 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 if (arg2 == NULL) {
16152 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16153 }
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 (arg1)->base_OnHighlight(*arg2);
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 Py_INCREF(Py_None); resultobj = Py_None;
16162 return resultobj;
16163 fail:
16164 return NULL;
16165 }
16166
16167
16168 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16171 double arg2 ;
16172 double arg3 ;
16173 int arg4 = (int) 0 ;
16174 int arg5 = (int) 0 ;
16175 PyObject * obj0 = 0 ;
16176 PyObject * obj1 = 0 ;
16177 PyObject * obj2 = 0 ;
16178 PyObject * obj3 = 0 ;
16179 PyObject * obj4 = 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 *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16186 {
16187 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 {
16191 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
16194 if (obj3) {
16195 {
16196 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 }
16200 if (obj4) {
16201 {
16202 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 }
16206 {
16207 PyThreadState* __tstate = wxPyBeginAllowThreads();
16208 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16209
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
16213 Py_INCREF(Py_None); resultobj = Py_None;
16214 return resultobj;
16215 fail:
16216 return NULL;
16217 }
16218
16219
16220 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16223 double arg2 ;
16224 double arg3 ;
16225 int arg4 = (int) 0 ;
16226 int arg5 = (int) 0 ;
16227 PyObject * obj0 = 0 ;
16228 PyObject * obj1 = 0 ;
16229 PyObject * obj2 = 0 ;
16230 PyObject * obj3 = 0 ;
16231 PyObject * obj4 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16238 {
16239 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 {
16243 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 if (obj3) {
16247 {
16248 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 }
16252 if (obj4) {
16253 {
16254 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 }
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16275 double arg2 ;
16276 double arg3 ;
16277 int arg4 = (int) 0 ;
16278 int arg5 = (int) 0 ;
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 PyObject * obj2 = 0 ;
16282 PyObject * obj3 = 0 ;
16283 PyObject * obj4 = 0 ;
16284 char *kwnames[] = {
16285 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16286 };
16287
16288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16290 {
16291 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16292 if (PyErr_Occurred()) SWIG_fail;
16293 }
16294 {
16295 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 if (obj3) {
16299 {
16300 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 }
16304 if (obj4) {
16305 {
16306 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 }
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16313
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 Py_INCREF(Py_None); resultobj = Py_None;
16318 return resultobj;
16319 fail:
16320 return NULL;
16321 }
16322
16323
16324 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16327 double arg2 ;
16328 double arg3 ;
16329 PyObject * obj0 = 0 ;
16330 PyObject * obj1 = 0 ;
16331 PyObject * obj2 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "self",(char *) "x",(char *) "y", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16338 {
16339 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 (arg1)->base_OnSize(arg2,arg3);
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 Py_INCREF(Py_None); resultobj = Py_None;
16354 return resultobj;
16355 fail:
16356 return NULL;
16357 }
16358
16359
16360 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16363 wxDC *arg2 = 0 ;
16364 double arg3 ;
16365 double arg4 ;
16366 double arg5 ;
16367 double arg6 ;
16368 bool arg7 = (bool) True ;
16369 bool result;
16370 PyObject * obj0 = 0 ;
16371 PyObject * obj1 = 0 ;
16372 PyObject * obj2 = 0 ;
16373 PyObject * obj3 = 0 ;
16374 PyObject * obj4 = 0 ;
16375 PyObject * obj5 = 0 ;
16376 PyObject * obj6 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16384 if (arg2 == NULL) {
16385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16386 }
16387 {
16388 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 {
16392 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 {
16396 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 {
16400 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
16403 if (obj6) {
16404 {
16405 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 }
16409 {
16410 PyThreadState* __tstate = wxPyBeginAllowThreads();
16411 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16412
16413 wxPyEndAllowThreads(__tstate);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
16416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16417 return resultobj;
16418 fail:
16419 return NULL;
16420 }
16421
16422
16423 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
16424 PyObject *resultobj;
16425 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16426 wxDC *arg2 = 0 ;
16427 double arg3 ;
16428 double arg4 ;
16429 double arg5 ;
16430 double arg6 ;
16431 bool arg7 = (bool) True ;
16432 PyObject * obj0 = 0 ;
16433 PyObject * obj1 = 0 ;
16434 PyObject * obj2 = 0 ;
16435 PyObject * obj3 = 0 ;
16436 PyObject * obj4 = 0 ;
16437 PyObject * obj5 = 0 ;
16438 PyObject * obj6 = 0 ;
16439 char *kwnames[] = {
16440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16441 };
16442
16443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16446 if (arg2 == NULL) {
16447 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16448 }
16449 {
16450 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 {
16454 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 {
16458 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
16462 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 if (obj6) {
16466 {
16467 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 }
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16474
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 Py_INCREF(Py_None); resultobj = Py_None;
16479 return resultobj;
16480 fail:
16481 return NULL;
16482 }
16483
16484
16485 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16486 PyObject *resultobj;
16487 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16488 bool arg2 ;
16489 double arg3 ;
16490 double arg4 ;
16491 int arg5 = (int) 0 ;
16492 int arg6 = (int) 0 ;
16493 PyObject * obj0 = 0 ;
16494 PyObject * obj1 = 0 ;
16495 PyObject * obj2 = 0 ;
16496 PyObject * obj3 = 0 ;
16497 PyObject * obj4 = 0 ;
16498 PyObject * obj5 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16505 {
16506 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 }
16509 {
16510 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 {
16514 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 if (obj4) {
16518 {
16519 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 }
16523 if (obj5) {
16524 {
16525 arg6 = (int) SWIG_PyObj_AsInt(obj5);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 }
16528 }
16529 {
16530 PyThreadState* __tstate = wxPyBeginAllowThreads();
16531 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16532
16533 wxPyEndAllowThreads(__tstate);
16534 if (PyErr_Occurred()) SWIG_fail;
16535 }
16536 Py_INCREF(Py_None); resultobj = Py_None;
16537 return resultobj;
16538 fail:
16539 return NULL;
16540 }
16541
16542
16543 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16544 PyObject *resultobj;
16545 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16546 double arg2 ;
16547 double arg3 ;
16548 int arg4 = (int) 0 ;
16549 int arg5 = (int) 0 ;
16550 PyObject * obj0 = 0 ;
16551 PyObject * obj1 = 0 ;
16552 PyObject * obj2 = 0 ;
16553 PyObject * obj3 = 0 ;
16554 PyObject * obj4 = 0 ;
16555 char *kwnames[] = {
16556 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16557 };
16558
16559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16561 {
16562 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 {
16566 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 }
16569 if (obj3) {
16570 {
16571 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 }
16575 if (obj4) {
16576 {
16577 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 }
16581 {
16582 PyThreadState* __tstate = wxPyBeginAllowThreads();
16583 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16584
16585 wxPyEndAllowThreads(__tstate);
16586 if (PyErr_Occurred()) SWIG_fail;
16587 }
16588 Py_INCREF(Py_None); resultobj = Py_None;
16589 return resultobj;
16590 fail:
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16598 double arg2 ;
16599 double arg3 ;
16600 int arg4 = (int) 0 ;
16601 int arg5 = (int) 0 ;
16602 PyObject * obj0 = 0 ;
16603 PyObject * obj1 = 0 ;
16604 PyObject * obj2 = 0 ;
16605 PyObject * obj3 = 0 ;
16606 PyObject * obj4 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16613 {
16614 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 {
16618 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 if (obj3) {
16622 {
16623 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 }
16627 if (obj4) {
16628 {
16629 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 }
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16636
16637 wxPyEndAllowThreads(__tstate);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 Py_INCREF(Py_None); resultobj = Py_None;
16641 return resultobj;
16642 fail:
16643 return NULL;
16644 }
16645
16646
16647 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16650 bool arg2 ;
16651 double arg3 ;
16652 double arg4 ;
16653 int arg5 = (int) 0 ;
16654 int arg6 = (int) 0 ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 PyObject * obj2 = 0 ;
16658 PyObject * obj3 = 0 ;
16659 PyObject * obj4 = 0 ;
16660 PyObject * obj5 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16667 {
16668 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 {
16672 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 {
16676 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 if (obj4) {
16680 {
16681 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
16684 }
16685 if (obj5) {
16686 {
16687 arg6 = (int) SWIG_PyObj_AsInt(obj5);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 }
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16694
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
16698 Py_INCREF(Py_None); resultobj = Py_None;
16699 return resultobj;
16700 fail:
16701 return NULL;
16702 }
16703
16704
16705 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj;
16707 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16708 double arg2 ;
16709 double arg3 ;
16710 int arg4 = (int) 0 ;
16711 int arg5 = (int) 0 ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 PyObject * obj2 = 0 ;
16715 PyObject * obj3 = 0 ;
16716 PyObject * obj4 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16723 {
16724 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 {
16728 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 if (obj3) {
16732 {
16733 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 }
16737 if (obj4) {
16738 {
16739 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 }
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16760 double arg2 ;
16761 double arg3 ;
16762 int arg4 = (int) 0 ;
16763 int arg5 = (int) 0 ;
16764 PyObject * obj0 = 0 ;
16765 PyObject * obj1 = 0 ;
16766 PyObject * obj2 = 0 ;
16767 PyObject * obj3 = 0 ;
16768 PyObject * obj4 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16775 {
16776 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 }
16779 {
16780 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 if (obj3) {
16784 {
16785 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 }
16789 if (obj4) {
16790 {
16791 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 }
16795 {
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 Py_INCREF(Py_None); resultobj = Py_None;
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16812 wxDC *arg2 = 0 ;
16813 double arg3 ;
16814 double arg4 ;
16815 double arg5 ;
16816 double arg6 ;
16817 PyObject * obj0 = 0 ;
16818 PyObject * obj1 = 0 ;
16819 PyObject * obj2 = 0 ;
16820 PyObject * obj3 = 0 ;
16821 PyObject * obj4 = 0 ;
16822 PyObject * obj5 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16825 };
16826
16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16829 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16830 if (arg2 == NULL) {
16831 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16832 }
16833 {
16834 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 {
16838 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 {
16842 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 {
16846 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
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_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16866 wxDC *arg2 = 0 ;
16867 PyObject * obj0 = 0 ;
16868 PyObject * obj1 = 0 ;
16869 char *kwnames[] = {
16870 (char *) "self",(char *) "dc", NULL
16871 };
16872
16873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16875 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16876 if (arg2 == NULL) {
16877 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16878 }
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 (arg1)->base_OnDrawControlPoints(*arg2);
16882
16883 wxPyEndAllowThreads(__tstate);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
16886 Py_INCREF(Py_None); resultobj = Py_None;
16887 return resultobj;
16888 fail:
16889 return NULL;
16890 }
16891
16892
16893 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16894 PyObject *resultobj;
16895 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16896 wxDC *arg2 = 0 ;
16897 PyObject * obj0 = 0 ;
16898 PyObject * obj1 = 0 ;
16899 char *kwnames[] = {
16900 (char *) "self",(char *) "dc", NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16906 if (arg2 == NULL) {
16907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16908 }
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 (arg1)->base_OnEraseControlPoints(*arg2);
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 Py_INCREF(Py_None); resultobj = Py_None;
16917 return resultobj;
16918 fail:
16919 return NULL;
16920 }
16921
16922
16923 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16926 wxDC *arg2 = 0 ;
16927 bool arg3 = (bool) True ;
16928 PyObject * obj0 = 0 ;
16929 PyObject * obj1 = 0 ;
16930 PyObject * obj2 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 if (arg2 == NULL) {
16939 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16940 }
16941 if (obj2) {
16942 {
16943 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
16946 }
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 (arg1)->base_OnMoveLink(*arg2,arg3);
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 Py_INCREF(Py_None); resultobj = Py_None;
16955 return resultobj;
16956 fail:
16957 return NULL;
16958 }
16959
16960
16961 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16962 PyObject *resultobj;
16963 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16964 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16965 bool arg3 ;
16966 double arg4 ;
16967 double arg5 ;
16968 int arg6 = (int) 0 ;
16969 int arg7 = (int) 0 ;
16970 PyObject * obj0 = 0 ;
16971 PyObject * obj1 = 0 ;
16972 PyObject * obj2 = 0 ;
16973 PyObject * obj3 = 0 ;
16974 PyObject * obj4 = 0 ;
16975 PyObject * obj5 = 0 ;
16976 PyObject * obj6 = 0 ;
16977 char *kwnames[] = {
16978 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16979 };
16980
16981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16984 {
16985 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 {
16989 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 {
16993 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 if (obj5) {
16997 {
16998 arg6 = (int) SWIG_PyObj_AsInt(obj5);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 }
17002 if (obj6) {
17003 {
17004 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 }
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 Py_INCREF(Py_None); resultobj = Py_None;
17016 return resultobj;
17017 fail:
17018 return NULL;
17019 }
17020
17021
17022 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17025 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17026 double arg3 ;
17027 double arg4 ;
17028 int arg5 = (int) 0 ;
17029 int arg6 = (int) 0 ;
17030 PyObject * obj0 = 0 ;
17031 PyObject * obj1 = 0 ;
17032 PyObject * obj2 = 0 ;
17033 PyObject * obj3 = 0 ;
17034 PyObject * obj4 = 0 ;
17035 PyObject * obj5 = 0 ;
17036 char *kwnames[] = {
17037 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17038 };
17039
17040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17043 {
17044 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 {
17048 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 }
17051 if (obj4) {
17052 {
17053 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 }
17057 if (obj5) {
17058 {
17059 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
17062 }
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 Py_INCREF(Py_None); resultobj = Py_None;
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17078 PyObject *resultobj;
17079 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17080 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17081 double arg3 ;
17082 double arg4 ;
17083 int arg5 = (int) 0 ;
17084 int arg6 = (int) 0 ;
17085 PyObject * obj0 = 0 ;
17086 PyObject * obj1 = 0 ;
17087 PyObject * obj2 = 0 ;
17088 PyObject * obj3 = 0 ;
17089 PyObject * obj4 = 0 ;
17090 PyObject * obj5 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17098 {
17099 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 {
17103 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 if (obj4) {
17107 {
17108 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 }
17112 if (obj5) {
17113 {
17114 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 }
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 Py_INCREF(Py_None); resultobj = Py_None;
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17135 double arg2 ;
17136 double arg3 ;
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 PyObject * obj2 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self",(char *) "w",(char *) "h", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17146 {
17147 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 {
17151 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 (arg1)->base_OnBeginSize(arg2,arg3);
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 Py_INCREF(Py_None); resultobj = Py_None;
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17171 double arg2 ;
17172 double arg3 ;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 PyObject * obj2 = 0 ;
17176 char *kwnames[] = {
17177 (char *) "self",(char *) "w",(char *) "h", NULL
17178 };
17179
17180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17182 {
17183 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 {
17187 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 {
17191 PyThreadState* __tstate = wxPyBeginAllowThreads();
17192 (arg1)->base_OnEndSize(arg2,arg3);
17193
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
17197 Py_INCREF(Py_None); resultobj = Py_None;
17198 return resultobj;
17199 fail:
17200 return NULL;
17201 }
17202
17203
17204 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
17205 PyObject *obj;
17206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17207 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
17208 Py_INCREF(obj);
17209 return Py_BuildValue((char *)"");
17210 }
17211 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj;
17213 int arg1 ;
17214 wxPyShape *arg2 = (wxPyShape *) 0 ;
17215 PyObject *arg3 = (PyObject *) 0 ;
17216 wxOGLConstraint *result;
17217 PyObject * obj0 = 0 ;
17218 PyObject * obj1 = 0 ;
17219 PyObject * obj2 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
17225 {
17226 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17227 if (PyErr_Occurred()) SWIG_fail;
17228 }
17229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17230 arg3 = obj2;
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 {
17239 resultobj = wxPyMake_wxObject(result);
17240 }
17241 return resultobj;
17242 fail:
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17250 bool result;
17251 PyObject * obj0 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "self", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
17257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17258 {
17259 PyThreadState* __tstate = wxPyBeginAllowThreads();
17260 result = (bool)(arg1)->Evaluate();
17261
17262 wxPyEndAllowThreads(__tstate);
17263 if (PyErr_Occurred()) SWIG_fail;
17264 }
17265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17266 return resultobj;
17267 fail:
17268 return NULL;
17269 }
17270
17271
17272 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17273 PyObject *resultobj;
17274 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17275 double arg2 ;
17276 double arg3 ;
17277 PyObject * obj0 = 0 ;
17278 PyObject * obj1 = 0 ;
17279 PyObject * obj2 = 0 ;
17280 char *kwnames[] = {
17281 (char *) "self",(char *) "x",(char *) "y", NULL
17282 };
17283
17284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
17285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17286 {
17287 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 {
17291 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 (arg1)->SetSpacing(arg2,arg3);
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 Py_INCREF(Py_None); resultobj = Py_None;
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17311 double arg2 ;
17312 double arg3 ;
17313 bool result;
17314 PyObject * obj0 = 0 ;
17315 PyObject * obj1 = 0 ;
17316 PyObject * obj2 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "self",(char *) "a",(char *) "b", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
17322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17323 {
17324 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 {
17328 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = (bool)(arg1)->Equals(arg2,arg3);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
17346 PyObject *obj;
17347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17348 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17349 Py_INCREF(obj);
17350 return Py_BuildValue((char *)"");
17351 }
17352 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17353 PyObject *resultobj;
17354 wxPyCompositeShape *result;
17355 char *kwnames[] = {
17356 NULL
17357 };
17358
17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCompositeShape, 1);
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj;
17376 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17377 PyObject *arg2 = (PyObject *) 0 ;
17378 PyObject *arg3 = (PyObject *) 0 ;
17379 PyObject * obj0 = 0 ;
17380 PyObject * obj1 = 0 ;
17381 PyObject * obj2 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "self",(char *) "self",(char *) "_class", NULL
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17388 arg2 = obj1;
17389 arg3 = obj2;
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 (arg1)->_setCallbackInfo(arg2,arg3);
17393
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 Py_INCREF(Py_None); resultobj = Py_None;
17398 return resultobj;
17399 fail:
17400 return NULL;
17401 }
17402
17403
17404 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17405 PyObject *resultobj;
17406 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17407 wxPyShape *arg2 = (wxPyShape *) 0 ;
17408 wxPyShape *arg3 = (wxPyShape *) NULL ;
17409 PyObject * obj0 = 0 ;
17410 PyObject * obj1 = 0 ;
17411 PyObject * obj2 = 0 ;
17412 char *kwnames[] = {
17413 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17414 };
17415
17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
17417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17419 if (obj2) {
17420 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17421 }
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 (arg1)->AddChild(arg2,arg3);
17425
17426 wxPyEndAllowThreads(__tstate);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
17429 Py_INCREF(Py_None); resultobj = Py_None;
17430 return resultobj;
17431 fail:
17432 return NULL;
17433 }
17434
17435
17436 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17437 PyObject *resultobj;
17438 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17439 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17440 wxOGLConstraint *result;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "self",(char *) "constraint", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
17448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17453
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 {
17458 resultobj = wxPyMake_wxObject(result);
17459 }
17460 return resultobj;
17461 fail:
17462 return NULL;
17463 }
17464
17465
17466 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
17467 PyObject *resultobj;
17468 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17469 int arg2 ;
17470 wxPyShape *arg3 = (wxPyShape *) 0 ;
17471 PyObject *arg4 = (PyObject *) 0 ;
17472 wxOGLConstraint *result;
17473 PyObject * obj0 = 0 ;
17474 PyObject * obj1 = 0 ;
17475 PyObject * obj2 = 0 ;
17476 PyObject * obj3 = 0 ;
17477 char *kwnames[] = {
17478 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17479 };
17480
17481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17483 {
17484 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17488 arg4 = obj3;
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 {
17497 resultobj = wxPyMake_wxObject(result);
17498 }
17499 return resultobj;
17500 fail:
17501 return NULL;
17502 }
17503
17504
17505 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17506 PyObject *resultobj;
17507 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17508 int arg2 ;
17509 wxPyShape *arg3 = (wxPyShape *) 0 ;
17510 wxPyShape *arg4 = (wxPyShape *) 0 ;
17511 wxOGLConstraint *result;
17512 PyObject * obj0 = 0 ;
17513 PyObject * obj1 = 0 ;
17514 PyObject * obj2 = 0 ;
17515 PyObject * obj3 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17522 {
17523 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17527 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17531
17532 wxPyEndAllowThreads(__tstate);
17533 if (PyErr_Occurred()) SWIG_fail;
17534 }
17535 {
17536 resultobj = wxPyMake_wxObject(result);
17537 }
17538 return resultobj;
17539 fail:
17540 return NULL;
17541 }
17542
17543
17544 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17545 PyObject *resultobj;
17546 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17547 PyObject * obj0 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 (arg1)->CalculateSize();
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 Py_INCREF(Py_None); resultobj = Py_None;
17562 return resultobj;
17563 fail:
17564 return NULL;
17565 }
17566
17567
17568 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
17569 PyObject *resultobj;
17570 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17571 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17572 bool result;
17573 PyObject * obj0 = 0 ;
17574 PyObject * obj1 = 0 ;
17575 char *kwnames[] = {
17576 (char *) "self",(char *) "division", NULL
17577 };
17578
17579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
17580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 result = (bool)(arg1)->ContainsDivision(arg2);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17590 return resultobj;
17591 fail:
17592 return NULL;
17593 }
17594
17595
17596 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17599 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17600 PyObject * obj0 = 0 ;
17601 PyObject * obj1 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self",(char *) "constraint", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
17607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 (arg1)->DeleteConstraint(arg2);
17612
17613 wxPyEndAllowThreads(__tstate);
17614 if (PyErr_Occurred()) SWIG_fail;
17615 }
17616 Py_INCREF(Py_None); resultobj = Py_None;
17617 return resultobj;
17618 fail:
17619 return NULL;
17620 }
17621
17622
17623 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17624 PyObject *resultobj;
17625 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17626 wxPyShape *arg2 = (wxPyShape *) 0 ;
17627 PyObject * obj0 = 0 ;
17628 PyObject * obj1 = 0 ;
17629 char *kwnames[] = {
17630 (char *) "self",(char *) "child", NULL
17631 };
17632
17633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
17634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 Py_INCREF(Py_None); resultobj = Py_None;
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17653 wxPyShape *result;
17654 PyObject * obj0 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17661 {
17662 PyThreadState* __tstate = wxPyBeginAllowThreads();
17663 result = (wxPyShape *)(arg1)->FindContainerImage();
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
17668 {
17669 resultobj = wxPyMake_wxShapeEvtHandler(result);
17670 }
17671 return resultobj;
17672 fail:
17673 return NULL;
17674 }
17675
17676
17677 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17680 PyObject *result;
17681 PyObject * obj0 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self", NULL
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
17687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17688 {
17689 PyThreadState* __tstate = wxPyBeginAllowThreads();
17690 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17691
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 resultobj = result;
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17705 PyObject *result;
17706 PyObject * obj0 = 0 ;
17707 char *kwnames[] = {
17708 (char *) "self", NULL
17709 };
17710
17711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
17712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17713 {
17714 PyThreadState* __tstate = wxPyBeginAllowThreads();
17715 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17716
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = result;
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17730 PyObject * obj0 = 0 ;
17731 char *kwnames[] = {
17732 (char *) "self", NULL
17733 };
17734
17735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
17736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17737 {
17738 PyThreadState* __tstate = wxPyBeginAllowThreads();
17739 (arg1)->MakeContainer();
17740
17741 wxPyEndAllowThreads(__tstate);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
17744 Py_INCREF(Py_None); resultobj = Py_None;
17745 return resultobj;
17746 fail:
17747 return NULL;
17748 }
17749
17750
17751 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
17752 PyObject *resultobj;
17753 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17754 bool result;
17755 PyObject * obj0 = 0 ;
17756 char *kwnames[] = {
17757 (char *) "self", NULL
17758 };
17759
17760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
17761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (bool)(arg1)->Recompute();
17765
17766 wxPyEndAllowThreads(__tstate);
17767 if (PyErr_Occurred()) SWIG_fail;
17768 }
17769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17770 return resultobj;
17771 fail:
17772 return NULL;
17773 }
17774
17775
17776 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17777 PyObject *resultobj;
17778 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17779 wxPyShape *arg2 = (wxPyShape *) 0 ;
17780 PyObject * obj0 = 0 ;
17781 PyObject * obj1 = 0 ;
17782 char *kwnames[] = {
17783 (char *) "self",(char *) "child", NULL
17784 };
17785
17786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17789 {
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 (arg1)->RemoveChild(arg2);
17792
17793 wxPyEndAllowThreads(__tstate);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 Py_INCREF(Py_None); resultobj = Py_None;
17797 return resultobj;
17798 fail:
17799 return NULL;
17800 }
17801
17802
17803 static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17804 PyObject *resultobj;
17805 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17806 PyObject * obj0 = 0 ;
17807 char *kwnames[] = {
17808 (char *) "self", NULL
17809 };
17810
17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
17812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 (arg1)->base_OnDelete();
17816
17817 wxPyEndAllowThreads(__tstate);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 Py_INCREF(Py_None); resultobj = Py_None;
17821 return resultobj;
17822 fail:
17823 return NULL;
17824 }
17825
17826
17827 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17828 PyObject *resultobj;
17829 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17830 wxDC *arg2 = 0 ;
17831 PyObject * obj0 = 0 ;
17832 PyObject * obj1 = 0 ;
17833 char *kwnames[] = {
17834 (char *) "self",(char *) "dc", NULL
17835 };
17836
17837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17840 if (arg2 == NULL) {
17841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17842 }
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 (arg1)->base_OnDraw(*arg2);
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 Py_INCREF(Py_None); resultobj = Py_None;
17851 return resultobj;
17852 fail:
17853 return NULL;
17854 }
17855
17856
17857 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17858 PyObject *resultobj;
17859 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17860 wxDC *arg2 = 0 ;
17861 PyObject * obj0 = 0 ;
17862 PyObject * obj1 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self",(char *) "dc", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17870 if (arg2 == NULL) {
17871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17872 }
17873 {
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 (arg1)->base_OnDrawContents(*arg2);
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 Py_INCREF(Py_None); resultobj = Py_None;
17881 return resultobj;
17882 fail:
17883 return NULL;
17884 }
17885
17886
17887 static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17888 PyObject *resultobj;
17889 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17890 wxDC *arg2 = 0 ;
17891 bool arg3 = (bool) FALSE ;
17892 PyObject * obj0 = 0 ;
17893 PyObject * obj1 = 0 ;
17894 PyObject * obj2 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self",(char *) "dc",(char *) "erase", NULL
17897 };
17898
17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17902 if (arg2 == NULL) {
17903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17904 }
17905 if (obj2) {
17906 {
17907 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 }
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 (arg1)->base_OnDrawBranches(*arg2,arg3);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 Py_INCREF(Py_None); resultobj = Py_None;
17919 return resultobj;
17920 fail:
17921 return NULL;
17922 }
17923
17924
17925 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17928 wxDC *arg2 = 0 ;
17929 PyObject * obj0 = 0 ;
17930 PyObject * obj1 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self",(char *) "dc", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17938 if (arg2 == NULL) {
17939 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17940 }
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 (arg1)->base_OnMoveLinks(*arg2);
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 Py_INCREF(Py_None); resultobj = Py_None;
17949 return resultobj;
17950 fail:
17951 return NULL;
17952 }
17953
17954
17955 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17958 wxDC *arg2 = 0 ;
17959 PyObject * obj0 = 0 ;
17960 PyObject * obj1 = 0 ;
17961 char *kwnames[] = {
17962 (char *) "self",(char *) "dc", NULL
17963 };
17964
17965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17968 if (arg2 == NULL) {
17969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17970 }
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 (arg1)->base_OnErase(*arg2);
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 Py_INCREF(Py_None); resultobj = Py_None;
17979 return resultobj;
17980 fail:
17981 return NULL;
17982 }
17983
17984
17985 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17986 PyObject *resultobj;
17987 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17988 wxDC *arg2 = 0 ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 char *kwnames[] = {
17992 (char *) "self",(char *) "dc", NULL
17993 };
17994
17995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17998 if (arg2 == NULL) {
17999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18000 }
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 (arg1)->base_OnEraseContents(*arg2);
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 Py_INCREF(Py_None); resultobj = Py_None;
18009 return resultobj;
18010 fail:
18011 return NULL;
18012 }
18013
18014
18015 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18018 wxDC *arg2 = 0 ;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self",(char *) "dc", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
18026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18028 if (arg2 == NULL) {
18029 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18030 }
18031 {
18032 PyThreadState* __tstate = wxPyBeginAllowThreads();
18033 (arg1)->base_OnHighlight(*arg2);
18034
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 Py_INCREF(Py_None); resultobj = Py_None;
18039 return resultobj;
18040 fail:
18041 return NULL;
18042 }
18043
18044
18045 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18046 PyObject *resultobj;
18047 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18048 double arg2 ;
18049 double arg3 ;
18050 int arg4 = (int) 0 ;
18051 int arg5 = (int) 0 ;
18052 PyObject * obj0 = 0 ;
18053 PyObject * obj1 = 0 ;
18054 PyObject * obj2 = 0 ;
18055 PyObject * obj3 = 0 ;
18056 PyObject * obj4 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18063 {
18064 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 {
18068 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 if (obj3) {
18072 {
18073 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 }
18077 if (obj4) {
18078 {
18079 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 }
18083 {
18084 PyThreadState* __tstate = wxPyBeginAllowThreads();
18085 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18086
18087 wxPyEndAllowThreads(__tstate);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 }
18090 Py_INCREF(Py_None); resultobj = Py_None;
18091 return resultobj;
18092 fail:
18093 return NULL;
18094 }
18095
18096
18097 static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj;
18099 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18100 double arg2 ;
18101 double arg3 ;
18102 int arg4 = (int) 0 ;
18103 int arg5 = (int) 0 ;
18104 PyObject * obj0 = 0 ;
18105 PyObject * obj1 = 0 ;
18106 PyObject * obj2 = 0 ;
18107 PyObject * obj3 = 0 ;
18108 PyObject * obj4 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18115 {
18116 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 {
18120 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 if (obj3) {
18124 {
18125 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 }
18129 if (obj4) {
18130 {
18131 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 }
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 Py_INCREF(Py_None); resultobj = Py_None;
18143 return resultobj;
18144 fail:
18145 return NULL;
18146 }
18147
18148
18149 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18152 double arg2 ;
18153 double arg3 ;
18154 int arg4 = (int) 0 ;
18155 int arg5 = (int) 0 ;
18156 PyObject * obj0 = 0 ;
18157 PyObject * obj1 = 0 ;
18158 PyObject * obj2 = 0 ;
18159 PyObject * obj3 = 0 ;
18160 PyObject * obj4 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18167 {
18168 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 {
18172 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 }
18175 if (obj3) {
18176 {
18177 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 }
18181 if (obj4) {
18182 {
18183 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
18186 }
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 Py_INCREF(Py_None); resultobj = Py_None;
18195 return resultobj;
18196 fail:
18197 return NULL;
18198 }
18199
18200
18201 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18204 double arg2 ;
18205 double arg3 ;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 PyObject * obj2 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self",(char *) "x",(char *) "y", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18215 {
18216 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 {
18220 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 (arg1)->base_OnSize(arg2,arg3);
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 Py_INCREF(Py_None); resultobj = Py_None;
18231 return resultobj;
18232 fail:
18233 return NULL;
18234 }
18235
18236
18237 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18238 PyObject *resultobj;
18239 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18240 wxDC *arg2 = 0 ;
18241 double arg3 ;
18242 double arg4 ;
18243 double arg5 ;
18244 double arg6 ;
18245 bool arg7 = (bool) True ;
18246 bool result;
18247 PyObject * obj0 = 0 ;
18248 PyObject * obj1 = 0 ;
18249 PyObject * obj2 = 0 ;
18250 PyObject * obj3 = 0 ;
18251 PyObject * obj4 = 0 ;
18252 PyObject * obj5 = 0 ;
18253 PyObject * obj6 = 0 ;
18254 char *kwnames[] = {
18255 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18261 if (arg2 == NULL) {
18262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18263 }
18264 {
18265 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 {
18269 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 {
18273 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 {
18277 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 if (obj6) {
18281 {
18282 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
18285 }
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18294 return resultobj;
18295 fail:
18296 return NULL;
18297 }
18298
18299
18300 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18303 wxDC *arg2 = 0 ;
18304 double arg3 ;
18305 double arg4 ;
18306 double arg5 ;
18307 double arg6 ;
18308 bool arg7 = (bool) True ;
18309 PyObject * obj0 = 0 ;
18310 PyObject * obj1 = 0 ;
18311 PyObject * obj2 = 0 ;
18312 PyObject * obj3 = 0 ;
18313 PyObject * obj4 = 0 ;
18314 PyObject * obj5 = 0 ;
18315 PyObject * obj6 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18323 if (arg2 == NULL) {
18324 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18325 }
18326 {
18327 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 }
18330 {
18331 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 {
18335 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 {
18339 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 if (obj6) {
18343 {
18344 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 }
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 Py_INCREF(Py_None); resultobj = Py_None;
18356 return resultobj;
18357 fail:
18358 return NULL;
18359 }
18360
18361
18362 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18363 PyObject *resultobj;
18364 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18365 bool arg2 ;
18366 double arg3 ;
18367 double arg4 ;
18368 int arg5 = (int) 0 ;
18369 int arg6 = (int) 0 ;
18370 PyObject * obj0 = 0 ;
18371 PyObject * obj1 = 0 ;
18372 PyObject * obj2 = 0 ;
18373 PyObject * obj3 = 0 ;
18374 PyObject * obj4 = 0 ;
18375 PyObject * obj5 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18382 {
18383 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 {
18387 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 {
18391 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 if (obj4) {
18395 {
18396 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 }
18400 if (obj5) {
18401 {
18402 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 }
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18409
18410 wxPyEndAllowThreads(__tstate);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 }
18413 Py_INCREF(Py_None); resultobj = Py_None;
18414 return resultobj;
18415 fail:
18416 return NULL;
18417 }
18418
18419
18420 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18421 PyObject *resultobj;
18422 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18423 double arg2 ;
18424 double arg3 ;
18425 int arg4 = (int) 0 ;
18426 int arg5 = (int) 0 ;
18427 PyObject * obj0 = 0 ;
18428 PyObject * obj1 = 0 ;
18429 PyObject * obj2 = 0 ;
18430 PyObject * obj3 = 0 ;
18431 PyObject * obj4 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18438 {
18439 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
18442 {
18443 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 if (obj3) {
18447 {
18448 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 }
18452 if (obj4) {
18453 {
18454 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 }
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 Py_INCREF(Py_None); resultobj = Py_None;
18466 return resultobj;
18467 fail:
18468 return NULL;
18469 }
18470
18471
18472 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj;
18474 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18475 double arg2 ;
18476 double arg3 ;
18477 int arg4 = (int) 0 ;
18478 int arg5 = (int) 0 ;
18479 PyObject * obj0 = 0 ;
18480 PyObject * obj1 = 0 ;
18481 PyObject * obj2 = 0 ;
18482 PyObject * obj3 = 0 ;
18483 PyObject * obj4 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18490 {
18491 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 {
18495 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 if (obj3) {
18499 {
18500 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 }
18504 if (obj4) {
18505 {
18506 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 Py_INCREF(Py_None); resultobj = Py_None;
18518 return resultobj;
18519 fail:
18520 return NULL;
18521 }
18522
18523
18524 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18527 bool arg2 ;
18528 double arg3 ;
18529 double arg4 ;
18530 int arg5 = (int) 0 ;
18531 int arg6 = (int) 0 ;
18532 PyObject * obj0 = 0 ;
18533 PyObject * obj1 = 0 ;
18534 PyObject * obj2 = 0 ;
18535 PyObject * obj3 = 0 ;
18536 PyObject * obj4 = 0 ;
18537 PyObject * obj5 = 0 ;
18538 char *kwnames[] = {
18539 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18540 };
18541
18542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18544 {
18545 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 {
18549 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18550 if (PyErr_Occurred()) SWIG_fail;
18551 }
18552 {
18553 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 if (obj4) {
18557 {
18558 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 }
18562 if (obj5) {
18563 {
18564 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 }
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 Py_INCREF(Py_None); resultobj = Py_None;
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18585 double arg2 ;
18586 double arg3 ;
18587 int arg4 = (int) 0 ;
18588 int arg5 = (int) 0 ;
18589 PyObject * obj0 = 0 ;
18590 PyObject * obj1 = 0 ;
18591 PyObject * obj2 = 0 ;
18592 PyObject * obj3 = 0 ;
18593 PyObject * obj4 = 0 ;
18594 char *kwnames[] = {
18595 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18596 };
18597
18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18600 {
18601 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 {
18605 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 if (obj3) {
18609 {
18610 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 }
18614 if (obj4) {
18615 {
18616 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 }
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 Py_INCREF(Py_None); resultobj = Py_None;
18628 return resultobj;
18629 fail:
18630 return NULL;
18631 }
18632
18633
18634 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj;
18636 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18637 double arg2 ;
18638 double arg3 ;
18639 int arg4 = (int) 0 ;
18640 int arg5 = (int) 0 ;
18641 PyObject * obj0 = 0 ;
18642 PyObject * obj1 = 0 ;
18643 PyObject * obj2 = 0 ;
18644 PyObject * obj3 = 0 ;
18645 PyObject * obj4 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18652 {
18653 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
18656 {
18657 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 if (obj3) {
18661 {
18662 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 }
18666 if (obj4) {
18667 {
18668 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18669 if (PyErr_Occurred()) SWIG_fail;
18670 }
18671 }
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 Py_INCREF(Py_None); resultobj = Py_None;
18680 return resultobj;
18681 fail:
18682 return NULL;
18683 }
18684
18685
18686 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18687 PyObject *resultobj;
18688 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18689 wxDC *arg2 = 0 ;
18690 double arg3 ;
18691 double arg4 ;
18692 double arg5 ;
18693 double arg6 ;
18694 PyObject * obj0 = 0 ;
18695 PyObject * obj1 = 0 ;
18696 PyObject * obj2 = 0 ;
18697 PyObject * obj3 = 0 ;
18698 PyObject * obj4 = 0 ;
18699 PyObject * obj5 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18707 if (arg2 == NULL) {
18708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18709 }
18710 {
18711 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 {
18715 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 {
18719 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 {
18723 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 {
18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
18728 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18729
18730 wxPyEndAllowThreads(__tstate);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
18733 Py_INCREF(Py_None); resultobj = Py_None;
18734 return resultobj;
18735 fail:
18736 return NULL;
18737 }
18738
18739
18740 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18741 PyObject *resultobj;
18742 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18743 wxDC *arg2 = 0 ;
18744 PyObject * obj0 = 0 ;
18745 PyObject * obj1 = 0 ;
18746 char *kwnames[] = {
18747 (char *) "self",(char *) "dc", NULL
18748 };
18749
18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18753 if (arg2 == NULL) {
18754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18755 }
18756 {
18757 PyThreadState* __tstate = wxPyBeginAllowThreads();
18758 (arg1)->base_OnDrawControlPoints(*arg2);
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 Py_INCREF(Py_None); resultobj = Py_None;
18764 return resultobj;
18765 fail:
18766 return NULL;
18767 }
18768
18769
18770 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj;
18772 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18773 wxDC *arg2 = 0 ;
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj1 = 0 ;
18776 char *kwnames[] = {
18777 (char *) "self",(char *) "dc", NULL
18778 };
18779
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18783 if (arg2 == NULL) {
18784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18785 }
18786 {
18787 PyThreadState* __tstate = wxPyBeginAllowThreads();
18788 (arg1)->base_OnEraseControlPoints(*arg2);
18789
18790 wxPyEndAllowThreads(__tstate);
18791 if (PyErr_Occurred()) SWIG_fail;
18792 }
18793 Py_INCREF(Py_None); resultobj = Py_None;
18794 return resultobj;
18795 fail:
18796 return NULL;
18797 }
18798
18799
18800 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18801 PyObject *resultobj;
18802 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18803 wxDC *arg2 = 0 ;
18804 bool arg3 = (bool) True ;
18805 PyObject * obj0 = 0 ;
18806 PyObject * obj1 = 0 ;
18807 PyObject * obj2 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18815 if (arg2 == NULL) {
18816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18817 }
18818 if (obj2) {
18819 {
18820 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 }
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 (arg1)->base_OnMoveLink(*arg2,arg3);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 Py_INCREF(Py_None); resultobj = Py_None;
18832 return resultobj;
18833 fail:
18834 return NULL;
18835 }
18836
18837
18838 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18841 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18842 bool arg3 ;
18843 double arg4 ;
18844 double arg5 ;
18845 int arg6 = (int) 0 ;
18846 int arg7 = (int) 0 ;
18847 PyObject * obj0 = 0 ;
18848 PyObject * obj1 = 0 ;
18849 PyObject * obj2 = 0 ;
18850 PyObject * obj3 = 0 ;
18851 PyObject * obj4 = 0 ;
18852 PyObject * obj5 = 0 ;
18853 PyObject * obj6 = 0 ;
18854 char *kwnames[] = {
18855 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18856 };
18857
18858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18861 {
18862 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 {
18866 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 if (obj5) {
18874 {
18875 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 }
18879 if (obj6) {
18880 {
18881 arg7 = (int) SWIG_PyObj_AsInt(obj6);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 }
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
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_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18902 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18903 double arg3 ;
18904 double arg4 ;
18905 int arg5 = (int) 0 ;
18906 int arg6 = (int) 0 ;
18907 PyObject * obj0 = 0 ;
18908 PyObject * obj1 = 0 ;
18909 PyObject * obj2 = 0 ;
18910 PyObject * obj3 = 0 ;
18911 PyObject * obj4 = 0 ;
18912 PyObject * obj5 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18920 {
18921 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 {
18925 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 if (obj4) {
18929 {
18930 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 }
18934 if (obj5) {
18935 {
18936 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 }
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 Py_INCREF(Py_None); resultobj = Py_None;
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18957 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18958 double arg3 ;
18959 double arg4 ;
18960 int arg5 = (int) 0 ;
18961 int arg6 = (int) 0 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 PyObject * obj2 = 0 ;
18965 PyObject * obj3 = 0 ;
18966 PyObject * obj4 = 0 ;
18967 PyObject * obj5 = 0 ;
18968 char *kwnames[] = {
18969 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18970 };
18971
18972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18975 {
18976 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 {
18980 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18981 if (PyErr_Occurred()) SWIG_fail;
18982 }
18983 if (obj4) {
18984 {
18985 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18986 if (PyErr_Occurred()) SWIG_fail;
18987 }
18988 }
18989 if (obj5) {
18990 {
18991 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 }
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 Py_INCREF(Py_None); resultobj = Py_None;
19003 return resultobj;
19004 fail:
19005 return NULL;
19006 }
19007
19008
19009 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19012 double arg2 ;
19013 double arg3 ;
19014 PyObject * obj0 = 0 ;
19015 PyObject * obj1 = 0 ;
19016 PyObject * obj2 = 0 ;
19017 char *kwnames[] = {
19018 (char *) "self",(char *) "w",(char *) "h", NULL
19019 };
19020
19021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19023 {
19024 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 {
19028 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 (arg1)->base_OnBeginSize(arg2,arg3);
19034
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 Py_INCREF(Py_None); resultobj = Py_None;
19039 return resultobj;
19040 fail:
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19048 double arg2 ;
19049 double arg3 ;
19050 PyObject * obj0 = 0 ;
19051 PyObject * obj1 = 0 ;
19052 PyObject * obj2 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self",(char *) "w",(char *) "h", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19059 {
19060 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 {
19064 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 (arg1)->base_OnEndSize(arg2,arg3);
19070
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 Py_INCREF(Py_None); resultobj = Py_None;
19075 return resultobj;
19076 fail:
19077 return NULL;
19078 }
19079
19080
19081 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
19082 PyObject *obj;
19083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19084 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
19085 Py_INCREF(obj);
19086 return Py_BuildValue((char *)"");
19087 }
19088 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 double arg1 = (double) 0.0 ;
19091 double arg2 = (double) 0.0 ;
19092 wxPyDividedShape *result;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "width",(char *) "height", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
19100 if (obj0) {
19101 {
19102 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
19103 if (PyErr_Occurred()) SWIG_fail;
19104 }
19105 }
19106 if (obj1) {
19107 {
19108 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 }
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDividedShape, 1);
19120 return resultobj;
19121 fail:
19122 return NULL;
19123 }
19124
19125
19126 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19127 PyObject *resultobj;
19128 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19129 PyObject *arg2 = (PyObject *) 0 ;
19130 PyObject *arg3 = (PyObject *) 0 ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 PyObject * obj2 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self",(char *) "self",(char *) "_class", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19140 arg2 = obj1;
19141 arg3 = obj2;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 (arg1)->_setCallbackInfo(arg2,arg3);
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 Py_INCREF(Py_None); resultobj = Py_None;
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19159 PyObject * obj0 = 0 ;
19160 char *kwnames[] = {
19161 (char *) "self", NULL
19162 };
19163
19164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
19165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19166 {
19167 PyThreadState* __tstate = wxPyBeginAllowThreads();
19168 (arg1)->EditRegions();
19169
19170 wxPyEndAllowThreads(__tstate);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 }
19173 Py_INCREF(Py_None); resultobj = Py_None;
19174 return resultobj;
19175 fail:
19176 return NULL;
19177 }
19178
19179
19180 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19183 PyObject * obj0 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 (arg1)->SetRegionSizes();
19193
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 Py_INCREF(Py_None); resultobj = Py_None;
19198 return resultobj;
19199 fail:
19200 return NULL;
19201 }
19202
19203
19204 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj;
19206 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19207 PyObject * obj0 = 0 ;
19208 char *kwnames[] = {
19209 (char *) "self", NULL
19210 };
19211
19212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
19213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 (arg1)->base_OnDelete();
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_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxPyDividedShape *arg1 = (wxPyDividedShape *) 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:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
19239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,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_OnDraw(*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_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19261 wxDC *arg2 = 0 ;
19262 PyObject * obj0 = 0 ;
19263 PyObject * obj1 = 0 ;
19264 char *kwnames[] = {
19265 (char *) "self",(char *) "dc", NULL
19266 };
19267
19268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
19269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19271 if (arg2 == NULL) {
19272 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19273 }
19274 {
19275 PyThreadState* __tstate = wxPyBeginAllowThreads();
19276 (arg1)->base_OnDrawContents(*arg2);
19277
19278 wxPyEndAllowThreads(__tstate);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 }
19281 Py_INCREF(Py_None); resultobj = Py_None;
19282 return resultobj;
19283 fail:
19284 return NULL;
19285 }
19286
19287
19288 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
19289 PyObject *resultobj;
19290 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19291 wxDC *arg2 = 0 ;
19292 bool arg3 = (bool) FALSE ;
19293 PyObject * obj0 = 0 ;
19294 PyObject * obj1 = 0 ;
19295 PyObject * obj2 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self",(char *) "dc",(char *) "erase", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
19301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19303 if (arg2 == NULL) {
19304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19305 }
19306 if (obj2) {
19307 {
19308 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 }
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 (arg1)->base_OnDrawBranches(*arg2,arg3);
19315
19316 wxPyEndAllowThreads(__tstate);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
19319 Py_INCREF(Py_None); resultobj = Py_None;
19320 return resultobj;
19321 fail:
19322 return NULL;
19323 }
19324
19325
19326 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19329 wxDC *arg2 = 0 ;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self",(char *) "dc", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
19337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19338 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19339 if (arg2 == NULL) {
19340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19341 }
19342 {
19343 PyThreadState* __tstate = wxPyBeginAllowThreads();
19344 (arg1)->base_OnMoveLinks(*arg2);
19345
19346 wxPyEndAllowThreads(__tstate);
19347 if (PyErr_Occurred()) SWIG_fail;
19348 }
19349 Py_INCREF(Py_None); resultobj = Py_None;
19350 return resultobj;
19351 fail:
19352 return NULL;
19353 }
19354
19355
19356 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19359 wxDC *arg2 = 0 ;
19360 PyObject * obj0 = 0 ;
19361 PyObject * obj1 = 0 ;
19362 char *kwnames[] = {
19363 (char *) "self",(char *) "dc", NULL
19364 };
19365
19366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19369 if (arg2 == NULL) {
19370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19371 }
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 (arg1)->base_OnErase(*arg2);
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 Py_INCREF(Py_None); resultobj = Py_None;
19380 return resultobj;
19381 fail:
19382 return NULL;
19383 }
19384
19385
19386 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19387 PyObject *resultobj;
19388 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19389 wxDC *arg2 = 0 ;
19390 PyObject * obj0 = 0 ;
19391 PyObject * obj1 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self",(char *) "dc", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19398 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19399 if (arg2 == NULL) {
19400 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19401 }
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 (arg1)->base_OnEraseContents(*arg2);
19405
19406 wxPyEndAllowThreads(__tstate);
19407 if (PyErr_Occurred()) SWIG_fail;
19408 }
19409 Py_INCREF(Py_None); resultobj = Py_None;
19410 return resultobj;
19411 fail:
19412 return NULL;
19413 }
19414
19415
19416 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19417 PyObject *resultobj;
19418 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19419 wxDC *arg2 = 0 ;
19420 PyObject * obj0 = 0 ;
19421 PyObject * obj1 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self",(char *) "dc", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19429 if (arg2 == NULL) {
19430 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19431 }
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 (arg1)->base_OnHighlight(*arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 Py_INCREF(Py_None); resultobj = Py_None;
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19449 double arg2 ;
19450 double arg3 ;
19451 int arg4 = (int) 0 ;
19452 int arg5 = (int) 0 ;
19453 PyObject * obj0 = 0 ;
19454 PyObject * obj1 = 0 ;
19455 PyObject * obj2 = 0 ;
19456 PyObject * obj3 = 0 ;
19457 PyObject * obj4 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19464 {
19465 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 {
19469 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 if (obj3) {
19473 {
19474 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 }
19478 if (obj4) {
19479 {
19480 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 }
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19487
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 Py_INCREF(Py_None); resultobj = Py_None;
19492 return resultobj;
19493 fail:
19494 return NULL;
19495 }
19496
19497
19498 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19499 PyObject *resultobj;
19500 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19501 double arg2 ;
19502 double arg3 ;
19503 int arg4 = (int) 0 ;
19504 int arg5 = (int) 0 ;
19505 PyObject * obj0 = 0 ;
19506 PyObject * obj1 = 0 ;
19507 PyObject * obj2 = 0 ;
19508 PyObject * obj3 = 0 ;
19509 PyObject * obj4 = 0 ;
19510 char *kwnames[] = {
19511 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19512 };
19513
19514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19516 {
19517 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 {
19521 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 if (obj3) {
19525 {
19526 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 }
19530 if (obj4) {
19531 {
19532 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 }
19536 {
19537 PyThreadState* __tstate = wxPyBeginAllowThreads();
19538 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19539
19540 wxPyEndAllowThreads(__tstate);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 }
19543 Py_INCREF(Py_None); resultobj = Py_None;
19544 return resultobj;
19545 fail:
19546 return NULL;
19547 }
19548
19549
19550 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19551 PyObject *resultobj;
19552 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19553 double arg2 ;
19554 double arg3 ;
19555 int arg4 = (int) 0 ;
19556 int arg5 = (int) 0 ;
19557 PyObject * obj0 = 0 ;
19558 PyObject * obj1 = 0 ;
19559 PyObject * obj2 = 0 ;
19560 PyObject * obj3 = 0 ;
19561 PyObject * obj4 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19568 {
19569 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
19572 {
19573 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 if (obj3) {
19577 {
19578 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 }
19582 if (obj4) {
19583 {
19584 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 }
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 Py_INCREF(Py_None); resultobj = Py_None;
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19605 double arg2 ;
19606 double arg3 ;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj1 = 0 ;
19609 PyObject * obj2 = 0 ;
19610 char *kwnames[] = {
19611 (char *) "self",(char *) "x",(char *) "y", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19616 {
19617 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 {
19621 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 (arg1)->base_OnSize(arg2,arg3);
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 Py_INCREF(Py_None); resultobj = Py_None;
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19641 wxDC *arg2 = 0 ;
19642 double arg3 ;
19643 double arg4 ;
19644 double arg5 ;
19645 double arg6 ;
19646 bool arg7 = (bool) True ;
19647 bool result;
19648 PyObject * obj0 = 0 ;
19649 PyObject * obj1 = 0 ;
19650 PyObject * obj2 = 0 ;
19651 PyObject * obj3 = 0 ;
19652 PyObject * obj4 = 0 ;
19653 PyObject * obj5 = 0 ;
19654 PyObject * obj6 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19662 if (arg2 == NULL) {
19663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19664 }
19665 {
19666 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 {
19670 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 {
19674 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 {
19678 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 if (obj6) {
19682 {
19683 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 }
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19690
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19695 return resultobj;
19696 fail:
19697 return NULL;
19698 }
19699
19700
19701 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19702 PyObject *resultobj;
19703 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19704 wxDC *arg2 = 0 ;
19705 double arg3 ;
19706 double arg4 ;
19707 double arg5 ;
19708 double arg6 ;
19709 bool arg7 = (bool) True ;
19710 PyObject * obj0 = 0 ;
19711 PyObject * obj1 = 0 ;
19712 PyObject * obj2 = 0 ;
19713 PyObject * obj3 = 0 ;
19714 PyObject * obj4 = 0 ;
19715 PyObject * obj5 = 0 ;
19716 PyObject * obj6 = 0 ;
19717 char *kwnames[] = {
19718 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19719 };
19720
19721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19724 if (arg2 == NULL) {
19725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19726 }
19727 {
19728 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 {
19732 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 {
19736 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 {
19740 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 if (obj6) {
19744 {
19745 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 }
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 Py_INCREF(Py_None); resultobj = Py_None;
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19766 bool arg2 ;
19767 double arg3 ;
19768 double arg4 ;
19769 int arg5 = (int) 0 ;
19770 int arg6 = (int) 0 ;
19771 PyObject * obj0 = 0 ;
19772 PyObject * obj1 = 0 ;
19773 PyObject * obj2 = 0 ;
19774 PyObject * obj3 = 0 ;
19775 PyObject * obj4 = 0 ;
19776 PyObject * obj5 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 {
19784 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
19788 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 }
19791 {
19792 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 if (obj4) {
19796 {
19797 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19798 if (PyErr_Occurred()) SWIG_fail;
19799 }
19800 }
19801 if (obj5) {
19802 {
19803 arg6 = (int) SWIG_PyObj_AsInt(obj5);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 }
19807 {
19808 PyThreadState* __tstate = wxPyBeginAllowThreads();
19809 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19810
19811 wxPyEndAllowThreads(__tstate);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 Py_INCREF(Py_None); resultobj = Py_None;
19815 return resultobj;
19816 fail:
19817 return NULL;
19818 }
19819
19820
19821 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19822 PyObject *resultobj;
19823 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19824 double arg2 ;
19825 double arg3 ;
19826 int arg4 = (int) 0 ;
19827 int arg5 = (int) 0 ;
19828 PyObject * obj0 = 0 ;
19829 PyObject * obj1 = 0 ;
19830 PyObject * obj2 = 0 ;
19831 PyObject * obj3 = 0 ;
19832 PyObject * obj4 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19839 {
19840 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19841 if (PyErr_Occurred()) SWIG_fail;
19842 }
19843 {
19844 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 if (obj3) {
19848 {
19849 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 }
19853 if (obj4) {
19854 {
19855 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 }
19859 {
19860 PyThreadState* __tstate = wxPyBeginAllowThreads();
19861 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19862
19863 wxPyEndAllowThreads(__tstate);
19864 if (PyErr_Occurred()) SWIG_fail;
19865 }
19866 Py_INCREF(Py_None); resultobj = Py_None;
19867 return resultobj;
19868 fail:
19869 return NULL;
19870 }
19871
19872
19873 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19874 PyObject *resultobj;
19875 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19876 double arg2 ;
19877 double arg3 ;
19878 int arg4 = (int) 0 ;
19879 int arg5 = (int) 0 ;
19880 PyObject * obj0 = 0 ;
19881 PyObject * obj1 = 0 ;
19882 PyObject * obj2 = 0 ;
19883 PyObject * obj3 = 0 ;
19884 PyObject * obj4 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19891 {
19892 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 {
19896 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 if (obj3) {
19900 {
19901 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 }
19905 if (obj4) {
19906 {
19907 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
19910 }
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 Py_INCREF(Py_None); resultobj = Py_None;
19919 return resultobj;
19920 fail:
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19928 bool arg2 ;
19929 double arg3 ;
19930 double arg4 ;
19931 int arg5 = (int) 0 ;
19932 int arg6 = (int) 0 ;
19933 PyObject * obj0 = 0 ;
19934 PyObject * obj1 = 0 ;
19935 PyObject * obj2 = 0 ;
19936 PyObject * obj3 = 0 ;
19937 PyObject * obj4 = 0 ;
19938 PyObject * obj5 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 {
19946 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 {
19950 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 {
19954 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 if (obj4) {
19958 {
19959 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 }
19963 if (obj5) {
19964 {
19965 arg6 = (int) SWIG_PyObj_AsInt(obj5);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 }
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19972
19973 wxPyEndAllowThreads(__tstate);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
19976 Py_INCREF(Py_None); resultobj = Py_None;
19977 return resultobj;
19978 fail:
19979 return NULL;
19980 }
19981
19982
19983 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19984 PyObject *resultobj;
19985 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19986 double arg2 ;
19987 double arg3 ;
19988 int arg4 = (int) 0 ;
19989 int arg5 = (int) 0 ;
19990 PyObject * obj0 = 0 ;
19991 PyObject * obj1 = 0 ;
19992 PyObject * obj2 = 0 ;
19993 PyObject * obj3 = 0 ;
19994 PyObject * obj4 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 {
20002 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 {
20006 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20007 if (PyErr_Occurred()) SWIG_fail;
20008 }
20009 if (obj3) {
20010 {
20011 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 }
20015 if (obj4) {
20016 {
20017 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 }
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 Py_INCREF(Py_None); resultobj = Py_None;
20029 return resultobj;
20030 fail:
20031 return NULL;
20032 }
20033
20034
20035 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20038 double arg2 ;
20039 double arg3 ;
20040 int arg4 = (int) 0 ;
20041 int arg5 = (int) 0 ;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 PyObject * obj2 = 0 ;
20045 PyObject * obj3 = 0 ;
20046 PyObject * obj4 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20053 {
20054 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 {
20058 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 if (obj3) {
20062 {
20063 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 }
20067 if (obj4) {
20068 {
20069 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 }
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
20076
20077 wxPyEndAllowThreads(__tstate);
20078 if (PyErr_Occurred()) SWIG_fail;
20079 }
20080 Py_INCREF(Py_None); resultobj = Py_None;
20081 return resultobj;
20082 fail:
20083 return NULL;
20084 }
20085
20086
20087 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
20088 PyObject *resultobj;
20089 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20090 wxDC *arg2 = 0 ;
20091 double arg3 ;
20092 double arg4 ;
20093 double arg5 ;
20094 double arg6 ;
20095 PyObject * obj0 = 0 ;
20096 PyObject * obj1 = 0 ;
20097 PyObject * obj2 = 0 ;
20098 PyObject * obj3 = 0 ;
20099 PyObject * obj4 = 0 ;
20100 PyObject * obj5 = 0 ;
20101 char *kwnames[] = {
20102 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
20103 };
20104
20105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 if (arg2 == NULL) {
20109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20110 }
20111 {
20112 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 {
20116 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 {
20120 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 {
20124 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
20130
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 Py_INCREF(Py_None); resultobj = Py_None;
20135 return resultobj;
20136 fail:
20137 return NULL;
20138 }
20139
20140
20141 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj;
20143 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20144 wxDC *arg2 = 0 ;
20145 PyObject * obj0 = 0 ;
20146 PyObject * obj1 = 0 ;
20147 char *kwnames[] = {
20148 (char *) "self",(char *) "dc", NULL
20149 };
20150
20151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
20152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20154 if (arg2 == NULL) {
20155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20156 }
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 (arg1)->base_OnDrawControlPoints(*arg2);
20160
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 Py_INCREF(Py_None); resultobj = Py_None;
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20174 wxDC *arg2 = 0 ;
20175 PyObject * obj0 = 0 ;
20176 PyObject * obj1 = 0 ;
20177 char *kwnames[] = {
20178 (char *) "self",(char *) "dc", NULL
20179 };
20180
20181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
20182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20184 if (arg2 == NULL) {
20185 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20186 }
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 (arg1)->base_OnEraseControlPoints(*arg2);
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 Py_INCREF(Py_None); resultobj = Py_None;
20195 return resultobj;
20196 fail:
20197 return NULL;
20198 }
20199
20200
20201 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
20202 PyObject *resultobj;
20203 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20204 wxDC *arg2 = 0 ;
20205 bool arg3 = (bool) True ;
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 PyObject * obj2 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20216 if (arg2 == NULL) {
20217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20218 }
20219 if (obj2) {
20220 {
20221 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 }
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 (arg1)->base_OnMoveLink(*arg2,arg3);
20228
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 Py_INCREF(Py_None); resultobj = Py_None;
20233 return resultobj;
20234 fail:
20235 return NULL;
20236 }
20237
20238
20239 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20240 PyObject *resultobj;
20241 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20242 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20243 bool arg3 ;
20244 double arg4 ;
20245 double arg5 ;
20246 int arg6 = (int) 0 ;
20247 int arg7 = (int) 0 ;
20248 PyObject * obj0 = 0 ;
20249 PyObject * obj1 = 0 ;
20250 PyObject * obj2 = 0 ;
20251 PyObject * obj3 = 0 ;
20252 PyObject * obj4 = 0 ;
20253 PyObject * obj5 = 0 ;
20254 PyObject * obj6 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20262 {
20263 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 {
20267 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 {
20271 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
20274 if (obj5) {
20275 {
20276 arg6 = (int) SWIG_PyObj_AsInt(obj5);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 }
20280 if (obj6) {
20281 {
20282 arg7 = (int) SWIG_PyObj_AsInt(obj6);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 }
20286 {
20287 PyThreadState* __tstate = wxPyBeginAllowThreads();
20288 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
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_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20301 PyObject *resultobj;
20302 wxPyDividedShape *arg1 = (wxPyDividedShape *) 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 PyObject * obj2 = 0 ;
20311 PyObject * obj3 = 0 ;
20312 PyObject * obj4 = 0 ;
20313 PyObject * obj5 = 0 ;
20314 char *kwnames[] = {
20315 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20321 {
20322 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20323 if (PyErr_Occurred()) SWIG_fail;
20324 }
20325 {
20326 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 if (obj4) {
20330 {
20331 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 }
20335 if (obj5) {
20336 {
20337 arg6 = (int) SWIG_PyObj_AsInt(obj5);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 }
20341 {
20342 PyThreadState* __tstate = wxPyBeginAllowThreads();
20343 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
20344
20345 wxPyEndAllowThreads(__tstate);
20346 if (PyErr_Occurred()) SWIG_fail;
20347 }
20348 Py_INCREF(Py_None); resultobj = Py_None;
20349 return resultobj;
20350 fail:
20351 return NULL;
20352 }
20353
20354
20355 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20356 PyObject *resultobj;
20357 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20358 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20359 double arg3 ;
20360 double arg4 ;
20361 int arg5 = (int) 0 ;
20362 int arg6 = (int) 0 ;
20363 PyObject * obj0 = 0 ;
20364 PyObject * obj1 = 0 ;
20365 PyObject * obj2 = 0 ;
20366 PyObject * obj3 = 0 ;
20367 PyObject * obj4 = 0 ;
20368 PyObject * obj5 = 0 ;
20369 char *kwnames[] = {
20370 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20376 {
20377 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 {
20381 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 }
20384 if (obj4) {
20385 {
20386 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20387 if (PyErr_Occurred()) SWIG_fail;
20388 }
20389 }
20390 if (obj5) {
20391 {
20392 arg6 = (int) SWIG_PyObj_AsInt(obj5);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 }
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 Py_INCREF(Py_None); resultobj = Py_None;
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20413 double arg2 ;
20414 double arg3 ;
20415 PyObject * obj0 = 0 ;
20416 PyObject * obj1 = 0 ;
20417 PyObject * obj2 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self",(char *) "w",(char *) "h", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20424 {
20425 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 {
20429 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 (arg1)->base_OnBeginSize(arg2,arg3);
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 Py_INCREF(Py_None); resultobj = Py_None;
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20449 double arg2 ;
20450 double arg3 ;
20451 PyObject * obj0 = 0 ;
20452 PyObject * obj1 = 0 ;
20453 PyObject * obj2 = 0 ;
20454 char *kwnames[] = {
20455 (char *) "self",(char *) "w",(char *) "h", NULL
20456 };
20457
20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20460 {
20461 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
20464 {
20465 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 {
20469 PyThreadState* __tstate = wxPyBeginAllowThreads();
20470 (arg1)->base_OnEndSize(arg2,arg3);
20471
20472 wxPyEndAllowThreads(__tstate);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 Py_INCREF(Py_None); resultobj = Py_None;
20476 return resultobj;
20477 fail:
20478 return NULL;
20479 }
20480
20481
20482 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
20483 PyObject *obj;
20484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20485 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20486 Py_INCREF(obj);
20487 return Py_BuildValue((char *)"");
20488 }
20489 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxPyDivisionShape *result;
20492 char *kwnames[] = {
20493 NULL
20494 };
20495
20496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20497 {
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20500
20501 wxPyEndAllowThreads(__tstate);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 }
20504 {
20505 resultobj = wxPyMake_wxShapeEvtHandler(result);
20506 }
20507 return resultobj;
20508 fail:
20509 return NULL;
20510 }
20511
20512
20513 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj;
20515 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20516 PyObject *arg2 = (PyObject *) 0 ;
20517 PyObject *arg3 = (PyObject *) 0 ;
20518 PyObject * obj0 = 0 ;
20519 PyObject * obj1 = 0 ;
20520 PyObject * obj2 = 0 ;
20521 char *kwnames[] = {
20522 (char *) "self",(char *) "self",(char *) "_class", NULL
20523 };
20524
20525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20527 arg2 = obj1;
20528 arg3 = obj2;
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 (arg1)->_setCallbackInfo(arg2,arg3);
20532
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 Py_INCREF(Py_None); resultobj = Py_None;
20537 return resultobj;
20538 fail:
20539 return NULL;
20540 }
20541
20542
20543 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj;
20545 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20546 double arg2 ;
20547 bool arg3 ;
20548 PyObject * obj0 = 0 ;
20549 PyObject * obj1 = 0 ;
20550 PyObject * obj2 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self",(char *) "bottom",(char *) "test", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20557 {
20558 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 {
20562 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 {
20566 PyThreadState* __tstate = wxPyBeginAllowThreads();
20567 (arg1)->AdjustBottom(arg2,arg3);
20568
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 Py_INCREF(Py_None); resultobj = Py_None;
20573 return resultobj;
20574 fail:
20575 return NULL;
20576 }
20577
20578
20579 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj;
20581 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20582 double arg2 ;
20583 bool arg3 ;
20584 PyObject * obj0 = 0 ;
20585 PyObject * obj1 = 0 ;
20586 PyObject * obj2 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "self",(char *) "left",(char *) "test", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
20592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20593 {
20594 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 (arg1)->AdjustLeft(arg2,arg3);
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 Py_INCREF(Py_None); resultobj = Py_None;
20609 return resultobj;
20610 fail:
20611 return NULL;
20612 }
20613
20614
20615 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20616 PyObject *resultobj;
20617 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20618 double arg2 ;
20619 bool arg3 ;
20620 PyObject * obj0 = 0 ;
20621 PyObject * obj1 = 0 ;
20622 PyObject * obj2 = 0 ;
20623 char *kwnames[] = {
20624 (char *) "self",(char *) "right",(char *) "test", NULL
20625 };
20626
20627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
20628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20629 {
20630 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 {
20634 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 (arg1)->AdjustRight(arg2,arg3);
20640
20641 wxPyEndAllowThreads(__tstate);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 }
20644 Py_INCREF(Py_None); resultobj = Py_None;
20645 return resultobj;
20646 fail:
20647 return NULL;
20648 }
20649
20650
20651 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
20652 PyObject *resultobj;
20653 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20654 double arg2 ;
20655 bool arg3 ;
20656 PyObject * obj0 = 0 ;
20657 PyObject * obj1 = 0 ;
20658 PyObject * obj2 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self",(char *) "top",(char *) "test", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20665 {
20666 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20667 if (PyErr_Occurred()) SWIG_fail;
20668 }
20669 {
20670 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20671 if (PyErr_Occurred()) SWIG_fail;
20672 }
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->AdjustTop(arg2,arg3);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20690 int arg2 ;
20691 PyObject * obj0 = 0 ;
20692 PyObject * obj1 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self",(char *) "direction", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20699 {
20700 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
20703 {
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 (arg1)->Divide(arg2);
20706
20707 wxPyEndAllowThreads(__tstate);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 }
20710 Py_INCREF(Py_None); resultobj = Py_None;
20711 return resultobj;
20712 fail:
20713 return NULL;
20714 }
20715
20716
20717 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
20718 PyObject *resultobj;
20719 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20720 int arg2 ;
20721 PyObject * obj0 = 0 ;
20722 PyObject * obj1 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self",(char *) "side", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
20728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20729 {
20730 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 (arg1)->EditEdge(arg2);
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 Py_INCREF(Py_None); resultobj = Py_None;
20741 return resultobj;
20742 fail:
20743 return NULL;
20744 }
20745
20746
20747 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20750 wxPyDivisionShape *result;
20751 PyObject * obj0 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20761
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 {
20766 resultobj = wxPyMake_wxShapeEvtHandler(result);
20767 }
20768 return resultobj;
20769 fail:
20770 return NULL;
20771 }
20772
20773
20774 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20775 PyObject *resultobj;
20776 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20777 int result;
20778 PyObject * obj0 = 0 ;
20779 char *kwnames[] = {
20780 (char *) "self", NULL
20781 };
20782
20783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
20784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 result = (int)(arg1)->GetHandleSide();
20788
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 resultobj = SWIG_PyObj_FromInt((int)result);
20793 return resultobj;
20794 fail:
20795 return NULL;
20796 }
20797
20798
20799 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20800 PyObject *resultobj;
20801 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20802 wxPyDivisionShape *result;
20803 PyObject * obj0 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 {
20818 resultobj = wxPyMake_wxShapeEvtHandler(result);
20819 }
20820 return resultobj;
20821 fail:
20822 return NULL;
20823 }
20824
20825
20826 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20827 PyObject *resultobj;
20828 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20829 wxString result;
20830 PyObject * obj0 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "self", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
20836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20837 {
20838 PyThreadState* __tstate = wxPyBeginAllowThreads();
20839 result = (arg1)->GetLeftSideColour();
20840
20841 wxPyEndAllowThreads(__tstate);
20842 if (PyErr_Occurred()) SWIG_fail;
20843 }
20844 {
20845 #if wxUSE_UNICODE
20846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20847 #else
20848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20849 #endif
20850 }
20851 return resultobj;
20852 fail:
20853 return NULL;
20854 }
20855
20856
20857 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20858 PyObject *resultobj;
20859 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20860 wxPen *result;
20861 PyObject * obj0 = 0 ;
20862 char *kwnames[] = {
20863 (char *) "self", NULL
20864 };
20865
20866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
20867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20868 {
20869 PyThreadState* __tstate = wxPyBeginAllowThreads();
20870 result = (wxPen *)(arg1)->GetLeftSidePen();
20871
20872 wxPyEndAllowThreads(__tstate);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 }
20875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
20876 return resultobj;
20877 fail:
20878 return NULL;
20879 }
20880
20881
20882 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20883 PyObject *resultobj;
20884 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20885 wxPyDivisionShape *result;
20886 PyObject * obj0 = 0 ;
20887 char *kwnames[] = {
20888 (char *) "self", NULL
20889 };
20890
20891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
20892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 {
20901 resultobj = wxPyMake_wxShapeEvtHandler(result);
20902 }
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj;
20911 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20912 wxPyDivisionShape *result;
20913 PyObject * obj0 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
20919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 {
20928 resultobj = wxPyMake_wxShapeEvtHandler(result);
20929 }
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20939 wxPen *result;
20940 PyObject * obj0 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
20946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 result = (wxPen *)(arg1)->GetTopSidePen();
20950
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
20955 return resultobj;
20956 fail:
20957 return NULL;
20958 }
20959
20960
20961 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
20962 PyObject *resultobj;
20963 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20964 int arg2 ;
20965 double arg3 ;
20966 bool arg4 ;
20967 PyObject * obj0 = 0 ;
20968 PyObject * obj1 = 0 ;
20969 PyObject * obj2 = 0 ;
20970 PyObject * obj3 = 0 ;
20971 char *kwnames[] = {
20972 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20973 };
20974
20975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20977 {
20978 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 {
20982 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
20985 {
20986 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20992
20993 wxPyEndAllowThreads(__tstate);
20994 if (PyErr_Occurred()) SWIG_fail;
20995 }
20996 Py_INCREF(Py_None); resultobj = Py_None;
20997 return resultobj;
20998 fail:
20999 return NULL;
21000 }
21001
21002
21003 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
21004 PyObject *resultobj;
21005 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21006 double arg2 ;
21007 double arg3 ;
21008 PyObject * obj0 = 0 ;
21009 PyObject * obj1 = 0 ;
21010 PyObject * obj2 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "x",(char *) "y", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21017 {
21018 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 {
21022 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 (arg1)->PopupMenu(arg2,arg3);
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 Py_INCREF(Py_None); resultobj = Py_None;
21033 return resultobj;
21034 fail:
21035 return NULL;
21036 }
21037
21038
21039 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj;
21041 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21042 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
21043 PyObject * obj0 = 0 ;
21044 PyObject * obj1 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self",(char *) "shape", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 (arg1)->SetBottomSide(arg2);
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 Py_INCREF(Py_None); resultobj = Py_None;
21060 return resultobj;
21061 fail:
21062 return NULL;
21063 }
21064
21065
21066 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21067 PyObject *resultobj;
21068 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21069 int arg2 ;
21070 PyObject * obj0 = 0 ;
21071 PyObject * obj1 = 0 ;
21072 char *kwnames[] = {
21073 (char *) "self",(char *) "side", NULL
21074 };
21075
21076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
21077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21078 {
21079 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 (arg1)->SetHandleSide(arg2);
21085
21086 wxPyEndAllowThreads(__tstate);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
21089 Py_INCREF(Py_None); resultobj = Py_None;
21090 return resultobj;
21091 fail:
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21099 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
21100 PyObject * obj0 = 0 ;
21101 PyObject * obj1 = 0 ;
21102 char *kwnames[] = {
21103 (char *) "self",(char *) "shape", NULL
21104 };
21105
21106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
21107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21109 {
21110 PyThreadState* __tstate = wxPyBeginAllowThreads();
21111 (arg1)->SetLeftSide(arg2);
21112
21113 wxPyEndAllowThreads(__tstate);
21114 if (PyErr_Occurred()) SWIG_fail;
21115 }
21116 Py_INCREF(Py_None); resultobj = Py_None;
21117 return resultobj;
21118 fail:
21119 return NULL;
21120 }
21121
21122
21123 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21124 PyObject *resultobj;
21125 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21126 wxString *arg2 = 0 ;
21127 bool temp2 = False ;
21128 PyObject * obj0 = 0 ;
21129 PyObject * obj1 = 0 ;
21130 char *kwnames[] = {
21131 (char *) "self",(char *) "colour", NULL
21132 };
21133
21134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
21135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21136 {
21137 arg2 = wxString_in_helper(obj1);
21138 if (arg2 == NULL) SWIG_fail;
21139 temp2 = True;
21140 }
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 (arg1)->SetLeftSideColour((wxString const &)*arg2);
21144
21145 wxPyEndAllowThreads(__tstate);
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 Py_INCREF(Py_None); resultobj = Py_None;
21149 {
21150 if (temp2)
21151 delete arg2;
21152 }
21153 return resultobj;
21154 fail:
21155 {
21156 if (temp2)
21157 delete arg2;
21158 }
21159 return NULL;
21160 }
21161
21162
21163 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj;
21165 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21166 wxPen *arg2 = (wxPen *) 0 ;
21167 PyObject * obj0 = 0 ;
21168 PyObject * obj1 = 0 ;
21169 char *kwnames[] = {
21170 (char *) "self",(char *) "pen", NULL
21171 };
21172
21173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
21174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21175 {
21176 wxPen* temp;
21177 if (obj1) {
21178 if (obj1 == Py_None) {
21179 temp = NULL;
21180 }
21181 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
21182 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
21183 return NULL;
21184 }
21185 }
21186 if (temp)
21187 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
21188 temp->GetWidth(),
21189 temp->GetStyle());
21190 else
21191 arg2 = NULL;
21192 }
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 (arg1)->SetLeftSidePen(arg2);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 Py_INCREF(Py_None); resultobj = Py_None;
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21210 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "shape", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 (arg1)->SetRightSide(arg2);
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 Py_INCREF(Py_None); resultobj = Py_None;
21228 return resultobj;
21229 fail:
21230 return NULL;
21231 }
21232
21233
21234 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj;
21236 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21237 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 char *kwnames[] = {
21241 (char *) "self",(char *) "shape", NULL
21242 };
21243
21244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
21245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 (arg1)->SetTopSide(arg2);
21250
21251 wxPyEndAllowThreads(__tstate);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 Py_INCREF(Py_None); resultobj = Py_None;
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21264 wxString *arg2 = 0 ;
21265 bool temp2 = False ;
21266 PyObject * obj0 = 0 ;
21267 PyObject * obj1 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "colour", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
21273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21274 {
21275 arg2 = wxString_in_helper(obj1);
21276 if (arg2 == NULL) SWIG_fail;
21277 temp2 = True;
21278 }
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 (arg1)->SetTopSideColour((wxString const &)*arg2);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 Py_INCREF(Py_None); resultobj = Py_None;
21287 {
21288 if (temp2)
21289 delete arg2;
21290 }
21291 return resultobj;
21292 fail:
21293 {
21294 if (temp2)
21295 delete arg2;
21296 }
21297 return NULL;
21298 }
21299
21300
21301 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj;
21303 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21304 wxPen *arg2 = (wxPen *) 0 ;
21305 PyObject * obj0 = 0 ;
21306 PyObject * obj1 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self",(char *) "pen", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
21312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21313 {
21314 wxPen* temp;
21315 if (obj1) {
21316 if (obj1 == Py_None) {
21317 temp = NULL;
21318 }
21319 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
21320 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
21321 return NULL;
21322 }
21323 }
21324 if (temp)
21325 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
21326 temp->GetWidth(),
21327 temp->GetStyle());
21328 else
21329 arg2 = NULL;
21330 }
21331 {
21332 PyThreadState* __tstate = wxPyBeginAllowThreads();
21333 (arg1)->SetTopSidePen(arg2);
21334
21335 wxPyEndAllowThreads(__tstate);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 }
21338 Py_INCREF(Py_None); resultobj = Py_None;
21339 return resultobj;
21340 fail:
21341 return NULL;
21342 }
21343
21344
21345 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
21346 PyObject *resultobj;
21347 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21348 PyObject * obj0 = 0 ;
21349 char *kwnames[] = {
21350 (char *) "self", NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
21354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 (arg1)->base_OnDelete();
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 Py_INCREF(Py_None); resultobj = Py_None;
21363 return resultobj;
21364 fail:
21365 return NULL;
21366 }
21367
21368
21369 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
21370 PyObject *resultobj;
21371 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21372 wxDC *arg2 = 0 ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 char *kwnames[] = {
21376 (char *) "self",(char *) "dc", NULL
21377 };
21378
21379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
21380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21382 if (arg2 == NULL) {
21383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21384 }
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 (arg1)->base_OnDraw(*arg2);
21388
21389 wxPyEndAllowThreads(__tstate);
21390 if (PyErr_Occurred()) SWIG_fail;
21391 }
21392 Py_INCREF(Py_None); resultobj = Py_None;
21393 return resultobj;
21394 fail:
21395 return NULL;
21396 }
21397
21398
21399 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21402 wxDC *arg2 = 0 ;
21403 PyObject * obj0 = 0 ;
21404 PyObject * obj1 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self",(char *) "dc", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21412 if (arg2 == NULL) {
21413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21414 }
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 (arg1)->base_OnDrawContents(*arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 Py_INCREF(Py_None); resultobj = Py_None;
21423 return resultobj;
21424 fail:
21425 return NULL;
21426 }
21427
21428
21429 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj;
21431 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21432 wxDC *arg2 = 0 ;
21433 bool arg3 = (bool) FALSE ;
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
21436 PyObject * obj2 = 0 ;
21437 char *kwnames[] = {
21438 (char *) "self",(char *) "dc",(char *) "erase", NULL
21439 };
21440
21441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
21442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21444 if (arg2 == NULL) {
21445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21446 }
21447 if (obj2) {
21448 {
21449 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
21450 if (PyErr_Occurred()) SWIG_fail;
21451 }
21452 }
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 (arg1)->base_OnDrawBranches(*arg2,arg3);
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 Py_INCREF(Py_None); resultobj = Py_None;
21461 return resultobj;
21462 fail:
21463 return NULL;
21464 }
21465
21466
21467 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21468 PyObject *resultobj;
21469 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21470 wxDC *arg2 = 0 ;
21471 PyObject * obj0 = 0 ;
21472 PyObject * obj1 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self",(char *) "dc", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21480 if (arg2 == NULL) {
21481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21482 }
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 (arg1)->base_OnMoveLinks(*arg2);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 Py_INCREF(Py_None); resultobj = Py_None;
21491 return resultobj;
21492 fail:
21493 return NULL;
21494 }
21495
21496
21497 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21498 PyObject *resultobj;
21499 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21500 wxDC *arg2 = 0 ;
21501 PyObject * obj0 = 0 ;
21502 PyObject * obj1 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self",(char *) "dc", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21510 if (arg2 == NULL) {
21511 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21512 }
21513 {
21514 PyThreadState* __tstate = wxPyBeginAllowThreads();
21515 (arg1)->base_OnErase(*arg2);
21516
21517 wxPyEndAllowThreads(__tstate);
21518 if (PyErr_Occurred()) SWIG_fail;
21519 }
21520 Py_INCREF(Py_None); resultobj = Py_None;
21521 return resultobj;
21522 fail:
21523 return NULL;
21524 }
21525
21526
21527 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21528 PyObject *resultobj;
21529 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21530 wxDC *arg2 = 0 ;
21531 PyObject * obj0 = 0 ;
21532 PyObject * obj1 = 0 ;
21533 char *kwnames[] = {
21534 (char *) "self",(char *) "dc", NULL
21535 };
21536
21537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21540 if (arg2 == NULL) {
21541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21542 }
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 (arg1)->base_OnEraseContents(*arg2);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 Py_INCREF(Py_None); resultobj = Py_None;
21551 return resultobj;
21552 fail:
21553 return NULL;
21554 }
21555
21556
21557 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj;
21559 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21560 wxDC *arg2 = 0 ;
21561 PyObject * obj0 = 0 ;
21562 PyObject * obj1 = 0 ;
21563 char *kwnames[] = {
21564 (char *) "self",(char *) "dc", NULL
21565 };
21566
21567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21570 if (arg2 == NULL) {
21571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21572 }
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 (arg1)->base_OnHighlight(*arg2);
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 Py_INCREF(Py_None); resultobj = Py_None;
21581 return resultobj;
21582 fail:
21583 return NULL;
21584 }
21585
21586
21587 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21588 PyObject *resultobj;
21589 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21590 double arg2 ;
21591 double arg3 ;
21592 int arg4 = (int) 0 ;
21593 int arg5 = (int) 0 ;
21594 PyObject * obj0 = 0 ;
21595 PyObject * obj1 = 0 ;
21596 PyObject * obj2 = 0 ;
21597 PyObject * obj3 = 0 ;
21598 PyObject * obj4 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21605 {
21606 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 }
21609 {
21610 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 if (obj3) {
21614 {
21615 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21616 if (PyErr_Occurred()) SWIG_fail;
21617 }
21618 }
21619 if (obj4) {
21620 {
21621 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21622 if (PyErr_Occurred()) SWIG_fail;
21623 }
21624 }
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 Py_INCREF(Py_None); resultobj = Py_None;
21633 return resultobj;
21634 fail:
21635 return NULL;
21636 }
21637
21638
21639 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj;
21641 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21642 double arg2 ;
21643 double arg3 ;
21644 int arg4 = (int) 0 ;
21645 int arg5 = (int) 0 ;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 PyObject * obj2 = 0 ;
21649 PyObject * obj3 = 0 ;
21650 PyObject * obj4 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21657 {
21658 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 {
21662 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21663 if (PyErr_Occurred()) SWIG_fail;
21664 }
21665 if (obj3) {
21666 {
21667 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 }
21671 if (obj4) {
21672 {
21673 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 }
21676 }
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
21684 Py_INCREF(Py_None); resultobj = Py_None;
21685 return resultobj;
21686 fail:
21687 return NULL;
21688 }
21689
21690
21691 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21692 PyObject *resultobj;
21693 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21694 double arg2 ;
21695 double arg3 ;
21696 int arg4 = (int) 0 ;
21697 int arg5 = (int) 0 ;
21698 PyObject * obj0 = 0 ;
21699 PyObject * obj1 = 0 ;
21700 PyObject * obj2 = 0 ;
21701 PyObject * obj3 = 0 ;
21702 PyObject * obj4 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21709 {
21710 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 {
21714 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 if (obj3) {
21718 {
21719 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 }
21722 }
21723 if (obj4) {
21724 {
21725 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 }
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 Py_INCREF(Py_None); resultobj = Py_None;
21737 return resultobj;
21738 fail:
21739 return NULL;
21740 }
21741
21742
21743 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21744 PyObject *resultobj;
21745 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21746 double arg2 ;
21747 double arg3 ;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 PyObject * obj2 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self",(char *) "x",(char *) "y", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
21756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21757 {
21758 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 {
21762 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 (arg1)->base_OnSize(arg2,arg3);
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 Py_INCREF(Py_None); resultobj = Py_None;
21773 return resultobj;
21774 fail:
21775 return NULL;
21776 }
21777
21778
21779 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj;
21781 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21782 wxDC *arg2 = 0 ;
21783 double arg3 ;
21784 double arg4 ;
21785 double arg5 ;
21786 double arg6 ;
21787 bool arg7 = (bool) True ;
21788 bool result;
21789 PyObject * obj0 = 0 ;
21790 PyObject * obj1 = 0 ;
21791 PyObject * obj2 = 0 ;
21792 PyObject * obj3 = 0 ;
21793 PyObject * obj4 = 0 ;
21794 PyObject * obj5 = 0 ;
21795 PyObject * obj6 = 0 ;
21796 char *kwnames[] = {
21797 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21798 };
21799
21800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21803 if (arg2 == NULL) {
21804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21805 }
21806 {
21807 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 {
21811 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 {
21815 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 {
21819 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 if (obj6) {
21823 {
21824 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
21825 if (PyErr_Occurred()) SWIG_fail;
21826 }
21827 }
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21831
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21836 return resultobj;
21837 fail:
21838 return NULL;
21839 }
21840
21841
21842 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21845 wxDC *arg2 = 0 ;
21846 double arg3 ;
21847 double arg4 ;
21848 double arg5 ;
21849 double arg6 ;
21850 bool arg7 = (bool) True ;
21851 PyObject * obj0 = 0 ;
21852 PyObject * obj1 = 0 ;
21853 PyObject * obj2 = 0 ;
21854 PyObject * obj3 = 0 ;
21855 PyObject * obj4 = 0 ;
21856 PyObject * obj5 = 0 ;
21857 PyObject * obj6 = 0 ;
21858 char *kwnames[] = {
21859 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21860 };
21861
21862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21865 if (arg2 == NULL) {
21866 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21867 }
21868 {
21869 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 {
21873 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 {
21877 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 {
21881 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 }
21884 if (obj6) {
21885 {
21886 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 }
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
21892 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21893
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 Py_INCREF(Py_None); resultobj = Py_None;
21898 return resultobj;
21899 fail:
21900 return NULL;
21901 }
21902
21903
21904 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21905 PyObject *resultobj;
21906 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21907 bool arg2 ;
21908 double arg3 ;
21909 double arg4 ;
21910 int arg5 = (int) 0 ;
21911 int arg6 = (int) 0 ;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 PyObject * obj2 = 0 ;
21915 PyObject * obj3 = 0 ;
21916 PyObject * obj4 = 0 ;
21917 PyObject * obj5 = 0 ;
21918 char *kwnames[] = {
21919 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21920 };
21921
21922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21924 {
21925 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 {
21929 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21930 if (PyErr_Occurred()) SWIG_fail;
21931 }
21932 {
21933 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 if (obj4) {
21937 {
21938 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 }
21942 if (obj5) {
21943 {
21944 arg6 = (int) SWIG_PyObj_AsInt(obj5);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 }
21948 {
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21951
21952 wxPyEndAllowThreads(__tstate);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 }
21955 Py_INCREF(Py_None); resultobj = Py_None;
21956 return resultobj;
21957 fail:
21958 return NULL;
21959 }
21960
21961
21962 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21963 PyObject *resultobj;
21964 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21965 double arg2 ;
21966 double arg3 ;
21967 int arg4 = (int) 0 ;
21968 int arg5 = (int) 0 ;
21969 PyObject * obj0 = 0 ;
21970 PyObject * obj1 = 0 ;
21971 PyObject * obj2 = 0 ;
21972 PyObject * obj3 = 0 ;
21973 PyObject * obj4 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21980 {
21981 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 {
21985 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 }
21988 if (obj3) {
21989 {
21990 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 }
21994 if (obj4) {
21995 {
21996 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21997 if (PyErr_Occurred()) SWIG_fail;
21998 }
21999 }
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 Py_INCREF(Py_None); resultobj = Py_None;
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22017 double arg2 ;
22018 double arg3 ;
22019 int arg4 = (int) 0 ;
22020 int arg5 = (int) 0 ;
22021 PyObject * obj0 = 0 ;
22022 PyObject * obj1 = 0 ;
22023 PyObject * obj2 = 0 ;
22024 PyObject * obj3 = 0 ;
22025 PyObject * obj4 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22032 {
22033 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 {
22037 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 if (obj3) {
22041 {
22042 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 }
22046 if (obj4) {
22047 {
22048 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 }
22052 {
22053 PyThreadState* __tstate = wxPyBeginAllowThreads();
22054 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22055
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 Py_INCREF(Py_None); resultobj = Py_None;
22060 return resultobj;
22061 fail:
22062 return NULL;
22063 }
22064
22065
22066 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22067 PyObject *resultobj;
22068 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22069 bool arg2 ;
22070 double arg3 ;
22071 double arg4 ;
22072 int arg5 = (int) 0 ;
22073 int arg6 = (int) 0 ;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 PyObject * obj2 = 0 ;
22077 PyObject * obj3 = 0 ;
22078 PyObject * obj4 = 0 ;
22079 PyObject * obj5 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22082 };
22083
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22086 {
22087 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 {
22091 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 {
22095 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 if (obj4) {
22099 {
22100 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
22103 }
22104 if (obj5) {
22105 {
22106 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 }
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 Py_INCREF(Py_None); resultobj = Py_None;
22118 return resultobj;
22119 fail:
22120 return NULL;
22121 }
22122
22123
22124 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22125 PyObject *resultobj;
22126 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22127 double arg2 ;
22128 double arg3 ;
22129 int arg4 = (int) 0 ;
22130 int arg5 = (int) 0 ;
22131 PyObject * obj0 = 0 ;
22132 PyObject * obj1 = 0 ;
22133 PyObject * obj2 = 0 ;
22134 PyObject * obj3 = 0 ;
22135 PyObject * obj4 = 0 ;
22136 char *kwnames[] = {
22137 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22138 };
22139
22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22142 {
22143 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 {
22147 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
22150 if (obj3) {
22151 {
22152 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22153 if (PyErr_Occurred()) SWIG_fail;
22154 }
22155 }
22156 if (obj4) {
22157 {
22158 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 }
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 Py_INCREF(Py_None); resultobj = Py_None;
22170 return resultobj;
22171 fail:
22172 return NULL;
22173 }
22174
22175
22176 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22177 PyObject *resultobj;
22178 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22179 double arg2 ;
22180 double arg3 ;
22181 int arg4 = (int) 0 ;
22182 int arg5 = (int) 0 ;
22183 PyObject * obj0 = 0 ;
22184 PyObject * obj1 = 0 ;
22185 PyObject * obj2 = 0 ;
22186 PyObject * obj3 = 0 ;
22187 PyObject * obj4 = 0 ;
22188 char *kwnames[] = {
22189 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22190 };
22191
22192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22194 {
22195 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 {
22199 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22200 if (PyErr_Occurred()) SWIG_fail;
22201 }
22202 if (obj3) {
22203 {
22204 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 }
22208 if (obj4) {
22209 {
22210 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 }
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 Py_INCREF(Py_None); resultobj = Py_None;
22222 return resultobj;
22223 fail:
22224 return NULL;
22225 }
22226
22227
22228 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22231 wxDC *arg2 = 0 ;
22232 double arg3 ;
22233 double arg4 ;
22234 double arg5 ;
22235 double arg6 ;
22236 PyObject * obj0 = 0 ;
22237 PyObject * obj1 = 0 ;
22238 PyObject * obj2 = 0 ;
22239 PyObject * obj3 = 0 ;
22240 PyObject * obj4 = 0 ;
22241 PyObject * obj5 = 0 ;
22242 char *kwnames[] = {
22243 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22244 };
22245
22246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22249 if (arg2 == NULL) {
22250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22251 }
22252 {
22253 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 {
22257 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22258 if (PyErr_Occurred()) SWIG_fail;
22259 }
22260 {
22261 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 {
22265 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22271
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 Py_INCREF(Py_None); resultobj = Py_None;
22276 return resultobj;
22277 fail:
22278 return NULL;
22279 }
22280
22281
22282 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22283 PyObject *resultobj;
22284 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22285 wxDC *arg2 = 0 ;
22286 PyObject * obj0 = 0 ;
22287 PyObject * obj1 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self",(char *) "dc", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
22293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22295 if (arg2 == NULL) {
22296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22297 }
22298 {
22299 PyThreadState* __tstate = wxPyBeginAllowThreads();
22300 (arg1)->base_OnDrawControlPoints(*arg2);
22301
22302 wxPyEndAllowThreads(__tstate);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 Py_INCREF(Py_None); resultobj = Py_None;
22306 return resultobj;
22307 fail:
22308 return NULL;
22309 }
22310
22311
22312 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22315 wxDC *arg2 = 0 ;
22316 PyObject * obj0 = 0 ;
22317 PyObject * obj1 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self",(char *) "dc", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
22323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22325 if (arg2 == NULL) {
22326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22327 }
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 (arg1)->base_OnEraseControlPoints(*arg2);
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 Py_INCREF(Py_None); resultobj = Py_None;
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22345 wxDC *arg2 = 0 ;
22346 bool arg3 = (bool) True ;
22347 PyObject * obj0 = 0 ;
22348 PyObject * obj1 = 0 ;
22349 PyObject * obj2 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
22355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22357 if (arg2 == NULL) {
22358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22359 }
22360 if (obj2) {
22361 {
22362 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 }
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 (arg1)->base_OnMoveLink(*arg2,arg3);
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 Py_INCREF(Py_None); resultobj = Py_None;
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22383 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22384 bool arg3 ;
22385 double arg4 ;
22386 double arg5 ;
22387 int arg6 = (int) 0 ;
22388 int arg7 = (int) 0 ;
22389 PyObject * obj0 = 0 ;
22390 PyObject * obj1 = 0 ;
22391 PyObject * obj2 = 0 ;
22392 PyObject * obj3 = 0 ;
22393 PyObject * obj4 = 0 ;
22394 PyObject * obj5 = 0 ;
22395 PyObject * obj6 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22403 {
22404 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 {
22408 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
22411 {
22412 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 if (obj5) {
22416 {
22417 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 }
22421 if (obj6) {
22422 {
22423 arg7 = (int) SWIG_PyObj_AsInt(obj6);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 }
22427 {
22428 PyThreadState* __tstate = wxPyBeginAllowThreads();
22429 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22430
22431 wxPyEndAllowThreads(__tstate);
22432 if (PyErr_Occurred()) SWIG_fail;
22433 }
22434 Py_INCREF(Py_None); resultobj = Py_None;
22435 return resultobj;
22436 fail:
22437 return NULL;
22438 }
22439
22440
22441 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22442 PyObject *resultobj;
22443 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22444 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22445 double arg3 ;
22446 double arg4 ;
22447 int arg5 = (int) 0 ;
22448 int arg6 = (int) 0 ;
22449 PyObject * obj0 = 0 ;
22450 PyObject * obj1 = 0 ;
22451 PyObject * obj2 = 0 ;
22452 PyObject * obj3 = 0 ;
22453 PyObject * obj4 = 0 ;
22454 PyObject * obj5 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22457 };
22458
22459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22462 {
22463 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 {
22467 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 if (obj4) {
22471 {
22472 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 }
22476 if (obj5) {
22477 {
22478 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 }
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 Py_INCREF(Py_None); resultobj = Py_None;
22490 return resultobj;
22491 fail:
22492 return NULL;
22493 }
22494
22495
22496 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22499 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22500 double arg3 ;
22501 double arg4 ;
22502 int arg5 = (int) 0 ;
22503 int arg6 = (int) 0 ;
22504 PyObject * obj0 = 0 ;
22505 PyObject * obj1 = 0 ;
22506 PyObject * obj2 = 0 ;
22507 PyObject * obj3 = 0 ;
22508 PyObject * obj4 = 0 ;
22509 PyObject * obj5 = 0 ;
22510 char *kwnames[] = {
22511 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22512 };
22513
22514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22517 {
22518 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 {
22522 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 if (obj4) {
22526 {
22527 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 }
22531 if (obj5) {
22532 {
22533 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22534 if (PyErr_Occurred()) SWIG_fail;
22535 }
22536 }
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22540
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 Py_INCREF(Py_None); resultobj = Py_None;
22545 return resultobj;
22546 fail:
22547 return NULL;
22548 }
22549
22550
22551 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22552 PyObject *resultobj;
22553 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22554 double arg2 ;
22555 double arg3 ;
22556 PyObject * obj0 = 0 ;
22557 PyObject * obj1 = 0 ;
22558 PyObject * obj2 = 0 ;
22559 char *kwnames[] = {
22560 (char *) "self",(char *) "w",(char *) "h", NULL
22561 };
22562
22563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22565 {
22566 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 {
22570 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22571 if (PyErr_Occurred()) SWIG_fail;
22572 }
22573 {
22574 PyThreadState* __tstate = wxPyBeginAllowThreads();
22575 (arg1)->base_OnBeginSize(arg2,arg3);
22576
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 Py_INCREF(Py_None); resultobj = Py_None;
22581 return resultobj;
22582 fail:
22583 return NULL;
22584 }
22585
22586
22587 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj;
22589 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22590 double arg2 ;
22591 double arg3 ;
22592 PyObject * obj0 = 0 ;
22593 PyObject * obj1 = 0 ;
22594 PyObject * obj2 = 0 ;
22595 char *kwnames[] = {
22596 (char *) "self",(char *) "w",(char *) "h", NULL
22597 };
22598
22599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22601 {
22602 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 {
22606 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
22609 {
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 (arg1)->base_OnEndSize(arg2,arg3);
22612
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 Py_INCREF(Py_None); resultobj = Py_None;
22617 return resultobj;
22618 fail:
22619 return NULL;
22620 }
22621
22622
22623 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
22624 PyObject *obj;
22625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22626 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22627 Py_INCREF(obj);
22628 return Py_BuildValue((char *)"");
22629 }
22630 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22631 PyObject *resultobj;
22632 double arg1 = (double) 0.0 ;
22633 double arg2 = (double) 0.0 ;
22634 wxPyEllipseShape *result;
22635 PyObject * obj0 = 0 ;
22636 PyObject * obj1 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "width",(char *) "height", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22642 if (obj0) {
22643 {
22644 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
22647 }
22648 if (obj1) {
22649 {
22650 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 }
22654 {
22655 PyThreadState* __tstate = wxPyBeginAllowThreads();
22656 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22657
22658 wxPyEndAllowThreads(__tstate);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
22661 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEllipseShape, 1);
22662 return resultobj;
22663 fail:
22664 return NULL;
22665 }
22666
22667
22668 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22669 PyObject *resultobj;
22670 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22671 PyObject *arg2 = (PyObject *) 0 ;
22672 PyObject *arg3 = (PyObject *) 0 ;
22673 PyObject * obj0 = 0 ;
22674 PyObject * obj1 = 0 ;
22675 PyObject * obj2 = 0 ;
22676 char *kwnames[] = {
22677 (char *) "self",(char *) "self",(char *) "_class", NULL
22678 };
22679
22680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22682 arg2 = obj1;
22683 arg3 = obj2;
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 (arg1)->_setCallbackInfo(arg2,arg3);
22687
22688 wxPyEndAllowThreads(__tstate);
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 Py_INCREF(Py_None); resultobj = Py_None;
22692 return resultobj;
22693 fail:
22694 return NULL;
22695 }
22696
22697
22698 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22699 PyObject *resultobj;
22700 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22701 wxDC *arg2 = 0 ;
22702 PyObject * obj0 = 0 ;
22703 PyObject * obj1 = 0 ;
22704 char *kwnames[] = {
22705 (char *) "self",(char *) "dc", NULL
22706 };
22707
22708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22711 if (arg2 == NULL) {
22712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22713 }
22714 {
22715 PyThreadState* __tstate = wxPyBeginAllowThreads();
22716 (arg1)->base_OnDraw(*arg2);
22717
22718 wxPyEndAllowThreads(__tstate);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 }
22721 Py_INCREF(Py_None); resultobj = Py_None;
22722 return resultobj;
22723 fail:
22724 return NULL;
22725 }
22726
22727
22728 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj;
22730 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22731 wxDC *arg2 = 0 ;
22732 PyObject * obj0 = 0 ;
22733 PyObject * obj1 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "self",(char *) "dc", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22741 if (arg2 == NULL) {
22742 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22743 }
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 (arg1)->base_OnDrawContents(*arg2);
22747
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 Py_INCREF(Py_None); resultobj = Py_None;
22752 return resultobj;
22753 fail:
22754 return NULL;
22755 }
22756
22757
22758 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22759 PyObject *resultobj;
22760 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22761 wxDC *arg2 = 0 ;
22762 bool arg3 = (bool) FALSE ;
22763 PyObject * obj0 = 0 ;
22764 PyObject * obj1 = 0 ;
22765 PyObject * obj2 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self",(char *) "dc",(char *) "erase", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22773 if (arg2 == NULL) {
22774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22775 }
22776 if (obj2) {
22777 {
22778 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
22781 }
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 (arg1)->base_OnDrawBranches(*arg2,arg3);
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 Py_INCREF(Py_None); resultobj = Py_None;
22790 return resultobj;
22791 fail:
22792 return NULL;
22793 }
22794
22795
22796 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22797 PyObject *resultobj;
22798 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22799 wxDC *arg2 = 0 ;
22800 PyObject * obj0 = 0 ;
22801 PyObject * obj1 = 0 ;
22802 char *kwnames[] = {
22803 (char *) "self",(char *) "dc", NULL
22804 };
22805
22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22808 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22809 if (arg2 == NULL) {
22810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22811 }
22812 {
22813 PyThreadState* __tstate = wxPyBeginAllowThreads();
22814 (arg1)->base_OnMoveLinks(*arg2);
22815
22816 wxPyEndAllowThreads(__tstate);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 Py_INCREF(Py_None); resultobj = Py_None;
22820 return resultobj;
22821 fail:
22822 return NULL;
22823 }
22824
22825
22826 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj;
22828 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22829 wxDC *arg2 = 0 ;
22830 PyObject * obj0 = 0 ;
22831 PyObject * obj1 = 0 ;
22832 char *kwnames[] = {
22833 (char *) "self",(char *) "dc", NULL
22834 };
22835
22836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22839 if (arg2 == NULL) {
22840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22841 }
22842 {
22843 PyThreadState* __tstate = wxPyBeginAllowThreads();
22844 (arg1)->base_OnErase(*arg2);
22845
22846 wxPyEndAllowThreads(__tstate);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 Py_INCREF(Py_None); resultobj = Py_None;
22850 return resultobj;
22851 fail:
22852 return NULL;
22853 }
22854
22855
22856 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22857 PyObject *resultobj;
22858 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22859 wxDC *arg2 = 0 ;
22860 PyObject * obj0 = 0 ;
22861 PyObject * obj1 = 0 ;
22862 char *kwnames[] = {
22863 (char *) "self",(char *) "dc", NULL
22864 };
22865
22866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22869 if (arg2 == NULL) {
22870 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22871 }
22872 {
22873 PyThreadState* __tstate = wxPyBeginAllowThreads();
22874 (arg1)->base_OnEraseContents(*arg2);
22875
22876 wxPyEndAllowThreads(__tstate);
22877 if (PyErr_Occurred()) SWIG_fail;
22878 }
22879 Py_INCREF(Py_None); resultobj = Py_None;
22880 return resultobj;
22881 fail:
22882 return NULL;
22883 }
22884
22885
22886 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22887 PyObject *resultobj;
22888 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22889 wxDC *arg2 = 0 ;
22890 PyObject * obj0 = 0 ;
22891 PyObject * obj1 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "self",(char *) "dc", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22899 if (arg2 == NULL) {
22900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22901 }
22902 {
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22904 (arg1)->base_OnHighlight(*arg2);
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 Py_INCREF(Py_None); resultobj = Py_None;
22910 return resultobj;
22911 fail:
22912 return NULL;
22913 }
22914
22915
22916 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj;
22918 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22919 double arg2 ;
22920 double arg3 ;
22921 int arg4 = (int) 0 ;
22922 int arg5 = (int) 0 ;
22923 PyObject * obj0 = 0 ;
22924 PyObject * obj1 = 0 ;
22925 PyObject * obj2 = 0 ;
22926 PyObject * obj3 = 0 ;
22927 PyObject * obj4 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22934 {
22935 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22936 if (PyErr_Occurred()) SWIG_fail;
22937 }
22938 {
22939 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 if (obj3) {
22943 {
22944 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 }
22947 }
22948 if (obj4) {
22949 {
22950 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 }
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 Py_INCREF(Py_None); resultobj = Py_None;
22962 return resultobj;
22963 fail:
22964 return NULL;
22965 }
22966
22967
22968 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22969 PyObject *resultobj;
22970 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22971 double arg2 ;
22972 double arg3 ;
22973 int arg4 = (int) 0 ;
22974 int arg5 = (int) 0 ;
22975 PyObject * obj0 = 0 ;
22976 PyObject * obj1 = 0 ;
22977 PyObject * obj2 = 0 ;
22978 PyObject * obj3 = 0 ;
22979 PyObject * obj4 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22986 {
22987 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 }
22990 {
22991 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
22994 if (obj3) {
22995 {
22996 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22997 if (PyErr_Occurred()) SWIG_fail;
22998 }
22999 }
23000 if (obj4) {
23001 {
23002 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 }
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23009
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 Py_INCREF(Py_None); resultobj = Py_None;
23014 return resultobj;
23015 fail:
23016 return NULL;
23017 }
23018
23019
23020 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23023 double arg2 ;
23024 double arg3 ;
23025 int arg4 = (int) 0 ;
23026 int arg5 = (int) 0 ;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 PyObject * obj2 = 0 ;
23030 PyObject * obj3 = 0 ;
23031 PyObject * obj4 = 0 ;
23032 char *kwnames[] = {
23033 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23034 };
23035
23036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23038 {
23039 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 {
23043 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 if (obj3) {
23047 {
23048 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 }
23052 if (obj4) {
23053 {
23054 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 }
23057 }
23058 {
23059 PyThreadState* __tstate = wxPyBeginAllowThreads();
23060 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23061
23062 wxPyEndAllowThreads(__tstate);
23063 if (PyErr_Occurred()) SWIG_fail;
23064 }
23065 Py_INCREF(Py_None); resultobj = Py_None;
23066 return resultobj;
23067 fail:
23068 return NULL;
23069 }
23070
23071
23072 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23073 PyObject *resultobj;
23074 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23075 double arg2 ;
23076 double arg3 ;
23077 PyObject * obj0 = 0 ;
23078 PyObject * obj1 = 0 ;
23079 PyObject * obj2 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self",(char *) "x",(char *) "y", NULL
23082 };
23083
23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23086 {
23087 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23088 if (PyErr_Occurred()) SWIG_fail;
23089 }
23090 {
23091 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 (arg1)->base_OnSize(arg2,arg3);
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 Py_INCREF(Py_None); resultobj = Py_None;
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23111 wxDC *arg2 = 0 ;
23112 double arg3 ;
23113 double arg4 ;
23114 double arg5 ;
23115 double arg6 ;
23116 bool arg7 = (bool) True ;
23117 bool result;
23118 PyObject * obj0 = 0 ;
23119 PyObject * obj1 = 0 ;
23120 PyObject * obj2 = 0 ;
23121 PyObject * obj3 = 0 ;
23122 PyObject * obj4 = 0 ;
23123 PyObject * obj5 = 0 ;
23124 PyObject * obj6 = 0 ;
23125 char *kwnames[] = {
23126 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23127 };
23128
23129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23132 if (arg2 == NULL) {
23133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23134 }
23135 {
23136 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 }
23139 {
23140 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23141 if (PyErr_Occurred()) SWIG_fail;
23142 }
23143 {
23144 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 {
23148 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
23149 if (PyErr_Occurred()) SWIG_fail;
23150 }
23151 if (obj6) {
23152 {
23153 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 }
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23160
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23165 return resultobj;
23166 fail:
23167 return NULL;
23168 }
23169
23170
23171 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23172 PyObject *resultobj;
23173 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23174 wxDC *arg2 = 0 ;
23175 double arg3 ;
23176 double arg4 ;
23177 double arg5 ;
23178 double arg6 ;
23179 bool arg7 = (bool) True ;
23180 PyObject * obj0 = 0 ;
23181 PyObject * obj1 = 0 ;
23182 PyObject * obj2 = 0 ;
23183 PyObject * obj3 = 0 ;
23184 PyObject * obj4 = 0 ;
23185 PyObject * obj5 = 0 ;
23186 PyObject * obj6 = 0 ;
23187 char *kwnames[] = {
23188 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23189 };
23190
23191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23194 if (arg2 == NULL) {
23195 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23196 }
23197 {
23198 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 {
23202 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 {
23206 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 {
23210 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 if (obj6) {
23214 {
23215 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
23216 if (PyErr_Occurred()) SWIG_fail;
23217 }
23218 }
23219 {
23220 PyThreadState* __tstate = wxPyBeginAllowThreads();
23221 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23222
23223 wxPyEndAllowThreads(__tstate);
23224 if (PyErr_Occurred()) SWIG_fail;
23225 }
23226 Py_INCREF(Py_None); resultobj = Py_None;
23227 return resultobj;
23228 fail:
23229 return NULL;
23230 }
23231
23232
23233 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23234 PyObject *resultobj;
23235 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23236 bool arg2 ;
23237 double arg3 ;
23238 double arg4 ;
23239 int arg5 = (int) 0 ;
23240 int arg6 = (int) 0 ;
23241 PyObject * obj0 = 0 ;
23242 PyObject * obj1 = 0 ;
23243 PyObject * obj2 = 0 ;
23244 PyObject * obj3 = 0 ;
23245 PyObject * obj4 = 0 ;
23246 PyObject * obj5 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23253 {
23254 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 }
23257 {
23258 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 {
23262 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 if (obj4) {
23266 {
23267 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23268 if (PyErr_Occurred()) SWIG_fail;
23269 }
23270 }
23271 if (obj5) {
23272 {
23273 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 }
23277 {
23278 PyThreadState* __tstate = wxPyBeginAllowThreads();
23279 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23280
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 Py_INCREF(Py_None); resultobj = Py_None;
23285 return resultobj;
23286 fail:
23287 return NULL;
23288 }
23289
23290
23291 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23292 PyObject *resultobj;
23293 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23294 double arg2 ;
23295 double arg3 ;
23296 int arg4 = (int) 0 ;
23297 int arg5 = (int) 0 ;
23298 PyObject * obj0 = 0 ;
23299 PyObject * obj1 = 0 ;
23300 PyObject * obj2 = 0 ;
23301 PyObject * obj3 = 0 ;
23302 PyObject * obj4 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23309 {
23310 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 {
23314 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 if (obj3) {
23318 {
23319 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 }
23323 if (obj4) {
23324 {
23325 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 }
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
23332
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
23336 Py_INCREF(Py_None); resultobj = Py_None;
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj;
23345 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23346 double arg2 ;
23347 double arg3 ;
23348 int arg4 = (int) 0 ;
23349 int arg5 = (int) 0 ;
23350 PyObject * obj0 = 0 ;
23351 PyObject * obj1 = 0 ;
23352 PyObject * obj2 = 0 ;
23353 PyObject * obj3 = 0 ;
23354 PyObject * obj4 = 0 ;
23355 char *kwnames[] = {
23356 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23357 };
23358
23359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23361 {
23362 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 {
23366 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 if (obj3) {
23370 {
23371 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 }
23375 if (obj4) {
23376 {
23377 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 }
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
23384
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 Py_INCREF(Py_None); resultobj = Py_None;
23389 return resultobj;
23390 fail:
23391 return NULL;
23392 }
23393
23394
23395 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj;
23397 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23398 bool arg2 ;
23399 double arg3 ;
23400 double arg4 ;
23401 int arg5 = (int) 0 ;
23402 int arg6 = (int) 0 ;
23403 PyObject * obj0 = 0 ;
23404 PyObject * obj1 = 0 ;
23405 PyObject * obj2 = 0 ;
23406 PyObject * obj3 = 0 ;
23407 PyObject * obj4 = 0 ;
23408 PyObject * obj5 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23415 {
23416 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23417 if (PyErr_Occurred()) SWIG_fail;
23418 }
23419 {
23420 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23421 if (PyErr_Occurred()) SWIG_fail;
23422 }
23423 {
23424 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 if (obj4) {
23428 {
23429 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 }
23432 }
23433 if (obj5) {
23434 {
23435 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 }
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 Py_INCREF(Py_None); resultobj = Py_None;
23447 return resultobj;
23448 fail:
23449 return NULL;
23450 }
23451
23452
23453 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23456 double arg2 ;
23457 double arg3 ;
23458 int arg4 = (int) 0 ;
23459 int arg5 = (int) 0 ;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 PyObject * obj2 = 0 ;
23463 PyObject * obj3 = 0 ;
23464 PyObject * obj4 = 0 ;
23465 char *kwnames[] = {
23466 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23467 };
23468
23469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23471 {
23472 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 {
23476 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23477 if (PyErr_Occurred()) SWIG_fail;
23478 }
23479 if (obj3) {
23480 {
23481 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23482 if (PyErr_Occurred()) SWIG_fail;
23483 }
23484 }
23485 if (obj4) {
23486 {
23487 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 }
23491 {
23492 PyThreadState* __tstate = wxPyBeginAllowThreads();
23493 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23494
23495 wxPyEndAllowThreads(__tstate);
23496 if (PyErr_Occurred()) SWIG_fail;
23497 }
23498 Py_INCREF(Py_None); resultobj = Py_None;
23499 return resultobj;
23500 fail:
23501 return NULL;
23502 }
23503
23504
23505 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj;
23507 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23508 double arg2 ;
23509 double arg3 ;
23510 int arg4 = (int) 0 ;
23511 int arg5 = (int) 0 ;
23512 PyObject * obj0 = 0 ;
23513 PyObject * obj1 = 0 ;
23514 PyObject * obj2 = 0 ;
23515 PyObject * obj3 = 0 ;
23516 PyObject * obj4 = 0 ;
23517 char *kwnames[] = {
23518 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23519 };
23520
23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23523 {
23524 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 {
23528 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 if (obj3) {
23532 {
23533 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 }
23537 if (obj4) {
23538 {
23539 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 }
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23546
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 Py_INCREF(Py_None); resultobj = Py_None;
23551 return resultobj;
23552 fail:
23553 return NULL;
23554 }
23555
23556
23557 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23558 PyObject *resultobj;
23559 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23560 wxDC *arg2 = 0 ;
23561 double arg3 ;
23562 double arg4 ;
23563 double arg5 ;
23564 double arg6 ;
23565 PyObject * obj0 = 0 ;
23566 PyObject * obj1 = 0 ;
23567 PyObject * obj2 = 0 ;
23568 PyObject * obj3 = 0 ;
23569 PyObject * obj4 = 0 ;
23570 PyObject * obj5 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23578 if (arg2 == NULL) {
23579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23580 }
23581 {
23582 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 {
23586 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 {
23590 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
23593 {
23594 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 {
23598 PyThreadState* __tstate = wxPyBeginAllowThreads();
23599 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23600
23601 wxPyEndAllowThreads(__tstate);
23602 if (PyErr_Occurred()) SWIG_fail;
23603 }
23604 Py_INCREF(Py_None); resultobj = Py_None;
23605 return resultobj;
23606 fail:
23607 return NULL;
23608 }
23609
23610
23611 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23612 PyObject *resultobj;
23613 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23614 wxDC *arg2 = 0 ;
23615 PyObject * obj0 = 0 ;
23616 PyObject * obj1 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "self",(char *) "dc", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23624 if (arg2 == NULL) {
23625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23626 }
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 (arg1)->base_OnDrawControlPoints(*arg2);
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
23634 Py_INCREF(Py_None); resultobj = Py_None;
23635 return resultobj;
23636 fail:
23637 return NULL;
23638 }
23639
23640
23641 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23642 PyObject *resultobj;
23643 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23644 wxDC *arg2 = 0 ;
23645 PyObject * obj0 = 0 ;
23646 PyObject * obj1 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self",(char *) "dc", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23654 if (arg2 == NULL) {
23655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23656 }
23657 {
23658 PyThreadState* __tstate = wxPyBeginAllowThreads();
23659 (arg1)->base_OnEraseControlPoints(*arg2);
23660
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 Py_INCREF(Py_None); resultobj = Py_None;
23665 return resultobj;
23666 fail:
23667 return NULL;
23668 }
23669
23670
23671 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj;
23673 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23674 wxDC *arg2 = 0 ;
23675 bool arg3 = (bool) True ;
23676 PyObject * obj0 = 0 ;
23677 PyObject * obj1 = 0 ;
23678 PyObject * obj2 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23686 if (arg2 == NULL) {
23687 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23688 }
23689 if (obj2) {
23690 {
23691 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
23694 }
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 (arg1)->base_OnMoveLink(*arg2,arg3);
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 Py_INCREF(Py_None); resultobj = Py_None;
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj;
23711 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23712 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23713 bool arg3 ;
23714 double arg4 ;
23715 double arg5 ;
23716 int arg6 = (int) 0 ;
23717 int arg7 = (int) 0 ;
23718 PyObject * obj0 = 0 ;
23719 PyObject * obj1 = 0 ;
23720 PyObject * obj2 = 0 ;
23721 PyObject * obj3 = 0 ;
23722 PyObject * obj4 = 0 ;
23723 PyObject * obj5 = 0 ;
23724 PyObject * obj6 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23732 {
23733 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 }
23736 {
23737 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 {
23741 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 if (obj5) {
23745 {
23746 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 }
23750 if (obj6) {
23751 {
23752 arg7 = (int) SWIG_PyObj_AsInt(obj6);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 }
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
23763 Py_INCREF(Py_None); resultobj = Py_None;
23764 return resultobj;
23765 fail:
23766 return NULL;
23767 }
23768
23769
23770 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23771 PyObject *resultobj;
23772 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23773 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23774 double arg3 ;
23775 double arg4 ;
23776 int arg5 = (int) 0 ;
23777 int arg6 = (int) 0 ;
23778 PyObject * obj0 = 0 ;
23779 PyObject * obj1 = 0 ;
23780 PyObject * obj2 = 0 ;
23781 PyObject * obj3 = 0 ;
23782 PyObject * obj4 = 0 ;
23783 PyObject * obj5 = 0 ;
23784 char *kwnames[] = {
23785 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23786 };
23787
23788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23791 {
23792 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 {
23796 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 if (obj4) {
23800 {
23801 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 }
23805 if (obj5) {
23806 {
23807 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 }
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23814
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 Py_INCREF(Py_None); resultobj = Py_None;
23819 return resultobj;
23820 fail:
23821 return NULL;
23822 }
23823
23824
23825 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23826 PyObject *resultobj;
23827 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23828 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23829 double arg3 ;
23830 double arg4 ;
23831 int arg5 = (int) 0 ;
23832 int arg6 = (int) 0 ;
23833 PyObject * obj0 = 0 ;
23834 PyObject * obj1 = 0 ;
23835 PyObject * obj2 = 0 ;
23836 PyObject * obj3 = 0 ;
23837 PyObject * obj4 = 0 ;
23838 PyObject * obj5 = 0 ;
23839 char *kwnames[] = {
23840 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23841 };
23842
23843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23846 {
23847 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 {
23851 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 }
23854 if (obj4) {
23855 {
23856 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
23859 }
23860 if (obj5) {
23861 {
23862 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 }
23866 {
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
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_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23881 PyObject *resultobj;
23882 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23883 double arg2 ;
23884 double arg3 ;
23885 PyObject * obj0 = 0 ;
23886 PyObject * obj1 = 0 ;
23887 PyObject * obj2 = 0 ;
23888 char *kwnames[] = {
23889 (char *) "self",(char *) "w",(char *) "h", NULL
23890 };
23891
23892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23894 {
23895 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23896 if (PyErr_Occurred()) SWIG_fail;
23897 }
23898 {
23899 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 {
23903 PyThreadState* __tstate = wxPyBeginAllowThreads();
23904 (arg1)->base_OnBeginSize(arg2,arg3);
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 Py_INCREF(Py_None); resultobj = Py_None;
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj;
23918 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23919 double arg2 ;
23920 double arg3 ;
23921 PyObject * obj0 = 0 ;
23922 PyObject * obj1 = 0 ;
23923 PyObject * obj2 = 0 ;
23924 char *kwnames[] = {
23925 (char *) "self",(char *) "w",(char *) "h", NULL
23926 };
23927
23928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23930 {
23931 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 }
23934 {
23935 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 (arg1)->base_OnEndSize(arg2,arg3);
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 Py_INCREF(Py_None); resultobj = Py_None;
23946 return resultobj;
23947 fail:
23948 return NULL;
23949 }
23950
23951
23952 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
23953 PyObject *obj;
23954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23955 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23956 Py_INCREF(obj);
23957 return Py_BuildValue((char *)"");
23958 }
23959 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23960 PyObject *resultobj;
23961 double arg1 = (double) 0.0 ;
23962 wxPyCircleShape *result;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "width", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23969 if (obj0) {
23970 {
23971 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
23972 if (PyErr_Occurred()) SWIG_fail;
23973 }
23974 }
23975 {
23976 PyThreadState* __tstate = wxPyBeginAllowThreads();
23977 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23978
23979 wxPyEndAllowThreads(__tstate);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCircleShape, 1);
23983 return resultobj;
23984 fail:
23985 return NULL;
23986 }
23987
23988
23989 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23990 PyObject *resultobj;
23991 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23992 PyObject *arg2 = (PyObject *) 0 ;
23993 PyObject *arg3 = (PyObject *) 0 ;
23994 PyObject * obj0 = 0 ;
23995 PyObject * obj1 = 0 ;
23996 PyObject * obj2 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "self",(char *) "_class", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24003 arg2 = obj1;
24004 arg3 = obj2;
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->_setCallbackInfo(arg2,arg3);
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 Py_INCREF(Py_None); resultobj = Py_None;
24013 return resultobj;
24014 fail:
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
24020 PyObject *resultobj;
24021 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24022 wxDC *arg2 = 0 ;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self",(char *) "dc", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24032 if (arg2 == NULL) {
24033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24034 }
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 (arg1)->base_OnDraw(*arg2);
24038
24039 wxPyEndAllowThreads(__tstate);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 Py_INCREF(Py_None); resultobj = Py_None;
24043 return resultobj;
24044 fail:
24045 return NULL;
24046 }
24047
24048
24049 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
24050 PyObject *resultobj;
24051 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24052 wxDC *arg2 = 0 ;
24053 PyObject * obj0 = 0 ;
24054 PyObject * obj1 = 0 ;
24055 char *kwnames[] = {
24056 (char *) "self",(char *) "dc", NULL
24057 };
24058
24059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
24060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24062 if (arg2 == NULL) {
24063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24064 }
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 (arg1)->base_OnDrawContents(*arg2);
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 Py_INCREF(Py_None); resultobj = Py_None;
24073 return resultobj;
24074 fail:
24075 return NULL;
24076 }
24077
24078
24079 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
24080 PyObject *resultobj;
24081 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24082 wxDC *arg2 = 0 ;
24083 bool arg3 = (bool) FALSE ;
24084 PyObject * obj0 = 0 ;
24085 PyObject * obj1 = 0 ;
24086 PyObject * obj2 = 0 ;
24087 char *kwnames[] = {
24088 (char *) "self",(char *) "dc",(char *) "erase", NULL
24089 };
24090
24091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
24092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24094 if (arg2 == NULL) {
24095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24096 }
24097 if (obj2) {
24098 {
24099 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24100 if (PyErr_Occurred()) SWIG_fail;
24101 }
24102 }
24103 {
24104 PyThreadState* __tstate = wxPyBeginAllowThreads();
24105 (arg1)->base_OnDrawBranches(*arg2,arg3);
24106
24107 wxPyEndAllowThreads(__tstate);
24108 if (PyErr_Occurred()) SWIG_fail;
24109 }
24110 Py_INCREF(Py_None); resultobj = Py_None;
24111 return resultobj;
24112 fail:
24113 return NULL;
24114 }
24115
24116
24117 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
24118 PyObject *resultobj;
24119 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24120 wxDC *arg2 = 0 ;
24121 PyObject * obj0 = 0 ;
24122 PyObject * obj1 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self",(char *) "dc", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
24128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24130 if (arg2 == NULL) {
24131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24132 }
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 (arg1)->base_OnMoveLinks(*arg2);
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 Py_INCREF(Py_None); resultobj = Py_None;
24141 return resultobj;
24142 fail:
24143 return NULL;
24144 }
24145
24146
24147 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
24148 PyObject *resultobj;
24149 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24150 wxDC *arg2 = 0 ;
24151 PyObject * obj0 = 0 ;
24152 PyObject * obj1 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self",(char *) "dc", NULL
24155 };
24156
24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
24158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24159 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24160 if (arg2 == NULL) {
24161 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24162 }
24163 {
24164 PyThreadState* __tstate = wxPyBeginAllowThreads();
24165 (arg1)->base_OnErase(*arg2);
24166
24167 wxPyEndAllowThreads(__tstate);
24168 if (PyErr_Occurred()) SWIG_fail;
24169 }
24170 Py_INCREF(Py_None); resultobj = Py_None;
24171 return resultobj;
24172 fail:
24173 return NULL;
24174 }
24175
24176
24177 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
24178 PyObject *resultobj;
24179 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24180 wxDC *arg2 = 0 ;
24181 PyObject * obj0 = 0 ;
24182 PyObject * obj1 = 0 ;
24183 char *kwnames[] = {
24184 (char *) "self",(char *) "dc", NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
24188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24189 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24190 if (arg2 == NULL) {
24191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24192 }
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 (arg1)->base_OnEraseContents(*arg2);
24196
24197 wxPyEndAllowThreads(__tstate);
24198 if (PyErr_Occurred()) SWIG_fail;
24199 }
24200 Py_INCREF(Py_None); resultobj = Py_None;
24201 return resultobj;
24202 fail:
24203 return NULL;
24204 }
24205
24206
24207 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
24208 PyObject *resultobj;
24209 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24210 wxDC *arg2 = 0 ;
24211 PyObject * obj0 = 0 ;
24212 PyObject * obj1 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "self",(char *) "dc", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
24218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24220 if (arg2 == NULL) {
24221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24222 }
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 (arg1)->base_OnHighlight(*arg2);
24226
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 Py_INCREF(Py_None); resultobj = Py_None;
24231 return resultobj;
24232 fail:
24233 return NULL;
24234 }
24235
24236
24237 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24238 PyObject *resultobj;
24239 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24240 double arg2 ;
24241 double arg3 ;
24242 int arg4 = (int) 0 ;
24243 int arg5 = (int) 0 ;
24244 PyObject * obj0 = 0 ;
24245 PyObject * obj1 = 0 ;
24246 PyObject * obj2 = 0 ;
24247 PyObject * obj3 = 0 ;
24248 PyObject * obj4 = 0 ;
24249 char *kwnames[] = {
24250 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24251 };
24252
24253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24255 {
24256 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 {
24260 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 if (obj3) {
24264 {
24265 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 }
24269 if (obj4) {
24270 {
24271 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 }
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 Py_INCREF(Py_None); resultobj = Py_None;
24283 return resultobj;
24284 fail:
24285 return NULL;
24286 }
24287
24288
24289 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24292 double arg2 ;
24293 double arg3 ;
24294 int arg4 = (int) 0 ;
24295 int arg5 = (int) 0 ;
24296 PyObject * obj0 = 0 ;
24297 PyObject * obj1 = 0 ;
24298 PyObject * obj2 = 0 ;
24299 PyObject * obj3 = 0 ;
24300 PyObject * obj4 = 0 ;
24301 char *kwnames[] = {
24302 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24303 };
24304
24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24307 {
24308 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 {
24312 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 if (obj3) {
24316 {
24317 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 }
24320 }
24321 if (obj4) {
24322 {
24323 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
24326 }
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 Py_INCREF(Py_None); resultobj = Py_None;
24335 return resultobj;
24336 fail:
24337 return NULL;
24338 }
24339
24340
24341 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj;
24343 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24344 double arg2 ;
24345 double arg3 ;
24346 int arg4 = (int) 0 ;
24347 int arg5 = (int) 0 ;
24348 PyObject * obj0 = 0 ;
24349 PyObject * obj1 = 0 ;
24350 PyObject * obj2 = 0 ;
24351 PyObject * obj3 = 0 ;
24352 PyObject * obj4 = 0 ;
24353 char *kwnames[] = {
24354 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24355 };
24356
24357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24359 {
24360 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 {
24364 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 if (obj3) {
24368 {
24369 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 }
24373 if (obj4) {
24374 {
24375 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 }
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 Py_INCREF(Py_None); resultobj = Py_None;
24387 return resultobj;
24388 fail:
24389 return NULL;
24390 }
24391
24392
24393 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24394 PyObject *resultobj;
24395 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24396 double arg2 ;
24397 double arg3 ;
24398 PyObject * obj0 = 0 ;
24399 PyObject * obj1 = 0 ;
24400 PyObject * obj2 = 0 ;
24401 char *kwnames[] = {
24402 (char *) "self",(char *) "x",(char *) "y", NULL
24403 };
24404
24405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24407 {
24408 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 {
24412 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 }
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 (arg1)->base_OnSize(arg2,arg3);
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 Py_INCREF(Py_None); resultobj = Py_None;
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24432 wxDC *arg2 = 0 ;
24433 double arg3 ;
24434 double arg4 ;
24435 double arg5 ;
24436 double arg6 ;
24437 bool arg7 = (bool) True ;
24438 bool result;
24439 PyObject * obj0 = 0 ;
24440 PyObject * obj1 = 0 ;
24441 PyObject * obj2 = 0 ;
24442 PyObject * obj3 = 0 ;
24443 PyObject * obj4 = 0 ;
24444 PyObject * obj5 = 0 ;
24445 PyObject * obj6 = 0 ;
24446 char *kwnames[] = {
24447 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24453 if (arg2 == NULL) {
24454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24455 }
24456 {
24457 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 {
24461 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 {
24465 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
24468 {
24469 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
24470 if (PyErr_Occurred()) SWIG_fail;
24471 }
24472 if (obj6) {
24473 {
24474 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 }
24478 {
24479 PyThreadState* __tstate = wxPyBeginAllowThreads();
24480 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
24481
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24486 return resultobj;
24487 fail:
24488 return NULL;
24489 }
24490
24491
24492 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj;
24494 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24495 wxDC *arg2 = 0 ;
24496 double arg3 ;
24497 double arg4 ;
24498 double arg5 ;
24499 double arg6 ;
24500 bool arg7 = (bool) True ;
24501 PyObject * obj0 = 0 ;
24502 PyObject * obj1 = 0 ;
24503 PyObject * obj2 = 0 ;
24504 PyObject * obj3 = 0 ;
24505 PyObject * obj4 = 0 ;
24506 PyObject * obj5 = 0 ;
24507 PyObject * obj6 = 0 ;
24508 char *kwnames[] = {
24509 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24510 };
24511
24512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24514 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24515 if (arg2 == NULL) {
24516 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24517 }
24518 {
24519 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 }
24522 {
24523 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 {
24527 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
24528 if (PyErr_Occurred()) SWIG_fail;
24529 }
24530 {
24531 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
24532 if (PyErr_Occurred()) SWIG_fail;
24533 }
24534 if (obj6) {
24535 {
24536 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
24537 if (PyErr_Occurred()) SWIG_fail;
24538 }
24539 }
24540 {
24541 PyThreadState* __tstate = wxPyBeginAllowThreads();
24542 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24543
24544 wxPyEndAllowThreads(__tstate);
24545 if (PyErr_Occurred()) SWIG_fail;
24546 }
24547 Py_INCREF(Py_None); resultobj = Py_None;
24548 return resultobj;
24549 fail:
24550 return NULL;
24551 }
24552
24553
24554 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24555 PyObject *resultobj;
24556 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24557 bool arg2 ;
24558 double arg3 ;
24559 double arg4 ;
24560 int arg5 = (int) 0 ;
24561 int arg6 = (int) 0 ;
24562 PyObject * obj0 = 0 ;
24563 PyObject * obj1 = 0 ;
24564 PyObject * obj2 = 0 ;
24565 PyObject * obj3 = 0 ;
24566 PyObject * obj4 = 0 ;
24567 PyObject * obj5 = 0 ;
24568 char *kwnames[] = {
24569 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24570 };
24571
24572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24574 {
24575 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 {
24579 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 {
24583 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 if (obj4) {
24587 {
24588 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 }
24592 if (obj5) {
24593 {
24594 arg6 = (int) SWIG_PyObj_AsInt(obj5);
24595 if (PyErr_Occurred()) SWIG_fail;
24596 }
24597 }
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 Py_INCREF(Py_None); resultobj = Py_None;
24606 return resultobj;
24607 fail:
24608 return NULL;
24609 }
24610
24611
24612 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj;
24614 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24615 double arg2 ;
24616 double arg3 ;
24617 int arg4 = (int) 0 ;
24618 int arg5 = (int) 0 ;
24619 PyObject * obj0 = 0 ;
24620 PyObject * obj1 = 0 ;
24621 PyObject * obj2 = 0 ;
24622 PyObject * obj3 = 0 ;
24623 PyObject * obj4 = 0 ;
24624 char *kwnames[] = {
24625 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24626 };
24627
24628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24630 {
24631 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 {
24635 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 if (obj3) {
24639 {
24640 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24641 if (PyErr_Occurred()) SWIG_fail;
24642 }
24643 }
24644 if (obj4) {
24645 {
24646 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 }
24650 {
24651 PyThreadState* __tstate = wxPyBeginAllowThreads();
24652 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24653
24654 wxPyEndAllowThreads(__tstate);
24655 if (PyErr_Occurred()) SWIG_fail;
24656 }
24657 Py_INCREF(Py_None); resultobj = Py_None;
24658 return resultobj;
24659 fail:
24660 return NULL;
24661 }
24662
24663
24664 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24665 PyObject *resultobj;
24666 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24667 double arg2 ;
24668 double arg3 ;
24669 int arg4 = (int) 0 ;
24670 int arg5 = (int) 0 ;
24671 PyObject * obj0 = 0 ;
24672 PyObject * obj1 = 0 ;
24673 PyObject * obj2 = 0 ;
24674 PyObject * obj3 = 0 ;
24675 PyObject * obj4 = 0 ;
24676 char *kwnames[] = {
24677 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24678 };
24679
24680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24682 {
24683 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24684 if (PyErr_Occurred()) SWIG_fail;
24685 }
24686 {
24687 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 if (obj3) {
24691 {
24692 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 }
24695 }
24696 if (obj4) {
24697 {
24698 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 }
24702 {
24703 PyThreadState* __tstate = wxPyBeginAllowThreads();
24704 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24705
24706 wxPyEndAllowThreads(__tstate);
24707 if (PyErr_Occurred()) SWIG_fail;
24708 }
24709 Py_INCREF(Py_None); resultobj = Py_None;
24710 return resultobj;
24711 fail:
24712 return NULL;
24713 }
24714
24715
24716 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24717 PyObject *resultobj;
24718 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24719 bool arg2 ;
24720 double arg3 ;
24721 double arg4 ;
24722 int arg5 = (int) 0 ;
24723 int arg6 = (int) 0 ;
24724 PyObject * obj0 = 0 ;
24725 PyObject * obj1 = 0 ;
24726 PyObject * obj2 = 0 ;
24727 PyObject * obj3 = 0 ;
24728 PyObject * obj4 = 0 ;
24729 PyObject * obj5 = 0 ;
24730 char *kwnames[] = {
24731 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24732 };
24733
24734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24736 {
24737 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 {
24741 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24742 if (PyErr_Occurred()) SWIG_fail;
24743 }
24744 {
24745 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 if (obj4) {
24749 {
24750 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24751 if (PyErr_Occurred()) SWIG_fail;
24752 }
24753 }
24754 if (obj5) {
24755 {
24756 arg6 = (int) SWIG_PyObj_AsInt(obj5);
24757 if (PyErr_Occurred()) SWIG_fail;
24758 }
24759 }
24760 {
24761 PyThreadState* __tstate = wxPyBeginAllowThreads();
24762 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24763
24764 wxPyEndAllowThreads(__tstate);
24765 if (PyErr_Occurred()) SWIG_fail;
24766 }
24767 Py_INCREF(Py_None); resultobj = Py_None;
24768 return resultobj;
24769 fail:
24770 return NULL;
24771 }
24772
24773
24774 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24775 PyObject *resultobj;
24776 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24777 double arg2 ;
24778 double arg3 ;
24779 int arg4 = (int) 0 ;
24780 int arg5 = (int) 0 ;
24781 PyObject * obj0 = 0 ;
24782 PyObject * obj1 = 0 ;
24783 PyObject * obj2 = 0 ;
24784 PyObject * obj3 = 0 ;
24785 PyObject * obj4 = 0 ;
24786 char *kwnames[] = {
24787 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24788 };
24789
24790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24792 {
24793 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 {
24797 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 if (obj3) {
24801 {
24802 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 }
24806 if (obj4) {
24807 {
24808 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
24811 }
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24815
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
24819 Py_INCREF(Py_None); resultobj = Py_None;
24820 return resultobj;
24821 fail:
24822 return NULL;
24823 }
24824
24825
24826 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24827 PyObject *resultobj;
24828 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24829 double arg2 ;
24830 double arg3 ;
24831 int arg4 = (int) 0 ;
24832 int arg5 = (int) 0 ;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 PyObject * obj2 = 0 ;
24836 PyObject * obj3 = 0 ;
24837 PyObject * obj4 = 0 ;
24838 char *kwnames[] = {
24839 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24840 };
24841
24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24844 {
24845 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24846 if (PyErr_Occurred()) SWIG_fail;
24847 }
24848 {
24849 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 if (obj3) {
24853 {
24854 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
24857 }
24858 if (obj4) {
24859 {
24860 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24861 if (PyErr_Occurred()) SWIG_fail;
24862 }
24863 }
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24867
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 Py_INCREF(Py_None); resultobj = Py_None;
24872 return resultobj;
24873 fail:
24874 return NULL;
24875 }
24876
24877
24878 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24879 PyObject *resultobj;
24880 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24881 wxDC *arg2 = 0 ;
24882 double arg3 ;
24883 double arg4 ;
24884 double arg5 ;
24885 double arg6 ;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 PyObject * obj2 = 0 ;
24889 PyObject * obj3 = 0 ;
24890 PyObject * obj4 = 0 ;
24891 PyObject * obj5 = 0 ;
24892 char *kwnames[] = {
24893 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24894 };
24895
24896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24899 if (arg2 == NULL) {
24900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24901 }
24902 {
24903 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24904 if (PyErr_Occurred()) SWIG_fail;
24905 }
24906 {
24907 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 {
24911 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
24912 if (PyErr_Occurred()) SWIG_fail;
24913 }
24914 {
24915 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
24916 if (PyErr_Occurred()) SWIG_fail;
24917 }
24918 {
24919 PyThreadState* __tstate = wxPyBeginAllowThreads();
24920 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24921
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 Py_INCREF(Py_None); resultobj = Py_None;
24926 return resultobj;
24927 fail:
24928 return NULL;
24929 }
24930
24931
24932 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24933 PyObject *resultobj;
24934 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24935 wxDC *arg2 = 0 ;
24936 PyObject * obj0 = 0 ;
24937 PyObject * obj1 = 0 ;
24938 char *kwnames[] = {
24939 (char *) "self",(char *) "dc", NULL
24940 };
24941
24942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24945 if (arg2 == NULL) {
24946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24947 }
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 (arg1)->base_OnDrawControlPoints(*arg2);
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 Py_INCREF(Py_None); resultobj = Py_None;
24956 return resultobj;
24957 fail:
24958 return NULL;
24959 }
24960
24961
24962 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24963 PyObject *resultobj;
24964 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24965 wxDC *arg2 = 0 ;
24966 PyObject * obj0 = 0 ;
24967 PyObject * obj1 = 0 ;
24968 char *kwnames[] = {
24969 (char *) "self",(char *) "dc", NULL
24970 };
24971
24972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24975 if (arg2 == NULL) {
24976 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24977 }
24978 {
24979 PyThreadState* __tstate = wxPyBeginAllowThreads();
24980 (arg1)->base_OnEraseControlPoints(*arg2);
24981
24982 wxPyEndAllowThreads(__tstate);
24983 if (PyErr_Occurred()) SWIG_fail;
24984 }
24985 Py_INCREF(Py_None); resultobj = Py_None;
24986 return resultobj;
24987 fail:
24988 return NULL;
24989 }
24990
24991
24992 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24993 PyObject *resultobj;
24994 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24995 wxDC *arg2 = 0 ;
24996 bool arg3 = (bool) True ;
24997 PyObject * obj0 = 0 ;
24998 PyObject * obj1 = 0 ;
24999 PyObject * obj2 = 0 ;
25000 char *kwnames[] = {
25001 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
25002 };
25003
25004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
25005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25007 if (arg2 == NULL) {
25008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25009 }
25010 if (obj2) {
25011 {
25012 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25013 if (PyErr_Occurred()) SWIG_fail;
25014 }
25015 }
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 (arg1)->base_OnMoveLink(*arg2,arg3);
25019
25020 wxPyEndAllowThreads(__tstate);
25021 if (PyErr_Occurred()) SWIG_fail;
25022 }
25023 Py_INCREF(Py_None); resultobj = Py_None;
25024 return resultobj;
25025 fail:
25026 return NULL;
25027 }
25028
25029
25030 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj;
25032 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25033 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25034 bool arg3 ;
25035 double arg4 ;
25036 double arg5 ;
25037 int arg6 = (int) 0 ;
25038 int arg7 = (int) 0 ;
25039 PyObject * obj0 = 0 ;
25040 PyObject * obj1 = 0 ;
25041 PyObject * obj2 = 0 ;
25042 PyObject * obj3 = 0 ;
25043 PyObject * obj4 = 0 ;
25044 PyObject * obj5 = 0 ;
25045 PyObject * obj6 = 0 ;
25046 char *kwnames[] = {
25047 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25048 };
25049
25050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25053 {
25054 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 {
25058 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 {
25062 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 if (obj5) {
25066 {
25067 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25068 if (PyErr_Occurred()) SWIG_fail;
25069 }
25070 }
25071 if (obj6) {
25072 {
25073 arg7 = (int) SWIG_PyObj_AsInt(obj6);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 }
25077 {
25078 PyThreadState* __tstate = wxPyBeginAllowThreads();
25079 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
25080
25081 wxPyEndAllowThreads(__tstate);
25082 if (PyErr_Occurred()) SWIG_fail;
25083 }
25084 Py_INCREF(Py_None); resultobj = Py_None;
25085 return resultobj;
25086 fail:
25087 return NULL;
25088 }
25089
25090
25091 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25092 PyObject *resultobj;
25093 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25094 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25095 double arg3 ;
25096 double arg4 ;
25097 int arg5 = (int) 0 ;
25098 int arg6 = (int) 0 ;
25099 PyObject * obj0 = 0 ;
25100 PyObject * obj1 = 0 ;
25101 PyObject * obj2 = 0 ;
25102 PyObject * obj3 = 0 ;
25103 PyObject * obj4 = 0 ;
25104 PyObject * obj5 = 0 ;
25105 char *kwnames[] = {
25106 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25107 };
25108
25109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25112 {
25113 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 {
25117 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25118 if (PyErr_Occurred()) SWIG_fail;
25119 }
25120 if (obj4) {
25121 {
25122 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 }
25126 if (obj5) {
25127 {
25128 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 }
25132 {
25133 PyThreadState* __tstate = wxPyBeginAllowThreads();
25134 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
25135
25136 wxPyEndAllowThreads(__tstate);
25137 if (PyErr_Occurred()) SWIG_fail;
25138 }
25139 Py_INCREF(Py_None); resultobj = Py_None;
25140 return resultobj;
25141 fail:
25142 return NULL;
25143 }
25144
25145
25146 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25147 PyObject *resultobj;
25148 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25149 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25150 double arg3 ;
25151 double arg4 ;
25152 int arg5 = (int) 0 ;
25153 int arg6 = (int) 0 ;
25154 PyObject * obj0 = 0 ;
25155 PyObject * obj1 = 0 ;
25156 PyObject * obj2 = 0 ;
25157 PyObject * obj3 = 0 ;
25158 PyObject * obj4 = 0 ;
25159 PyObject * obj5 = 0 ;
25160 char *kwnames[] = {
25161 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25162 };
25163
25164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25167 {
25168 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25169 if (PyErr_Occurred()) SWIG_fail;
25170 }
25171 {
25172 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 if (obj4) {
25176 {
25177 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25178 if (PyErr_Occurred()) SWIG_fail;
25179 }
25180 }
25181 if (obj5) {
25182 {
25183 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 }
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 Py_INCREF(Py_None); resultobj = Py_None;
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25204 double arg2 ;
25205 double arg3 ;
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj1 = 0 ;
25208 PyObject * obj2 = 0 ;
25209 char *kwnames[] = {
25210 (char *) "self",(char *) "w",(char *) "h", NULL
25211 };
25212
25213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
25214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25215 {
25216 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 {
25220 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 {
25224 PyThreadState* __tstate = wxPyBeginAllowThreads();
25225 (arg1)->base_OnBeginSize(arg2,arg3);
25226
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 Py_INCREF(Py_None); resultobj = Py_None;
25231 return resultobj;
25232 fail:
25233 return NULL;
25234 }
25235
25236
25237 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25238 PyObject *resultobj;
25239 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25240 double arg2 ;
25241 double arg3 ;
25242 PyObject * obj0 = 0 ;
25243 PyObject * obj1 = 0 ;
25244 PyObject * obj2 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "self",(char *) "w",(char *) "h", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
25250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25251 {
25252 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 {
25256 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25257 if (PyErr_Occurred()) SWIG_fail;
25258 }
25259 {
25260 PyThreadState* __tstate = wxPyBeginAllowThreads();
25261 (arg1)->base_OnEndSize(arg2,arg3);
25262
25263 wxPyEndAllowThreads(__tstate);
25264 if (PyErr_Occurred()) SWIG_fail;
25265 }
25266 Py_INCREF(Py_None); resultobj = Py_None;
25267 return resultobj;
25268 fail:
25269 return NULL;
25270 }
25271
25272
25273 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
25274 PyObject *obj;
25275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25276 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
25277 Py_INCREF(obj);
25278 return Py_BuildValue((char *)"");
25279 }
25280 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25281 PyObject *resultobj;
25282 int arg1 = (int) 0 ;
25283 int arg2 = (int) 0 ;
25284 double arg3 = (double) 0.0 ;
25285 double arg4 = (double) 0.0 ;
25286 wxString const &arg5_defvalue = wxPyEmptyString ;
25287 wxString *arg5 = (wxString *) &arg5_defvalue ;
25288 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
25289 long arg7 = (long) -1 ;
25290 wxArrowHead *result;
25291 bool temp5 = False ;
25292 PyObject * obj0 = 0 ;
25293 PyObject * obj1 = 0 ;
25294 PyObject * obj2 = 0 ;
25295 PyObject * obj3 = 0 ;
25296 PyObject * obj4 = 0 ;
25297 PyObject * obj5 = 0 ;
25298 PyObject * obj6 = 0 ;
25299 char *kwnames[] = {
25300 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25301 };
25302
25303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25304 if (obj0) {
25305 {
25306 arg1 = (int) SWIG_PyObj_AsInt(obj0);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 }
25310 if (obj1) {
25311 {
25312 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25313 if (PyErr_Occurred()) SWIG_fail;
25314 }
25315 }
25316 if (obj2) {
25317 {
25318 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25319 if (PyErr_Occurred()) SWIG_fail;
25320 }
25321 }
25322 if (obj3) {
25323 {
25324 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25325 if (PyErr_Occurred()) SWIG_fail;
25326 }
25327 }
25328 if (obj4) {
25329 {
25330 arg5 = wxString_in_helper(obj4);
25331 if (arg5 == NULL) SWIG_fail;
25332 temp5 = True;
25333 }
25334 }
25335 if (obj5) {
25336 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25337 }
25338 if (obj6) {
25339 {
25340 arg7 = (long) SWIG_PyObj_AsLong(obj6);
25341 if (PyErr_Occurred()) SWIG_fail;
25342 }
25343 }
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 {
25352 resultobj = wxPyMake_wxObject(result);
25353 }
25354 {
25355 if (temp5)
25356 delete arg5;
25357 }
25358 return resultobj;
25359 fail:
25360 {
25361 if (temp5)
25362 delete arg5;
25363 }
25364 return NULL;
25365 }
25366
25367
25368 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25369 PyObject *resultobj;
25370 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25371 PyObject * obj0 = 0 ;
25372 char *kwnames[] = {
25373 (char *) "self", NULL
25374 };
25375
25376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
25377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25378 {
25379 PyThreadState* __tstate = wxPyBeginAllowThreads();
25380 delete arg1;
25381
25382 wxPyEndAllowThreads(__tstate);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 }
25385 Py_INCREF(Py_None); resultobj = Py_None;
25386 return resultobj;
25387 fail:
25388 return NULL;
25389 }
25390
25391
25392 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
25393 PyObject *resultobj;
25394 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25395 int result;
25396 PyObject * obj0 = 0 ;
25397 char *kwnames[] = {
25398 (char *) "self", NULL
25399 };
25400
25401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
25402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 result = (int)(arg1)->_GetType();
25406
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 resultobj = SWIG_PyObj_FromInt((int)result);
25411 return resultobj;
25412 fail:
25413 return NULL;
25414 }
25415
25416
25417 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj;
25419 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25420 int result;
25421 PyObject * obj0 = 0 ;
25422 char *kwnames[] = {
25423 (char *) "self", NULL
25424 };
25425
25426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
25427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25428 {
25429 PyThreadState* __tstate = wxPyBeginAllowThreads();
25430 result = (int)(arg1)->GetPosition();
25431
25432 wxPyEndAllowThreads(__tstate);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 }
25435 resultobj = SWIG_PyObj_FromInt((int)result);
25436 return resultobj;
25437 fail:
25438 return NULL;
25439 }
25440
25441
25442 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj;
25444 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25445 int arg2 ;
25446 PyObject * obj0 = 0 ;
25447 PyObject * obj1 = 0 ;
25448 char *kwnames[] = {
25449 (char *) "self",(char *) "pos", NULL
25450 };
25451
25452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25454 {
25455 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 }
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 (arg1)->SetPosition(arg2);
25461
25462 wxPyEndAllowThreads(__tstate);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 }
25465 Py_INCREF(Py_None); resultobj = Py_None;
25466 return resultobj;
25467 fail:
25468 return NULL;
25469 }
25470
25471
25472 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25473 PyObject *resultobj;
25474 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25475 double result;
25476 PyObject * obj0 = 0 ;
25477 char *kwnames[] = {
25478 (char *) "self", NULL
25479 };
25480
25481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
25482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25483 {
25484 PyThreadState* __tstate = wxPyBeginAllowThreads();
25485 result = (double)(arg1)->GetXOffset();
25486
25487 wxPyEndAllowThreads(__tstate);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 }
25490 resultobj = SWIG_PyObj_FromDouble((double)result);
25491 return resultobj;
25492 fail:
25493 return NULL;
25494 }
25495
25496
25497 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj;
25499 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25500 double result;
25501 PyObject * obj0 = 0 ;
25502 char *kwnames[] = {
25503 (char *) "self", NULL
25504 };
25505
25506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
25507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (double)(arg1)->GetYOffset();
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = SWIG_PyObj_FromDouble((double)result);
25516 return resultobj;
25517 fail:
25518 return NULL;
25519 }
25520
25521
25522 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25523 PyObject *resultobj;
25524 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25525 double result;
25526 PyObject * obj0 = 0 ;
25527 char *kwnames[] = {
25528 (char *) "self", NULL
25529 };
25530
25531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
25532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 result = (double)(arg1)->GetSpacing();
25536
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 resultobj = SWIG_PyObj_FromDouble((double)result);
25541 return resultobj;
25542 fail:
25543 return NULL;
25544 }
25545
25546
25547 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj;
25549 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25550 double result;
25551 PyObject * obj0 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "self", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
25557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 result = (double)(arg1)->GetSize();
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 resultobj = SWIG_PyObj_FromDouble((double)result);
25566 return resultobj;
25567 fail:
25568 return NULL;
25569 }
25570
25571
25572 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
25573 PyObject *resultobj;
25574 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25575 wxString result;
25576 PyObject * obj0 = 0 ;
25577 char *kwnames[] = {
25578 (char *) "self", NULL
25579 };
25580
25581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
25582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 result = (arg1)->GetName();
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 {
25591 #if wxUSE_UNICODE
25592 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25593 #else
25594 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25595 #endif
25596 }
25597 return resultobj;
25598 fail:
25599 return NULL;
25600 }
25601
25602
25603 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25604 PyObject *resultobj;
25605 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25606 double arg2 ;
25607 PyObject * obj0 = 0 ;
25608 PyObject * obj1 = 0 ;
25609 char *kwnames[] = {
25610 (char *) "self",(char *) "x", NULL
25611 };
25612
25613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
25614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25615 {
25616 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25617 if (PyErr_Occurred()) SWIG_fail;
25618 }
25619 {
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 (arg1)->SetXOffset(arg2);
25622
25623 wxPyEndAllowThreads(__tstate);
25624 if (PyErr_Occurred()) SWIG_fail;
25625 }
25626 Py_INCREF(Py_None); resultobj = Py_None;
25627 return resultobj;
25628 fail:
25629 return NULL;
25630 }
25631
25632
25633 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25634 PyObject *resultobj;
25635 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25636 double arg2 ;
25637 PyObject * obj0 = 0 ;
25638 PyObject * obj1 = 0 ;
25639 char *kwnames[] = {
25640 (char *) "self",(char *) "y", NULL
25641 };
25642
25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
25644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25645 {
25646 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 (arg1)->SetYOffset(arg2);
25652
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 Py_INCREF(Py_None); resultobj = Py_None;
25657 return resultobj;
25658 fail:
25659 return NULL;
25660 }
25661
25662
25663 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25664 PyObject *resultobj;
25665 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25666 wxPseudoMetaFile *result;
25667 PyObject * obj0 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
25673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 {
25682 resultobj = wxPyMake_wxObject(result);
25683 }
25684 return resultobj;
25685 fail:
25686 return NULL;
25687 }
25688
25689
25690 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
25691 PyObject *resultobj;
25692 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25693 long result;
25694 PyObject * obj0 = 0 ;
25695 char *kwnames[] = {
25696 (char *) "self", NULL
25697 };
25698
25699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
25700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25701 {
25702 PyThreadState* __tstate = wxPyBeginAllowThreads();
25703 result = (long)(arg1)->GetId();
25704
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
25708 resultobj = SWIG_PyObj_FromLong((long)result);
25709 return resultobj;
25710 fail:
25711 return NULL;
25712 }
25713
25714
25715 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
25716 PyObject *resultobj;
25717 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25718 int result;
25719 PyObject * obj0 = 0 ;
25720 char *kwnames[] = {
25721 (char *) "self", NULL
25722 };
25723
25724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
25725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25726 {
25727 PyThreadState* __tstate = wxPyBeginAllowThreads();
25728 result = (int)(arg1)->GetArrowEnd();
25729
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 resultobj = SWIG_PyObj_FromInt((int)result);
25734 return resultobj;
25735 fail:
25736 return NULL;
25737 }
25738
25739
25740 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25741 PyObject *resultobj;
25742 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25743 double result;
25744 PyObject * obj0 = 0 ;
25745 char *kwnames[] = {
25746 (char *) "self", NULL
25747 };
25748
25749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
25750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 result = (double)(arg1)->GetArrowSize();
25754
25755 wxPyEndAllowThreads(__tstate);
25756 if (PyErr_Occurred()) SWIG_fail;
25757 }
25758 resultobj = SWIG_PyObj_FromDouble((double)result);
25759 return resultobj;
25760 fail:
25761 return NULL;
25762 }
25763
25764
25765 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25766 PyObject *resultobj;
25767 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25768 double arg2 ;
25769 PyObject * obj0 = 0 ;
25770 PyObject * obj1 = 0 ;
25771 char *kwnames[] = {
25772 (char *) "self",(char *) "size", NULL
25773 };
25774
25775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
25776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25777 {
25778 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25779 if (PyErr_Occurred()) SWIG_fail;
25780 }
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 (arg1)->SetSize(arg2);
25784
25785 wxPyEndAllowThreads(__tstate);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
25788 Py_INCREF(Py_None); resultobj = Py_None;
25789 return resultobj;
25790 fail:
25791 return NULL;
25792 }
25793
25794
25795 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25796 PyObject *resultobj;
25797 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25798 double arg2 ;
25799 PyObject * obj0 = 0 ;
25800 PyObject * obj1 = 0 ;
25801 char *kwnames[] = {
25802 (char *) "self",(char *) "sp", NULL
25803 };
25804
25805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25807 {
25808 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25809 if (PyErr_Occurred()) SWIG_fail;
25810 }
25811 {
25812 PyThreadState* __tstate = wxPyBeginAllowThreads();
25813 (arg1)->SetSpacing(arg2);
25814
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
25818 Py_INCREF(Py_None); resultobj = Py_None;
25819 return resultobj;
25820 fail:
25821 return NULL;
25822 }
25823
25824
25825 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
25826 PyObject *obj;
25827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25828 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25829 Py_INCREF(obj);
25830 return Py_BuildValue((char *)"");
25831 }
25832 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25833 PyObject *resultobj;
25834 wxPyLineShape *result;
25835 char *kwnames[] = {
25836 NULL
25837 };
25838
25839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 result = (wxPyLineShape *)new wxPyLineShape();
25843
25844 wxPyEndAllowThreads(__tstate);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLineShape, 1);
25848 return resultobj;
25849 fail:
25850 return NULL;
25851 }
25852
25853
25854 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25855 PyObject *resultobj;
25856 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25857 PyObject *arg2 = (PyObject *) 0 ;
25858 PyObject *arg3 = (PyObject *) 0 ;
25859 PyObject * obj0 = 0 ;
25860 PyObject * obj1 = 0 ;
25861 PyObject * obj2 = 0 ;
25862 char *kwnames[] = {
25863 (char *) "self",(char *) "self",(char *) "_class", NULL
25864 };
25865
25866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25868 arg2 = obj1;
25869 arg3 = obj2;
25870 {
25871 PyThreadState* __tstate = wxPyBeginAllowThreads();
25872 (arg1)->_setCallbackInfo(arg2,arg3);
25873
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 Py_INCREF(Py_None); resultobj = Py_None;
25878 return resultobj;
25879 fail:
25880 return NULL;
25881 }
25882
25883
25884 static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25885 PyObject *resultobj;
25886 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25887 int arg2 ;
25888 int arg3 = (int) ARROW_POSITION_END ;
25889 double arg4 = (double) 10.0 ;
25890 double arg5 = (double) 0.0 ;
25891 wxString const &arg6_defvalue = wxPyEmptyString ;
25892 wxString *arg6 = (wxString *) &arg6_defvalue ;
25893 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25894 long arg8 = (long) -1 ;
25895 bool temp6 = False ;
25896 PyObject * obj0 = 0 ;
25897 PyObject * obj1 = 0 ;
25898 PyObject * obj2 = 0 ;
25899 PyObject * obj3 = 0 ;
25900 PyObject * obj4 = 0 ;
25901 PyObject * obj5 = 0 ;
25902 PyObject * obj6 = 0 ;
25903 PyObject * obj7 = 0 ;
25904 char *kwnames[] = {
25905 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25906 };
25907
25908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25910 {
25911 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 if (obj2) {
25915 {
25916 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 }
25920 if (obj3) {
25921 {
25922 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 }
25926 if (obj4) {
25927 {
25928 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
25929 if (PyErr_Occurred()) SWIG_fail;
25930 }
25931 }
25932 if (obj5) {
25933 {
25934 arg6 = wxString_in_helper(obj5);
25935 if (arg6 == NULL) SWIG_fail;
25936 temp6 = True;
25937 }
25938 }
25939 if (obj6) {
25940 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25941 }
25942 if (obj7) {
25943 {
25944 arg8 = (long) SWIG_PyObj_AsLong(obj7);
25945 if (PyErr_Occurred()) SWIG_fail;
25946 }
25947 }
25948 {
25949 PyThreadState* __tstate = wxPyBeginAllowThreads();
25950 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25951
25952 wxPyEndAllowThreads(__tstate);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 }
25955 Py_INCREF(Py_None); resultobj = Py_None;
25956 {
25957 if (temp6)
25958 delete arg6;
25959 }
25960 return resultobj;
25961 fail:
25962 {
25963 if (temp6)
25964 delete arg6;
25965 }
25966 return NULL;
25967 }
25968
25969
25970 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
25971 PyObject *resultobj;
25972 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25973 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25974 PyObject *arg3 = (PyObject *) 0 ;
25975 int arg4 ;
25976 PyObject * obj0 = 0 ;
25977 PyObject * obj1 = 0 ;
25978 PyObject * obj2 = 0 ;
25979 PyObject * obj3 = 0 ;
25980 char *kwnames[] = {
25981 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25982 };
25983
25984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25987 arg3 = obj2;
25988 {
25989 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 {
25993 PyThreadState* __tstate = wxPyBeginAllowThreads();
25994 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25995
25996 wxPyEndAllowThreads(__tstate);
25997 if (PyErr_Occurred()) SWIG_fail;
25998 }
25999 Py_INCREF(Py_None); resultobj = Py_None;
26000 return resultobj;
26001 fail:
26002 return NULL;
26003 }
26004
26005
26006 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
26007 PyObject *resultobj;
26008 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26009 wxString *arg2 = 0 ;
26010 bool result;
26011 bool temp2 = False ;
26012 PyObject * obj0 = 0 ;
26013 PyObject * obj1 = 0 ;
26014 char *kwnames[] = {
26015 (char *) "self",(char *) "name", NULL
26016 };
26017
26018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
26019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26020 {
26021 arg2 = wxString_in_helper(obj1);
26022 if (arg2 == NULL) SWIG_fail;
26023 temp2 = True;
26024 }
26025 {
26026 PyThreadState* __tstate = wxPyBeginAllowThreads();
26027 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
26028
26029 wxPyEndAllowThreads(__tstate);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
26032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26033 {
26034 if (temp2)
26035 delete arg2;
26036 }
26037 return resultobj;
26038 fail:
26039 {
26040 if (temp2)
26041 delete arg2;
26042 }
26043 return NULL;
26044 }
26045
26046
26047 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26048 PyObject *resultobj;
26049 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26050 int arg2 = (int) -1 ;
26051 PyObject * obj0 = 0 ;
26052 PyObject * obj1 = 0 ;
26053 char *kwnames[] = {
26054 (char *) "self",(char *) "position", NULL
26055 };
26056
26057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
26058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26059 if (obj1) {
26060 {
26061 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 }
26065 {
26066 PyThreadState* __tstate = wxPyBeginAllowThreads();
26067 (arg1)->ClearArrowsAtPosition(arg2);
26068
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 Py_INCREF(Py_None); resultobj = Py_None;
26073 return resultobj;
26074 fail:
26075 return NULL;
26076 }
26077
26078
26079 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
26080 PyObject *resultobj;
26081 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26082 wxDC *arg2 = 0 ;
26083 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
26084 double arg4 ;
26085 bool arg5 ;
26086 PyObject * obj0 = 0 ;
26087 PyObject * obj1 = 0 ;
26088 PyObject * obj2 = 0 ;
26089 PyObject * obj3 = 0 ;
26090 PyObject * obj4 = 0 ;
26091 char *kwnames[] = {
26092 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
26093 };
26094
26095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26098 if (arg2 == NULL) {
26099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26100 }
26101 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26102 {
26103 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
26106 {
26107 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
26110 {
26111 PyThreadState* __tstate = wxPyBeginAllowThreads();
26112 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
26113
26114 wxPyEndAllowThreads(__tstate);
26115 if (PyErr_Occurred()) SWIG_fail;
26116 }
26117 Py_INCREF(Py_None); resultobj = Py_None;
26118 return resultobj;
26119 fail:
26120 return NULL;
26121 }
26122
26123
26124 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
26125 PyObject *resultobj;
26126 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26127 long arg2 ;
26128 bool result;
26129 PyObject * obj0 = 0 ;
26130 PyObject * obj1 = 0 ;
26131 char *kwnames[] = {
26132 (char *) "self",(char *) "arrowId", NULL
26133 };
26134
26135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
26136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26137 {
26138 arg2 = (long) SWIG_PyObj_AsLong(obj1);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 {
26142 PyThreadState* __tstate = wxPyBeginAllowThreads();
26143 result = (bool)(arg1)->DeleteArrowHead(arg2);
26144
26145 wxPyEndAllowThreads(__tstate);
26146 if (PyErr_Occurred()) SWIG_fail;
26147 }
26148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26149 return resultobj;
26150 fail:
26151 return NULL;
26152 }
26153
26154
26155 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
26156 PyObject *resultobj;
26157 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26158 int arg2 ;
26159 wxString *arg3 = 0 ;
26160 bool result;
26161 bool temp3 = False ;
26162 PyObject * obj0 = 0 ;
26163 PyObject * obj1 = 0 ;
26164 PyObject * obj2 = 0 ;
26165 char *kwnames[] = {
26166 (char *) "self",(char *) "position",(char *) "name", NULL
26167 };
26168
26169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
26170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26171 {
26172 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
26175 {
26176 arg3 = wxString_in_helper(obj2);
26177 if (arg3 == NULL) SWIG_fail;
26178 temp3 = True;
26179 }
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
26183
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26188 {
26189 if (temp3)
26190 delete arg3;
26191 }
26192 return resultobj;
26193 fail:
26194 {
26195 if (temp3)
26196 delete arg3;
26197 }
26198 return NULL;
26199 }
26200
26201
26202 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26203 PyObject *resultobj;
26204 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26205 bool result;
26206 PyObject * obj0 = 0 ;
26207 char *kwnames[] = {
26208 (char *) "self", NULL
26209 };
26210
26211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
26212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = (bool)(arg1)->DeleteLineControlPoint();
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26221 return resultobj;
26222 fail:
26223 return NULL;
26224 }
26225
26226
26227 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj;
26229 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26230 wxDC *arg2 = 0 ;
26231 PyObject * obj0 = 0 ;
26232 PyObject * obj1 = 0 ;
26233 char *kwnames[] = {
26234 (char *) "self",(char *) "dc", NULL
26235 };
26236
26237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
26238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26240 if (arg2 == NULL) {
26241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26242 }
26243 {
26244 PyThreadState* __tstate = wxPyBeginAllowThreads();
26245 (arg1)->DrawArrows(*arg2);
26246
26247 wxPyEndAllowThreads(__tstate);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 }
26250 Py_INCREF(Py_None); resultobj = Py_None;
26251 return resultobj;
26252 fail:
26253 return NULL;
26254 }
26255
26256
26257 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
26258 PyObject *resultobj;
26259 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26260 wxDC *arg2 = 0 ;
26261 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
26262 double arg4 ;
26263 double arg5 ;
26264 PyObject * obj0 = 0 ;
26265 PyObject * obj1 = 0 ;
26266 PyObject * obj2 = 0 ;
26267 PyObject * obj3 = 0 ;
26268 PyObject * obj4 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26276 if (arg2 == NULL) {
26277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26278 }
26279 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26280 {
26281 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
26282 if (PyErr_Occurred()) SWIG_fail;
26283 }
26284 {
26285 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 {
26289 PyThreadState* __tstate = wxPyBeginAllowThreads();
26290 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
26291
26292 wxPyEndAllowThreads(__tstate);
26293 if (PyErr_Occurred()) SWIG_fail;
26294 }
26295 Py_INCREF(Py_None); resultobj = Py_None;
26296 return resultobj;
26297 fail:
26298 return NULL;
26299 }
26300
26301
26302 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
26303 PyObject *resultobj;
26304 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26305 wxDC *arg2 = 0 ;
26306 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
26307 double arg4 ;
26308 double arg5 ;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 PyObject * obj2 = 0 ;
26312 PyObject * obj3 = 0 ;
26313 PyObject * obj4 = 0 ;
26314 char *kwnames[] = {
26315 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
26316 };
26317
26318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26321 if (arg2 == NULL) {
26322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26323 }
26324 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26325 {
26326 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 {
26330 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
26336
26337 wxPyEndAllowThreads(__tstate);
26338 if (PyErr_Occurred()) SWIG_fail;
26339 }
26340 Py_INCREF(Py_None); resultobj = Py_None;
26341 return resultobj;
26342 fail:
26343 return NULL;
26344 }
26345
26346
26347 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
26348 PyObject *resultobj;
26349 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26350 long arg2 ;
26351 wxArrowHead *result;
26352 PyObject * obj0 = 0 ;
26353 PyObject * obj1 = 0 ;
26354 char *kwnames[] = {
26355 (char *) "self",(char *) "arrowId", NULL
26356 };
26357
26358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
26359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26360 {
26361 arg2 = (long) SWIG_PyObj_AsLong(obj1);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
26367
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 {
26372 resultobj = wxPyMake_wxObject(result);
26373 }
26374 return resultobj;
26375 fail:
26376 return NULL;
26377 }
26378
26379
26380 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
26381 PyObject *resultobj;
26382 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26383 int arg2 ;
26384 wxString *arg3 = 0 ;
26385 wxArrowHead *result;
26386 bool temp3 = False ;
26387 PyObject * obj0 = 0 ;
26388 PyObject * obj1 = 0 ;
26389 PyObject * obj2 = 0 ;
26390 char *kwnames[] = {
26391 (char *) "self",(char *) "position",(char *) "name", NULL
26392 };
26393
26394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
26395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26396 {
26397 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 {
26401 arg3 = wxString_in_helper(obj2);
26402 if (arg3 == NULL) SWIG_fail;
26403 temp3 = True;
26404 }
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
26408
26409 wxPyEndAllowThreads(__tstate);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 }
26412 {
26413 resultobj = wxPyMake_wxObject(result);
26414 }
26415 {
26416 if (temp3)
26417 delete arg3;
26418 }
26419 return resultobj;
26420 fail:
26421 {
26422 if (temp3)
26423 delete arg3;
26424 }
26425 return NULL;
26426 }
26427
26428
26429 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26430 PyObject *resultobj;
26431 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26432 double *arg2 = (double *) 0 ;
26433 double *arg3 = (double *) 0 ;
26434 double *arg4 = (double *) 0 ;
26435 double *arg5 = (double *) 0 ;
26436 double temp2 ;
26437 double temp3 ;
26438 double temp4 ;
26439 double temp5 ;
26440 PyObject * obj0 = 0 ;
26441 char *kwnames[] = {
26442 (char *) "self", NULL
26443 };
26444
26445 arg2 = &temp2;
26446 arg3 = &temp3;
26447 arg4 = &temp4;
26448 arg5 = &temp5;
26449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
26450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
26454
26455 wxPyEndAllowThreads(__tstate);
26456 if (PyErr_Occurred()) SWIG_fail;
26457 }
26458 Py_INCREF(Py_None); resultobj = Py_None;
26459 {
26460 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26461 resultobj = t_output_helper(resultobj,o);
26462 }
26463 {
26464 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26465 resultobj = t_output_helper(resultobj,o);
26466 }
26467 {
26468 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26469 resultobj = t_output_helper(resultobj,o);
26470 }
26471 {
26472 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26473 resultobj = t_output_helper(resultobj,o);
26474 }
26475 return resultobj;
26476 fail:
26477 return NULL;
26478 }
26479
26480
26481 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26482 PyObject *resultobj;
26483 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26484 double arg2 ;
26485 double arg3 ;
26486 int result;
26487 PyObject * obj0 = 0 ;
26488 PyObject * obj1 = 0 ;
26489 PyObject * obj2 = 0 ;
26490 char *kwnames[] = {
26491 (char *) "self",(char *) "x",(char *) "y", NULL
26492 };
26493
26494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
26495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26496 {
26497 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 }
26500 {
26501 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
26502 if (PyErr_Occurred()) SWIG_fail;
26503 }
26504 {
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 result = (int)(arg1)->FindLinePosition(arg2,arg3);
26507
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 resultobj = SWIG_PyObj_FromInt((int)result);
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26519 PyObject *resultobj;
26520 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26521 double result;
26522 PyObject * obj0 = 0 ;
26523 char *kwnames[] = {
26524 (char *) "self", NULL
26525 };
26526
26527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
26528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 result = (double)(arg1)->FindMinimumWidth();
26532
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 resultobj = SWIG_PyObj_FromDouble((double)result);
26537 return resultobj;
26538 fail:
26539 return NULL;
26540 }
26541
26542
26543 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
26544 PyObject *resultobj;
26545 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26546 wxPyShape *arg2 = (wxPyShape *) 0 ;
26547 int *arg3 = (int *) 0 ;
26548 int *arg4 = (int *) 0 ;
26549 bool arg5 ;
26550 int temp3 ;
26551 int temp4 ;
26552 PyObject * obj0 = 0 ;
26553 PyObject * obj1 = 0 ;
26554 PyObject * obj2 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "self",(char *) "image",(char *) "incoming", NULL
26557 };
26558
26559 arg3 = &temp3;
26560 arg4 = &temp4;
26561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
26562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26564 {
26565 arg5 = (bool) SWIG_PyObj_AsBool(obj2);
26566 if (PyErr_Occurred()) SWIG_fail;
26567 }
26568 {
26569 PyThreadState* __tstate = wxPyBeginAllowThreads();
26570 (arg1)->FindNth(arg2,arg3,arg4,arg5);
26571
26572 wxPyEndAllowThreads(__tstate);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 Py_INCREF(Py_None); resultobj = Py_None;
26576 {
26577 PyObject *o = PyInt_FromLong((long) (*arg3));
26578 resultobj = t_output_helper(resultobj,o);
26579 }
26580 {
26581 PyObject *o = PyInt_FromLong((long) (*arg4));
26582 resultobj = t_output_helper(resultobj,o);
26583 }
26584 return resultobj;
26585 fail:
26586 return NULL;
26587 }
26588
26589
26590 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26591 PyObject *resultobj;
26592 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26593 int result;
26594 PyObject * obj0 = 0 ;
26595 char *kwnames[] = {
26596 (char *) "self", NULL
26597 };
26598
26599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
26600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26601 {
26602 PyThreadState* __tstate = wxPyBeginAllowThreads();
26603 result = (int)(arg1)->GetAttachmentFrom();
26604
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
26608 resultobj = SWIG_PyObj_FromInt((int)result);
26609 return resultobj;
26610 fail:
26611 return NULL;
26612 }
26613
26614
26615 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26616 PyObject *resultobj;
26617 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26618 int result;
26619 PyObject * obj0 = 0 ;
26620 char *kwnames[] = {
26621 (char *) "self", NULL
26622 };
26623
26624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
26625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26626 {
26627 PyThreadState* __tstate = wxPyBeginAllowThreads();
26628 result = (int)(arg1)->GetAttachmentTo();
26629
26630 wxPyEndAllowThreads(__tstate);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 }
26633 resultobj = SWIG_PyObj_FromInt((int)result);
26634 return resultobj;
26635 fail:
26636 return NULL;
26637 }
26638
26639
26640 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26641 PyObject *resultobj;
26642 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26643 double *arg2 = (double *) 0 ;
26644 double *arg3 = (double *) 0 ;
26645 double *arg4 = (double *) 0 ;
26646 double *arg5 = (double *) 0 ;
26647 double temp2 ;
26648 double temp3 ;
26649 double temp4 ;
26650 double temp5 ;
26651 PyObject * obj0 = 0 ;
26652 char *kwnames[] = {
26653 (char *) "self", NULL
26654 };
26655
26656 arg2 = &temp2;
26657 arg3 = &temp3;
26658 arg4 = &temp4;
26659 arg5 = &temp5;
26660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
26661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26662 {
26663 PyThreadState* __tstate = wxPyBeginAllowThreads();
26664 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
26665
26666 wxPyEndAllowThreads(__tstate);
26667 if (PyErr_Occurred()) SWIG_fail;
26668 }
26669 Py_INCREF(Py_None); resultobj = Py_None;
26670 {
26671 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26672 resultobj = t_output_helper(resultobj,o);
26673 }
26674 {
26675 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26676 resultobj = t_output_helper(resultobj,o);
26677 }
26678 {
26679 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26680 resultobj = t_output_helper(resultobj,o);
26681 }
26682 {
26683 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26684 resultobj = t_output_helper(resultobj,o);
26685 }
26686 return resultobj;
26687 fail:
26688 return NULL;
26689 }
26690
26691
26692 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26693 PyObject *resultobj;
26694 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26695 wxPyShape *result;
26696 PyObject * obj0 = 0 ;
26697 char *kwnames[] = {
26698 (char *) "self", NULL
26699 };
26700
26701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
26702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 result = (wxPyShape *)(arg1)->GetFrom();
26706
26707 wxPyEndAllowThreads(__tstate);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 }
26710 {
26711 resultobj = wxPyMake_wxShapeEvtHandler(result);
26712 }
26713 return resultobj;
26714 fail:
26715 return NULL;
26716 }
26717
26718
26719 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26720 PyObject *resultobj;
26721 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26722 int arg2 ;
26723 double *arg3 = (double *) 0 ;
26724 double *arg4 = (double *) 0 ;
26725 double temp3 ;
26726 double temp4 ;
26727 PyObject * obj0 = 0 ;
26728 PyObject * obj1 = 0 ;
26729 char *kwnames[] = {
26730 (char *) "self",(char *) "position", NULL
26731 };
26732
26733 arg3 = &temp3;
26734 arg4 = &temp4;
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
26736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26737 {
26738 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 }
26741 {
26742 PyThreadState* __tstate = wxPyBeginAllowThreads();
26743 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26744
26745 wxPyEndAllowThreads(__tstate);
26746 if (PyErr_Occurred()) SWIG_fail;
26747 }
26748 Py_INCREF(Py_None); resultobj = Py_None;
26749 {
26750 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26751 resultobj = t_output_helper(resultobj,o);
26752 }
26753 {
26754 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26755 resultobj = t_output_helper(resultobj,o);
26756 }
26757 return resultobj;
26758 fail:
26759 return NULL;
26760 }
26761
26762
26763 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26764 PyObject *resultobj;
26765 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26766 wxPyShape *arg2 = (wxPyShape *) 0 ;
26767 wxRealPoint *result;
26768 PyObject * obj0 = 0 ;
26769 PyObject * obj1 = 0 ;
26770 char *kwnames[] = {
26771 (char *) "self",(char *) "shape", NULL
26772 };
26773
26774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
26775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26777 {
26778 PyThreadState* __tstate = wxPyBeginAllowThreads();
26779 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26780
26781 wxPyEndAllowThreads(__tstate);
26782 if (PyErr_Occurred()) SWIG_fail;
26783 }
26784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 0);
26785 return resultobj;
26786 fail:
26787 return NULL;
26788 }
26789
26790
26791 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26792 PyObject *resultobj;
26793 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26794 wxPyShape *result;
26795 PyObject * obj0 = 0 ;
26796 char *kwnames[] = {
26797 (char *) "self", NULL
26798 };
26799
26800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
26801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26802 {
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 result = (wxPyShape *)(arg1)->GetTo();
26805
26806 wxPyEndAllowThreads(__tstate);
26807 if (PyErr_Occurred()) SWIG_fail;
26808 }
26809 {
26810 resultobj = wxPyMake_wxShapeEvtHandler(result);
26811 }
26812 return resultobj;
26813 fail:
26814 return NULL;
26815 }
26816
26817
26818 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
26819 PyObject *resultobj;
26820 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26821 PyObject * obj0 = 0 ;
26822 char *kwnames[] = {
26823 (char *) "self", NULL
26824 };
26825
26826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
26827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 (arg1)->Initialise();
26831
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 Py_INCREF(Py_None); resultobj = Py_None;
26836 return resultobj;
26837 fail:
26838 return NULL;
26839 }
26840
26841
26842 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26843 PyObject *resultobj;
26844 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26845 wxDC *arg2 = (wxDC *) 0 ;
26846 PyObject * obj0 = 0 ;
26847 PyObject * obj1 = 0 ;
26848 char *kwnames[] = {
26849 (char *) "self",(char *) "dc", NULL
26850 };
26851
26852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
26853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26854 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26855 {
26856 PyThreadState* __tstate = wxPyBeginAllowThreads();
26857 (arg1)->InsertLineControlPoint(arg2);
26858
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 Py_INCREF(Py_None); resultobj = Py_None;
26863 return resultobj;
26864 fail:
26865 return NULL;
26866 }
26867
26868
26869 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26870 PyObject *resultobj;
26871 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26872 wxPyShape *arg2 = (wxPyShape *) 0 ;
26873 bool result;
26874 PyObject * obj0 = 0 ;
26875 PyObject * obj1 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "self",(char *) "shape", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
26881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 result = (bool)(arg1)->IsEnd(arg2);
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26891 return resultobj;
26892 fail:
26893 return NULL;
26894 }
26895
26896
26897 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26898 PyObject *resultobj;
26899 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26900 bool result;
26901 PyObject * obj0 = 0 ;
26902 char *kwnames[] = {
26903 (char *) "self", NULL
26904 };
26905
26906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
26907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26908 {
26909 PyThreadState* __tstate = wxPyBeginAllowThreads();
26910 result = (bool)(arg1)->IsSpline();
26911
26912 wxPyEndAllowThreads(__tstate);
26913 if (PyErr_Occurred()) SWIG_fail;
26914 }
26915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26916 return resultobj;
26917 fail:
26918 return NULL;
26919 }
26920
26921
26922 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26923 PyObject *resultobj;
26924 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26925 int arg2 ;
26926 PyObject * obj0 = 0 ;
26927 PyObject * obj1 = 0 ;
26928 char *kwnames[] = {
26929 (char *) "self",(char *) "n", NULL
26930 };
26931
26932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26934 {
26935 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26936 if (PyErr_Occurred()) SWIG_fail;
26937 }
26938 {
26939 PyThreadState* __tstate = wxPyBeginAllowThreads();
26940 (arg1)->MakeLineControlPoints(arg2);
26941
26942 wxPyEndAllowThreads(__tstate);
26943 if (PyErr_Occurred()) SWIG_fail;
26944 }
26945 Py_INCREF(Py_None); resultobj = Py_None;
26946 return resultobj;
26947 fail:
26948 return NULL;
26949 }
26950
26951
26952 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26953 PyObject *resultobj;
26954 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26955 PyObject *result;
26956 PyObject * obj0 = 0 ;
26957 char *kwnames[] = {
26958 (char *) "self", NULL
26959 };
26960
26961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
26962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26963 {
26964 PyThreadState* __tstate = wxPyBeginAllowThreads();
26965 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26966
26967 wxPyEndAllowThreads(__tstate);
26968 if (PyErr_Occurred()) SWIG_fail;
26969 }
26970 resultobj = result;
26971 return resultobj;
26972 fail:
26973 return NULL;
26974 }
26975
26976
26977 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26978 PyObject *resultobj;
26979 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26980 int arg2 ;
26981 PyObject * obj0 = 0 ;
26982 PyObject * obj1 = 0 ;
26983 char *kwnames[] = {
26984 (char *) "self",(char *) "fromAttach", NULL
26985 };
26986
26987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
26988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26989 {
26990 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26991 if (PyErr_Occurred()) SWIG_fail;
26992 }
26993 {
26994 PyThreadState* __tstate = wxPyBeginAllowThreads();
26995 (arg1)->SetAttachmentFrom(arg2);
26996
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 Py_INCREF(Py_None); resultobj = Py_None;
27001 return resultobj;
27002 fail:
27003 return NULL;
27004 }
27005
27006
27007 static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
27008 PyObject *resultobj;
27009 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27010 int arg2 ;
27011 int arg3 ;
27012 PyObject * obj0 = 0 ;
27013 PyObject * obj1 = 0 ;
27014 PyObject * obj2 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
27020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27021 {
27022 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27023 if (PyErr_Occurred()) SWIG_fail;
27024 }
27025 {
27026 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 {
27030 PyThreadState* __tstate = wxPyBeginAllowThreads();
27031 (arg1)->SetAttachments(arg2,arg3);
27032
27033 wxPyEndAllowThreads(__tstate);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 Py_INCREF(Py_None); resultobj = Py_None;
27037 return resultobj;
27038 fail:
27039 return NULL;
27040 }
27041
27042
27043 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27044 PyObject *resultobj;
27045 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27046 int arg2 ;
27047 PyObject * obj0 = 0 ;
27048 PyObject * obj1 = 0 ;
27049 char *kwnames[] = {
27050 (char *) "self",(char *) "toAttach", NULL
27051 };
27052
27053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
27054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27055 {
27056 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 {
27060 PyThreadState* __tstate = wxPyBeginAllowThreads();
27061 (arg1)->SetAttachmentTo(arg2);
27062
27063 wxPyEndAllowThreads(__tstate);
27064 if (PyErr_Occurred()) SWIG_fail;
27065 }
27066 Py_INCREF(Py_None); resultobj = Py_None;
27067 return resultobj;
27068 fail:
27069 return NULL;
27070 }
27071
27072
27073 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
27074 PyObject *resultobj;
27075 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27076 double arg2 ;
27077 double arg3 ;
27078 double arg4 ;
27079 double arg5 ;
27080 PyObject * obj0 = 0 ;
27081 PyObject * obj1 = 0 ;
27082 PyObject * obj2 = 0 ;
27083 PyObject * obj3 = 0 ;
27084 PyObject * obj4 = 0 ;
27085 char *kwnames[] = {
27086 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
27087 };
27088
27089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27091 {
27092 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27093 if (PyErr_Occurred()) SWIG_fail;
27094 }
27095 {
27096 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27097 if (PyErr_Occurred()) SWIG_fail;
27098 }
27099 {
27100 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
27101 if (PyErr_Occurred()) SWIG_fail;
27102 }
27103 {
27104 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
27107 {
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
27110
27111 wxPyEndAllowThreads(__tstate);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 }
27114 Py_INCREF(Py_None); resultobj = Py_None;
27115 return resultobj;
27116 fail:
27117 return NULL;
27118 }
27119
27120
27121 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
27122 PyObject *resultobj;
27123 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27124 wxPyShape *arg2 = (wxPyShape *) 0 ;
27125 PyObject * obj0 = 0 ;
27126 PyObject * obj1 = 0 ;
27127 char *kwnames[] = {
27128 (char *) "self",(char *) "object", NULL
27129 };
27130
27131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
27132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27134 {
27135 PyThreadState* __tstate = wxPyBeginAllowThreads();
27136 (arg1)->SetFrom(arg2);
27137
27138 wxPyEndAllowThreads(__tstate);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 }
27141 Py_INCREF(Py_None); resultobj = Py_None;
27142 return resultobj;
27143 fail:
27144 return NULL;
27145 }
27146
27147
27148 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
27149 PyObject *resultobj;
27150 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27151 bool arg2 ;
27152 PyObject * obj0 = 0 ;
27153 PyObject * obj1 = 0 ;
27154 char *kwnames[] = {
27155 (char *) "self",(char *) "ignore", NULL
27156 };
27157
27158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
27159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27160 {
27161 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27162 if (PyErr_Occurred()) SWIG_fail;
27163 }
27164 {
27165 PyThreadState* __tstate = wxPyBeginAllowThreads();
27166 (arg1)->SetIgnoreOffsets(arg2);
27167
27168 wxPyEndAllowThreads(__tstate);
27169 if (PyErr_Occurred()) SWIG_fail;
27170 }
27171 Py_INCREF(Py_None); resultobj = Py_None;
27172 return resultobj;
27173 fail:
27174 return NULL;
27175 }
27176
27177
27178 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
27179 PyObject *resultobj;
27180 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27181 bool arg2 ;
27182 PyObject * obj0 = 0 ;
27183 PyObject * obj1 = 0 ;
27184 char *kwnames[] = {
27185 (char *) "self",(char *) "spline", NULL
27186 };
27187
27188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
27189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27190 {
27191 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27192 if (PyErr_Occurred()) SWIG_fail;
27193 }
27194 {
27195 PyThreadState* __tstate = wxPyBeginAllowThreads();
27196 (arg1)->SetSpline(arg2);
27197
27198 wxPyEndAllowThreads(__tstate);
27199 if (PyErr_Occurred()) SWIG_fail;
27200 }
27201 Py_INCREF(Py_None); resultobj = Py_None;
27202 return resultobj;
27203 fail:
27204 return NULL;
27205 }
27206
27207
27208 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27209 PyObject *resultobj;
27210 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27211 wxPyShape *arg2 = (wxPyShape *) 0 ;
27212 PyObject * obj0 = 0 ;
27213 PyObject * obj1 = 0 ;
27214 char *kwnames[] = {
27215 (char *) "self",(char *) "object", NULL
27216 };
27217
27218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
27219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27221 {
27222 PyThreadState* __tstate = wxPyBeginAllowThreads();
27223 (arg1)->SetTo(arg2);
27224
27225 wxPyEndAllowThreads(__tstate);
27226 if (PyErr_Occurred()) SWIG_fail;
27227 }
27228 Py_INCREF(Py_None); resultobj = Py_None;
27229 return resultobj;
27230 fail:
27231 return NULL;
27232 }
27233
27234
27235 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
27236 PyObject *resultobj;
27237 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27238 wxDC *arg2 = (wxDC *) NULL ;
27239 PyObject * obj0 = 0 ;
27240 PyObject * obj1 = 0 ;
27241 char *kwnames[] = {
27242 (char *) "self",(char *) "dc", NULL
27243 };
27244
27245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
27246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27247 if (obj1) {
27248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27249 }
27250 {
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 (arg1)->Straighten(arg2);
27253
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 Py_INCREF(Py_None); resultobj = Py_None;
27258 return resultobj;
27259 fail:
27260 return NULL;
27261 }
27262
27263
27264 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
27265 PyObject *resultobj;
27266 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27267 PyObject * obj0 = 0 ;
27268 char *kwnames[] = {
27269 (char *) "self", NULL
27270 };
27271
27272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
27273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 (arg1)->Unlink();
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 Py_INCREF(Py_None); resultobj = Py_None;
27282 return resultobj;
27283 fail:
27284 return NULL;
27285 }
27286
27287
27288 static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
27289 PyObject *resultobj;
27290 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27291 bool arg2 ;
27292 bool arg3 ;
27293 PyObject * obj0 = 0 ;
27294 PyObject * obj1 = 0 ;
27295 PyObject * obj2 = 0 ;
27296 char *kwnames[] = {
27297 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
27298 };
27299
27300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
27301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27302 {
27303 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 {
27307 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 {
27311 PyThreadState* __tstate = wxPyBeginAllowThreads();
27312 (arg1)->SetAlignmentOrientation(arg2,arg3);
27313
27314 wxPyEndAllowThreads(__tstate);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
27317 Py_INCREF(Py_None); resultobj = Py_None;
27318 return resultobj;
27319 fail:
27320 return NULL;
27321 }
27322
27323
27324 static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
27325 PyObject *resultobj;
27326 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27327 bool arg2 ;
27328 int arg3 ;
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 PyObject * obj2 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
27334 };
27335
27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
27337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27338 {
27339 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27340 if (PyErr_Occurred()) SWIG_fail;
27341 }
27342 {
27343 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 (arg1)->SetAlignmentType(arg2,arg3);
27349
27350 wxPyEndAllowThreads(__tstate);
27351 if (PyErr_Occurred()) SWIG_fail;
27352 }
27353 Py_INCREF(Py_None); resultobj = Py_None;
27354 return resultobj;
27355 fail:
27356 return NULL;
27357 }
27358
27359
27360 static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
27361 PyObject *resultobj;
27362 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27363 bool arg2 ;
27364 bool result;
27365 PyObject * obj0 = 0 ;
27366 PyObject * obj1 = 0 ;
27367 char *kwnames[] = {
27368 (char *) "self",(char *) "isEnd", NULL
27369 };
27370
27371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
27372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27373 {
27374 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27375 if (PyErr_Occurred()) SWIG_fail;
27376 }
27377 {
27378 PyThreadState* __tstate = wxPyBeginAllowThreads();
27379 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
27380
27381 wxPyEndAllowThreads(__tstate);
27382 if (PyErr_Occurred()) SWIG_fail;
27383 }
27384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27385 return resultobj;
27386 fail:
27387 return NULL;
27388 }
27389
27390
27391 static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
27392 PyObject *resultobj;
27393 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27394 bool arg2 ;
27395 int result;
27396 PyObject * obj0 = 0 ;
27397 PyObject * obj1 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self",(char *) "isEnd", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
27403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27404 {
27405 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 {
27409 PyThreadState* __tstate = wxPyBeginAllowThreads();
27410 result = (int)(arg1)->GetAlignmentType(arg2);
27411
27412 wxPyEndAllowThreads(__tstate);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 }
27415 resultobj = SWIG_PyObj_FromInt((int)result);
27416 return resultobj;
27417 fail:
27418 return NULL;
27419 }
27420
27421
27422 static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
27423 PyObject *resultobj;
27424 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27425 int result;
27426 PyObject * obj0 = 0 ;
27427 char *kwnames[] = {
27428 (char *) "self", NULL
27429 };
27430
27431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
27432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27433 {
27434 PyThreadState* __tstate = wxPyBeginAllowThreads();
27435 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
27436
27437 wxPyEndAllowThreads(__tstate);
27438 if (PyErr_Occurred()) SWIG_fail;
27439 }
27440 resultobj = SWIG_PyObj_FromInt((int)result);
27441 return resultobj;
27442 fail:
27443 return NULL;
27444 }
27445
27446
27447 static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
27448 PyObject *resultobj;
27449 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27450 int result;
27451 PyObject * obj0 = 0 ;
27452 char *kwnames[] = {
27453 (char *) "self", NULL
27454 };
27455
27456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
27457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27458 {
27459 PyThreadState* __tstate = wxPyBeginAllowThreads();
27460 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
27461
27462 wxPyEndAllowThreads(__tstate);
27463 if (PyErr_Occurred()) SWIG_fail;
27464 }
27465 resultobj = SWIG_PyObj_FromInt((int)result);
27466 return resultobj;
27467 fail:
27468 return NULL;
27469 }
27470
27471
27472 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
27473 PyObject *resultobj;
27474 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27475 wxDC *arg2 = 0 ;
27476 PyObject * obj0 = 0 ;
27477 PyObject * obj1 = 0 ;
27478 char *kwnames[] = {
27479 (char *) "self",(char *) "dc", NULL
27480 };
27481
27482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
27483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27485 if (arg2 == NULL) {
27486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27487 }
27488 {
27489 PyThreadState* __tstate = wxPyBeginAllowThreads();
27490 (arg1)->base_OnDraw(*arg2);
27491
27492 wxPyEndAllowThreads(__tstate);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 }
27495 Py_INCREF(Py_None); resultobj = Py_None;
27496 return resultobj;
27497 fail:
27498 return NULL;
27499 }
27500
27501
27502 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
27503 PyObject *resultobj;
27504 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27505 wxDC *arg2 = 0 ;
27506 PyObject * obj0 = 0 ;
27507 PyObject * obj1 = 0 ;
27508 char *kwnames[] = {
27509 (char *) "self",(char *) "dc", NULL
27510 };
27511
27512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
27513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27514 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27515 if (arg2 == NULL) {
27516 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27517 }
27518 {
27519 PyThreadState* __tstate = wxPyBeginAllowThreads();
27520 (arg1)->base_OnDrawContents(*arg2);
27521
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 Py_INCREF(Py_None); resultobj = Py_None;
27526 return resultobj;
27527 fail:
27528 return NULL;
27529 }
27530
27531
27532 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
27533 PyObject *resultobj;
27534 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27535 wxDC *arg2 = 0 ;
27536 bool arg3 = (bool) FALSE ;
27537 PyObject * obj0 = 0 ;
27538 PyObject * obj1 = 0 ;
27539 PyObject * obj2 = 0 ;
27540 char *kwnames[] = {
27541 (char *) "self",(char *) "dc",(char *) "erase", NULL
27542 };
27543
27544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
27545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27547 if (arg2 == NULL) {
27548 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27549 }
27550 if (obj2) {
27551 {
27552 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
27553 if (PyErr_Occurred()) SWIG_fail;
27554 }
27555 }
27556 {
27557 PyThreadState* __tstate = wxPyBeginAllowThreads();
27558 (arg1)->base_OnDrawBranches(*arg2,arg3);
27559
27560 wxPyEndAllowThreads(__tstate);
27561 if (PyErr_Occurred()) SWIG_fail;
27562 }
27563 Py_INCREF(Py_None); resultobj = Py_None;
27564 return resultobj;
27565 fail:
27566 return NULL;
27567 }
27568
27569
27570 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
27571 PyObject *resultobj;
27572 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27573 wxDC *arg2 = 0 ;
27574 PyObject * obj0 = 0 ;
27575 PyObject * obj1 = 0 ;
27576 char *kwnames[] = {
27577 (char *) "self",(char *) "dc", NULL
27578 };
27579
27580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
27581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27582 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27583 if (arg2 == NULL) {
27584 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27585 }
27586 {
27587 PyThreadState* __tstate = wxPyBeginAllowThreads();
27588 (arg1)->base_OnMoveLinks(*arg2);
27589
27590 wxPyEndAllowThreads(__tstate);
27591 if (PyErr_Occurred()) SWIG_fail;
27592 }
27593 Py_INCREF(Py_None); resultobj = Py_None;
27594 return resultobj;
27595 fail:
27596 return NULL;
27597 }
27598
27599
27600 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
27601 PyObject *resultobj;
27602 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27603 wxDC *arg2 = 0 ;
27604 PyObject * obj0 = 0 ;
27605 PyObject * obj1 = 0 ;
27606 char *kwnames[] = {
27607 (char *) "self",(char *) "dc", NULL
27608 };
27609
27610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
27611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27613 if (arg2 == NULL) {
27614 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27615 }
27616 {
27617 PyThreadState* __tstate = wxPyBeginAllowThreads();
27618 (arg1)->base_OnErase(*arg2);
27619
27620 wxPyEndAllowThreads(__tstate);
27621 if (PyErr_Occurred()) SWIG_fail;
27622 }
27623 Py_INCREF(Py_None); resultobj = Py_None;
27624 return resultobj;
27625 fail:
27626 return NULL;
27627 }
27628
27629
27630 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
27631 PyObject *resultobj;
27632 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27633 wxDC *arg2 = 0 ;
27634 PyObject * obj0 = 0 ;
27635 PyObject * obj1 = 0 ;
27636 char *kwnames[] = {
27637 (char *) "self",(char *) "dc", NULL
27638 };
27639
27640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
27641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27643 if (arg2 == NULL) {
27644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27645 }
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 (arg1)->base_OnEraseContents(*arg2);
27649
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 Py_INCREF(Py_None); resultobj = Py_None;
27654 return resultobj;
27655 fail:
27656 return NULL;
27657 }
27658
27659
27660 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
27661 PyObject *resultobj;
27662 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27663 wxDC *arg2 = 0 ;
27664 PyObject * obj0 = 0 ;
27665 PyObject * obj1 = 0 ;
27666 char *kwnames[] = {
27667 (char *) "self",(char *) "dc", NULL
27668 };
27669
27670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
27671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27673 if (arg2 == NULL) {
27674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27675 }
27676 {
27677 PyThreadState* __tstate = wxPyBeginAllowThreads();
27678 (arg1)->base_OnHighlight(*arg2);
27679
27680 wxPyEndAllowThreads(__tstate);
27681 if (PyErr_Occurred()) SWIG_fail;
27682 }
27683 Py_INCREF(Py_None); resultobj = Py_None;
27684 return resultobj;
27685 fail:
27686 return NULL;
27687 }
27688
27689
27690 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27691 PyObject *resultobj;
27692 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27693 double arg2 ;
27694 double arg3 ;
27695 int arg4 = (int) 0 ;
27696 int arg5 = (int) 0 ;
27697 PyObject * obj0 = 0 ;
27698 PyObject * obj1 = 0 ;
27699 PyObject * obj2 = 0 ;
27700 PyObject * obj3 = 0 ;
27701 PyObject * obj4 = 0 ;
27702 char *kwnames[] = {
27703 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27704 };
27705
27706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27708 {
27709 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27710 if (PyErr_Occurred()) SWIG_fail;
27711 }
27712 {
27713 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27714 if (PyErr_Occurred()) SWIG_fail;
27715 }
27716 if (obj3) {
27717 {
27718 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27719 if (PyErr_Occurred()) SWIG_fail;
27720 }
27721 }
27722 if (obj4) {
27723 {
27724 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27725 if (PyErr_Occurred()) SWIG_fail;
27726 }
27727 }
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27731
27732 wxPyEndAllowThreads(__tstate);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 }
27735 Py_INCREF(Py_None); resultobj = Py_None;
27736 return resultobj;
27737 fail:
27738 return NULL;
27739 }
27740
27741
27742 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27743 PyObject *resultobj;
27744 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27745 double arg2 ;
27746 double arg3 ;
27747 int arg4 = (int) 0 ;
27748 int arg5 = (int) 0 ;
27749 PyObject * obj0 = 0 ;
27750 PyObject * obj1 = 0 ;
27751 PyObject * obj2 = 0 ;
27752 PyObject * obj3 = 0 ;
27753 PyObject * obj4 = 0 ;
27754 char *kwnames[] = {
27755 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27756 };
27757
27758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27760 {
27761 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27762 if (PyErr_Occurred()) SWIG_fail;
27763 }
27764 {
27765 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27766 if (PyErr_Occurred()) SWIG_fail;
27767 }
27768 if (obj3) {
27769 {
27770 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27771 if (PyErr_Occurred()) SWIG_fail;
27772 }
27773 }
27774 if (obj4) {
27775 {
27776 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27777 if (PyErr_Occurred()) SWIG_fail;
27778 }
27779 }
27780 {
27781 PyThreadState* __tstate = wxPyBeginAllowThreads();
27782 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27783
27784 wxPyEndAllowThreads(__tstate);
27785 if (PyErr_Occurred()) SWIG_fail;
27786 }
27787 Py_INCREF(Py_None); resultobj = Py_None;
27788 return resultobj;
27789 fail:
27790 return NULL;
27791 }
27792
27793
27794 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27795 PyObject *resultobj;
27796 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27797 double arg2 ;
27798 double arg3 ;
27799 int arg4 = (int) 0 ;
27800 int arg5 = (int) 0 ;
27801 PyObject * obj0 = 0 ;
27802 PyObject * obj1 = 0 ;
27803 PyObject * obj2 = 0 ;
27804 PyObject * obj3 = 0 ;
27805 PyObject * obj4 = 0 ;
27806 char *kwnames[] = {
27807 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27808 };
27809
27810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27812 {
27813 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27814 if (PyErr_Occurred()) SWIG_fail;
27815 }
27816 {
27817 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 if (obj3) {
27821 {
27822 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27823 if (PyErr_Occurred()) SWIG_fail;
27824 }
27825 }
27826 if (obj4) {
27827 {
27828 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27829 if (PyErr_Occurred()) SWIG_fail;
27830 }
27831 }
27832 {
27833 PyThreadState* __tstate = wxPyBeginAllowThreads();
27834 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27835
27836 wxPyEndAllowThreads(__tstate);
27837 if (PyErr_Occurred()) SWIG_fail;
27838 }
27839 Py_INCREF(Py_None); resultobj = Py_None;
27840 return resultobj;
27841 fail:
27842 return NULL;
27843 }
27844
27845
27846 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27847 PyObject *resultobj;
27848 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27849 double arg2 ;
27850 double arg3 ;
27851 PyObject * obj0 = 0 ;
27852 PyObject * obj1 = 0 ;
27853 PyObject * obj2 = 0 ;
27854 char *kwnames[] = {
27855 (char *) "self",(char *) "x",(char *) "y", NULL
27856 };
27857
27858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27860 {
27861 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 {
27865 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27866 if (PyErr_Occurred()) SWIG_fail;
27867 }
27868 {
27869 PyThreadState* __tstate = wxPyBeginAllowThreads();
27870 (arg1)->base_OnSize(arg2,arg3);
27871
27872 wxPyEndAllowThreads(__tstate);
27873 if (PyErr_Occurred()) SWIG_fail;
27874 }
27875 Py_INCREF(Py_None); resultobj = Py_None;
27876 return resultobj;
27877 fail:
27878 return NULL;
27879 }
27880
27881
27882 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
27883 PyObject *resultobj;
27884 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27885 wxDC *arg2 = 0 ;
27886 double arg3 ;
27887 double arg4 ;
27888 double arg5 ;
27889 double arg6 ;
27890 bool arg7 = (bool) True ;
27891 bool result;
27892 PyObject * obj0 = 0 ;
27893 PyObject * obj1 = 0 ;
27894 PyObject * obj2 = 0 ;
27895 PyObject * obj3 = 0 ;
27896 PyObject * obj4 = 0 ;
27897 PyObject * obj5 = 0 ;
27898 PyObject * obj6 = 0 ;
27899 char *kwnames[] = {
27900 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27901 };
27902
27903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27906 if (arg2 == NULL) {
27907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27908 }
27909 {
27910 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27911 if (PyErr_Occurred()) SWIG_fail;
27912 }
27913 {
27914 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
27915 if (PyErr_Occurred()) SWIG_fail;
27916 }
27917 {
27918 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 {
27922 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 if (obj6) {
27926 {
27927 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 }
27931 {
27932 PyThreadState* __tstate = wxPyBeginAllowThreads();
27933 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27934
27935 wxPyEndAllowThreads(__tstate);
27936 if (PyErr_Occurred()) SWIG_fail;
27937 }
27938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27939 return resultobj;
27940 fail:
27941 return NULL;
27942 }
27943
27944
27945 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
27946 PyObject *resultobj;
27947 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27948 wxDC *arg2 = 0 ;
27949 double arg3 ;
27950 double arg4 ;
27951 double arg5 ;
27952 double arg6 ;
27953 bool arg7 = (bool) True ;
27954 PyObject * obj0 = 0 ;
27955 PyObject * obj1 = 0 ;
27956 PyObject * obj2 = 0 ;
27957 PyObject * obj3 = 0 ;
27958 PyObject * obj4 = 0 ;
27959 PyObject * obj5 = 0 ;
27960 PyObject * obj6 = 0 ;
27961 char *kwnames[] = {
27962 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27963 };
27964
27965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27968 if (arg2 == NULL) {
27969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27970 }
27971 {
27972 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27973 if (PyErr_Occurred()) SWIG_fail;
27974 }
27975 {
27976 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 }
27979 {
27980 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 {
27984 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
27985 if (PyErr_Occurred()) SWIG_fail;
27986 }
27987 if (obj6) {
27988 {
27989 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
27990 if (PyErr_Occurred()) SWIG_fail;
27991 }
27992 }
27993 {
27994 PyThreadState* __tstate = wxPyBeginAllowThreads();
27995 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27996
27997 wxPyEndAllowThreads(__tstate);
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 Py_INCREF(Py_None); resultobj = Py_None;
28001 return resultobj;
28002 fail:
28003 return NULL;
28004 }
28005
28006
28007 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28008 PyObject *resultobj;
28009 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28010 bool arg2 ;
28011 double arg3 ;
28012 double arg4 ;
28013 int arg5 = (int) 0 ;
28014 int arg6 = (int) 0 ;
28015 PyObject * obj0 = 0 ;
28016 PyObject * obj1 = 0 ;
28017 PyObject * obj2 = 0 ;
28018 PyObject * obj3 = 0 ;
28019 PyObject * obj4 = 0 ;
28020 PyObject * obj5 = 0 ;
28021 char *kwnames[] = {
28022 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28023 };
28024
28025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28027 {
28028 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 }
28031 {
28032 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28033 if (PyErr_Occurred()) SWIG_fail;
28034 }
28035 {
28036 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28037 if (PyErr_Occurred()) SWIG_fail;
28038 }
28039 if (obj4) {
28040 {
28041 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28042 if (PyErr_Occurred()) SWIG_fail;
28043 }
28044 }
28045 if (obj5) {
28046 {
28047 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28048 if (PyErr_Occurred()) SWIG_fail;
28049 }
28050 }
28051 {
28052 PyThreadState* __tstate = wxPyBeginAllowThreads();
28053 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
28054
28055 wxPyEndAllowThreads(__tstate);
28056 if (PyErr_Occurred()) SWIG_fail;
28057 }
28058 Py_INCREF(Py_None); resultobj = Py_None;
28059 return resultobj;
28060 fail:
28061 return NULL;
28062 }
28063
28064
28065 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28066 PyObject *resultobj;
28067 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28068 double arg2 ;
28069 double arg3 ;
28070 int arg4 = (int) 0 ;
28071 int arg5 = (int) 0 ;
28072 PyObject * obj0 = 0 ;
28073 PyObject * obj1 = 0 ;
28074 PyObject * obj2 = 0 ;
28075 PyObject * obj3 = 0 ;
28076 PyObject * obj4 = 0 ;
28077 char *kwnames[] = {
28078 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28079 };
28080
28081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28083 {
28084 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28085 if (PyErr_Occurred()) SWIG_fail;
28086 }
28087 {
28088 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 if (obj3) {
28092 {
28093 arg4 = (int) SWIG_PyObj_AsInt(obj3);
28094 if (PyErr_Occurred()) SWIG_fail;
28095 }
28096 }
28097 if (obj4) {
28098 {
28099 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28100 if (PyErr_Occurred()) SWIG_fail;
28101 }
28102 }
28103 {
28104 PyThreadState* __tstate = wxPyBeginAllowThreads();
28105 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
28106
28107 wxPyEndAllowThreads(__tstate);
28108 if (PyErr_Occurred()) SWIG_fail;
28109 }
28110 Py_INCREF(Py_None); resultobj = Py_None;
28111 return resultobj;
28112 fail:
28113 return NULL;
28114 }
28115
28116
28117 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28118 PyObject *resultobj;
28119 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28120 double arg2 ;
28121 double arg3 ;
28122 int arg4 = (int) 0 ;
28123 int arg5 = (int) 0 ;
28124 PyObject * obj0 = 0 ;
28125 PyObject * obj1 = 0 ;
28126 PyObject * obj2 = 0 ;
28127 PyObject * obj3 = 0 ;
28128 PyObject * obj4 = 0 ;
28129 char *kwnames[] = {
28130 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28131 };
28132
28133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28135 {
28136 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28137 if (PyErr_Occurred()) SWIG_fail;
28138 }
28139 {
28140 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28141 if (PyErr_Occurred()) SWIG_fail;
28142 }
28143 if (obj3) {
28144 {
28145 arg4 = (int) SWIG_PyObj_AsInt(obj3);
28146 if (PyErr_Occurred()) SWIG_fail;
28147 }
28148 }
28149 if (obj4) {
28150 {
28151 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28152 if (PyErr_Occurred()) SWIG_fail;
28153 }
28154 }
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
28162 Py_INCREF(Py_None); resultobj = Py_None;
28163 return resultobj;
28164 fail:
28165 return NULL;
28166 }
28167
28168
28169 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj;
28171 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28172 bool arg2 ;
28173 double arg3 ;
28174 double arg4 ;
28175 int arg5 = (int) 0 ;
28176 int arg6 = (int) 0 ;
28177 PyObject * obj0 = 0 ;
28178 PyObject * obj1 = 0 ;
28179 PyObject * obj2 = 0 ;
28180 PyObject * obj3 = 0 ;
28181 PyObject * obj4 = 0 ;
28182 PyObject * obj5 = 0 ;
28183 char *kwnames[] = {
28184 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28185 };
28186
28187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28189 {
28190 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28191 if (PyErr_Occurred()) SWIG_fail;
28192 }
28193 {
28194 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28195 if (PyErr_Occurred()) SWIG_fail;
28196 }
28197 {
28198 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28199 if (PyErr_Occurred()) SWIG_fail;
28200 }
28201 if (obj4) {
28202 {
28203 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28204 if (PyErr_Occurred()) SWIG_fail;
28205 }
28206 }
28207 if (obj5) {
28208 {
28209 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 }
28213 {
28214 PyThreadState* __tstate = wxPyBeginAllowThreads();
28215 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
28216
28217 wxPyEndAllowThreads(__tstate);
28218 if (PyErr_Occurred()) SWIG_fail;
28219 }
28220 Py_INCREF(Py_None); resultobj = Py_None;
28221 return resultobj;
28222 fail:
28223 return NULL;
28224 }
28225
28226
28227 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
28228 PyObject *resultobj;
28229 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28230 double arg2 ;
28231 double arg3 ;
28232 int arg4 = (int) 0 ;
28233 int arg5 = (int) 0 ;
28234 PyObject * obj0 = 0 ;
28235 PyObject * obj1 = 0 ;
28236 PyObject * obj2 = 0 ;
28237 PyObject * obj3 = 0 ;
28238 PyObject * obj4 = 0 ;
28239 char *kwnames[] = {
28240 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28245 {
28246 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
28249 {
28250 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28251 if (PyErr_Occurred()) SWIG_fail;
28252 }
28253 if (obj3) {
28254 {
28255 arg4 = (int) SWIG_PyObj_AsInt(obj3);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 }
28259 if (obj4) {
28260 {
28261 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
28264 }
28265 {
28266 PyThreadState* __tstate = wxPyBeginAllowThreads();
28267 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
28268
28269 wxPyEndAllowThreads(__tstate);
28270 if (PyErr_Occurred()) SWIG_fail;
28271 }
28272 Py_INCREF(Py_None); resultobj = Py_None;
28273 return resultobj;
28274 fail:
28275 return NULL;
28276 }
28277
28278
28279 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
28280 PyObject *resultobj;
28281 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28282 double arg2 ;
28283 double arg3 ;
28284 int arg4 = (int) 0 ;
28285 int arg5 = (int) 0 ;
28286 PyObject * obj0 = 0 ;
28287 PyObject * obj1 = 0 ;
28288 PyObject * obj2 = 0 ;
28289 PyObject * obj3 = 0 ;
28290 PyObject * obj4 = 0 ;
28291 char *kwnames[] = {
28292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28293 };
28294
28295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28297 {
28298 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28299 if (PyErr_Occurred()) SWIG_fail;
28300 }
28301 {
28302 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28303 if (PyErr_Occurred()) SWIG_fail;
28304 }
28305 if (obj3) {
28306 {
28307 arg4 = (int) SWIG_PyObj_AsInt(obj3);
28308 if (PyErr_Occurred()) SWIG_fail;
28309 }
28310 }
28311 if (obj4) {
28312 {
28313 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28314 if (PyErr_Occurred()) SWIG_fail;
28315 }
28316 }
28317 {
28318 PyThreadState* __tstate = wxPyBeginAllowThreads();
28319 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
28320
28321 wxPyEndAllowThreads(__tstate);
28322 if (PyErr_Occurred()) SWIG_fail;
28323 }
28324 Py_INCREF(Py_None); resultobj = Py_None;
28325 return resultobj;
28326 fail:
28327 return NULL;
28328 }
28329
28330
28331 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
28332 PyObject *resultobj;
28333 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28334 wxDC *arg2 = 0 ;
28335 double arg3 ;
28336 double arg4 ;
28337 double arg5 ;
28338 double arg6 ;
28339 PyObject * obj0 = 0 ;
28340 PyObject * obj1 = 0 ;
28341 PyObject * obj2 = 0 ;
28342 PyObject * obj3 = 0 ;
28343 PyObject * obj4 = 0 ;
28344 PyObject * obj5 = 0 ;
28345 char *kwnames[] = {
28346 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28347 };
28348
28349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28352 if (arg2 == NULL) {
28353 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28354 }
28355 {
28356 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28357 if (PyErr_Occurred()) SWIG_fail;
28358 }
28359 {
28360 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28361 if (PyErr_Occurred()) SWIG_fail;
28362 }
28363 {
28364 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
28365 if (PyErr_Occurred()) SWIG_fail;
28366 }
28367 {
28368 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 {
28372 PyThreadState* __tstate = wxPyBeginAllowThreads();
28373 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
28374
28375 wxPyEndAllowThreads(__tstate);
28376 if (PyErr_Occurred()) SWIG_fail;
28377 }
28378 Py_INCREF(Py_None); resultobj = Py_None;
28379 return resultobj;
28380 fail:
28381 return NULL;
28382 }
28383
28384
28385 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28386 PyObject *resultobj;
28387 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28388 wxDC *arg2 = 0 ;
28389 PyObject * obj0 = 0 ;
28390 PyObject * obj1 = 0 ;
28391 char *kwnames[] = {
28392 (char *) "self",(char *) "dc", NULL
28393 };
28394
28395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
28396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28398 if (arg2 == NULL) {
28399 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28400 }
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 (arg1)->base_OnDrawControlPoints(*arg2);
28404
28405 wxPyEndAllowThreads(__tstate);
28406 if (PyErr_Occurred()) SWIG_fail;
28407 }
28408 Py_INCREF(Py_None); resultobj = Py_None;
28409 return resultobj;
28410 fail:
28411 return NULL;
28412 }
28413
28414
28415 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28416 PyObject *resultobj;
28417 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28418 wxDC *arg2 = 0 ;
28419 PyObject * obj0 = 0 ;
28420 PyObject * obj1 = 0 ;
28421 char *kwnames[] = {
28422 (char *) "self",(char *) "dc", NULL
28423 };
28424
28425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
28426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28428 if (arg2 == NULL) {
28429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28430 }
28431 {
28432 PyThreadState* __tstate = wxPyBeginAllowThreads();
28433 (arg1)->base_OnEraseControlPoints(*arg2);
28434
28435 wxPyEndAllowThreads(__tstate);
28436 if (PyErr_Occurred()) SWIG_fail;
28437 }
28438 Py_INCREF(Py_None); resultobj = Py_None;
28439 return resultobj;
28440 fail:
28441 return NULL;
28442 }
28443
28444
28445 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28446 PyObject *resultobj;
28447 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28448 wxDC *arg2 = 0 ;
28449 bool arg3 = (bool) True ;
28450 PyObject * obj0 = 0 ;
28451 PyObject * obj1 = 0 ;
28452 PyObject * obj2 = 0 ;
28453 char *kwnames[] = {
28454 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
28455 };
28456
28457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
28458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28460 if (arg2 == NULL) {
28461 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28462 }
28463 if (obj2) {
28464 {
28465 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
28466 if (PyErr_Occurred()) SWIG_fail;
28467 }
28468 }
28469 {
28470 PyThreadState* __tstate = wxPyBeginAllowThreads();
28471 (arg1)->base_OnMoveLink(*arg2,arg3);
28472
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 Py_INCREF(Py_None); resultobj = Py_None;
28477 return resultobj;
28478 fail:
28479 return NULL;
28480 }
28481
28482
28483 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28484 PyObject *resultobj;
28485 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28486 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28487 bool arg3 ;
28488 double arg4 ;
28489 double arg5 ;
28490 int arg6 = (int) 0 ;
28491 int arg7 = (int) 0 ;
28492 PyObject * obj0 = 0 ;
28493 PyObject * obj1 = 0 ;
28494 PyObject * obj2 = 0 ;
28495 PyObject * obj3 = 0 ;
28496 PyObject * obj4 = 0 ;
28497 PyObject * obj5 = 0 ;
28498 PyObject * obj6 = 0 ;
28499 char *kwnames[] = {
28500 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28501 };
28502
28503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28506 {
28507 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
28508 if (PyErr_Occurred()) SWIG_fail;
28509 }
28510 {
28511 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28512 if (PyErr_Occurred()) SWIG_fail;
28513 }
28514 {
28515 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
28516 if (PyErr_Occurred()) SWIG_fail;
28517 }
28518 if (obj5) {
28519 {
28520 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28521 if (PyErr_Occurred()) SWIG_fail;
28522 }
28523 }
28524 if (obj6) {
28525 {
28526 arg7 = (int) SWIG_PyObj_AsInt(obj6);
28527 if (PyErr_Occurred()) SWIG_fail;
28528 }
28529 }
28530 {
28531 PyThreadState* __tstate = wxPyBeginAllowThreads();
28532 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
28533
28534 wxPyEndAllowThreads(__tstate);
28535 if (PyErr_Occurred()) SWIG_fail;
28536 }
28537 Py_INCREF(Py_None); resultobj = Py_None;
28538 return resultobj;
28539 fail:
28540 return NULL;
28541 }
28542
28543
28544 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28545 PyObject *resultobj;
28546 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28547 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28548 double arg3 ;
28549 double arg4 ;
28550 int arg5 = (int) 0 ;
28551 int arg6 = (int) 0 ;
28552 PyObject * obj0 = 0 ;
28553 PyObject * obj1 = 0 ;
28554 PyObject * obj2 = 0 ;
28555 PyObject * obj3 = 0 ;
28556 PyObject * obj4 = 0 ;
28557 PyObject * obj5 = 0 ;
28558 char *kwnames[] = {
28559 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28560 };
28561
28562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28565 {
28566 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28567 if (PyErr_Occurred()) SWIG_fail;
28568 }
28569 {
28570 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 }
28573 if (obj4) {
28574 {
28575 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28576 if (PyErr_Occurred()) SWIG_fail;
28577 }
28578 }
28579 if (obj5) {
28580 {
28581 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28582 if (PyErr_Occurred()) SWIG_fail;
28583 }
28584 }
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
28588
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
28592 Py_INCREF(Py_None); resultobj = Py_None;
28593 return resultobj;
28594 fail:
28595 return NULL;
28596 }
28597
28598
28599 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28600 PyObject *resultobj;
28601 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28602 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28603 double arg3 ;
28604 double arg4 ;
28605 int arg5 = (int) 0 ;
28606 int arg6 = (int) 0 ;
28607 PyObject * obj0 = 0 ;
28608 PyObject * obj1 = 0 ;
28609 PyObject * obj2 = 0 ;
28610 PyObject * obj3 = 0 ;
28611 PyObject * obj4 = 0 ;
28612 PyObject * obj5 = 0 ;
28613 char *kwnames[] = {
28614 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28615 };
28616
28617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28620 {
28621 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28622 if (PyErr_Occurred()) SWIG_fail;
28623 }
28624 {
28625 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 if (obj4) {
28629 {
28630 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28631 if (PyErr_Occurred()) SWIG_fail;
28632 }
28633 }
28634 if (obj5) {
28635 {
28636 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28637 if (PyErr_Occurred()) SWIG_fail;
28638 }
28639 }
28640 {
28641 PyThreadState* __tstate = wxPyBeginAllowThreads();
28642 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
28643
28644 wxPyEndAllowThreads(__tstate);
28645 if (PyErr_Occurred()) SWIG_fail;
28646 }
28647 Py_INCREF(Py_None); resultobj = Py_None;
28648 return resultobj;
28649 fail:
28650 return NULL;
28651 }
28652
28653
28654 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28655 PyObject *resultobj;
28656 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28657 double arg2 ;
28658 double arg3 ;
28659 PyObject * obj0 = 0 ;
28660 PyObject * obj1 = 0 ;
28661 PyObject * obj2 = 0 ;
28662 char *kwnames[] = {
28663 (char *) "self",(char *) "w",(char *) "h", NULL
28664 };
28665
28666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28668 {
28669 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28670 if (PyErr_Occurred()) SWIG_fail;
28671 }
28672 {
28673 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28674 if (PyErr_Occurred()) SWIG_fail;
28675 }
28676 {
28677 PyThreadState* __tstate = wxPyBeginAllowThreads();
28678 (arg1)->base_OnBeginSize(arg2,arg3);
28679
28680 wxPyEndAllowThreads(__tstate);
28681 if (PyErr_Occurred()) SWIG_fail;
28682 }
28683 Py_INCREF(Py_None); resultobj = Py_None;
28684 return resultobj;
28685 fail:
28686 return NULL;
28687 }
28688
28689
28690 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28691 PyObject *resultobj;
28692 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28693 double arg2 ;
28694 double arg3 ;
28695 PyObject * obj0 = 0 ;
28696 PyObject * obj1 = 0 ;
28697 PyObject * obj2 = 0 ;
28698 char *kwnames[] = {
28699 (char *) "self",(char *) "w",(char *) "h", NULL
28700 };
28701
28702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28704 {
28705 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28706 if (PyErr_Occurred()) SWIG_fail;
28707 }
28708 {
28709 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 {
28713 PyThreadState* __tstate = wxPyBeginAllowThreads();
28714 (arg1)->base_OnEndSize(arg2,arg3);
28715
28716 wxPyEndAllowThreads(__tstate);
28717 if (PyErr_Occurred()) SWIG_fail;
28718 }
28719 Py_INCREF(Py_None); resultobj = Py_None;
28720 return resultobj;
28721 fail:
28722 return NULL;
28723 }
28724
28725
28726 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
28727 PyObject *obj;
28728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28729 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
28730 Py_INCREF(obj);
28731 return Py_BuildValue((char *)"");
28732 }
28733 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
28734 PyObject *resultobj;
28735 wxPyPolygonShape *result;
28736 char *kwnames[] = {
28737 NULL
28738 };
28739
28740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
28741 {
28742 PyThreadState* __tstate = wxPyBeginAllowThreads();
28743 result = (wxPyPolygonShape *)new wxPyPolygonShape();
28744
28745 wxPyEndAllowThreads(__tstate);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPolygonShape, 1);
28749 return resultobj;
28750 fail:
28751 return NULL;
28752 }
28753
28754
28755 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28756 PyObject *resultobj;
28757 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28758 PyObject *arg2 = (PyObject *) 0 ;
28759 PyObject *arg3 = (PyObject *) 0 ;
28760 PyObject * obj0 = 0 ;
28761 PyObject * obj1 = 0 ;
28762 PyObject * obj2 = 0 ;
28763 char *kwnames[] = {
28764 (char *) "self",(char *) "self",(char *) "_class", NULL
28765 };
28766
28767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28769 arg2 = obj1;
28770 arg3 = obj2;
28771 {
28772 PyThreadState* __tstate = wxPyBeginAllowThreads();
28773 (arg1)->_setCallbackInfo(arg2,arg3);
28774
28775 wxPyEndAllowThreads(__tstate);
28776 if (PyErr_Occurred()) SWIG_fail;
28777 }
28778 Py_INCREF(Py_None); resultobj = Py_None;
28779 return resultobj;
28780 fail:
28781 return NULL;
28782 }
28783
28784
28785 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28786 PyObject *resultobj;
28787 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28788 PyObject *arg2 = (PyObject *) 0 ;
28789 PyObject *result;
28790 PyObject * obj0 = 0 ;
28791 PyObject * obj1 = 0 ;
28792 char *kwnames[] = {
28793 (char *) "self",(char *) "points", NULL
28794 };
28795
28796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
28797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28798 arg2 = obj1;
28799 {
28800 PyThreadState* __tstate = wxPyBeginAllowThreads();
28801 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28802
28803 wxPyEndAllowThreads(__tstate);
28804 if (PyErr_Occurred()) SWIG_fail;
28805 }
28806 resultobj = result;
28807 return resultobj;
28808 fail:
28809 return NULL;
28810 }
28811
28812
28813 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28814 PyObject *resultobj;
28815 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28816 int arg2 = (int) 0 ;
28817 PyObject * obj0 = 0 ;
28818 PyObject * obj1 = 0 ;
28819 char *kwnames[] = {
28820 (char *) "self",(char *) "pos", NULL
28821 };
28822
28823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28825 if (obj1) {
28826 {
28827 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28828 if (PyErr_Occurred()) SWIG_fail;
28829 }
28830 }
28831 {
28832 PyThreadState* __tstate = wxPyBeginAllowThreads();
28833 (arg1)->AddPolygonPoint(arg2);
28834
28835 wxPyEndAllowThreads(__tstate);
28836 if (PyErr_Occurred()) SWIG_fail;
28837 }
28838 Py_INCREF(Py_None); resultobj = Py_None;
28839 return resultobj;
28840 fail:
28841 return NULL;
28842 }
28843
28844
28845 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
28846 PyObject *resultobj;
28847 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28848 PyObject * obj0 = 0 ;
28849 char *kwnames[] = {
28850 (char *) "self", NULL
28851 };
28852
28853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
28854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28855 {
28856 PyThreadState* __tstate = wxPyBeginAllowThreads();
28857 (arg1)->CalculatePolygonCentre();
28858
28859 wxPyEndAllowThreads(__tstate);
28860 if (PyErr_Occurred()) SWIG_fail;
28861 }
28862 Py_INCREF(Py_None); resultobj = Py_None;
28863 return resultobj;
28864 fail:
28865 return NULL;
28866 }
28867
28868
28869 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28870 PyObject *resultobj;
28871 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28872 int arg2 = (int) 0 ;
28873 PyObject * obj0 = 0 ;
28874 PyObject * obj1 = 0 ;
28875 char *kwnames[] = {
28876 (char *) "self",(char *) "pos", NULL
28877 };
28878
28879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28881 if (obj1) {
28882 {
28883 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 }
28887 {
28888 PyThreadState* __tstate = wxPyBeginAllowThreads();
28889 (arg1)->DeletePolygonPoint(arg2);
28890
28891 wxPyEndAllowThreads(__tstate);
28892 if (PyErr_Occurred()) SWIG_fail;
28893 }
28894 Py_INCREF(Py_None); resultobj = Py_None;
28895 return resultobj;
28896 fail:
28897 return NULL;
28898 }
28899
28900
28901 static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28902 PyObject *resultobj;
28903 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28904 PyObject *result;
28905 PyObject * obj0 = 0 ;
28906 char *kwnames[] = {
28907 (char *) "self", NULL
28908 };
28909
28910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
28911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28915
28916 wxPyEndAllowThreads(__tstate);
28917 if (PyErr_Occurred()) SWIG_fail;
28918 }
28919 resultobj = result;
28920 return resultobj;
28921 fail:
28922 return NULL;
28923 }
28924
28925
28926 static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28927 PyObject *resultobj;
28928 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28929 PyObject *result;
28930 PyObject * obj0 = 0 ;
28931 char *kwnames[] = {
28932 (char *) "self", NULL
28933 };
28934
28935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
28936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28937 {
28938 PyThreadState* __tstate = wxPyBeginAllowThreads();
28939 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28940
28941 wxPyEndAllowThreads(__tstate);
28942 if (PyErr_Occurred()) SWIG_fail;
28943 }
28944 resultobj = result;
28945 return resultobj;
28946 fail:
28947 return NULL;
28948 }
28949
28950
28951 static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28952 PyObject *resultobj;
28953 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28954 double result;
28955 PyObject * obj0 = 0 ;
28956 char *kwnames[] = {
28957 (char *) "self", NULL
28958 };
28959
28960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
28961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28962 {
28963 PyThreadState* __tstate = wxPyBeginAllowThreads();
28964 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28965
28966 wxPyEndAllowThreads(__tstate);
28967 if (PyErr_Occurred()) SWIG_fail;
28968 }
28969 resultobj = SWIG_PyObj_FromDouble((double)result);
28970 return resultobj;
28971 fail:
28972 return NULL;
28973 }
28974
28975
28976 static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28977 PyObject *resultobj;
28978 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28979 double result;
28980 PyObject * obj0 = 0 ;
28981 char *kwnames[] = {
28982 (char *) "self", NULL
28983 };
28984
28985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
28986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28987 {
28988 PyThreadState* __tstate = wxPyBeginAllowThreads();
28989 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28990
28991 wxPyEndAllowThreads(__tstate);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 }
28994 resultobj = SWIG_PyObj_FromDouble((double)result);
28995 return resultobj;
28996 fail:
28997 return NULL;
28998 }
28999
29000
29001 static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
29002 PyObject *resultobj;
29003 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29004 double arg2 ;
29005 PyObject * obj0 = 0 ;
29006 PyObject * obj1 = 0 ;
29007 char *kwnames[] = {
29008 (char *) "self",(char *) "w", NULL
29009 };
29010
29011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
29012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29013 {
29014 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29015 if (PyErr_Occurred()) SWIG_fail;
29016 }
29017 {
29018 PyThreadState* __tstate = wxPyBeginAllowThreads();
29019 (arg1)->SetOriginalWidth(arg2);
29020
29021 wxPyEndAllowThreads(__tstate);
29022 if (PyErr_Occurred()) SWIG_fail;
29023 }
29024 Py_INCREF(Py_None); resultobj = Py_None;
29025 return resultobj;
29026 fail:
29027 return NULL;
29028 }
29029
29030
29031 static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
29032 PyObject *resultobj;
29033 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29034 double arg2 ;
29035 PyObject * obj0 = 0 ;
29036 PyObject * obj1 = 0 ;
29037 char *kwnames[] = {
29038 (char *) "self",(char *) "h", NULL
29039 };
29040
29041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
29042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29043 {
29044 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29045 if (PyErr_Occurred()) SWIG_fail;
29046 }
29047 {
29048 PyThreadState* __tstate = wxPyBeginAllowThreads();
29049 (arg1)->SetOriginalHeight(arg2);
29050
29051 wxPyEndAllowThreads(__tstate);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 Py_INCREF(Py_None); resultobj = Py_None;
29055 return resultobj;
29056 fail:
29057 return NULL;
29058 }
29059
29060
29061 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29062 PyObject *resultobj;
29063 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29064 PyObject * obj0 = 0 ;
29065 char *kwnames[] = {
29066 (char *) "self", NULL
29067 };
29068
29069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
29070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29071 {
29072 PyThreadState* __tstate = wxPyBeginAllowThreads();
29073 (arg1)->UpdateOriginalPoints();
29074
29075 wxPyEndAllowThreads(__tstate);
29076 if (PyErr_Occurred()) SWIG_fail;
29077 }
29078 Py_INCREF(Py_None); resultobj = Py_None;
29079 return resultobj;
29080 fail:
29081 return NULL;
29082 }
29083
29084
29085 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
29086 PyObject *resultobj;
29087 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29088 wxDC *arg2 = 0 ;
29089 PyObject * obj0 = 0 ;
29090 PyObject * obj1 = 0 ;
29091 char *kwnames[] = {
29092 (char *) "self",(char *) "dc", NULL
29093 };
29094
29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
29096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29098 if (arg2 == NULL) {
29099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29100 }
29101 {
29102 PyThreadState* __tstate = wxPyBeginAllowThreads();
29103 (arg1)->base_OnDraw(*arg2);
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 Py_INCREF(Py_None); resultobj = Py_None;
29109 return resultobj;
29110 fail:
29111 return NULL;
29112 }
29113
29114
29115 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29116 PyObject *resultobj;
29117 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29118 wxDC *arg2 = 0 ;
29119 PyObject * obj0 = 0 ;
29120 PyObject * obj1 = 0 ;
29121 char *kwnames[] = {
29122 (char *) "self",(char *) "dc", NULL
29123 };
29124
29125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
29126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29128 if (arg2 == NULL) {
29129 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29130 }
29131 {
29132 PyThreadState* __tstate = wxPyBeginAllowThreads();
29133 (arg1)->base_OnDrawContents(*arg2);
29134
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 Py_INCREF(Py_None); resultobj = Py_None;
29139 return resultobj;
29140 fail:
29141 return NULL;
29142 }
29143
29144
29145 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
29146 PyObject *resultobj;
29147 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29148 wxDC *arg2 = 0 ;
29149 bool arg3 = (bool) FALSE ;
29150 PyObject * obj0 = 0 ;
29151 PyObject * obj1 = 0 ;
29152 PyObject * obj2 = 0 ;
29153 char *kwnames[] = {
29154 (char *) "self",(char *) "dc",(char *) "erase", NULL
29155 };
29156
29157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
29158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29159 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29160 if (arg2 == NULL) {
29161 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29162 }
29163 if (obj2) {
29164 {
29165 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 }
29168 }
29169 {
29170 PyThreadState* __tstate = wxPyBeginAllowThreads();
29171 (arg1)->base_OnDrawBranches(*arg2,arg3);
29172
29173 wxPyEndAllowThreads(__tstate);
29174 if (PyErr_Occurred()) SWIG_fail;
29175 }
29176 Py_INCREF(Py_None); resultobj = Py_None;
29177 return resultobj;
29178 fail:
29179 return NULL;
29180 }
29181
29182
29183 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
29184 PyObject *resultobj;
29185 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29186 wxDC *arg2 = 0 ;
29187 PyObject * obj0 = 0 ;
29188 PyObject * obj1 = 0 ;
29189 char *kwnames[] = {
29190 (char *) "self",(char *) "dc", NULL
29191 };
29192
29193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
29194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29196 if (arg2 == NULL) {
29197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29198 }
29199 {
29200 PyThreadState* __tstate = wxPyBeginAllowThreads();
29201 (arg1)->base_OnMoveLinks(*arg2);
29202
29203 wxPyEndAllowThreads(__tstate);
29204 if (PyErr_Occurred()) SWIG_fail;
29205 }
29206 Py_INCREF(Py_None); resultobj = Py_None;
29207 return resultobj;
29208 fail:
29209 return NULL;
29210 }
29211
29212
29213 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
29214 PyObject *resultobj;
29215 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29216 wxDC *arg2 = 0 ;
29217 PyObject * obj0 = 0 ;
29218 PyObject * obj1 = 0 ;
29219 char *kwnames[] = {
29220 (char *) "self",(char *) "dc", NULL
29221 };
29222
29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
29224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29225 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29226 if (arg2 == NULL) {
29227 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29228 }
29229 {
29230 PyThreadState* __tstate = wxPyBeginAllowThreads();
29231 (arg1)->base_OnErase(*arg2);
29232
29233 wxPyEndAllowThreads(__tstate);
29234 if (PyErr_Occurred()) SWIG_fail;
29235 }
29236 Py_INCREF(Py_None); resultobj = Py_None;
29237 return resultobj;
29238 fail:
29239 return NULL;
29240 }
29241
29242
29243 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29244 PyObject *resultobj;
29245 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29246 wxDC *arg2 = 0 ;
29247 PyObject * obj0 = 0 ;
29248 PyObject * obj1 = 0 ;
29249 char *kwnames[] = {
29250 (char *) "self",(char *) "dc", NULL
29251 };
29252
29253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
29254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29256 if (arg2 == NULL) {
29257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29258 }
29259 {
29260 PyThreadState* __tstate = wxPyBeginAllowThreads();
29261 (arg1)->base_OnEraseContents(*arg2);
29262
29263 wxPyEndAllowThreads(__tstate);
29264 if (PyErr_Occurred()) SWIG_fail;
29265 }
29266 Py_INCREF(Py_None); resultobj = Py_None;
29267 return resultobj;
29268 fail:
29269 return NULL;
29270 }
29271
29272
29273 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
29274 PyObject *resultobj;
29275 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29276 wxDC *arg2 = 0 ;
29277 PyObject * obj0 = 0 ;
29278 PyObject * obj1 = 0 ;
29279 char *kwnames[] = {
29280 (char *) "self",(char *) "dc", NULL
29281 };
29282
29283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
29284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29286 if (arg2 == NULL) {
29287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29288 }
29289 {
29290 PyThreadState* __tstate = wxPyBeginAllowThreads();
29291 (arg1)->base_OnHighlight(*arg2);
29292
29293 wxPyEndAllowThreads(__tstate);
29294 if (PyErr_Occurred()) SWIG_fail;
29295 }
29296 Py_INCREF(Py_None); resultobj = Py_None;
29297 return resultobj;
29298 fail:
29299 return NULL;
29300 }
29301
29302
29303 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29304 PyObject *resultobj;
29305 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29306 double arg2 ;
29307 double arg3 ;
29308 int arg4 = (int) 0 ;
29309 int arg5 = (int) 0 ;
29310 PyObject * obj0 = 0 ;
29311 PyObject * obj1 = 0 ;
29312 PyObject * obj2 = 0 ;
29313 PyObject * obj3 = 0 ;
29314 PyObject * obj4 = 0 ;
29315 char *kwnames[] = {
29316 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29317 };
29318
29319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29321 {
29322 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29323 if (PyErr_Occurred()) SWIG_fail;
29324 }
29325 {
29326 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29327 if (PyErr_Occurred()) SWIG_fail;
29328 }
29329 if (obj3) {
29330 {
29331 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29332 if (PyErr_Occurred()) SWIG_fail;
29333 }
29334 }
29335 if (obj4) {
29336 {
29337 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29338 if (PyErr_Occurred()) SWIG_fail;
29339 }
29340 }
29341 {
29342 PyThreadState* __tstate = wxPyBeginAllowThreads();
29343 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
29344
29345 wxPyEndAllowThreads(__tstate);
29346 if (PyErr_Occurred()) SWIG_fail;
29347 }
29348 Py_INCREF(Py_None); resultobj = Py_None;
29349 return resultobj;
29350 fail:
29351 return NULL;
29352 }
29353
29354
29355 static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29356 PyObject *resultobj;
29357 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29358 double arg2 ;
29359 double arg3 ;
29360 int arg4 = (int) 0 ;
29361 int arg5 = (int) 0 ;
29362 PyObject * obj0 = 0 ;
29363 PyObject * obj1 = 0 ;
29364 PyObject * obj2 = 0 ;
29365 PyObject * obj3 = 0 ;
29366 PyObject * obj4 = 0 ;
29367 char *kwnames[] = {
29368 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29369 };
29370
29371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29373 {
29374 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29375 if (PyErr_Occurred()) SWIG_fail;
29376 }
29377 {
29378 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 if (obj3) {
29382 {
29383 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29384 if (PyErr_Occurred()) SWIG_fail;
29385 }
29386 }
29387 if (obj4) {
29388 {
29389 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 }
29393 {
29394 PyThreadState* __tstate = wxPyBeginAllowThreads();
29395 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
29396
29397 wxPyEndAllowThreads(__tstate);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
29400 Py_INCREF(Py_None); resultobj = Py_None;
29401 return resultobj;
29402 fail:
29403 return NULL;
29404 }
29405
29406
29407 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29408 PyObject *resultobj;
29409 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29410 double arg2 ;
29411 double arg3 ;
29412 int arg4 = (int) 0 ;
29413 int arg5 = (int) 0 ;
29414 PyObject * obj0 = 0 ;
29415 PyObject * obj1 = 0 ;
29416 PyObject * obj2 = 0 ;
29417 PyObject * obj3 = 0 ;
29418 PyObject * obj4 = 0 ;
29419 char *kwnames[] = {
29420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29421 };
29422
29423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29425 {
29426 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29427 if (PyErr_Occurred()) SWIG_fail;
29428 }
29429 {
29430 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29431 if (PyErr_Occurred()) SWIG_fail;
29432 }
29433 if (obj3) {
29434 {
29435 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29436 if (PyErr_Occurred()) SWIG_fail;
29437 }
29438 }
29439 if (obj4) {
29440 {
29441 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29442 if (PyErr_Occurred()) SWIG_fail;
29443 }
29444 }
29445 {
29446 PyThreadState* __tstate = wxPyBeginAllowThreads();
29447 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
29448
29449 wxPyEndAllowThreads(__tstate);
29450 if (PyErr_Occurred()) SWIG_fail;
29451 }
29452 Py_INCREF(Py_None); resultobj = Py_None;
29453 return resultobj;
29454 fail:
29455 return NULL;
29456 }
29457
29458
29459 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29460 PyObject *resultobj;
29461 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29462 double arg2 ;
29463 double arg3 ;
29464 PyObject * obj0 = 0 ;
29465 PyObject * obj1 = 0 ;
29466 PyObject * obj2 = 0 ;
29467 char *kwnames[] = {
29468 (char *) "self",(char *) "x",(char *) "y", NULL
29469 };
29470
29471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29473 {
29474 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29475 if (PyErr_Occurred()) SWIG_fail;
29476 }
29477 {
29478 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29479 if (PyErr_Occurred()) SWIG_fail;
29480 }
29481 {
29482 PyThreadState* __tstate = wxPyBeginAllowThreads();
29483 (arg1)->base_OnSize(arg2,arg3);
29484
29485 wxPyEndAllowThreads(__tstate);
29486 if (PyErr_Occurred()) SWIG_fail;
29487 }
29488 Py_INCREF(Py_None); resultobj = Py_None;
29489 return resultobj;
29490 fail:
29491 return NULL;
29492 }
29493
29494
29495 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
29496 PyObject *resultobj;
29497 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29498 wxDC *arg2 = 0 ;
29499 double arg3 ;
29500 double arg4 ;
29501 double arg5 ;
29502 double arg6 ;
29503 bool arg7 = (bool) True ;
29504 bool result;
29505 PyObject * obj0 = 0 ;
29506 PyObject * obj1 = 0 ;
29507 PyObject * obj2 = 0 ;
29508 PyObject * obj3 = 0 ;
29509 PyObject * obj4 = 0 ;
29510 PyObject * obj5 = 0 ;
29511 PyObject * obj6 = 0 ;
29512 char *kwnames[] = {
29513 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29514 };
29515
29516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29518 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29519 if (arg2 == NULL) {
29520 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29521 }
29522 {
29523 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29524 if (PyErr_Occurred()) SWIG_fail;
29525 }
29526 {
29527 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29528 if (PyErr_Occurred()) SWIG_fail;
29529 }
29530 {
29531 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
29532 if (PyErr_Occurred()) SWIG_fail;
29533 }
29534 {
29535 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 if (obj6) {
29539 {
29540 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
29541 if (PyErr_Occurred()) SWIG_fail;
29542 }
29543 }
29544 {
29545 PyThreadState* __tstate = wxPyBeginAllowThreads();
29546 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
29547
29548 wxPyEndAllowThreads(__tstate);
29549 if (PyErr_Occurred()) SWIG_fail;
29550 }
29551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29552 return resultobj;
29553 fail:
29554 return NULL;
29555 }
29556
29557
29558 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
29559 PyObject *resultobj;
29560 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29561 wxDC *arg2 = 0 ;
29562 double arg3 ;
29563 double arg4 ;
29564 double arg5 ;
29565 double arg6 ;
29566 bool arg7 = (bool) True ;
29567 PyObject * obj0 = 0 ;
29568 PyObject * obj1 = 0 ;
29569 PyObject * obj2 = 0 ;
29570 PyObject * obj3 = 0 ;
29571 PyObject * obj4 = 0 ;
29572 PyObject * obj5 = 0 ;
29573 PyObject * obj6 = 0 ;
29574 char *kwnames[] = {
29575 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29576 };
29577
29578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29581 if (arg2 == NULL) {
29582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29583 }
29584 {
29585 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29586 if (PyErr_Occurred()) SWIG_fail;
29587 }
29588 {
29589 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29590 if (PyErr_Occurred()) SWIG_fail;
29591 }
29592 {
29593 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
29594 if (PyErr_Occurred()) SWIG_fail;
29595 }
29596 {
29597 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 if (obj6) {
29601 {
29602 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
29603 if (PyErr_Occurred()) SWIG_fail;
29604 }
29605 }
29606 {
29607 PyThreadState* __tstate = wxPyBeginAllowThreads();
29608 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
29609
29610 wxPyEndAllowThreads(__tstate);
29611 if (PyErr_Occurred()) SWIG_fail;
29612 }
29613 Py_INCREF(Py_None); resultobj = Py_None;
29614 return resultobj;
29615 fail:
29616 return NULL;
29617 }
29618
29619
29620 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29621 PyObject *resultobj;
29622 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29623 bool arg2 ;
29624 double arg3 ;
29625 double arg4 ;
29626 int arg5 = (int) 0 ;
29627 int arg6 = (int) 0 ;
29628 PyObject * obj0 = 0 ;
29629 PyObject * obj1 = 0 ;
29630 PyObject * obj2 = 0 ;
29631 PyObject * obj3 = 0 ;
29632 PyObject * obj4 = 0 ;
29633 PyObject * obj5 = 0 ;
29634 char *kwnames[] = {
29635 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29636 };
29637
29638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29640 {
29641 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
29642 if (PyErr_Occurred()) SWIG_fail;
29643 }
29644 {
29645 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29646 if (PyErr_Occurred()) SWIG_fail;
29647 }
29648 {
29649 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
29652 if (obj4) {
29653 {
29654 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29655 if (PyErr_Occurred()) SWIG_fail;
29656 }
29657 }
29658 if (obj5) {
29659 {
29660 arg6 = (int) SWIG_PyObj_AsInt(obj5);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
29663 }
29664 {
29665 PyThreadState* __tstate = wxPyBeginAllowThreads();
29666 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
29667
29668 wxPyEndAllowThreads(__tstate);
29669 if (PyErr_Occurred()) SWIG_fail;
29670 }
29671 Py_INCREF(Py_None); resultobj = Py_None;
29672 return resultobj;
29673 fail:
29674 return NULL;
29675 }
29676
29677
29678 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29679 PyObject *resultobj;
29680 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29681 double arg2 ;
29682 double arg3 ;
29683 int arg4 = (int) 0 ;
29684 int arg5 = (int) 0 ;
29685 PyObject * obj0 = 0 ;
29686 PyObject * obj1 = 0 ;
29687 PyObject * obj2 = 0 ;
29688 PyObject * obj3 = 0 ;
29689 PyObject * obj4 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29696 {
29697 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29698 if (PyErr_Occurred()) SWIG_fail;
29699 }
29700 {
29701 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
29704 if (obj3) {
29705 {
29706 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29707 if (PyErr_Occurred()) SWIG_fail;
29708 }
29709 }
29710 if (obj4) {
29711 {
29712 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 }
29716 {
29717 PyThreadState* __tstate = wxPyBeginAllowThreads();
29718 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
29719
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
29723 Py_INCREF(Py_None); resultobj = Py_None;
29724 return resultobj;
29725 fail:
29726 return NULL;
29727 }
29728
29729
29730 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29731 PyObject *resultobj;
29732 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29733 double arg2 ;
29734 double arg3 ;
29735 int arg4 = (int) 0 ;
29736 int arg5 = (int) 0 ;
29737 PyObject * obj0 = 0 ;
29738 PyObject * obj1 = 0 ;
29739 PyObject * obj2 = 0 ;
29740 PyObject * obj3 = 0 ;
29741 PyObject * obj4 = 0 ;
29742 char *kwnames[] = {
29743 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29744 };
29745
29746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29748 {
29749 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29750 if (PyErr_Occurred()) SWIG_fail;
29751 }
29752 {
29753 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29754 if (PyErr_Occurred()) SWIG_fail;
29755 }
29756 if (obj3) {
29757 {
29758 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29759 if (PyErr_Occurred()) SWIG_fail;
29760 }
29761 }
29762 if (obj4) {
29763 {
29764 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29765 if (PyErr_Occurred()) SWIG_fail;
29766 }
29767 }
29768 {
29769 PyThreadState* __tstate = wxPyBeginAllowThreads();
29770 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
29771
29772 wxPyEndAllowThreads(__tstate);
29773 if (PyErr_Occurred()) SWIG_fail;
29774 }
29775 Py_INCREF(Py_None); resultobj = Py_None;
29776 return resultobj;
29777 fail:
29778 return NULL;
29779 }
29780
29781
29782 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29783 PyObject *resultobj;
29784 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29785 bool arg2 ;
29786 double arg3 ;
29787 double arg4 ;
29788 int arg5 = (int) 0 ;
29789 int arg6 = (int) 0 ;
29790 PyObject * obj0 = 0 ;
29791 PyObject * obj1 = 0 ;
29792 PyObject * obj2 = 0 ;
29793 PyObject * obj3 = 0 ;
29794 PyObject * obj4 = 0 ;
29795 PyObject * obj5 = 0 ;
29796 char *kwnames[] = {
29797 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29798 };
29799
29800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29802 {
29803 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
29804 if (PyErr_Occurred()) SWIG_fail;
29805 }
29806 {
29807 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29808 if (PyErr_Occurred()) SWIG_fail;
29809 }
29810 {
29811 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29812 if (PyErr_Occurred()) SWIG_fail;
29813 }
29814 if (obj4) {
29815 {
29816 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29817 if (PyErr_Occurred()) SWIG_fail;
29818 }
29819 }
29820 if (obj5) {
29821 {
29822 arg6 = (int) SWIG_PyObj_AsInt(obj5);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 }
29825 }
29826 {
29827 PyThreadState* __tstate = wxPyBeginAllowThreads();
29828 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29829
29830 wxPyEndAllowThreads(__tstate);
29831 if (PyErr_Occurred()) SWIG_fail;
29832 }
29833 Py_INCREF(Py_None); resultobj = Py_None;
29834 return resultobj;
29835 fail:
29836 return NULL;
29837 }
29838
29839
29840 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29841 PyObject *resultobj;
29842 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29843 double arg2 ;
29844 double arg3 ;
29845 int arg4 = (int) 0 ;
29846 int arg5 = (int) 0 ;
29847 PyObject * obj0 = 0 ;
29848 PyObject * obj1 = 0 ;
29849 PyObject * obj2 = 0 ;
29850 PyObject * obj3 = 0 ;
29851 PyObject * obj4 = 0 ;
29852 char *kwnames[] = {
29853 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29854 };
29855
29856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29858 {
29859 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29860 if (PyErr_Occurred()) SWIG_fail;
29861 }
29862 {
29863 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29864 if (PyErr_Occurred()) SWIG_fail;
29865 }
29866 if (obj3) {
29867 {
29868 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29869 if (PyErr_Occurred()) SWIG_fail;
29870 }
29871 }
29872 if (obj4) {
29873 {
29874 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29875 if (PyErr_Occurred()) SWIG_fail;
29876 }
29877 }
29878 {
29879 PyThreadState* __tstate = wxPyBeginAllowThreads();
29880 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29881
29882 wxPyEndAllowThreads(__tstate);
29883 if (PyErr_Occurred()) SWIG_fail;
29884 }
29885 Py_INCREF(Py_None); resultobj = Py_None;
29886 return resultobj;
29887 fail:
29888 return NULL;
29889 }
29890
29891
29892 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29893 PyObject *resultobj;
29894 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29895 double arg2 ;
29896 double arg3 ;
29897 int arg4 = (int) 0 ;
29898 int arg5 = (int) 0 ;
29899 PyObject * obj0 = 0 ;
29900 PyObject * obj1 = 0 ;
29901 PyObject * obj2 = 0 ;
29902 PyObject * obj3 = 0 ;
29903 PyObject * obj4 = 0 ;
29904 char *kwnames[] = {
29905 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29906 };
29907
29908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29910 {
29911 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29912 if (PyErr_Occurred()) SWIG_fail;
29913 }
29914 {
29915 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29916 if (PyErr_Occurred()) SWIG_fail;
29917 }
29918 if (obj3) {
29919 {
29920 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29921 if (PyErr_Occurred()) SWIG_fail;
29922 }
29923 }
29924 if (obj4) {
29925 {
29926 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29927 if (PyErr_Occurred()) SWIG_fail;
29928 }
29929 }
29930 {
29931 PyThreadState* __tstate = wxPyBeginAllowThreads();
29932 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29933
29934 wxPyEndAllowThreads(__tstate);
29935 if (PyErr_Occurred()) SWIG_fail;
29936 }
29937 Py_INCREF(Py_None); resultobj = Py_None;
29938 return resultobj;
29939 fail:
29940 return NULL;
29941 }
29942
29943
29944 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
29945 PyObject *resultobj;
29946 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29947 wxDC *arg2 = 0 ;
29948 double arg3 ;
29949 double arg4 ;
29950 double arg5 ;
29951 double arg6 ;
29952 PyObject * obj0 = 0 ;
29953 PyObject * obj1 = 0 ;
29954 PyObject * obj2 = 0 ;
29955 PyObject * obj3 = 0 ;
29956 PyObject * obj4 = 0 ;
29957 PyObject * obj5 = 0 ;
29958 char *kwnames[] = {
29959 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29960 };
29961
29962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29965 if (arg2 == NULL) {
29966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29967 }
29968 {
29969 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
29972 {
29973 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29974 if (PyErr_Occurred()) SWIG_fail;
29975 }
29976 {
29977 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
29978 if (PyErr_Occurred()) SWIG_fail;
29979 }
29980 {
29981 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
29982 if (PyErr_Occurred()) SWIG_fail;
29983 }
29984 {
29985 PyThreadState* __tstate = wxPyBeginAllowThreads();
29986 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29987
29988 wxPyEndAllowThreads(__tstate);
29989 if (PyErr_Occurred()) SWIG_fail;
29990 }
29991 Py_INCREF(Py_None); resultobj = Py_None;
29992 return resultobj;
29993 fail:
29994 return NULL;
29995 }
29996
29997
29998 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29999 PyObject *resultobj;
30000 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30001 wxDC *arg2 = 0 ;
30002 PyObject * obj0 = 0 ;
30003 PyObject * obj1 = 0 ;
30004 char *kwnames[] = {
30005 (char *) "self",(char *) "dc", NULL
30006 };
30007
30008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
30009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30011 if (arg2 == NULL) {
30012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30013 }
30014 {
30015 PyThreadState* __tstate = wxPyBeginAllowThreads();
30016 (arg1)->base_OnDrawControlPoints(*arg2);
30017
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 Py_INCREF(Py_None); resultobj = Py_None;
30022 return resultobj;
30023 fail:
30024 return NULL;
30025 }
30026
30027
30028 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30029 PyObject *resultobj;
30030 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30031 wxDC *arg2 = 0 ;
30032 PyObject * obj0 = 0 ;
30033 PyObject * obj1 = 0 ;
30034 char *kwnames[] = {
30035 (char *) "self",(char *) "dc", NULL
30036 };
30037
30038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
30039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30041 if (arg2 == NULL) {
30042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30043 }
30044 {
30045 PyThreadState* __tstate = wxPyBeginAllowThreads();
30046 (arg1)->base_OnEraseControlPoints(*arg2);
30047
30048 wxPyEndAllowThreads(__tstate);
30049 if (PyErr_Occurred()) SWIG_fail;
30050 }
30051 Py_INCREF(Py_None); resultobj = Py_None;
30052 return resultobj;
30053 fail:
30054 return NULL;
30055 }
30056
30057
30058 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30059 PyObject *resultobj;
30060 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30061 wxDC *arg2 = 0 ;
30062 bool arg3 = (bool) True ;
30063 PyObject * obj0 = 0 ;
30064 PyObject * obj1 = 0 ;
30065 PyObject * obj2 = 0 ;
30066 char *kwnames[] = {
30067 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30068 };
30069
30070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
30071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30073 if (arg2 == NULL) {
30074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30075 }
30076 if (obj2) {
30077 {
30078 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
30079 if (PyErr_Occurred()) SWIG_fail;
30080 }
30081 }
30082 {
30083 PyThreadState* __tstate = wxPyBeginAllowThreads();
30084 (arg1)->base_OnMoveLink(*arg2,arg3);
30085
30086 wxPyEndAllowThreads(__tstate);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 Py_INCREF(Py_None); resultobj = Py_None;
30090 return resultobj;
30091 fail:
30092 return NULL;
30093 }
30094
30095
30096 static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30097 PyObject *resultobj;
30098 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30099 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30100 bool arg3 ;
30101 double arg4 ;
30102 double arg5 ;
30103 int arg6 = (int) 0 ;
30104 int arg7 = (int) 0 ;
30105 PyObject * obj0 = 0 ;
30106 PyObject * obj1 = 0 ;
30107 PyObject * obj2 = 0 ;
30108 PyObject * obj3 = 0 ;
30109 PyObject * obj4 = 0 ;
30110 PyObject * obj5 = 0 ;
30111 PyObject * obj6 = 0 ;
30112 char *kwnames[] = {
30113 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30114 };
30115
30116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30119 {
30120 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
30121 if (PyErr_Occurred()) SWIG_fail;
30122 }
30123 {
30124 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30125 if (PyErr_Occurred()) SWIG_fail;
30126 }
30127 {
30128 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
30129 if (PyErr_Occurred()) SWIG_fail;
30130 }
30131 if (obj5) {
30132 {
30133 arg6 = (int) SWIG_PyObj_AsInt(obj5);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 }
30136 }
30137 if (obj6) {
30138 {
30139 arg7 = (int) SWIG_PyObj_AsInt(obj6);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 }
30143 {
30144 PyThreadState* __tstate = wxPyBeginAllowThreads();
30145 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30146
30147 wxPyEndAllowThreads(__tstate);
30148 if (PyErr_Occurred()) SWIG_fail;
30149 }
30150 Py_INCREF(Py_None); resultobj = Py_None;
30151 return resultobj;
30152 fail:
30153 return NULL;
30154 }
30155
30156
30157 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30158 PyObject *resultobj;
30159 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30160 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30161 double arg3 ;
30162 double arg4 ;
30163 int arg5 = (int) 0 ;
30164 int arg6 = (int) 0 ;
30165 PyObject * obj0 = 0 ;
30166 PyObject * obj1 = 0 ;
30167 PyObject * obj2 = 0 ;
30168 PyObject * obj3 = 0 ;
30169 PyObject * obj4 = 0 ;
30170 PyObject * obj5 = 0 ;
30171 char *kwnames[] = {
30172 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30173 };
30174
30175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30178 {
30179 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30180 if (PyErr_Occurred()) SWIG_fail;
30181 }
30182 {
30183 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 if (obj4) {
30187 {
30188 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30189 if (PyErr_Occurred()) SWIG_fail;
30190 }
30191 }
30192 if (obj5) {
30193 {
30194 arg6 = (int) SWIG_PyObj_AsInt(obj5);
30195 if (PyErr_Occurred()) SWIG_fail;
30196 }
30197 }
30198 {
30199 PyThreadState* __tstate = wxPyBeginAllowThreads();
30200 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30201
30202 wxPyEndAllowThreads(__tstate);
30203 if (PyErr_Occurred()) SWIG_fail;
30204 }
30205 Py_INCREF(Py_None); resultobj = Py_None;
30206 return resultobj;
30207 fail:
30208 return NULL;
30209 }
30210
30211
30212 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30213 PyObject *resultobj;
30214 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30215 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30216 double arg3 ;
30217 double arg4 ;
30218 int arg5 = (int) 0 ;
30219 int arg6 = (int) 0 ;
30220 PyObject * obj0 = 0 ;
30221 PyObject * obj1 = 0 ;
30222 PyObject * obj2 = 0 ;
30223 PyObject * obj3 = 0 ;
30224 PyObject * obj4 = 0 ;
30225 PyObject * obj5 = 0 ;
30226 char *kwnames[] = {
30227 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30228 };
30229
30230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30233 {
30234 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 {
30238 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 if (obj4) {
30242 {
30243 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30244 if (PyErr_Occurred()) SWIG_fail;
30245 }
30246 }
30247 if (obj5) {
30248 {
30249 arg6 = (int) SWIG_PyObj_AsInt(obj5);
30250 if (PyErr_Occurred()) SWIG_fail;
30251 }
30252 }
30253 {
30254 PyThreadState* __tstate = wxPyBeginAllowThreads();
30255 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30256
30257 wxPyEndAllowThreads(__tstate);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
30260 Py_INCREF(Py_None); resultobj = Py_None;
30261 return resultobj;
30262 fail:
30263 return NULL;
30264 }
30265
30266
30267 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30268 PyObject *resultobj;
30269 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30270 double arg2 ;
30271 double arg3 ;
30272 PyObject * obj0 = 0 ;
30273 PyObject * obj1 = 0 ;
30274 PyObject * obj2 = 0 ;
30275 char *kwnames[] = {
30276 (char *) "self",(char *) "w",(char *) "h", NULL
30277 };
30278
30279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30281 {
30282 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 {
30286 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30287 if (PyErr_Occurred()) SWIG_fail;
30288 }
30289 {
30290 PyThreadState* __tstate = wxPyBeginAllowThreads();
30291 (arg1)->base_OnBeginSize(arg2,arg3);
30292
30293 wxPyEndAllowThreads(__tstate);
30294 if (PyErr_Occurred()) SWIG_fail;
30295 }
30296 Py_INCREF(Py_None); resultobj = Py_None;
30297 return resultobj;
30298 fail:
30299 return NULL;
30300 }
30301
30302
30303 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30304 PyObject *resultobj;
30305 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30306 double arg2 ;
30307 double arg3 ;
30308 PyObject * obj0 = 0 ;
30309 PyObject * obj1 = 0 ;
30310 PyObject * obj2 = 0 ;
30311 char *kwnames[] = {
30312 (char *) "self",(char *) "w",(char *) "h", NULL
30313 };
30314
30315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30317 {
30318 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30319 if (PyErr_Occurred()) SWIG_fail;
30320 }
30321 {
30322 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30323 if (PyErr_Occurred()) SWIG_fail;
30324 }
30325 {
30326 PyThreadState* __tstate = wxPyBeginAllowThreads();
30327 (arg1)->base_OnEndSize(arg2,arg3);
30328
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 Py_INCREF(Py_None); resultobj = Py_None;
30333 return resultobj;
30334 fail:
30335 return NULL;
30336 }
30337
30338
30339 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
30340 PyObject *obj;
30341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30342 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
30343 Py_INCREF(obj);
30344 return Py_BuildValue((char *)"");
30345 }
30346 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30347 PyObject *resultobj;
30348 double arg1 = (double) 0.0 ;
30349 double arg2 = (double) 0.0 ;
30350 wxPyTextShape *result;
30351 PyObject * obj0 = 0 ;
30352 PyObject * obj1 = 0 ;
30353 char *kwnames[] = {
30354 (char *) "width",(char *) "height", NULL
30355 };
30356
30357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
30358 if (obj0) {
30359 {
30360 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
30361 if (PyErr_Occurred()) SWIG_fail;
30362 }
30363 }
30364 if (obj1) {
30365 {
30366 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30367 if (PyErr_Occurred()) SWIG_fail;
30368 }
30369 }
30370 {
30371 PyThreadState* __tstate = wxPyBeginAllowThreads();
30372 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
30373
30374 wxPyEndAllowThreads(__tstate);
30375 if (PyErr_Occurred()) SWIG_fail;
30376 }
30377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextShape, 1);
30378 return resultobj;
30379 fail:
30380 return NULL;
30381 }
30382
30383
30384 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30385 PyObject *resultobj;
30386 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30387 PyObject *arg2 = (PyObject *) 0 ;
30388 PyObject *arg3 = (PyObject *) 0 ;
30389 PyObject * obj0 = 0 ;
30390 PyObject * obj1 = 0 ;
30391 PyObject * obj2 = 0 ;
30392 char *kwnames[] = {
30393 (char *) "self",(char *) "self",(char *) "_class", NULL
30394 };
30395
30396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
30397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30398 arg2 = obj1;
30399 arg3 = obj2;
30400 {
30401 PyThreadState* __tstate = wxPyBeginAllowThreads();
30402 (arg1)->_setCallbackInfo(arg2,arg3);
30403
30404 wxPyEndAllowThreads(__tstate);
30405 if (PyErr_Occurred()) SWIG_fail;
30406 }
30407 Py_INCREF(Py_None); resultobj = Py_None;
30408 return resultobj;
30409 fail:
30410 return NULL;
30411 }
30412
30413
30414 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
30415 PyObject *resultobj;
30416 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30417 PyObject * obj0 = 0 ;
30418 char *kwnames[] = {
30419 (char *) "self", NULL
30420 };
30421
30422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
30423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30424 {
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
30426 (arg1)->base_OnDelete();
30427
30428 wxPyEndAllowThreads(__tstate);
30429 if (PyErr_Occurred()) SWIG_fail;
30430 }
30431 Py_INCREF(Py_None); resultobj = Py_None;
30432 return resultobj;
30433 fail:
30434 return NULL;
30435 }
30436
30437
30438 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
30439 PyObject *resultobj;
30440 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30441 wxDC *arg2 = 0 ;
30442 PyObject * obj0 = 0 ;
30443 PyObject * obj1 = 0 ;
30444 char *kwnames[] = {
30445 (char *) "self",(char *) "dc", NULL
30446 };
30447
30448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
30449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30451 if (arg2 == NULL) {
30452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30453 }
30454 {
30455 PyThreadState* __tstate = wxPyBeginAllowThreads();
30456 (arg1)->base_OnDraw(*arg2);
30457
30458 wxPyEndAllowThreads(__tstate);
30459 if (PyErr_Occurred()) SWIG_fail;
30460 }
30461 Py_INCREF(Py_None); resultobj = Py_None;
30462 return resultobj;
30463 fail:
30464 return NULL;
30465 }
30466
30467
30468 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
30469 PyObject *resultobj;
30470 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30471 wxDC *arg2 = 0 ;
30472 PyObject * obj0 = 0 ;
30473 PyObject * obj1 = 0 ;
30474 char *kwnames[] = {
30475 (char *) "self",(char *) "dc", NULL
30476 };
30477
30478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
30479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30481 if (arg2 == NULL) {
30482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30483 }
30484 {
30485 PyThreadState* __tstate = wxPyBeginAllowThreads();
30486 (arg1)->base_OnDrawContents(*arg2);
30487
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 Py_INCREF(Py_None); resultobj = Py_None;
30492 return resultobj;
30493 fail:
30494 return NULL;
30495 }
30496
30497
30498 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
30499 PyObject *resultobj;
30500 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30501 wxDC *arg2 = 0 ;
30502 bool arg3 = (bool) FALSE ;
30503 PyObject * obj0 = 0 ;
30504 PyObject * obj1 = 0 ;
30505 PyObject * obj2 = 0 ;
30506 char *kwnames[] = {
30507 (char *) "self",(char *) "dc",(char *) "erase", NULL
30508 };
30509
30510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
30511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30513 if (arg2 == NULL) {
30514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30515 }
30516 if (obj2) {
30517 {
30518 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
30519 if (PyErr_Occurred()) SWIG_fail;
30520 }
30521 }
30522 {
30523 PyThreadState* __tstate = wxPyBeginAllowThreads();
30524 (arg1)->base_OnDrawBranches(*arg2,arg3);
30525
30526 wxPyEndAllowThreads(__tstate);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 Py_INCREF(Py_None); resultobj = Py_None;
30530 return resultobj;
30531 fail:
30532 return NULL;
30533 }
30534
30535
30536 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
30537 PyObject *resultobj;
30538 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30539 wxDC *arg2 = 0 ;
30540 PyObject * obj0 = 0 ;
30541 PyObject * obj1 = 0 ;
30542 char *kwnames[] = {
30543 (char *) "self",(char *) "dc", NULL
30544 };
30545
30546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
30547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30549 if (arg2 == NULL) {
30550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30551 }
30552 {
30553 PyThreadState* __tstate = wxPyBeginAllowThreads();
30554 (arg1)->base_OnMoveLinks(*arg2);
30555
30556 wxPyEndAllowThreads(__tstate);
30557 if (PyErr_Occurred()) SWIG_fail;
30558 }
30559 Py_INCREF(Py_None); resultobj = Py_None;
30560 return resultobj;
30561 fail:
30562 return NULL;
30563 }
30564
30565
30566 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
30567 PyObject *resultobj;
30568 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30569 wxDC *arg2 = 0 ;
30570 PyObject * obj0 = 0 ;
30571 PyObject * obj1 = 0 ;
30572 char *kwnames[] = {
30573 (char *) "self",(char *) "dc", NULL
30574 };
30575
30576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
30577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30579 if (arg2 == NULL) {
30580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30581 }
30582 {
30583 PyThreadState* __tstate = wxPyBeginAllowThreads();
30584 (arg1)->base_OnErase(*arg2);
30585
30586 wxPyEndAllowThreads(__tstate);
30587 if (PyErr_Occurred()) SWIG_fail;
30588 }
30589 Py_INCREF(Py_None); resultobj = Py_None;
30590 return resultobj;
30591 fail:
30592 return NULL;
30593 }
30594
30595
30596 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
30597 PyObject *resultobj;
30598 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30599 wxDC *arg2 = 0 ;
30600 PyObject * obj0 = 0 ;
30601 PyObject * obj1 = 0 ;
30602 char *kwnames[] = {
30603 (char *) "self",(char *) "dc", NULL
30604 };
30605
30606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
30607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30609 if (arg2 == NULL) {
30610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30611 }
30612 {
30613 PyThreadState* __tstate = wxPyBeginAllowThreads();
30614 (arg1)->base_OnEraseContents(*arg2);
30615
30616 wxPyEndAllowThreads(__tstate);
30617 if (PyErr_Occurred()) SWIG_fail;
30618 }
30619 Py_INCREF(Py_None); resultobj = Py_None;
30620 return resultobj;
30621 fail:
30622 return NULL;
30623 }
30624
30625
30626 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
30627 PyObject *resultobj;
30628 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30629 wxDC *arg2 = 0 ;
30630 PyObject * obj0 = 0 ;
30631 PyObject * obj1 = 0 ;
30632 char *kwnames[] = {
30633 (char *) "self",(char *) "dc", NULL
30634 };
30635
30636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
30637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30639 if (arg2 == NULL) {
30640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30641 }
30642 {
30643 PyThreadState* __tstate = wxPyBeginAllowThreads();
30644 (arg1)->base_OnHighlight(*arg2);
30645
30646 wxPyEndAllowThreads(__tstate);
30647 if (PyErr_Occurred()) SWIG_fail;
30648 }
30649 Py_INCREF(Py_None); resultobj = Py_None;
30650 return resultobj;
30651 fail:
30652 return NULL;
30653 }
30654
30655
30656 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30657 PyObject *resultobj;
30658 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30659 double arg2 ;
30660 double arg3 ;
30661 int arg4 = (int) 0 ;
30662 int arg5 = (int) 0 ;
30663 PyObject * obj0 = 0 ;
30664 PyObject * obj1 = 0 ;
30665 PyObject * obj2 = 0 ;
30666 PyObject * obj3 = 0 ;
30667 PyObject * obj4 = 0 ;
30668 char *kwnames[] = {
30669 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30670 };
30671
30672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30674 {
30675 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 {
30679 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30680 if (PyErr_Occurred()) SWIG_fail;
30681 }
30682 if (obj3) {
30683 {
30684 arg4 = (int) SWIG_PyObj_AsInt(obj3);
30685 if (PyErr_Occurred()) SWIG_fail;
30686 }
30687 }
30688 if (obj4) {
30689 {
30690 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30691 if (PyErr_Occurred()) SWIG_fail;
30692 }
30693 }
30694 {
30695 PyThreadState* __tstate = wxPyBeginAllowThreads();
30696 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
30697
30698 wxPyEndAllowThreads(__tstate);
30699 if (PyErr_Occurred()) SWIG_fail;
30700 }
30701 Py_INCREF(Py_None); resultobj = Py_None;
30702 return resultobj;
30703 fail:
30704 return NULL;
30705 }
30706
30707
30708 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30709 PyObject *resultobj;
30710 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30711 double arg2 ;
30712 double arg3 ;
30713 int arg4 = (int) 0 ;
30714 int arg5 = (int) 0 ;
30715 PyObject * obj0 = 0 ;
30716 PyObject * obj1 = 0 ;
30717 PyObject * obj2 = 0 ;
30718 PyObject * obj3 = 0 ;
30719 PyObject * obj4 = 0 ;
30720 char *kwnames[] = {
30721 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30722 };
30723
30724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30726 {
30727 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30728 if (PyErr_Occurred()) SWIG_fail;
30729 }
30730 {
30731 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30732 if (PyErr_Occurred()) SWIG_fail;
30733 }
30734 if (obj3) {
30735 {
30736 arg4 = (int) SWIG_PyObj_AsInt(obj3);
30737 if (PyErr_Occurred()) SWIG_fail;
30738 }
30739 }
30740 if (obj4) {
30741 {
30742 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30743 if (PyErr_Occurred()) SWIG_fail;
30744 }
30745 }
30746 {
30747 PyThreadState* __tstate = wxPyBeginAllowThreads();
30748 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30749
30750 wxPyEndAllowThreads(__tstate);
30751 if (PyErr_Occurred()) SWIG_fail;
30752 }
30753 Py_INCREF(Py_None); resultobj = Py_None;
30754 return resultobj;
30755 fail:
30756 return NULL;
30757 }
30758
30759
30760 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30761 PyObject *resultobj;
30762 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30763 double arg2 ;
30764 double arg3 ;
30765 int arg4 = (int) 0 ;
30766 int arg5 = (int) 0 ;
30767 PyObject * obj0 = 0 ;
30768 PyObject * obj1 = 0 ;
30769 PyObject * obj2 = 0 ;
30770 PyObject * obj3 = 0 ;
30771 PyObject * obj4 = 0 ;
30772 char *kwnames[] = {
30773 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30774 };
30775
30776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30778 {
30779 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30780 if (PyErr_Occurred()) SWIG_fail;
30781 }
30782 {
30783 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30784 if (PyErr_Occurred()) SWIG_fail;
30785 }
30786 if (obj3) {
30787 {
30788 arg4 = (int) SWIG_PyObj_AsInt(obj3);
30789 if (PyErr_Occurred()) SWIG_fail;
30790 }
30791 }
30792 if (obj4) {
30793 {
30794 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30795 if (PyErr_Occurred()) SWIG_fail;
30796 }
30797 }
30798 {
30799 PyThreadState* __tstate = wxPyBeginAllowThreads();
30800 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30801
30802 wxPyEndAllowThreads(__tstate);
30803 if (PyErr_Occurred()) SWIG_fail;
30804 }
30805 Py_INCREF(Py_None); resultobj = Py_None;
30806 return resultobj;
30807 fail:
30808 return NULL;
30809 }
30810
30811
30812 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30813 PyObject *resultobj;
30814 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30815 double arg2 ;
30816 double arg3 ;
30817 PyObject * obj0 = 0 ;
30818 PyObject * obj1 = 0 ;
30819 PyObject * obj2 = 0 ;
30820 char *kwnames[] = {
30821 (char *) "self",(char *) "x",(char *) "y", NULL
30822 };
30823
30824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30826 {
30827 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30828 if (PyErr_Occurred()) SWIG_fail;
30829 }
30830 {
30831 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30832 if (PyErr_Occurred()) SWIG_fail;
30833 }
30834 {
30835 PyThreadState* __tstate = wxPyBeginAllowThreads();
30836 (arg1)->base_OnSize(arg2,arg3);
30837
30838 wxPyEndAllowThreads(__tstate);
30839 if (PyErr_Occurred()) SWIG_fail;
30840 }
30841 Py_INCREF(Py_None); resultobj = Py_None;
30842 return resultobj;
30843 fail:
30844 return NULL;
30845 }
30846
30847
30848 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
30849 PyObject *resultobj;
30850 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30851 wxDC *arg2 = 0 ;
30852 double arg3 ;
30853 double arg4 ;
30854 double arg5 ;
30855 double arg6 ;
30856 bool arg7 = (bool) True ;
30857 bool result;
30858 PyObject * obj0 = 0 ;
30859 PyObject * obj1 = 0 ;
30860 PyObject * obj2 = 0 ;
30861 PyObject * obj3 = 0 ;
30862 PyObject * obj4 = 0 ;
30863 PyObject * obj5 = 0 ;
30864 PyObject * obj6 = 0 ;
30865 char *kwnames[] = {
30866 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30867 };
30868
30869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30872 if (arg2 == NULL) {
30873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30874 }
30875 {
30876 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30877 if (PyErr_Occurred()) SWIG_fail;
30878 }
30879 {
30880 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30881 if (PyErr_Occurred()) SWIG_fail;
30882 }
30883 {
30884 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 {
30888 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
30889 if (PyErr_Occurred()) SWIG_fail;
30890 }
30891 if (obj6) {
30892 {
30893 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
30894 if (PyErr_Occurred()) SWIG_fail;
30895 }
30896 }
30897 {
30898 PyThreadState* __tstate = wxPyBeginAllowThreads();
30899 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30900
30901 wxPyEndAllowThreads(__tstate);
30902 if (PyErr_Occurred()) SWIG_fail;
30903 }
30904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30905 return resultobj;
30906 fail:
30907 return NULL;
30908 }
30909
30910
30911 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
30912 PyObject *resultobj;
30913 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30914 wxDC *arg2 = 0 ;
30915 double arg3 ;
30916 double arg4 ;
30917 double arg5 ;
30918 double arg6 ;
30919 bool arg7 = (bool) True ;
30920 PyObject * obj0 = 0 ;
30921 PyObject * obj1 = 0 ;
30922 PyObject * obj2 = 0 ;
30923 PyObject * obj3 = 0 ;
30924 PyObject * obj4 = 0 ;
30925 PyObject * obj5 = 0 ;
30926 PyObject * obj6 = 0 ;
30927 char *kwnames[] = {
30928 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30929 };
30930
30931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30934 if (arg2 == NULL) {
30935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30936 }
30937 {
30938 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30939 if (PyErr_Occurred()) SWIG_fail;
30940 }
30941 {
30942 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30943 if (PyErr_Occurred()) SWIG_fail;
30944 }
30945 {
30946 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 {
30950 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
30951 if (PyErr_Occurred()) SWIG_fail;
30952 }
30953 if (obj6) {
30954 {
30955 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
30956 if (PyErr_Occurred()) SWIG_fail;
30957 }
30958 }
30959 {
30960 PyThreadState* __tstate = wxPyBeginAllowThreads();
30961 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30962
30963 wxPyEndAllowThreads(__tstate);
30964 if (PyErr_Occurred()) SWIG_fail;
30965 }
30966 Py_INCREF(Py_None); resultobj = Py_None;
30967 return resultobj;
30968 fail:
30969 return NULL;
30970 }
30971
30972
30973 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30974 PyObject *resultobj;
30975 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30976 bool arg2 ;
30977 double arg3 ;
30978 double arg4 ;
30979 int arg5 = (int) 0 ;
30980 int arg6 = (int) 0 ;
30981 PyObject * obj0 = 0 ;
30982 PyObject * obj1 = 0 ;
30983 PyObject * obj2 = 0 ;
30984 PyObject * obj3 = 0 ;
30985 PyObject * obj4 = 0 ;
30986 PyObject * obj5 = 0 ;
30987 char *kwnames[] = {
30988 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30989 };
30990
30991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30993 {
30994 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
30995 if (PyErr_Occurred()) SWIG_fail;
30996 }
30997 {
30998 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30999 if (PyErr_Occurred()) SWIG_fail;
31000 }
31001 {
31002 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31003 if (PyErr_Occurred()) SWIG_fail;
31004 }
31005 if (obj4) {
31006 {
31007 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31008 if (PyErr_Occurred()) SWIG_fail;
31009 }
31010 }
31011 if (obj5) {
31012 {
31013 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31014 if (PyErr_Occurred()) SWIG_fail;
31015 }
31016 }
31017 {
31018 PyThreadState* __tstate = wxPyBeginAllowThreads();
31019 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
31020
31021 wxPyEndAllowThreads(__tstate);
31022 if (PyErr_Occurred()) SWIG_fail;
31023 }
31024 Py_INCREF(Py_None); resultobj = Py_None;
31025 return resultobj;
31026 fail:
31027 return NULL;
31028 }
31029
31030
31031 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31032 PyObject *resultobj;
31033 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31034 double arg2 ;
31035 double arg3 ;
31036 int arg4 = (int) 0 ;
31037 int arg5 = (int) 0 ;
31038 PyObject * obj0 = 0 ;
31039 PyObject * obj1 = 0 ;
31040 PyObject * obj2 = 0 ;
31041 PyObject * obj3 = 0 ;
31042 PyObject * obj4 = 0 ;
31043 char *kwnames[] = {
31044 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31045 };
31046
31047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31049 {
31050 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31051 if (PyErr_Occurred()) SWIG_fail;
31052 }
31053 {
31054 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31055 if (PyErr_Occurred()) SWIG_fail;
31056 }
31057 if (obj3) {
31058 {
31059 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31060 if (PyErr_Occurred()) SWIG_fail;
31061 }
31062 }
31063 if (obj4) {
31064 {
31065 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31066 if (PyErr_Occurred()) SWIG_fail;
31067 }
31068 }
31069 {
31070 PyThreadState* __tstate = wxPyBeginAllowThreads();
31071 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
31072
31073 wxPyEndAllowThreads(__tstate);
31074 if (PyErr_Occurred()) SWIG_fail;
31075 }
31076 Py_INCREF(Py_None); resultobj = Py_None;
31077 return resultobj;
31078 fail:
31079 return NULL;
31080 }
31081
31082
31083 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31084 PyObject *resultobj;
31085 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31086 double arg2 ;
31087 double arg3 ;
31088 int arg4 = (int) 0 ;
31089 int arg5 = (int) 0 ;
31090 PyObject * obj0 = 0 ;
31091 PyObject * obj1 = 0 ;
31092 PyObject * obj2 = 0 ;
31093 PyObject * obj3 = 0 ;
31094 PyObject * obj4 = 0 ;
31095 char *kwnames[] = {
31096 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31097 };
31098
31099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31101 {
31102 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31103 if (PyErr_Occurred()) SWIG_fail;
31104 }
31105 {
31106 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31107 if (PyErr_Occurred()) SWIG_fail;
31108 }
31109 if (obj3) {
31110 {
31111 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31112 if (PyErr_Occurred()) SWIG_fail;
31113 }
31114 }
31115 if (obj4) {
31116 {
31117 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31118 if (PyErr_Occurred()) SWIG_fail;
31119 }
31120 }
31121 {
31122 PyThreadState* __tstate = wxPyBeginAllowThreads();
31123 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
31124
31125 wxPyEndAllowThreads(__tstate);
31126 if (PyErr_Occurred()) SWIG_fail;
31127 }
31128 Py_INCREF(Py_None); resultobj = Py_None;
31129 return resultobj;
31130 fail:
31131 return NULL;
31132 }
31133
31134
31135 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31136 PyObject *resultobj;
31137 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31138 bool arg2 ;
31139 double arg3 ;
31140 double arg4 ;
31141 int arg5 = (int) 0 ;
31142 int arg6 = (int) 0 ;
31143 PyObject * obj0 = 0 ;
31144 PyObject * obj1 = 0 ;
31145 PyObject * obj2 = 0 ;
31146 PyObject * obj3 = 0 ;
31147 PyObject * obj4 = 0 ;
31148 PyObject * obj5 = 0 ;
31149 char *kwnames[] = {
31150 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31151 };
31152
31153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31155 {
31156 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
31157 if (PyErr_Occurred()) SWIG_fail;
31158 }
31159 {
31160 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31161 if (PyErr_Occurred()) SWIG_fail;
31162 }
31163 {
31164 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31165 if (PyErr_Occurred()) SWIG_fail;
31166 }
31167 if (obj4) {
31168 {
31169 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31170 if (PyErr_Occurred()) SWIG_fail;
31171 }
31172 }
31173 if (obj5) {
31174 {
31175 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31176 if (PyErr_Occurred()) SWIG_fail;
31177 }
31178 }
31179 {
31180 PyThreadState* __tstate = wxPyBeginAllowThreads();
31181 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
31182
31183 wxPyEndAllowThreads(__tstate);
31184 if (PyErr_Occurred()) SWIG_fail;
31185 }
31186 Py_INCREF(Py_None); resultobj = Py_None;
31187 return resultobj;
31188 fail:
31189 return NULL;
31190 }
31191
31192
31193 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31194 PyObject *resultobj;
31195 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31196 double arg2 ;
31197 double arg3 ;
31198 int arg4 = (int) 0 ;
31199 int arg5 = (int) 0 ;
31200 PyObject * obj0 = 0 ;
31201 PyObject * obj1 = 0 ;
31202 PyObject * obj2 = 0 ;
31203 PyObject * obj3 = 0 ;
31204 PyObject * obj4 = 0 ;
31205 char *kwnames[] = {
31206 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31207 };
31208
31209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31211 {
31212 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31213 if (PyErr_Occurred()) SWIG_fail;
31214 }
31215 {
31216 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31217 if (PyErr_Occurred()) SWIG_fail;
31218 }
31219 if (obj3) {
31220 {
31221 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31222 if (PyErr_Occurred()) SWIG_fail;
31223 }
31224 }
31225 if (obj4) {
31226 {
31227 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31228 if (PyErr_Occurred()) SWIG_fail;
31229 }
31230 }
31231 {
31232 PyThreadState* __tstate = wxPyBeginAllowThreads();
31233 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
31234
31235 wxPyEndAllowThreads(__tstate);
31236 if (PyErr_Occurred()) SWIG_fail;
31237 }
31238 Py_INCREF(Py_None); resultobj = Py_None;
31239 return resultobj;
31240 fail:
31241 return NULL;
31242 }
31243
31244
31245 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31246 PyObject *resultobj;
31247 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31248 double arg2 ;
31249 double arg3 ;
31250 int arg4 = (int) 0 ;
31251 int arg5 = (int) 0 ;
31252 PyObject * obj0 = 0 ;
31253 PyObject * obj1 = 0 ;
31254 PyObject * obj2 = 0 ;
31255 PyObject * obj3 = 0 ;
31256 PyObject * obj4 = 0 ;
31257 char *kwnames[] = {
31258 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31259 };
31260
31261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31263 {
31264 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31265 if (PyErr_Occurred()) SWIG_fail;
31266 }
31267 {
31268 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 if (obj3) {
31272 {
31273 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31274 if (PyErr_Occurred()) SWIG_fail;
31275 }
31276 }
31277 if (obj4) {
31278 {
31279 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31280 if (PyErr_Occurred()) SWIG_fail;
31281 }
31282 }
31283 {
31284 PyThreadState* __tstate = wxPyBeginAllowThreads();
31285 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
31286
31287 wxPyEndAllowThreads(__tstate);
31288 if (PyErr_Occurred()) SWIG_fail;
31289 }
31290 Py_INCREF(Py_None); resultobj = Py_None;
31291 return resultobj;
31292 fail:
31293 return NULL;
31294 }
31295
31296
31297 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
31298 PyObject *resultobj;
31299 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31300 wxDC *arg2 = 0 ;
31301 double arg3 ;
31302 double arg4 ;
31303 double arg5 ;
31304 double arg6 ;
31305 PyObject * obj0 = 0 ;
31306 PyObject * obj1 = 0 ;
31307 PyObject * obj2 = 0 ;
31308 PyObject * obj3 = 0 ;
31309 PyObject * obj4 = 0 ;
31310 PyObject * obj5 = 0 ;
31311 char *kwnames[] = {
31312 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31313 };
31314
31315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31317 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31318 if (arg2 == NULL) {
31319 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31320 }
31321 {
31322 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31323 if (PyErr_Occurred()) SWIG_fail;
31324 }
31325 {
31326 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31327 if (PyErr_Occurred()) SWIG_fail;
31328 }
31329 {
31330 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
31331 if (PyErr_Occurred()) SWIG_fail;
31332 }
31333 {
31334 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
31335 if (PyErr_Occurred()) SWIG_fail;
31336 }
31337 {
31338 PyThreadState* __tstate = wxPyBeginAllowThreads();
31339 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
31340
31341 wxPyEndAllowThreads(__tstate);
31342 if (PyErr_Occurred()) SWIG_fail;
31343 }
31344 Py_INCREF(Py_None); resultobj = Py_None;
31345 return resultobj;
31346 fail:
31347 return NULL;
31348 }
31349
31350
31351 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
31352 PyObject *resultobj;
31353 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31354 wxDC *arg2 = 0 ;
31355 PyObject * obj0 = 0 ;
31356 PyObject * obj1 = 0 ;
31357 char *kwnames[] = {
31358 (char *) "self",(char *) "dc", NULL
31359 };
31360
31361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
31362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31364 if (arg2 == NULL) {
31365 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31366 }
31367 {
31368 PyThreadState* __tstate = wxPyBeginAllowThreads();
31369 (arg1)->base_OnDrawControlPoints(*arg2);
31370
31371 wxPyEndAllowThreads(__tstate);
31372 if (PyErr_Occurred()) SWIG_fail;
31373 }
31374 Py_INCREF(Py_None); resultobj = Py_None;
31375 return resultobj;
31376 fail:
31377 return NULL;
31378 }
31379
31380
31381 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
31382 PyObject *resultobj;
31383 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31384 wxDC *arg2 = 0 ;
31385 PyObject * obj0 = 0 ;
31386 PyObject * obj1 = 0 ;
31387 char *kwnames[] = {
31388 (char *) "self",(char *) "dc", NULL
31389 };
31390
31391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
31392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31394 if (arg2 == NULL) {
31395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31396 }
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 (arg1)->base_OnEraseControlPoints(*arg2);
31400
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 Py_INCREF(Py_None); resultobj = Py_None;
31405 return resultobj;
31406 fail:
31407 return NULL;
31408 }
31409
31410
31411 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
31412 PyObject *resultobj;
31413 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31414 wxDC *arg2 = 0 ;
31415 bool arg3 = (bool) True ;
31416 PyObject * obj0 = 0 ;
31417 PyObject * obj1 = 0 ;
31418 PyObject * obj2 = 0 ;
31419 char *kwnames[] = {
31420 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
31421 };
31422
31423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
31424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31426 if (arg2 == NULL) {
31427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31428 }
31429 if (obj2) {
31430 {
31431 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
31432 if (PyErr_Occurred()) SWIG_fail;
31433 }
31434 }
31435 {
31436 PyThreadState* __tstate = wxPyBeginAllowThreads();
31437 (arg1)->base_OnMoveLink(*arg2,arg3);
31438
31439 wxPyEndAllowThreads(__tstate);
31440 if (PyErr_Occurred()) SWIG_fail;
31441 }
31442 Py_INCREF(Py_None); resultobj = Py_None;
31443 return resultobj;
31444 fail:
31445 return NULL;
31446 }
31447
31448
31449 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31450 PyObject *resultobj;
31451 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31452 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31453 bool arg3 ;
31454 double arg4 ;
31455 double arg5 ;
31456 int arg6 = (int) 0 ;
31457 int arg7 = (int) 0 ;
31458 PyObject * obj0 = 0 ;
31459 PyObject * obj1 = 0 ;
31460 PyObject * obj2 = 0 ;
31461 PyObject * obj3 = 0 ;
31462 PyObject * obj4 = 0 ;
31463 PyObject * obj5 = 0 ;
31464 PyObject * obj6 = 0 ;
31465 char *kwnames[] = {
31466 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31467 };
31468
31469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
31470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31472 {
31473 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
31474 if (PyErr_Occurred()) SWIG_fail;
31475 }
31476 {
31477 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 {
31481 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
31482 if (PyErr_Occurred()) SWIG_fail;
31483 }
31484 if (obj5) {
31485 {
31486 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31487 if (PyErr_Occurred()) SWIG_fail;
31488 }
31489 }
31490 if (obj6) {
31491 {
31492 arg7 = (int) SWIG_PyObj_AsInt(obj6);
31493 if (PyErr_Occurred()) SWIG_fail;
31494 }
31495 }
31496 {
31497 PyThreadState* __tstate = wxPyBeginAllowThreads();
31498 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
31499
31500 wxPyEndAllowThreads(__tstate);
31501 if (PyErr_Occurred()) SWIG_fail;
31502 }
31503 Py_INCREF(Py_None); resultobj = Py_None;
31504 return resultobj;
31505 fail:
31506 return NULL;
31507 }
31508
31509
31510 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31511 PyObject *resultobj;
31512 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31513 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31514 double arg3 ;
31515 double arg4 ;
31516 int arg5 = (int) 0 ;
31517 int arg6 = (int) 0 ;
31518 PyObject * obj0 = 0 ;
31519 PyObject * obj1 = 0 ;
31520 PyObject * obj2 = 0 ;
31521 PyObject * obj3 = 0 ;
31522 PyObject * obj4 = 0 ;
31523 PyObject * obj5 = 0 ;
31524 char *kwnames[] = {
31525 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31526 };
31527
31528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31531 {
31532 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31533 if (PyErr_Occurred()) SWIG_fail;
31534 }
31535 {
31536 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31537 if (PyErr_Occurred()) SWIG_fail;
31538 }
31539 if (obj4) {
31540 {
31541 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31542 if (PyErr_Occurred()) SWIG_fail;
31543 }
31544 }
31545 if (obj5) {
31546 {
31547 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31548 if (PyErr_Occurred()) SWIG_fail;
31549 }
31550 }
31551 {
31552 PyThreadState* __tstate = wxPyBeginAllowThreads();
31553 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
31554
31555 wxPyEndAllowThreads(__tstate);
31556 if (PyErr_Occurred()) SWIG_fail;
31557 }
31558 Py_INCREF(Py_None); resultobj = Py_None;
31559 return resultobj;
31560 fail:
31561 return NULL;
31562 }
31563
31564
31565 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31566 PyObject *resultobj;
31567 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31568 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31569 double arg3 ;
31570 double arg4 ;
31571 int arg5 = (int) 0 ;
31572 int arg6 = (int) 0 ;
31573 PyObject * obj0 = 0 ;
31574 PyObject * obj1 = 0 ;
31575 PyObject * obj2 = 0 ;
31576 PyObject * obj3 = 0 ;
31577 PyObject * obj4 = 0 ;
31578 PyObject * obj5 = 0 ;
31579 char *kwnames[] = {
31580 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31581 };
31582
31583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31586 {
31587 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31588 if (PyErr_Occurred()) SWIG_fail;
31589 }
31590 {
31591 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31592 if (PyErr_Occurred()) SWIG_fail;
31593 }
31594 if (obj4) {
31595 {
31596 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31597 if (PyErr_Occurred()) SWIG_fail;
31598 }
31599 }
31600 if (obj5) {
31601 {
31602 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31603 if (PyErr_Occurred()) SWIG_fail;
31604 }
31605 }
31606 {
31607 PyThreadState* __tstate = wxPyBeginAllowThreads();
31608 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
31609
31610 wxPyEndAllowThreads(__tstate);
31611 if (PyErr_Occurred()) SWIG_fail;
31612 }
31613 Py_INCREF(Py_None); resultobj = Py_None;
31614 return resultobj;
31615 fail:
31616 return NULL;
31617 }
31618
31619
31620 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
31621 PyObject *resultobj;
31622 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31623 double arg2 ;
31624 double arg3 ;
31625 PyObject * obj0 = 0 ;
31626 PyObject * obj1 = 0 ;
31627 PyObject * obj2 = 0 ;
31628 char *kwnames[] = {
31629 (char *) "self",(char *) "w",(char *) "h", NULL
31630 };
31631
31632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
31633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31634 {
31635 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31636 if (PyErr_Occurred()) SWIG_fail;
31637 }
31638 {
31639 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31640 if (PyErr_Occurred()) SWIG_fail;
31641 }
31642 {
31643 PyThreadState* __tstate = wxPyBeginAllowThreads();
31644 (arg1)->base_OnBeginSize(arg2,arg3);
31645
31646 wxPyEndAllowThreads(__tstate);
31647 if (PyErr_Occurred()) SWIG_fail;
31648 }
31649 Py_INCREF(Py_None); resultobj = Py_None;
31650 return resultobj;
31651 fail:
31652 return NULL;
31653 }
31654
31655
31656 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
31657 PyObject *resultobj;
31658 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31659 double arg2 ;
31660 double arg3 ;
31661 PyObject * obj0 = 0 ;
31662 PyObject * obj1 = 0 ;
31663 PyObject * obj2 = 0 ;
31664 char *kwnames[] = {
31665 (char *) "self",(char *) "w",(char *) "h", NULL
31666 };
31667
31668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
31669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31670 {
31671 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31672 if (PyErr_Occurred()) SWIG_fail;
31673 }
31674 {
31675 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31676 if (PyErr_Occurred()) SWIG_fail;
31677 }
31678 {
31679 PyThreadState* __tstate = wxPyBeginAllowThreads();
31680 (arg1)->base_OnEndSize(arg2,arg3);
31681
31682 wxPyEndAllowThreads(__tstate);
31683 if (PyErr_Occurred()) SWIG_fail;
31684 }
31685 Py_INCREF(Py_None); resultobj = Py_None;
31686 return resultobj;
31687 fail:
31688 return NULL;
31689 }
31690
31691
31692 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
31693 PyObject *obj;
31694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31695 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
31696 Py_INCREF(obj);
31697 return Py_BuildValue((char *)"");
31698 }
31699 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
31700 PyObject *resultobj;
31701 wxDiagram *result;
31702 char *kwnames[] = {
31703 NULL
31704 };
31705
31706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
31707 {
31708 PyThreadState* __tstate = wxPyBeginAllowThreads();
31709 result = (wxDiagram *)new wxDiagram();
31710
31711 wxPyEndAllowThreads(__tstate);
31712 if (PyErr_Occurred()) SWIG_fail;
31713 }
31714 {
31715 resultobj = wxPyMake_wxObject(result);
31716 }
31717 return resultobj;
31718 fail:
31719 return NULL;
31720 }
31721
31722
31723 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31724 PyObject *resultobj;
31725 wxDiagram *arg1 = (wxDiagram *) 0 ;
31726 wxPyShape *arg2 = (wxPyShape *) 0 ;
31727 wxPyShape *arg3 = (wxPyShape *) NULL ;
31728 PyObject * obj0 = 0 ;
31729 PyObject * obj1 = 0 ;
31730 PyObject * obj2 = 0 ;
31731 char *kwnames[] = {
31732 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31733 };
31734
31735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
31736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31738 if (obj2) {
31739 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31740 }
31741 {
31742 PyThreadState* __tstate = wxPyBeginAllowThreads();
31743 (arg1)->AddShape(arg2,arg3);
31744
31745 wxPyEndAllowThreads(__tstate);
31746 if (PyErr_Occurred()) SWIG_fail;
31747 }
31748 Py_INCREF(Py_None); resultobj = Py_None;
31749 return resultobj;
31750 fail:
31751 return NULL;
31752 }
31753
31754
31755 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
31756 PyObject *resultobj;
31757 wxDiagram *arg1 = (wxDiagram *) 0 ;
31758 wxDC *arg2 = 0 ;
31759 PyObject * obj0 = 0 ;
31760 PyObject * obj1 = 0 ;
31761 char *kwnames[] = {
31762 (char *) "self",(char *) "dc", NULL
31763 };
31764
31765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
31766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31767 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31768 if (arg2 == NULL) {
31769 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31770 }
31771 {
31772 PyThreadState* __tstate = wxPyBeginAllowThreads();
31773 (arg1)->Clear(*arg2);
31774
31775 wxPyEndAllowThreads(__tstate);
31776 if (PyErr_Occurred()) SWIG_fail;
31777 }
31778 Py_INCREF(Py_None); resultobj = Py_None;
31779 return resultobj;
31780 fail:
31781 return NULL;
31782 }
31783
31784
31785 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
31786 PyObject *resultobj;
31787 wxDiagram *arg1 = (wxDiagram *) 0 ;
31788 PyObject * obj0 = 0 ;
31789 char *kwnames[] = {
31790 (char *) "self", NULL
31791 };
31792
31793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
31794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31795 {
31796 PyThreadState* __tstate = wxPyBeginAllowThreads();
31797 (arg1)->DeleteAllShapes();
31798
31799 wxPyEndAllowThreads(__tstate);
31800 if (PyErr_Occurred()) SWIG_fail;
31801 }
31802 Py_INCREF(Py_None); resultobj = Py_None;
31803 return resultobj;
31804 fail:
31805 return NULL;
31806 }
31807
31808
31809 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
31810 PyObject *resultobj;
31811 wxDiagram *arg1 = (wxDiagram *) 0 ;
31812 wxDC *arg2 = 0 ;
31813 double arg3 ;
31814 double arg4 ;
31815 double arg5 ;
31816 double arg6 ;
31817 PyObject * obj0 = 0 ;
31818 PyObject * obj1 = 0 ;
31819 PyObject * obj2 = 0 ;
31820 PyObject * obj3 = 0 ;
31821 PyObject * obj4 = 0 ;
31822 PyObject * obj5 = 0 ;
31823 char *kwnames[] = {
31824 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31825 };
31826
31827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31829 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31830 if (arg2 == NULL) {
31831 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31832 }
31833 {
31834 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31835 if (PyErr_Occurred()) SWIG_fail;
31836 }
31837 {
31838 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31839 if (PyErr_Occurred()) SWIG_fail;
31840 }
31841 {
31842 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
31843 if (PyErr_Occurred()) SWIG_fail;
31844 }
31845 {
31846 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
31847 if (PyErr_Occurred()) SWIG_fail;
31848 }
31849 {
31850 PyThreadState* __tstate = wxPyBeginAllowThreads();
31851 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
31852
31853 wxPyEndAllowThreads(__tstate);
31854 if (PyErr_Occurred()) SWIG_fail;
31855 }
31856 Py_INCREF(Py_None); resultobj = Py_None;
31857 return resultobj;
31858 fail:
31859 return NULL;
31860 }
31861
31862
31863 static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31864 PyObject *resultobj;
31865 wxDiagram *arg1 = (wxDiagram *) 0 ;
31866 long arg2 ;
31867 wxPyShape *result;
31868 PyObject * obj0 = 0 ;
31869 PyObject * obj1 = 0 ;
31870 char *kwnames[] = {
31871 (char *) "self",(char *) "id", NULL
31872 };
31873
31874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
31875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31876 {
31877 arg2 = (long) SWIG_PyObj_AsLong(obj1);
31878 if (PyErr_Occurred()) SWIG_fail;
31879 }
31880 {
31881 PyThreadState* __tstate = wxPyBeginAllowThreads();
31882 result = (wxPyShape *)(arg1)->FindShape(arg2);
31883
31884 wxPyEndAllowThreads(__tstate);
31885 if (PyErr_Occurred()) SWIG_fail;
31886 }
31887 {
31888 resultobj = wxPyMake_wxShapeEvtHandler(result);
31889 }
31890 return resultobj;
31891 fail:
31892 return NULL;
31893 }
31894
31895
31896 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31897 PyObject *resultobj;
31898 wxDiagram *arg1 = (wxDiagram *) 0 ;
31899 wxPyShapeCanvas *result;
31900 PyObject * obj0 = 0 ;
31901 char *kwnames[] = {
31902 (char *) "self", NULL
31903 };
31904
31905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
31906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31907 {
31908 PyThreadState* __tstate = wxPyBeginAllowThreads();
31909 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
31910
31911 wxPyEndAllowThreads(__tstate);
31912 if (PyErr_Occurred()) SWIG_fail;
31913 }
31914 {
31915 resultobj = wxPyMake_wxObject(result);
31916 }
31917 return resultobj;
31918 fail:
31919 return NULL;
31920 }
31921
31922
31923 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
31924 PyObject *resultobj;
31925 wxDiagram *arg1 = (wxDiagram *) 0 ;
31926 int result;
31927 PyObject * obj0 = 0 ;
31928 char *kwnames[] = {
31929 (char *) "self", NULL
31930 };
31931
31932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
31933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31934 {
31935 PyThreadState* __tstate = wxPyBeginAllowThreads();
31936 result = (int)(arg1)->GetCount();
31937
31938 wxPyEndAllowThreads(__tstate);
31939 if (PyErr_Occurred()) SWIG_fail;
31940 }
31941 resultobj = SWIG_PyObj_FromInt((int)result);
31942 return resultobj;
31943 fail:
31944 return NULL;
31945 }
31946
31947
31948 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31949 PyObject *resultobj;
31950 wxDiagram *arg1 = (wxDiagram *) 0 ;
31951 double result;
31952 PyObject * obj0 = 0 ;
31953 char *kwnames[] = {
31954 (char *) "self", NULL
31955 };
31956
31957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
31958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31959 {
31960 PyThreadState* __tstate = wxPyBeginAllowThreads();
31961 result = (double)(arg1)->GetGridSpacing();
31962
31963 wxPyEndAllowThreads(__tstate);
31964 if (PyErr_Occurred()) SWIG_fail;
31965 }
31966 resultobj = SWIG_PyObj_FromDouble((double)result);
31967 return resultobj;
31968 fail:
31969 return NULL;
31970 }
31971
31972
31973 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31974 PyObject *resultobj;
31975 wxDiagram *arg1 = (wxDiagram *) 0 ;
31976 int result;
31977 PyObject * obj0 = 0 ;
31978 char *kwnames[] = {
31979 (char *) "self", NULL
31980 };
31981
31982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
31983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31984 {
31985 PyThreadState* __tstate = wxPyBeginAllowThreads();
31986 result = (int)(arg1)->GetMouseTolerance();
31987
31988 wxPyEndAllowThreads(__tstate);
31989 if (PyErr_Occurred()) SWIG_fail;
31990 }
31991 resultobj = SWIG_PyObj_FromInt((int)result);
31992 return resultobj;
31993 fail:
31994 return NULL;
31995 }
31996
31997
31998 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
31999 PyObject *resultobj;
32000 wxDiagram *arg1 = (wxDiagram *) 0 ;
32001 PyObject *result;
32002 PyObject * obj0 = 0 ;
32003 char *kwnames[] = {
32004 (char *) "self", NULL
32005 };
32006
32007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
32008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32009 {
32010 PyThreadState* __tstate = wxPyBeginAllowThreads();
32011 result = (PyObject *)wxDiagram_GetShapeList(arg1);
32012
32013 wxPyEndAllowThreads(__tstate);
32014 if (PyErr_Occurred()) SWIG_fail;
32015 }
32016 resultobj = result;
32017 return resultobj;
32018 fail:
32019 return NULL;
32020 }
32021
32022
32023 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32024 PyObject *resultobj;
32025 wxDiagram *arg1 = (wxDiagram *) 0 ;
32026 bool result;
32027 PyObject * obj0 = 0 ;
32028 char *kwnames[] = {
32029 (char *) "self", NULL
32030 };
32031
32032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
32033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32034 {
32035 PyThreadState* __tstate = wxPyBeginAllowThreads();
32036 result = (bool)(arg1)->GetQuickEditMode();
32037
32038 wxPyEndAllowThreads(__tstate);
32039 if (PyErr_Occurred()) SWIG_fail;
32040 }
32041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32042 return resultobj;
32043 fail:
32044 return NULL;
32045 }
32046
32047
32048 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
32049 PyObject *resultobj;
32050 wxDiagram *arg1 = (wxDiagram *) 0 ;
32051 bool result;
32052 PyObject * obj0 = 0 ;
32053 char *kwnames[] = {
32054 (char *) "self", NULL
32055 };
32056
32057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
32058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32059 {
32060 PyThreadState* __tstate = wxPyBeginAllowThreads();
32061 result = (bool)(arg1)->GetSnapToGrid();
32062
32063 wxPyEndAllowThreads(__tstate);
32064 if (PyErr_Occurred()) SWIG_fail;
32065 }
32066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32067 return resultobj;
32068 fail:
32069 return NULL;
32070 }
32071
32072
32073 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32074 PyObject *resultobj;
32075 wxDiagram *arg1 = (wxDiagram *) 0 ;
32076 wxPyShape *arg2 = (wxPyShape *) 0 ;
32077 PyObject * obj0 = 0 ;
32078 PyObject * obj1 = 0 ;
32079 char *kwnames[] = {
32080 (char *) "self",(char *) "shape", NULL
32081 };
32082
32083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
32084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32086 {
32087 PyThreadState* __tstate = wxPyBeginAllowThreads();
32088 (arg1)->InsertShape(arg2);
32089
32090 wxPyEndAllowThreads(__tstate);
32091 if (PyErr_Occurred()) SWIG_fail;
32092 }
32093 Py_INCREF(Py_None); resultobj = Py_None;
32094 return resultobj;
32095 fail:
32096 return NULL;
32097 }
32098
32099
32100 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
32101 PyObject *resultobj;
32102 wxDiagram *arg1 = (wxDiagram *) 0 ;
32103 wxDC *arg2 = 0 ;
32104 PyObject * obj0 = 0 ;
32105 PyObject * obj1 = 0 ;
32106 char *kwnames[] = {
32107 (char *) "self",(char *) "dc", NULL
32108 };
32109
32110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
32111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32113 if (arg2 == NULL) {
32114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32115 }
32116 {
32117 PyThreadState* __tstate = wxPyBeginAllowThreads();
32118 (arg1)->RecentreAll(*arg2);
32119
32120 wxPyEndAllowThreads(__tstate);
32121 if (PyErr_Occurred()) SWIG_fail;
32122 }
32123 Py_INCREF(Py_None); resultobj = Py_None;
32124 return resultobj;
32125 fail:
32126 return NULL;
32127 }
32128
32129
32130 static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
32131 PyObject *resultobj;
32132 wxDiagram *arg1 = (wxDiagram *) 0 ;
32133 wxDC *arg2 = 0 ;
32134 PyObject * obj0 = 0 ;
32135 PyObject * obj1 = 0 ;
32136 char *kwnames[] = {
32137 (char *) "self",(char *) "dc", NULL
32138 };
32139
32140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
32141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32143 if (arg2 == NULL) {
32144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32145 }
32146 {
32147 PyThreadState* __tstate = wxPyBeginAllowThreads();
32148 (arg1)->Redraw(*arg2);
32149
32150 wxPyEndAllowThreads(__tstate);
32151 if (PyErr_Occurred()) SWIG_fail;
32152 }
32153 Py_INCREF(Py_None); resultobj = Py_None;
32154 return resultobj;
32155 fail:
32156 return NULL;
32157 }
32158
32159
32160 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
32161 PyObject *resultobj;
32162 wxDiagram *arg1 = (wxDiagram *) 0 ;
32163 PyObject * obj0 = 0 ;
32164 char *kwnames[] = {
32165 (char *) "self", NULL
32166 };
32167
32168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
32169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32170 {
32171 PyThreadState* __tstate = wxPyBeginAllowThreads();
32172 (arg1)->RemoveAllShapes();
32173
32174 wxPyEndAllowThreads(__tstate);
32175 if (PyErr_Occurred()) SWIG_fail;
32176 }
32177 Py_INCREF(Py_None); resultobj = Py_None;
32178 return resultobj;
32179 fail:
32180 return NULL;
32181 }
32182
32183
32184 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32185 PyObject *resultobj;
32186 wxDiagram *arg1 = (wxDiagram *) 0 ;
32187 wxPyShape *arg2 = (wxPyShape *) 0 ;
32188 PyObject * obj0 = 0 ;
32189 PyObject * obj1 = 0 ;
32190 char *kwnames[] = {
32191 (char *) "self",(char *) "shape", NULL
32192 };
32193
32194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
32195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32197 {
32198 PyThreadState* __tstate = wxPyBeginAllowThreads();
32199 (arg1)->RemoveShape(arg2);
32200
32201 wxPyEndAllowThreads(__tstate);
32202 if (PyErr_Occurred()) SWIG_fail;
32203 }
32204 Py_INCREF(Py_None); resultobj = Py_None;
32205 return resultobj;
32206 fail:
32207 return NULL;
32208 }
32209
32210
32211 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
32212 PyObject *resultobj;
32213 wxDiagram *arg1 = (wxDiagram *) 0 ;
32214 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
32215 PyObject * obj0 = 0 ;
32216 PyObject * obj1 = 0 ;
32217 char *kwnames[] = {
32218 (char *) "self",(char *) "canvas", NULL
32219 };
32220
32221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
32222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32224 {
32225 PyThreadState* __tstate = wxPyBeginAllowThreads();
32226 (arg1)->SetCanvas(arg2);
32227
32228 wxPyEndAllowThreads(__tstate);
32229 if (PyErr_Occurred()) SWIG_fail;
32230 }
32231 Py_INCREF(Py_None); resultobj = Py_None;
32232 return resultobj;
32233 fail:
32234 return NULL;
32235 }
32236
32237
32238 static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
32239 PyObject *resultobj;
32240 wxDiagram *arg1 = (wxDiagram *) 0 ;
32241 double arg2 ;
32242 PyObject * obj0 = 0 ;
32243 PyObject * obj1 = 0 ;
32244 char *kwnames[] = {
32245 (char *) "self",(char *) "spacing", NULL
32246 };
32247
32248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
32249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32250 {
32251 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32252 if (PyErr_Occurred()) SWIG_fail;
32253 }
32254 {
32255 PyThreadState* __tstate = wxPyBeginAllowThreads();
32256 (arg1)->SetGridSpacing(arg2);
32257
32258 wxPyEndAllowThreads(__tstate);
32259 if (PyErr_Occurred()) SWIG_fail;
32260 }
32261 Py_INCREF(Py_None); resultobj = Py_None;
32262 return resultobj;
32263 fail:
32264 return NULL;
32265 }
32266
32267
32268 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
32269 PyObject *resultobj;
32270 wxDiagram *arg1 = (wxDiagram *) 0 ;
32271 int arg2 ;
32272 PyObject * obj0 = 0 ;
32273 PyObject * obj1 = 0 ;
32274 char *kwnames[] = {
32275 (char *) "self",(char *) "tolerance", NULL
32276 };
32277
32278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
32279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32280 {
32281 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32282 if (PyErr_Occurred()) SWIG_fail;
32283 }
32284 {
32285 PyThreadState* __tstate = wxPyBeginAllowThreads();
32286 (arg1)->SetMouseTolerance(arg2);
32287
32288 wxPyEndAllowThreads(__tstate);
32289 if (PyErr_Occurred()) SWIG_fail;
32290 }
32291 Py_INCREF(Py_None); resultobj = Py_None;
32292 return resultobj;
32293 fail:
32294 return NULL;
32295 }
32296
32297
32298 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32299 PyObject *resultobj;
32300 wxDiagram *arg1 = (wxDiagram *) 0 ;
32301 bool arg2 ;
32302 PyObject * obj0 = 0 ;
32303 PyObject * obj1 = 0 ;
32304 char *kwnames[] = {
32305 (char *) "self",(char *) "mode", NULL
32306 };
32307
32308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
32309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32310 {
32311 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
32312 if (PyErr_Occurred()) SWIG_fail;
32313 }
32314 {
32315 PyThreadState* __tstate = wxPyBeginAllowThreads();
32316 (arg1)->SetQuickEditMode(arg2);
32317
32318 wxPyEndAllowThreads(__tstate);
32319 if (PyErr_Occurred()) SWIG_fail;
32320 }
32321 Py_INCREF(Py_None); resultobj = Py_None;
32322 return resultobj;
32323 fail:
32324 return NULL;
32325 }
32326
32327
32328 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
32329 PyObject *resultobj;
32330 wxDiagram *arg1 = (wxDiagram *) 0 ;
32331 bool arg2 ;
32332 PyObject * obj0 = 0 ;
32333 PyObject * obj1 = 0 ;
32334 char *kwnames[] = {
32335 (char *) "self",(char *) "snap", NULL
32336 };
32337
32338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
32339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32340 {
32341 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
32342 if (PyErr_Occurred()) SWIG_fail;
32343 }
32344 {
32345 PyThreadState* __tstate = wxPyBeginAllowThreads();
32346 (arg1)->SetSnapToGrid(arg2);
32347
32348 wxPyEndAllowThreads(__tstate);
32349 if (PyErr_Occurred()) SWIG_fail;
32350 }
32351 Py_INCREF(Py_None); resultobj = Py_None;
32352 return resultobj;
32353 fail:
32354 return NULL;
32355 }
32356
32357
32358 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
32359 PyObject *resultobj;
32360 wxDiagram *arg1 = (wxDiagram *) 0 ;
32361 bool arg2 ;
32362 PyObject * obj0 = 0 ;
32363 PyObject * obj1 = 0 ;
32364 char *kwnames[] = {
32365 (char *) "self",(char *) "show", NULL
32366 };
32367
32368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
32369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32370 {
32371 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
32372 if (PyErr_Occurred()) SWIG_fail;
32373 }
32374 {
32375 PyThreadState* __tstate = wxPyBeginAllowThreads();
32376 (arg1)->ShowAll(arg2);
32377
32378 wxPyEndAllowThreads(__tstate);
32379 if (PyErr_Occurred()) SWIG_fail;
32380 }
32381 Py_INCREF(Py_None); resultobj = Py_None;
32382 return resultobj;
32383 fail:
32384 return NULL;
32385 }
32386
32387
32388 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
32389 PyObject *resultobj;
32390 wxDiagram *arg1 = (wxDiagram *) 0 ;
32391 double *arg2 = (double *) 0 ;
32392 double *arg3 = (double *) 0 ;
32393 double temp2 ;
32394 double temp3 ;
32395 PyObject * obj0 = 0 ;
32396 PyObject * obj1 = 0 ;
32397 PyObject * obj2 = 0 ;
32398 char *kwnames[] = {
32399 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32400 };
32401
32402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
32403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32404 {
32405 temp2 = PyFloat_AsDouble(obj1);
32406 if (PyErr_Occurred()) SWIG_fail;
32407 arg2 = &temp2;
32408 }
32409 {
32410 temp3 = PyFloat_AsDouble(obj2);
32411 if (PyErr_Occurred()) SWIG_fail;
32412 arg3 = &temp3;
32413 }
32414 {
32415 PyThreadState* __tstate = wxPyBeginAllowThreads();
32416 (arg1)->Snap(arg2,arg3);
32417
32418 wxPyEndAllowThreads(__tstate);
32419 if (PyErr_Occurred()) SWIG_fail;
32420 }
32421 Py_INCREF(Py_None); resultobj = Py_None;
32422 {
32423 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32424 resultobj = t_output_helper(resultobj,o);
32425 }
32426 {
32427 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32428 resultobj = t_output_helper(resultobj,o);
32429 }
32430 return resultobj;
32431 fail:
32432 return NULL;
32433 }
32434
32435
32436 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
32437 PyObject *obj;
32438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32439 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
32440 Py_INCREF(obj);
32441 return Py_BuildValue((char *)"");
32442 }
32443 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
32444 PyObject *resultobj;
32445 wxWindow *arg1 = (wxWindow *) NULL ;
32446 int arg2 = (int) -1 ;
32447 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32448 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32449 wxSize const &arg4_defvalue = wxDefaultSize ;
32450 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32451 long arg5 = (long) wxBORDER ;
32452 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
32453 wxString *arg6 = (wxString *) &arg6_defvalue ;
32454 wxPyShapeCanvas *result;
32455 wxPoint temp3 ;
32456 wxSize temp4 ;
32457 bool temp6 = False ;
32458 PyObject * obj0 = 0 ;
32459 PyObject * obj1 = 0 ;
32460 PyObject * obj2 = 0 ;
32461 PyObject * obj3 = 0 ;
32462 PyObject * obj4 = 0 ;
32463 PyObject * obj5 = 0 ;
32464 char *kwnames[] = {
32465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32466 };
32467
32468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32469 if (obj0) {
32470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32471 }
32472 if (obj1) {
32473 {
32474 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32475 if (PyErr_Occurred()) SWIG_fail;
32476 }
32477 }
32478 if (obj2) {
32479 {
32480 arg3 = &temp3;
32481 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32482 }
32483 }
32484 if (obj3) {
32485 {
32486 arg4 = &temp4;
32487 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32488 }
32489 }
32490 if (obj4) {
32491 {
32492 arg5 = (long) SWIG_PyObj_AsLong(obj4);
32493 if (PyErr_Occurred()) SWIG_fail;
32494 }
32495 }
32496 if (obj5) {
32497 {
32498 arg6 = wxString_in_helper(obj5);
32499 if (arg6 == NULL) SWIG_fail;
32500 temp6 = True;
32501 }
32502 }
32503 {
32504 PyThreadState* __tstate = wxPyBeginAllowThreads();
32505 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
32506
32507 wxPyEndAllowThreads(__tstate);
32508 if (PyErr_Occurred()) SWIG_fail;
32509 }
32510 {
32511 resultobj = wxPyMake_wxObject(result);
32512 }
32513 {
32514 if (temp6)
32515 delete arg6;
32516 }
32517 return resultobj;
32518 fail:
32519 {
32520 if (temp6)
32521 delete arg6;
32522 }
32523 return NULL;
32524 }
32525
32526
32527 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
32528 PyObject *resultobj;
32529 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32530 PyObject *arg2 = (PyObject *) 0 ;
32531 PyObject *arg3 = (PyObject *) 0 ;
32532 PyObject * obj0 = 0 ;
32533 PyObject * obj1 = 0 ;
32534 PyObject * obj2 = 0 ;
32535 char *kwnames[] = {
32536 (char *) "self",(char *) "self",(char *) "_class", NULL
32537 };
32538
32539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32541 arg2 = obj1;
32542 arg3 = obj2;
32543 {
32544 PyThreadState* __tstate = wxPyBeginAllowThreads();
32545 (arg1)->_setCallbackInfo(arg2,arg3);
32546
32547 wxPyEndAllowThreads(__tstate);
32548 if (PyErr_Occurred()) SWIG_fail;
32549 }
32550 Py_INCREF(Py_None); resultobj = Py_None;
32551 return resultobj;
32552 fail:
32553 return NULL;
32554 }
32555
32556
32557 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32558 PyObject *resultobj;
32559 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32560 wxPyShape *arg2 = (wxPyShape *) 0 ;
32561 wxPyShape *arg3 = (wxPyShape *) NULL ;
32562 PyObject * obj0 = 0 ;
32563 PyObject * obj1 = 0 ;
32564 PyObject * obj2 = 0 ;
32565 char *kwnames[] = {
32566 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
32567 };
32568
32569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
32570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32572 if (obj2) {
32573 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32574 }
32575 {
32576 PyThreadState* __tstate = wxPyBeginAllowThreads();
32577 (arg1)->AddShape(arg2,arg3);
32578
32579 wxPyEndAllowThreads(__tstate);
32580 if (PyErr_Occurred()) SWIG_fail;
32581 }
32582 Py_INCREF(Py_None); resultobj = Py_None;
32583 return resultobj;
32584 fail:
32585 return NULL;
32586 }
32587
32588
32589 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32590 PyObject *resultobj;
32591 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32592 double arg2 ;
32593 double arg3 ;
32594 int *arg4 = (int *) 0 ;
32595 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
32596 wxPyShape *arg6 = (wxPyShape *) NULL ;
32597 wxPyShape *result;
32598 int temp4 ;
32599 PyObject * obj0 = 0 ;
32600 PyObject * obj1 = 0 ;
32601 PyObject * obj2 = 0 ;
32602 PyObject * obj3 = 0 ;
32603 PyObject * obj4 = 0 ;
32604 char *kwnames[] = {
32605 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
32606 };
32607
32608 arg4 = &temp4;
32609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32611 {
32612 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32613 if (PyErr_Occurred()) SWIG_fail;
32614 }
32615 {
32616 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32617 if (PyErr_Occurred()) SWIG_fail;
32618 }
32619 if (obj3) {
32620 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxClassInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32621 }
32622 if (obj4) {
32623 if ((SWIG_ConvertPtr(obj4,(void **) &arg6, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32624 }
32625 {
32626 PyThreadState* __tstate = wxPyBeginAllowThreads();
32627 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
32628
32629 wxPyEndAllowThreads(__tstate);
32630 if (PyErr_Occurred()) SWIG_fail;
32631 }
32632 {
32633 resultobj = wxPyMake_wxShapeEvtHandler(result);
32634 }
32635 {
32636 PyObject *o = PyInt_FromLong((long) (*arg4));
32637 resultobj = t_output_helper(resultobj,o);
32638 }
32639 return resultobj;
32640 fail:
32641 return NULL;
32642 }
32643
32644
32645 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32646 PyObject *resultobj;
32647 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32648 double arg2 ;
32649 double arg3 ;
32650 int *arg4 = (int *) 0 ;
32651 int arg5 ;
32652 wxPyShape *result;
32653 int temp4 ;
32654 PyObject * obj0 = 0 ;
32655 PyObject * obj1 = 0 ;
32656 PyObject * obj2 = 0 ;
32657 PyObject * obj3 = 0 ;
32658 char *kwnames[] = {
32659 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
32660 };
32661
32662 arg4 = &temp4;
32663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32665 {
32666 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32667 if (PyErr_Occurred()) SWIG_fail;
32668 }
32669 {
32670 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32671 if (PyErr_Occurred()) SWIG_fail;
32672 }
32673 {
32674 arg5 = (int) SWIG_PyObj_AsInt(obj3);
32675 if (PyErr_Occurred()) SWIG_fail;
32676 }
32677 {
32678 PyThreadState* __tstate = wxPyBeginAllowThreads();
32679 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
32680
32681 wxPyEndAllowThreads(__tstate);
32682 if (PyErr_Occurred()) SWIG_fail;
32683 }
32684 {
32685 resultobj = wxPyMake_wxShapeEvtHandler(result);
32686 }
32687 {
32688 PyObject *o = PyInt_FromLong((long) (*arg4));
32689 resultobj = t_output_helper(resultobj,o);
32690 }
32691 return resultobj;
32692 fail:
32693 return NULL;
32694 }
32695
32696
32697 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
32698 PyObject *resultobj;
32699 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32700 wxDiagram *result;
32701 PyObject * obj0 = 0 ;
32702 char *kwnames[] = {
32703 (char *) "self", NULL
32704 };
32705
32706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
32707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32708 {
32709 PyThreadState* __tstate = wxPyBeginAllowThreads();
32710 result = (wxDiagram *)(arg1)->GetDiagram();
32711
32712 wxPyEndAllowThreads(__tstate);
32713 if (PyErr_Occurred()) SWIG_fail;
32714 }
32715 {
32716 resultobj = wxPyMake_wxObject(result);
32717 }
32718 return resultobj;
32719 fail:
32720 return NULL;
32721 }
32722
32723
32724 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32725 PyObject *resultobj;
32726 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32727 bool result;
32728 PyObject * obj0 = 0 ;
32729 char *kwnames[] = {
32730 (char *) "self", NULL
32731 };
32732
32733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
32734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32735 {
32736 PyThreadState* __tstate = wxPyBeginAllowThreads();
32737 result = (bool)(arg1)->GetQuickEditMode();
32738
32739 wxPyEndAllowThreads(__tstate);
32740 if (PyErr_Occurred()) SWIG_fail;
32741 }
32742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32743 return resultobj;
32744 fail:
32745 return NULL;
32746 }
32747
32748
32749 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32750 PyObject *resultobj;
32751 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32752 wxPyShape *arg2 = (wxPyShape *) 0 ;
32753 PyObject * obj0 = 0 ;
32754 PyObject * obj1 = 0 ;
32755 char *kwnames[] = {
32756 (char *) "self",(char *) "shape", NULL
32757 };
32758
32759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
32760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32762 {
32763 PyThreadState* __tstate = wxPyBeginAllowThreads();
32764 (arg1)->InsertShape(arg2);
32765
32766 wxPyEndAllowThreads(__tstate);
32767 if (PyErr_Occurred()) SWIG_fail;
32768 }
32769 Py_INCREF(Py_None); resultobj = Py_None;
32770 return resultobj;
32771 fail:
32772 return NULL;
32773 }
32774
32775
32776 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32777 PyObject *resultobj;
32778 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32779 double arg2 ;
32780 double arg3 ;
32781 int arg4 = (int) 0 ;
32782 PyObject * obj0 = 0 ;
32783 PyObject * obj1 = 0 ;
32784 PyObject * obj2 = 0 ;
32785 PyObject * obj3 = 0 ;
32786 char *kwnames[] = {
32787 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32788 };
32789
32790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32792 {
32793 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32794 if (PyErr_Occurred()) SWIG_fail;
32795 }
32796 {
32797 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32798 if (PyErr_Occurred()) SWIG_fail;
32799 }
32800 if (obj3) {
32801 {
32802 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32803 if (PyErr_Occurred()) SWIG_fail;
32804 }
32805 }
32806 {
32807 PyThreadState* __tstate = wxPyBeginAllowThreads();
32808 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
32809
32810 wxPyEndAllowThreads(__tstate);
32811 if (PyErr_Occurred()) SWIG_fail;
32812 }
32813 Py_INCREF(Py_None); resultobj = Py_None;
32814 return resultobj;
32815 fail:
32816 return NULL;
32817 }
32818
32819
32820 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32821 PyObject *resultobj;
32822 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32823 double arg2 ;
32824 double arg3 ;
32825 int arg4 = (int) 0 ;
32826 PyObject * obj0 = 0 ;
32827 PyObject * obj1 = 0 ;
32828 PyObject * obj2 = 0 ;
32829 PyObject * obj3 = 0 ;
32830 char *kwnames[] = {
32831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32832 };
32833
32834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32836 {
32837 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32838 if (PyErr_Occurred()) SWIG_fail;
32839 }
32840 {
32841 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32842 if (PyErr_Occurred()) SWIG_fail;
32843 }
32844 if (obj3) {
32845 {
32846 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32847 if (PyErr_Occurred()) SWIG_fail;
32848 }
32849 }
32850 {
32851 PyThreadState* __tstate = wxPyBeginAllowThreads();
32852 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
32853
32854 wxPyEndAllowThreads(__tstate);
32855 if (PyErr_Occurred()) SWIG_fail;
32856 }
32857 Py_INCREF(Py_None); resultobj = Py_None;
32858 return resultobj;
32859 fail:
32860 return NULL;
32861 }
32862
32863
32864 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32865 PyObject *resultobj;
32866 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32867 double arg2 ;
32868 double arg3 ;
32869 int arg4 = (int) 0 ;
32870 PyObject * obj0 = 0 ;
32871 PyObject * obj1 = 0 ;
32872 PyObject * obj2 = 0 ;
32873 PyObject * obj3 = 0 ;
32874 char *kwnames[] = {
32875 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32876 };
32877
32878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32880 {
32881 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32882 if (PyErr_Occurred()) SWIG_fail;
32883 }
32884 {
32885 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32886 if (PyErr_Occurred()) SWIG_fail;
32887 }
32888 if (obj3) {
32889 {
32890 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32891 if (PyErr_Occurred()) SWIG_fail;
32892 }
32893 }
32894 {
32895 PyThreadState* __tstate = wxPyBeginAllowThreads();
32896 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
32897
32898 wxPyEndAllowThreads(__tstate);
32899 if (PyErr_Occurred()) SWIG_fail;
32900 }
32901 Py_INCREF(Py_None); resultobj = Py_None;
32902 return resultobj;
32903 fail:
32904 return NULL;
32905 }
32906
32907
32908 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32909 PyObject *resultobj;
32910 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32911 double arg2 ;
32912 double arg3 ;
32913 int arg4 = (int) 0 ;
32914 PyObject * obj0 = 0 ;
32915 PyObject * obj1 = 0 ;
32916 PyObject * obj2 = 0 ;
32917 PyObject * obj3 = 0 ;
32918 char *kwnames[] = {
32919 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32920 };
32921
32922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32924 {
32925 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32926 if (PyErr_Occurred()) SWIG_fail;
32927 }
32928 {
32929 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32930 if (PyErr_Occurred()) SWIG_fail;
32931 }
32932 if (obj3) {
32933 {
32934 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32935 if (PyErr_Occurred()) SWIG_fail;
32936 }
32937 }
32938 {
32939 PyThreadState* __tstate = wxPyBeginAllowThreads();
32940 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32941
32942 wxPyEndAllowThreads(__tstate);
32943 if (PyErr_Occurred()) SWIG_fail;
32944 }
32945 Py_INCREF(Py_None); resultobj = Py_None;
32946 return resultobj;
32947 fail:
32948 return NULL;
32949 }
32950
32951
32952 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32953 PyObject *resultobj;
32954 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32955 bool arg2 ;
32956 double arg3 ;
32957 double arg4 ;
32958 int arg5 = (int) 0 ;
32959 PyObject * obj0 = 0 ;
32960 PyObject * obj1 = 0 ;
32961 PyObject * obj2 = 0 ;
32962 PyObject * obj3 = 0 ;
32963 PyObject * obj4 = 0 ;
32964 char *kwnames[] = {
32965 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32966 };
32967
32968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32970 {
32971 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
32972 if (PyErr_Occurred()) SWIG_fail;
32973 }
32974 {
32975 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32976 if (PyErr_Occurred()) SWIG_fail;
32977 }
32978 {
32979 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
32980 if (PyErr_Occurred()) SWIG_fail;
32981 }
32982 if (obj4) {
32983 {
32984 arg5 = (int) SWIG_PyObj_AsInt(obj4);
32985 if (PyErr_Occurred()) SWIG_fail;
32986 }
32987 }
32988 {
32989 PyThreadState* __tstate = wxPyBeginAllowThreads();
32990 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32991
32992 wxPyEndAllowThreads(__tstate);
32993 if (PyErr_Occurred()) SWIG_fail;
32994 }
32995 Py_INCREF(Py_None); resultobj = Py_None;
32996 return resultobj;
32997 fail:
32998 return NULL;
32999 }
33000
33001
33002 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
33003 PyObject *resultobj;
33004 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33005 bool arg2 ;
33006 double arg3 ;
33007 double arg4 ;
33008 int arg5 = (int) 0 ;
33009 PyObject * obj0 = 0 ;
33010 PyObject * obj1 = 0 ;
33011 PyObject * obj2 = 0 ;
33012 PyObject * obj3 = 0 ;
33013 PyObject * obj4 = 0 ;
33014 char *kwnames[] = {
33015 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
33016 };
33017
33018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33020 {
33021 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
33022 if (PyErr_Occurred()) SWIG_fail;
33023 }
33024 {
33025 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
33026 if (PyErr_Occurred()) SWIG_fail;
33027 }
33028 {
33029 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
33030 if (PyErr_Occurred()) SWIG_fail;
33031 }
33032 if (obj4) {
33033 {
33034 arg5 = (int) SWIG_PyObj_AsInt(obj4);
33035 if (PyErr_Occurred()) SWIG_fail;
33036 }
33037 }
33038 {
33039 PyThreadState* __tstate = wxPyBeginAllowThreads();
33040 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
33041
33042 wxPyEndAllowThreads(__tstate);
33043 if (PyErr_Occurred()) SWIG_fail;
33044 }
33045 Py_INCREF(Py_None); resultobj = Py_None;
33046 return resultobj;
33047 fail:
33048 return NULL;
33049 }
33050
33051
33052 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
33053 PyObject *resultobj;
33054 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33055 double arg2 ;
33056 double arg3 ;
33057 int arg4 = (int) 0 ;
33058 PyObject * obj0 = 0 ;
33059 PyObject * obj1 = 0 ;
33060 PyObject * obj2 = 0 ;
33061 PyObject * obj3 = 0 ;
33062 char *kwnames[] = {
33063 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
33064 };
33065
33066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
33067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33068 {
33069 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
33070 if (PyErr_Occurred()) SWIG_fail;
33071 }
33072 {
33073 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
33074 if (PyErr_Occurred()) SWIG_fail;
33075 }
33076 if (obj3) {
33077 {
33078 arg4 = (int) SWIG_PyObj_AsInt(obj3);
33079 if (PyErr_Occurred()) SWIG_fail;
33080 }
33081 }
33082 {
33083 PyThreadState* __tstate = wxPyBeginAllowThreads();
33084 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
33085
33086 wxPyEndAllowThreads(__tstate);
33087 if (PyErr_Occurred()) SWIG_fail;
33088 }
33089 Py_INCREF(Py_None); resultobj = Py_None;
33090 return resultobj;
33091 fail:
33092 return NULL;
33093 }
33094
33095
33096 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
33097 PyObject *resultobj;
33098 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33099 double arg2 ;
33100 double arg3 ;
33101 int arg4 = (int) 0 ;
33102 PyObject * obj0 = 0 ;
33103 PyObject * obj1 = 0 ;
33104 PyObject * obj2 = 0 ;
33105 PyObject * obj3 = 0 ;
33106 char *kwnames[] = {
33107 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
33108 };
33109
33110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
33111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33112 {
33113 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
33114 if (PyErr_Occurred()) SWIG_fail;
33115 }
33116 {
33117 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
33118 if (PyErr_Occurred()) SWIG_fail;
33119 }
33120 if (obj3) {
33121 {
33122 arg4 = (int) SWIG_PyObj_AsInt(obj3);
33123 if (PyErr_Occurred()) SWIG_fail;
33124 }
33125 }
33126 {
33127 PyThreadState* __tstate = wxPyBeginAllowThreads();
33128 (arg1)->base_OnRightClick(arg2,arg3,arg4);
33129
33130 wxPyEndAllowThreads(__tstate);
33131 if (PyErr_Occurred()) SWIG_fail;
33132 }
33133 Py_INCREF(Py_None); resultobj = Py_None;
33134 return resultobj;
33135 fail:
33136 return NULL;
33137 }
33138
33139
33140 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
33141 PyObject *resultobj;
33142 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33143 wxDC *arg2 = 0 ;
33144 PyObject * obj0 = 0 ;
33145 PyObject * obj1 = 0 ;
33146 char *kwnames[] = {
33147 (char *) "self",(char *) "dc", NULL
33148 };
33149
33150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
33151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33153 if (arg2 == NULL) {
33154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33155 }
33156 {
33157 PyThreadState* __tstate = wxPyBeginAllowThreads();
33158 (arg1)->Redraw(*arg2);
33159
33160 wxPyEndAllowThreads(__tstate);
33161 if (PyErr_Occurred()) SWIG_fail;
33162 }
33163 Py_INCREF(Py_None); resultobj = Py_None;
33164 return resultobj;
33165 fail:
33166 return NULL;
33167 }
33168
33169
33170 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
33171 PyObject *resultobj;
33172 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33173 wxPyShape *arg2 = (wxPyShape *) 0 ;
33174 PyObject * obj0 = 0 ;
33175 PyObject * obj1 = 0 ;
33176 char *kwnames[] = {
33177 (char *) "self",(char *) "shape", NULL
33178 };
33179
33180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
33181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33183 {
33184 PyThreadState* __tstate = wxPyBeginAllowThreads();
33185 (arg1)->RemoveShape(arg2);
33186
33187 wxPyEndAllowThreads(__tstate);
33188 if (PyErr_Occurred()) SWIG_fail;
33189 }
33190 Py_INCREF(Py_None); resultobj = Py_None;
33191 return resultobj;
33192 fail:
33193 return NULL;
33194 }
33195
33196
33197 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
33198 PyObject *resultobj;
33199 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33200 wxDiagram *arg2 = (wxDiagram *) 0 ;
33201 PyObject * obj0 = 0 ;
33202 PyObject * obj1 = 0 ;
33203 char *kwnames[] = {
33204 (char *) "self",(char *) "diagram", NULL
33205 };
33206
33207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
33208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33210 {
33211 PyThreadState* __tstate = wxPyBeginAllowThreads();
33212 (arg1)->SetDiagram(arg2);
33213
33214 wxPyEndAllowThreads(__tstate);
33215 if (PyErr_Occurred()) SWIG_fail;
33216 }
33217 Py_INCREF(Py_None); resultobj = Py_None;
33218 return resultobj;
33219 fail:
33220 return NULL;
33221 }
33222
33223
33224 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
33225 PyObject *resultobj;
33226 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33227 double *arg2 = (double *) 0 ;
33228 double *arg3 = (double *) 0 ;
33229 double temp2 ;
33230 double temp3 ;
33231 PyObject * obj0 = 0 ;
33232 PyObject * obj1 = 0 ;
33233 PyObject * obj2 = 0 ;
33234 char *kwnames[] = {
33235 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
33236 };
33237
33238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
33239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33240 {
33241 temp2 = PyFloat_AsDouble(obj1);
33242 if (PyErr_Occurred()) SWIG_fail;
33243 arg2 = &temp2;
33244 }
33245 {
33246 temp3 = PyFloat_AsDouble(obj2);
33247 if (PyErr_Occurred()) SWIG_fail;
33248 arg3 = &temp3;
33249 }
33250 {
33251 PyThreadState* __tstate = wxPyBeginAllowThreads();
33252 (arg1)->Snap(arg2,arg3);
33253
33254 wxPyEndAllowThreads(__tstate);
33255 if (PyErr_Occurred()) SWIG_fail;
33256 }
33257 Py_INCREF(Py_None); resultobj = Py_None;
33258 {
33259 PyObject *o = PyFloat_FromDouble((double) (*arg2));
33260 resultobj = t_output_helper(resultobj,o);
33261 }
33262 {
33263 PyObject *o = PyFloat_FromDouble((double) (*arg3));
33264 resultobj = t_output_helper(resultobj,o);
33265 }
33266 return resultobj;
33267 fail:
33268 return NULL;
33269 }
33270
33271
33272 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
33273 PyObject *obj;
33274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33275 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
33276 Py_INCREF(obj);
33277 return Py_BuildValue((char *)"");
33278 }
33279 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
33280 PyObject *resultobj;
33281 char *kwnames[] = {
33282 NULL
33283 };
33284
33285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
33286 {
33287 PyThreadState* __tstate = wxPyBeginAllowThreads();
33288 wxOGLInitialize();
33289
33290 wxPyEndAllowThreads(__tstate);
33291 if (PyErr_Occurred()) SWIG_fail;
33292 }
33293 Py_INCREF(Py_None); resultobj = Py_None;
33294 return resultobj;
33295 fail:
33296 return NULL;
33297 }
33298
33299
33300 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
33301 PyObject *resultobj;
33302 char *kwnames[] = {
33303 NULL
33304 };
33305
33306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
33307 {
33308 PyThreadState* __tstate = wxPyBeginAllowThreads();
33309 wxOGLCleanUp();
33310
33311 wxPyEndAllowThreads(__tstate);
33312 if (PyErr_Occurred()) SWIG_fail;
33313 }
33314 Py_INCREF(Py_None); resultobj = Py_None;
33315 return resultobj;
33316 fail:
33317 return NULL;
33318 }
33319
33320
33321 static PyMethodDef SwigMethods[] = {
33322 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
33323 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
33324 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
33325 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
33326 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
33327 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
33328 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
33329 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
33330 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
33331 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
33332 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
33333 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
33334 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
33335 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
33336 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
33337 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
33338 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
33339 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
33340 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
33341 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
33342 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
33343 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
33344 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
33345 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
33346 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
33347 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
33348 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
33349 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
33350 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
33351 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
33352 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
33353 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
33354 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
33355 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
33356 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
33357 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
33358 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
33359 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
33360 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
33361 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33362 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
33363 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
33364 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
33365 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
33366 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
33367 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
33368 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33369 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33370 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33371 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33372 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33373 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33374 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33375 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33376 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33377 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33378 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33379 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33380 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33381 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33382 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33383 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33384 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33385 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33386 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33387 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33388 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33389 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33390 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33391 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33392 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33393 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33394 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33395 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33396 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33397 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
33398 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
33399 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33400 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
33401 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
33402 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
33403 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33404 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33405 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
33406 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
33407 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
33408 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
33409 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
33410 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
33411 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
33412 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
33413 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
33414 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
33415 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
33416 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33417 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
33418 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
33419 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
33420 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
33421 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
33422 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
33423 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
33424 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
33425 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
33426 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
33427 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33428 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
33429 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
33430 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
33431 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
33432 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
33433 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
33434 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
33435 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
33436 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
33437 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
33438 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
33439 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
33440 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
33441 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
33442 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
33443 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
33444 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
33445 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
33446 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
33447 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
33448 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
33449 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
33450 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
33451 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
33452 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
33453 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
33454 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
33455 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
33456 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
33457 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
33458 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
33459 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
33460 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
33461 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
33462 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
33463 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
33464 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
33465 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
33466 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
33467 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
33468 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
33469 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
33470 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
33471 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
33472 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
33473 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
33474 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
33475 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
33476 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
33477 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
33478 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
33479 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
33480 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
33481 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
33482 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
33483 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
33484 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
33485 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
33486 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
33487 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
33488 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
33489 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
33490 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
33491 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
33492 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
33493 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
33494 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
33495 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
33496 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
33497 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
33498 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
33499 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
33500 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
33501 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
33502 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
33503 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
33504 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
33505 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
33506 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
33507 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
33508 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
33509 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
33510 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
33511 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
33512 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
33513 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
33514 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
33515 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
33516 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
33517 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
33518 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
33519 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
33520 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
33521 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
33522 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
33523 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
33524 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
33525 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
33526 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
33527 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
33528 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
33529 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
33530 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
33531 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
33532 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
33533 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
33534 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
33535 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
33536 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33537 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33538 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33539 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33540 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33541 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33542 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33543 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33544 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33545 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33546 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33547 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33548 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33549 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33550 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33551 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33552 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33553 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33554 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33555 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33556 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33557 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33558 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33559 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33560 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33561 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33562 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33563 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33564 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33565 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
33566 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
33567 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
33568 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
33569 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
33570 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
33571 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
33572 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
33573 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
33574 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
33575 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
33576 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
33577 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33578 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
33579 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
33580 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
33581 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
33582 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
33583 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
33584 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
33585 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
33586 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
33587 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
33588 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
33589 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
33590 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
33591 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
33592 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
33593 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
33594 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
33595 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
33596 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
33597 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
33598 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
33599 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
33600 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
33601 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
33602 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
33603 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
33604 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
33605 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
33606 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
33607 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
33608 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
33609 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33610 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
33611 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
33612 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33613 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33614 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33615 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33616 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33617 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33618 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33619 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33620 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33621 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33622 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33623 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33624 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33625 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33626 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33627 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33628 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33629 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33630 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33631 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33632 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33633 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33634 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33635 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33636 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33637 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33638 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33639 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33640 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33641 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
33642 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
33643 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33644 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
33645 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33646 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33647 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33648 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33649 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33650 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33651 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33652 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33653 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33654 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33655 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33656 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33657 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33658 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33659 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33660 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33661 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33662 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33663 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33664 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33665 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33666 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33667 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33668 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33669 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33670 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33671 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33672 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33673 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33674 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
33675 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
33676 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33677 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
33678 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
33679 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
33680 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
33681 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33682 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33683 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33684 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33685 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33686 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33687 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33688 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33689 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33690 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33691 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33692 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33693 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33694 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33695 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33696 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33697 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33698 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33699 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33700 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33701 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33702 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33703 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33704 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33705 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33706 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33707 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33708 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33709 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33710 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
33711 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
33712 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33713 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33714 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
33715 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
33716 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
33717 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
33718 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
33719 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
33720 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
33721 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
33722 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
33723 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
33724 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
33725 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
33726 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
33727 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33728 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
33729 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
33730 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
33731 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
33732 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
33733 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
33734 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
33735 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
33736 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
33737 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
33738 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
33739 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
33740 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
33741 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33742 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33743 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33744 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33745 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33746 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33747 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33748 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33749 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33750 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33751 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33752 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33753 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33754 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33755 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33756 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33757 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33758 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33759 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33760 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33761 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33762 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33763 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33764 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33765 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33766 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33767 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33768 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33769 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33770 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
33771 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
33772 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
33773 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33774 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
33775 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
33776 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
33777 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33778 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
33779 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
33780 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
33781 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
33782 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33783 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
33784 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
33785 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
33786 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
33787 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
33788 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
33789 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
33790 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
33791 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
33792 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33793 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33794 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33795 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33796 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33797 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33798 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33799 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33800 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33801 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33802 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33803 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33804 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33805 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33806 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33807 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33808 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33809 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33810 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33811 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33812 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33813 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33814 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33815 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33816 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33817 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33818 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33819 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33820 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33821 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
33822 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
33823 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33824 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
33825 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
33826 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33827 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33828 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33829 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33830 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33831 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33832 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33833 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33834 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33835 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33836 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33837 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33838 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33839 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33840 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33841 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33842 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33843 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33844 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33845 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33846 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33847 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33848 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33849 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33850 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33851 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33852 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33853 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33854 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33855 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
33856 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
33857 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33858 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
33859 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
33860 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
33861 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
33862 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
33863 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
33864 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
33865 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
33866 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
33867 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33868 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33869 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
33870 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
33871 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33872 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
33873 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
33874 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
33875 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
33876 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
33877 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33878 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33879 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
33880 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
33881 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
33882 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33883 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33884 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33885 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33886 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33887 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33888 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33889 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33890 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33891 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33892 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33893 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33894 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33895 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33896 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33897 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33898 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33899 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33900 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33901 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33902 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33903 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33904 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33905 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33906 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33907 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33908 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33909 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33910 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33911 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33912 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
33913 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
33914 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33915 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33916 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33917 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33918 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33919 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33920 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33921 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33922 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33923 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33924 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33925 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33926 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33927 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33928 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33929 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33930 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33931 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33932 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33933 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33934 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33935 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33936 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33937 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33938 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33939 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33940 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33941 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33942 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33943 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
33944 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
33945 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33946 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33947 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33948 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33949 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33950 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33951 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33952 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33953 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33954 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33955 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33956 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33957 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33958 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33959 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33960 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33961 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33962 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33963 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33964 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33965 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33966 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33967 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33968 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33969 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33970 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33971 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33972 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33973 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33974 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33975 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33976 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33977 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33978 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33979 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33980 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33981 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33982 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33983 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33984 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33985 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33986 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33987 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33988 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33989 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
33990 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
33991 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
33992 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33993 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
33994 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
33995 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33996 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
33997 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
33998 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
33999 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
34000 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
34001 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
34002 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
34003 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
34004 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
34005 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
34006 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
34007 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
34008 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
34009 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
34010 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
34011 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
34012 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
34013 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
34014 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
34015 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
34016 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
34017 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
34018 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
34019 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
34020 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
34021 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
34022 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
34023 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
34024 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
34025 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
34026 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
34027 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
34028 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
34029 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
34030 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
34031 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
34032 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
34033 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
34034 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
34035 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
34036 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
34037 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
34038 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
34039 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
34040 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
34041 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
34042 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
34043 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
34044 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
34045 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
34046 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
34047 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
34048 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
34049 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
34050 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
34051 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
34052 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
34053 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
34054 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
34055 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
34056 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34057 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34058 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
34059 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
34060 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
34061 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
34062 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
34063 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
34064 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
34065 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
34066 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34067 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34068 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
34069 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
34070 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
34071 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
34072 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
34073 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
34074 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
34075 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
34076 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
34077 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
34078 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
34079 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
34080 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
34081 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
34082 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
34083 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
34084 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
34085 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
34086 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
34087 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
34088 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
34089 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
34090 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
34091 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
34092 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
34093 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
34094 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
34095 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
34096 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
34097 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
34098 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34099 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34100 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
34101 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
34102 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
34103 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
34104 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
34105 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
34106 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
34107 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
34108 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34109 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34110 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
34111 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
34112 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
34113 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
34114 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
34115 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
34116 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
34117 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
34118 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
34119 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
34120 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
34121 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
34122 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
34123 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
34124 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
34125 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
34126 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
34127 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
34128 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
34129 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
34130 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34131 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34132 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
34133 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
34134 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
34135 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
34136 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
34137 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
34138 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
34139 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
34140 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34141 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34142 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
34143 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
34144 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
34145 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
34146 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
34147 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
34148 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
34149 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
34150 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
34151 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
34152 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
34153 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
34154 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
34155 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
34156 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
34157 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
34158 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
34159 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
34160 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
34161 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
34162 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
34163 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
34164 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
34165 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
34166 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
34167 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
34168 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
34169 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
34170 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
34171 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
34172 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
34173 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
34174 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
34175 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
34176 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
34177 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
34178 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
34179 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34180 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
34181 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34182 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
34183 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
34184 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
34185 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
34186 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
34187 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
34188 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
34189 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
34190 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
34191 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
34192 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
34193 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
34194 { NULL, NULL }
34195 };
34196
34197
34198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34199
34200 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
34201 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
34202 }
34203 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
34204 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
34205 }
34206 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
34207 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34208 }
34209 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
34210 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34211 }
34212 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
34213 return (void *)((wxPanel *) ((wxPyPanel *) x));
34214 }
34215 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
34216 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
34217 }
34218 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
34219 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
34220 }
34221 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
34222 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34223 }
34224 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
34225 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34226 }
34227 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
34228 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
34229 }
34230 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
34231 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34232 }
34233 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
34234 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34235 }
34236 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
34237 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34238 }
34239 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
34240 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
34241 }
34242 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
34243 return (void *)((wxWindow *) ((wxMenuBar *) x));
34244 }
34245 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
34246 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34247 }
34248 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
34249 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34250 }
34251 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
34252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34253 }
34254 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
34255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34256 }
34257 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
34258 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34259 }
34260 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
34261 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34262 }
34263 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
34264 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34265 }
34266 static void *_p_wxPanelTo_p_wxWindow(void *x) {
34267 return (void *)((wxWindow *) ((wxPanel *) x));
34268 }
34269 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
34270 return (void *)((wxWindow *) ((wxStatusBar *) x));
34271 }
34272 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
34273 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
34274 }
34275 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
34276 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
34277 }
34278 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
34279 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
34280 }
34281 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
34282 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34283 }
34284 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
34285 return (void *)((wxWindow *) ((wxPopupWindow *) x));
34286 }
34287 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
34288 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
34289 }
34290 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
34291 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
34292 }
34293 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
34294 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
34295 }
34296 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
34297 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
34298 }
34299 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
34300 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
34301 }
34302 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
34303 return (void *)((wxWindow *) ((wxSashWindow *) x));
34304 }
34305 static void *_p_wxControlTo_p_wxWindow(void *x) {
34306 return (void *)((wxWindow *) ((wxControl *) x));
34307 }
34308 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
34309 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34310 }
34311 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
34312 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34313 }
34314 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
34315 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34316 }
34317 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
34318 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
34319 }
34320 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
34321 return (void *)((wxWindow *) ((wxPyWindow *) x));
34322 }
34323 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
34324 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34325 }
34326 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
34327 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34328 }
34329 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
34330 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34331 }
34332 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
34333 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34334 }
34335 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
34336 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
34337 }
34338 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
34339 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34340 }
34341 static void *_p_wxFrameTo_p_wxWindow(void *x) {
34342 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
34343 }
34344 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
34345 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34346 }
34347 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
34348 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34349 }
34350 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
34351 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34352 }
34353 static void *_p_wxDialogTo_p_wxWindow(void *x) {
34354 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
34355 }
34356 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
34357 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34358 }
34359 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
34360 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34361 }
34362 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
34363 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34364 }
34365 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
34366 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
34367 }
34368 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
34369 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34370 }
34371 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
34372 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34373 }
34374 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
34375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34376 }
34377 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
34378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34379 }
34380 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
34381 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
34382 }
34383 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
34384 return (void *)((wxObject *) ((wxSizerItem *) x));
34385 }
34386 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
34387 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
34388 }
34389 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
34390 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
34391 }
34392 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
34393 return (void *)((wxObject *) ((wxOGLConstraint *) x));
34394 }
34395 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
34396 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
34397 }
34398 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
34399 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
34400 }
34401 static void *_p_wxSizerTo_p_wxObject(void *x) {
34402 return (void *)((wxObject *) ((wxSizer *) x));
34403 }
34404 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
34405 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34406 }
34407 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
34408 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34409 }
34410 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
34411 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
34412 }
34413 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
34414 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
34415 }
34416 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
34417 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
34418 }
34419 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
34420 return (void *)((wxObject *) ((wxArrowHead *) x));
34421 }
34422 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
34423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34424 }
34425 static void *_p_wxEventTo_p_wxObject(void *x) {
34426 return (void *)((wxObject *) ((wxEvent *) x));
34427 }
34428 static void *_p_wxFontDataTo_p_wxObject(void *x) {
34429 return (void *)((wxObject *) ((wxFontData *) x));
34430 }
34431 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
34432 return (void *)((wxObject *) ((wxPrintData *) x));
34433 }
34434 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
34435 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
34436 }
34437 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
34438 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
34439 }
34440 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
34441 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
34442 }
34443 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
34444 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
34445 }
34446 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
34447 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
34448 }
34449 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
34450 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
34451 }
34452 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
34453 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
34454 }
34455 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
34456 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
34457 }
34458 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
34459 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
34460 }
34461 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
34462 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
34463 }
34464 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
34465 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34466 }
34467 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
34468 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
34469 }
34470 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
34471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34472 }
34473 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
34474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34475 }
34476 static void *_p_wxControlTo_p_wxObject(void *x) {
34477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
34478 }
34479 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
34480 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
34481 }
34482 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
34483 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
34484 }
34485 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
34486 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
34487 }
34488 static void *_p_wxFSFileTo_p_wxObject(void *x) {
34489 return (void *)((wxObject *) ((wxFSFile *) x));
34490 }
34491 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
34492 return (void *)((wxObject *) ((wxFindReplaceData *) x));
34493 }
34494 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
34495 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34496 }
34497 static void *_p_wxPySizerTo_p_wxObject(void *x) {
34498 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
34499 }
34500 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
34501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34502 }
34503 static void *_p_wxColourDataTo_p_wxObject(void *x) {
34504 return (void *)((wxObject *) ((wxColourData *) x));
34505 }
34506 static void *_p_wxPyEventTo_p_wxObject(void *x) {
34507 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
34508 }
34509 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
34510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
34511 }
34512 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
34513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
34514 }
34515 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
34516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34517 }
34518 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
34519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34520 }
34521 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
34522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34523 }
34524 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
34525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34526 }
34527 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
34528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34529 }
34530 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
34531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34532 }
34533 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
34534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34535 }
34536 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
34537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34538 }
34539 static void *_p_wxShowEventTo_p_wxObject(void *x) {
34540 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
34541 }
34542 static void *_p_wxPrinterTo_p_wxObject(void *x) {
34543 return (void *)((wxObject *) ((wxPrinter *) x));
34544 }
34545 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
34546 return (void *)((wxObject *) ((wxMenuItem *) x));
34547 }
34548 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
34549 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
34550 }
34551 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
34552 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
34553 }
34554 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
34555 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
34556 }
34557 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
34558 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
34559 }
34560 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
34561 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
34562 }
34563 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
34564 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
34565 }
34566 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
34567 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
34568 }
34569 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
34570 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
34571 }
34572 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
34573 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
34574 }
34575 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
34576 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
34577 }
34578 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
34579 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
34580 }
34581 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
34582 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
34583 }
34584 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
34585 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
34586 }
34587 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
34588 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
34589 }
34590 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
34591 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
34592 }
34593 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
34594 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
34595 }
34596 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
34597 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
34598 }
34599 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
34600 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
34601 }
34602 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
34603 return (void *)((wxObject *) ((wxImageHandler *) x));
34604 }
34605 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
34606 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
34607 }
34608 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
34609 return (void *)((wxObject *) ((wxEvtHandler *) x));
34610 }
34611 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
34612 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
34613 }
34614 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
34615 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
34616 }
34617 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
34618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34619 }
34620 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
34621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34622 }
34623 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
34624 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34625 }
34626 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
34627 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
34628 }
34629 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
34630 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34631 }
34632 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
34633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34634 }
34635 static void *_p_wxImageTo_p_wxObject(void *x) {
34636 return (void *)((wxObject *) ((wxImage *) x));
34637 }
34638 static void *_p_wxFrameTo_p_wxObject(void *x) {
34639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34640 }
34641 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
34642 return (void *)((wxObject *) ((wxPyPrintout *) x));
34643 }
34644 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
34645 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
34646 }
34647 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
34648 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
34649 }
34650 static void *_p_wxDiagramTo_p_wxObject(void *x) {
34651 return (void *)((wxObject *) ((wxDiagram *) x));
34652 }
34653 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
34654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
34655 }
34656 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
34657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34658 }
34659 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
34660 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34661 }
34662 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
34663 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
34664 }
34665 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
34666 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
34667 }
34668 static void *_p_wxWindowTo_p_wxObject(void *x) {
34669 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
34670 }
34671 static void *_p_wxMenuTo_p_wxObject(void *x) {
34672 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
34673 }
34674 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
34675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
34676 }
34677 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
34678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34679 }
34680 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
34681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
34682 }
34683 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
34684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
34685 }
34686 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
34687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
34688 }
34689 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
34690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
34691 }
34692 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
34693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34694 }
34695 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
34696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
34697 }
34698 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
34699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34700 }
34701 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
34702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
34703 }
34704 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
34705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34706 }
34707 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
34708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
34709 }
34710 static void *_p_wxSashEventTo_p_wxObject(void *x) {
34711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
34712 }
34713 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
34714 return (void *)((wxObject *) ((wxPrintPreview *) x));
34715 }
34716 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
34717 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
34718 }
34719 static void *_p_wxPanelTo_p_wxObject(void *x) {
34720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
34721 }
34722 static void *_p_wxDialogTo_p_wxObject(void *x) {
34723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34724 }
34725 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
34726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34727 }
34728 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
34729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34730 }
34731 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
34732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34733 }
34734 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
34735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34736 }
34737 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
34738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34739 }
34740 static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
34741 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
34742 }
34743 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
34744 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
34745 }
34746 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
34747 return (void *)((wxObject *) ((wxFileSystem *) x));
34748 }
34749 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
34750 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
34751 }
34752 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
34753 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
34754 }
34755 static void *_p_wxPyAppTo_p_wxObject(void *x) {
34756 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
34757 }
34758 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
34759 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
34760 }
34761 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
34762 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
34763 }
34764 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34765 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34766 }
34767 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34768 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34769 }
34770 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34771 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34772 }
34773 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
34774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34775 }
34776 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
34777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34778 }
34779 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34780 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34781 }
34782 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34783 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34784 }
34785 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34787 }
34788 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
34789 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
34790 }
34791 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
34792 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34793 }
34794 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
34795 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34796 }
34797 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
34798 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
34799 }
34800 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
34801 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
34802 }
34803 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34805 }
34806 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
34807 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
34808 }
34809 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
34810 return (void *)((wxObject *) ((wxPrintDialogData *) x));
34811 }
34812 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34813 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34814 }
34815 static void *_p_wxValidatorTo_p_wxObject(void *x) {
34816 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34817 }
34818 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
34819 return (void *)((wxObject *) ((wxShapeRegion *) x));
34820 }
34821 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34822 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
34823 }
34824 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
34825 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34826 }
34827 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
34828 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34829 }
34830 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34831 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34832 }
34833 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
34834 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
34835 }
34836 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
34837 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34838 }
34839 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
34840 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34841 }
34842 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
34843 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34844 }
34845 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
34846 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34847 }
34848 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
34849 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
34850 }
34851 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
34852 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34853 }
34854 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
34855 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
34856 }
34857 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
34858 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
34859 }
34860 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34861 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34862 }
34863 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34865 }
34866 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34867 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34868 }
34869 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34870 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34871 }
34872 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34873 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34874 }
34875 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34876 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34877 }
34878 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34879 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34880 }
34881 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34882 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34883 }
34884 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34885 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34886 }
34887 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34888 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34889 }
34890 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34891 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34892 }
34893 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34894 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34895 }
34896 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34897 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34898 }
34899 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34901 }
34902 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34903 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34904 }
34905 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34906 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34907 }
34908 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34909 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34910 }
34911 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
34913 }
34914 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34915 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34916 }
34917 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34918 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34919 }
34920 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34921 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34922 }
34923 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34925 }
34926 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34927 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34928 }
34929 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34930 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34931 }
34932 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34933 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34934 }
34935 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34936 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34937 }
34938 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34939 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34940 }
34941 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34942 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34943 }
34944 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34945 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34946 }
34947 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34948 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34949 }
34950 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34951 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34952 }
34953 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34954 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34955 }
34956 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34957 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34958 }
34959 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34961 }
34962 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34963 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34964 }
34965 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34966 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34967 }
34968 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34969 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34970 }
34971 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34972 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34973 }
34974 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34975 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34976 }
34977 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34978 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34979 }
34980 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34981 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34982 }
34983 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34984 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34985 }
34986 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34987 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34988 }
34989 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34990 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34991 }
34992 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34993 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34994 }
34995 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34997 }
34998 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34999 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35000 }
35001 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
35002 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
35003 }
35004 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
35005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
35006 }
35007 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
35008 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35009 }
35010 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
35011 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
35012 }
35013 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
35014 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
35015 }
35016 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
35017 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
35018 }
35019 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
35020 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
35021 }
35022 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
35023 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
35024 }
35025 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
35026 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
35027 }
35028 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
35029 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
35030 }
35031 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
35032 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
35033 }
35034 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
35035 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
35036 }
35037 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
35038 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
35039 }
35040 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
35041 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
35042 }
35043 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
35044 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
35045 }
35046 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
35047 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
35048 }
35049 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
35050 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
35051 }
35052 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
35053 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
35054 }
35055 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
35056 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
35057 }
35058 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
35059 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
35060 }
35061 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
35062 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
35063 }
35064 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
35065 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
35066 }
35067 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
35068 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
35069 }
35070 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
35071 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
35072 }
35073 static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
35074 static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
35075 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
35076 static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
35077 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
35078 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
35079 static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
35080 static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
35081 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
35082 static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
35083 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}};
35084 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
35085 static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
35086 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
35087 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}};
35088 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}};
35089 static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
35090 static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
35091 static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
35092 static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
35093 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
35094 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}};
35095 static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
35096 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}};
35097 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}};
35098 static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape},{"_p_wxPyEllipseShape"},{0}};
35099 static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
35100 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
35101 static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
35102 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}};
35103 static swig_type_info _swigt__p_wxAttachmentPoint[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0},{"_p_wxAttachmentPoint"},{0}};
35104 static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
35105 static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
35106 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}};
35107 static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape},{0}};
35108 static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
35109 static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
35110 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
35111 static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
35112 static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
35113 static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
35114
35115 static swig_type_info *swig_types_initial[] = {
35116 _swigt__p_wxOGLConstraint,
35117 _swigt__p_wxBrush,
35118 _swigt__p_wxColour,
35119 _swigt__p_wxShapeRegion,
35120 _swigt__p_wxDC,
35121 _swigt__p_wxRealPoint,
35122 _swigt__p_wxPyControlPoint,
35123 _swigt__p_wxArrowHead,
35124 _swigt__p_char,
35125 _swigt__p_wxStringList,
35126 _swigt__p_wxPanel,
35127 _swigt__p_bool,
35128 _swigt__p_wxList,
35129 _swigt__p_wxFont,
35130 _swigt__p_wxScrolledWindow,
35131 _swigt__p_wxWindow,
35132 _swigt__p_double,
35133 _swigt__p_wxPyDivisionShape,
35134 _swigt__p_wxPyDrawnShape,
35135 _swigt__p_wxPyPolygonShape,
35136 _swigt__p_wxBitmap,
35137 _swigt__p_wxObject,
35138 _swigt__p_wxPyBitmapShape,
35139 _swigt__p_wxPyShapeEvtHandler,
35140 _swigt__p_wxEvtHandler,
35141 _swigt__p_wxPyEllipseShape,
35142 _swigt__p_wxPyShapeCanvas,
35143 _swigt__p_wxPoint,
35144 _swigt__p_wxDiagram,
35145 _swigt__p_wxPyShape,
35146 _swigt__p_wxAttachmentPoint,
35147 _swigt__p_wxClassInfo,
35148 _swigt__p_wxPyLineShape,
35149 _swigt__p_wxPyRectangleShape,
35150 _swigt__p_wxPyCompositeShape,
35151 _swigt__p_wxPyCircleShape,
35152 _swigt__p_wxPen,
35153 _swigt__p_int,
35154 _swigt__p_wxPseudoMetaFile,
35155 _swigt__p_wxPyTextShape,
35156 _swigt__p_wxPyDividedShape,
35157 0
35158 };
35159
35160
35161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
35162
35163 static swig_const_info swig_const_table[] = {
35164 {0}};
35165
35166 #ifdef __cplusplus
35167 }
35168 #endif
35169
35170 #ifdef __cplusplus
35171 extern "C"
35172 #endif
35173 SWIGEXPORT(void) SWIG_init(void) {
35174 static PyObject *SWIG_globals = 0;
35175 static int typeinit = 0;
35176 PyObject *m, *d;
35177 int i;
35178 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
35179 m = Py_InitModule((char *) SWIG_name, SwigMethods);
35180 d = PyModule_GetDict(m);
35181
35182 if (!typeinit) {
35183 for (i = 0; swig_types_initial[i]; i++) {
35184 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
35185 }
35186 typeinit = 1;
35187 }
35188 SWIG_InstallConstants(d,swig_const_table);
35189
35190 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_PyObj_FromInt((int)oglMETAFLAGS_OUTLINE));
35191 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_PyObj_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
35192 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_PyObj_FromInt((int)KEY_SHIFT));
35193 PyDict_SetItemString(d,"KEY_CTRL", SWIG_PyObj_FromInt((int)KEY_CTRL));
35194 PyDict_SetItemString(d,"ARROW_NONE", SWIG_PyObj_FromInt((int)ARROW_NONE));
35195 PyDict_SetItemString(d,"ARROW_END", SWIG_PyObj_FromInt((int)ARROW_END));
35196 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_PyObj_FromInt((int)ARROW_BOTH));
35197 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_PyObj_FromInt((int)ARROW_MIDDLE));
35198 PyDict_SetItemString(d,"ARROW_START", SWIG_PyObj_FromInt((int)ARROW_START));
35199 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_PyObj_FromInt((int)ARROW_HOLLOW_CIRCLE));
35200 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_PyObj_FromInt((int)ARROW_FILLED_CIRCLE));
35201 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_PyObj_FromInt((int)ARROW_ARROW));
35202 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_PyObj_FromInt((int)ARROW_SINGLE_OBLIQUE));
35203 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_PyObj_FromInt((int)ARROW_DOUBLE_OBLIQUE));
35204 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_PyObj_FromInt((int)ARROW_METAFILE));
35205 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_PyObj_FromInt((int)ARROW_POSITION_END));
35206 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_PyObj_FromInt((int)ARROW_POSITION_START));
35207 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_VERTICAL));
35208 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_HORIZONTAL));
35209 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_DIAGONAL));
35210 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_PyObj_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
35211 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_PyObj_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
35212 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_PyObj_FromInt((int)CONTROL_POINT_LINE));
35213 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_PyObj_FromInt((int)FORMAT_NONE));
35214 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_PyObj_FromInt((int)FORMAT_CENTRE_HORIZ));
35215 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_PyObj_FromInt((int)FORMAT_CENTRE_VERT));
35216 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_PyObj_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
35217 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_HORIZ));
35218 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_VERT));
35219 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
35220 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_NONE));
35221 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_PyObj_FromInt((int)SHADOW_NONE));
35222 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_PyObj_FromInt((int)SHADOW_LEFT));
35223 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_PyObj_FromInt((int)SHADOW_RIGHT));
35224 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_PyObj_FromInt((int)OP_CLICK_LEFT));
35225 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_PyObj_FromInt((int)OP_CLICK_RIGHT));
35226 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_PyObj_FromInt((int)OP_DRAG_LEFT));
35227 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_PyObj_FromInt((int)OP_DRAG_RIGHT));
35228 PyDict_SetItemString(d,"OP_ALL", SWIG_PyObj_FromInt((int)OP_ALL));
35229 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_NONE));
35230 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_EDGE));
35231 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_BRANCHING));
35232 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_PyObj_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
35233 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_PyObj_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
35234 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
35235 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
35236 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
35237 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_PyObj_FromInt((int)gyCONSTRAINT_LEFT_OF));
35238 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_PyObj_FromInt((int)gyCONSTRAINT_RIGHT_OF));
35239 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ABOVE));
35240 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_PyObj_FromInt((int)gyCONSTRAINT_BELOW));
35241 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
35242 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
35243 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
35244 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
35245 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
35246 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
35247 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
35248 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
35249 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_PyObj_FromInt((int)DIVISION_SIDE_NONE));
35250 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_PyObj_FromInt((int)DIVISION_SIDE_LEFT));
35251 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_PyObj_FromInt((int)DIVISION_SIDE_TOP));
35252 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_PyObj_FromInt((int)DIVISION_SIDE_RIGHT));
35253 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_PyObj_FromInt((int)DIVISION_SIDE_BOTTOM));
35254
35255
35256 // initoglbasicc();
35257 // initoglshapesc();
35258 // initoglshapes2c();
35259 // initoglcanvasc();
35260
35261
35262 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
35263 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
35264 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
35265 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
35266 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
35267 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
35268 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
35269 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
35270 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
35271 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
35272 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
35273 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
35274 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
35275 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
35276
35277
35278 }
35279