]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/msw/ogl_wrap.cpp
82dd9528191bfee90aa753adbb017c59b2966396
[wxWidgets.git] / wxPython / contrib / ogl / msw / 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 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
213 #define SWIGTYPE_p_wxDC swig_types[4]
214 #define SWIGTYPE_p_wxRealPoint swig_types[5]
215 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
216 #define SWIGTYPE_p_wxArrowHead swig_types[7]
217 #define SWIGTYPE_p_char swig_types[8]
218 #define SWIGTYPE_p_wxStringList swig_types[9]
219 #define SWIGTYPE_p_wxPanel swig_types[10]
220 #define SWIGTYPE_p_bool swig_types[11]
221 #define SWIGTYPE_p_wxList swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
224 #define SWIGTYPE_p_wxWindow swig_types[15]
225 #define SWIGTYPE_p_double swig_types[16]
226 #define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
227 #define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
228 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
229 #define SWIGTYPE_p_wxBitmap swig_types[20]
230 #define SWIGTYPE_p_wxObject swig_types[21]
231 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
232 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
233 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
234 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
235 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
236 #define SWIGTYPE_p_wxPoint swig_types[27]
237 #define SWIGTYPE_p_wxDiagram swig_types[28]
238 #define SWIGTYPE_p_wxPyShape swig_types[29]
239 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
240 #define SWIGTYPE_p_wxClassInfo swig_types[31]
241 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
242 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
243 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
244 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
245 #define SWIGTYPE_p_wxPen swig_types[36]
246 #define SWIGTYPE_p_int swig_types[37]
247 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
248 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
249 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
250 static swig_type_info *swig_types[42];
251
252 /* -------- TYPES TABLE (END) -------- */
253
254
255 /*-----------------------------------------------
256 @(target):= _ogl.so
257 ------------------------------------------------*/
258 #define SWIG_init init_ogl
259
260 #define SWIG_name "_ogl"
261
262 /* Auxiliar swig macros */
263
264 #ifdef __cplusplus
265 #define SWIGSTATICINLINE(a) static inline a
266 #define SWIGSTATIC(a) static a
267 #define swig_new_array(type, size) (new type[(size)])
268 #define swig_delete_array(cptr) delete[] cptr
269 #define swig_const_cast(type,a) const_cast<type>(a)
270 #define swig_static_cast(type,a) static_cast<type>(a)
271 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
272
273 #ifdef HAVE_NUMERIC_CAST
274 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
275 #else
276 #define swig_numeric_cast(type,a) static_cast<type>(a)
277 #endif
278
279 #else /* C case */
280
281 #define SWIGSTATICINLINE(a) static a
282 #define SWIGSTATIC(a) static a
283 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
284 #define swig_delete_array(cptr) free((char*)cptr)
285 #define swig_const_cast(type,a) (type)(a)
286 #define swig_static_cast(type,a) (type)(a)
287 #define swig_reinterpret_cast(type,a) (type)(a)
288 #define swig_numeric_cast(type,a) (type)(a)
289
290 #endif /* __cplusplus */
291
292
293 #define SWIG_FromSignedChar PyInt_FromLong
294 #define SWIG_FromUnsignedChar PyInt_FromLong
295 #define SWIG_FromShort PyInt_FromLong
296 #define SWIG_FromUnsignedShort PyInt_FromLong
297 #define SWIG_FromInt PyInt_FromLong
298 #define SWIG_FromLong PyInt_FromLong
299 #define SWIG_FromFloat PyFloat_FromDouble
300 #define SWIG_FromDouble PyFloat_FromDouble
301 #define SWIG_FromFloat PyFloat_FromDouble
302 #define SWIG_FromDouble PyFloat_FromDouble
303
304
305 #include "wx/wxPython/wxPython.h"
306 #include "wx/wxPython/pyclasses.h"
307 #include "oglhelpers.h"
308
309
310 static const wxString wxPyEmptyString(wxEmptyString);
311
312 SWIGSTATICINLINE(double)
313 SWIG_AsDouble(PyObject *obj)
314 {
315 if (PyNumber_Check(obj))
316 return PyFloat_AsDouble(obj);
317 else {
318 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
319 obj->ob_type->tp_name);
320 PyErr_SetObject(PyExc_TypeError, errmsg);
321 Py_DECREF(errmsg);
322 return 0;
323 }
324 }
325
326
327 SWIGSTATICINLINE(int)
328 SWIG_CheckDouble(PyObject* obj)
329 {
330 SWIG_AsDouble(obj);
331 if (PyErr_Occurred()) {
332 PyErr_Clear();
333 return 0;
334 } else {
335 return 1;
336 }
337 }
338
339
340 #include <limits.h>
341
342
343 SWIGSTATICINLINE(long)
344 SWIG_CheckLongInRange(long value, const char* type,
345 long min_value, long max_value)
346 {
347 if (!PyErr_Occurred()) {
348 if (value < min_value) {
349 PyObject *err =
350 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
351 value, type, min_value);
352
353 PyErr_SetObject(PyExc_OverflowError, err);
354 Py_DECREF(err);
355 } else if (value > max_value) {
356 PyObject *err =
357 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
358 value, type, max_value);
359 PyErr_SetObject(PyExc_OverflowError, err);
360 Py_DECREF(err);
361 }
362 }
363 return value;
364 }
365
366
367 SWIGSTATICINLINE(long)
368 SWIG_AsLong(PyObject * obj)
369 {
370 if (PyNumber_Check(obj))
371 return PyInt_AsLong(obj);
372 else {
373 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
374 obj->ob_type->tp_name);
375 PyErr_SetObject(PyExc_TypeError, errmsg);
376 Py_DECREF(errmsg);
377 return 0;
378 }
379 }
380
381
382 #if INT_MAX != LONG_MAX
383 SWIGSTATICINLINE(int)
384 SWIG_AsInt(PyObject *obj)
385 {
386 return swig_numeric_cast(int,
387 SWIG_CheckLongInRange(SWIG_AsLong(obj),
388 "int", INT_MIN, INT_MAX));
389 }
390 #else
391 #define SWIG_AsInt SWIG_AsLong
392 #endif
393
394
395 SWIGSTATICINLINE(int)
396 SWIG_CheckInt(PyObject* obj)
397 {
398 SWIG_AsInt(obj);
399 if (PyErr_Occurred()) {
400 PyErr_Clear();
401 return 0;
402 } else {
403 return 1;
404 }
405 }
406
407
408 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
409 PyObject* o2;
410 PyObject* o3;
411
412 if (!target) {
413 target = o;
414 } else if (target == Py_None) {
415 Py_DECREF(Py_None);
416 target = o;
417 } else {
418 if (!PyTuple_Check(target)) {
419 o2 = target;
420 target = PyTuple_New(1);
421 PyTuple_SetItem(target, 0, o2);
422 }
423 o3 = PyTuple_New(1);
424 PyTuple_SetItem(o3, 0, o);
425
426 o2 = target;
427 target = PySequence_Concat(o2, o3);
428 Py_DECREF(o2);
429 Py_DECREF(o3);
430 }
431 return target;
432 }
433
434
435 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
436
437 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
438 self->SetClientObject(new wxPyOORClientData(_self));
439 }
440
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject *obj)
443 {
444 return PyObject_IsTrue(obj) ? true : false;
445 }
446
447
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject* obj)
450 {
451 SWIG_AsBool(obj);
452 if (PyErr_Occurred()) {
453 PyErr_Clear();
454 return 0;
455 } else {
456 return 1;
457 }
458 }
459
460
461 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
462
463 PyObject *wxPyShape_GetChildren(wxPyShape *self){
464 wxList& list = self->GetChildren();
465 return wxPy_ConvertShapeList(&list);
466 }
467 PyObject *wxPyShape_GetLines(wxPyShape *self){
468 wxList& list = self->GetLines();
469 return wxPy_ConvertShapeList(&list);
470 }
471
472 SWIGSTATICINLINE(int)
473 SWIG_CheckLong(PyObject* obj)
474 {
475 SWIG_AsLong(obj);
476 if (PyErr_Occurred()) {
477 PyErr_Clear();
478 return 0;
479 } else {
480 return 1;
481 }
482 }
483
484 PyObject *wxPyShape_GetRegions(wxPyShape *self){
485 wxList& list = self->GetRegions();
486 return wxPy_ConvertList(&list);
487 }
488 PyObject *wxPyShape_GetAttachments(wxPyShape *self){
489 wxList& list = self->GetAttachments();
490 return wxPy_ConvertList(&list);
491 }
492 void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
493 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
494 self->ApplyAttachmentOrdering(*list);
495 delete list;
496 }
497
498 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
499 // 6, so instead I'l just expand it out by hand...
500 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
501
502 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
504 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
505 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
506 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
507 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
508 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
509 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
510 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
513 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
514 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
515 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
516 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
517 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
518 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
519 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
520 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
521 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
522 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
523 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
524 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
525 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
526 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
527 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
528 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
529 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
530 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
531
532
533
534 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
535
536
537 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
538
539
540 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
541
542 wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
543 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
544 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
545 delete list;
546 return rv;
547 }
548
549 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
550
551 wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
552 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
553 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
554 delete list;
555 return rv;
556 }
557 PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
558 wxList& list = self->GetConstraints();
559 return wxPy_ConvertList(&list);
560 }
561 PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
562 wxList& list = self->GetDivisions();
563 return wxPy_ConvertShapeList(&list);
564 }
565
566 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
567
568
569 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
570
571
572 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
573
574
575 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
576
577
578 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
579
580 void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
581 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
582 self->AddArrowOrdered(arrow, *list, end);
583 delete list;
584 }
585 PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
586 wxList* list = self->GetLineControlPoints();
587 return wxPy_ConvertRealPointList(list);
588 }
589 void wxPyLineShape_SetLineControlPoints(wxPyLineShape *self,PyObject *list){
590 wxList* real_point_list = wxPy_wxRealPoint_ListHelper(list);
591 self->MakeLineControlPoints((int)(real_point_list->GetCount()));
592 wxList* old_control_points = self->GetLineControlPoints();
593 wxNode* old_node = old_control_points->GetFirst();
594 wxNode* real_node = real_point_list->GetFirst();
595 while(old_node)
596 {
597 wxRealPoint* old_point = (wxRealPoint*)old_node->GetData();
598 wxRealPoint* new_point = (wxRealPoint*)real_node->GetData();
599 old_point->x = new_point->x;
600 old_point->y = new_point->y;
601 old_node = old_node->GetNext();
602 real_node = real_node->GetNext();
603 }
604 self->ClearPointList(*real_point_list);
605 delete real_point_list;
606 }
607
608 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
609
610 PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
611 wxList* list = wxPy_wxRealPoint_ListHelper(points);
612 if (list) {
613 self->Create(list);
614 Py_INCREF(Py_None);
615 return Py_None;
616 }
617 else return NULL;
618 }
619 PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
620 wxList* list = self->GetPoints();
621 return wxPy_ConvertRealPointList(list);
622 }
623 PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
624 wxList* list = self->GetOriginalPoints();
625 PyObject* pyList;
626 PyObject* pyObj;
627 wxObject* wxObj;
628 wxNode* node = list->GetFirst();
629
630 bool blocked = wxPyBeginBlockThreads();
631 pyList = PyList_New(0);
632 while (node) {
633 wxObj = node->GetData();
634 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
635 PyList_Append(pyList, pyObj);
636 node = node->GetNext();
637 }
638 wxPyEndBlockThreads(blocked);
639 return pyList;
640 }
641
642 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
643
644
645 // Put some wx default wxChar* values into wxStrings.
646 DECLARE_DEF_STRING(ShapeCanvasNameStr);
647
648 PyObject *wxDiagram_GetShapeList(wxDiagram *self){
649 wxList* list = self->GetShapeList();
650 return wxPy_ConvertShapeList(list);
651 }
652
653 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
654 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
655 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
656 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
657 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
658 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
659 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
660 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
661
662
663 //---------------------------------------------------------------------------
664
665 // Convert from a Python list to a list of className objects. This one will
666 // work for any class for the VERY generic cases, but beyond that the helper
667 // needs to know more about the type.
668 wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
669 bool blocked = wxPyBeginBlockThreads();
670 if (!PyList_Check(pyList)) {
671 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
672 wxPyEndBlockThreads(blocked);
673 return NULL;
674 }
675 int count = PyList_Size(pyList);
676 wxList* list = new wxList;
677 if (! list) {
678 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
679 wxPyEndBlockThreads(blocked);
680 return NULL;
681 }
682 for (int x=0; x<count; x++) {
683 PyObject* pyo = PyList_GetItem(pyList, x);
684 wxObject* wxo = NULL;
685
686 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
687 wxString errmsg;
688 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
689 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
690 wxPyEndBlockThreads(blocked);
691 return NULL;
692 }
693 list->Append(wxo);
694 }
695 wxPyEndBlockThreads(blocked);
696 return list;
697 }
698
699 //---------------------------------------------------------------------------
700
701 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
702 bool blocked = wxPyBeginBlockThreads();
703 if (!PyList_Check(pyList)) {
704 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
705 wxPyEndBlockThreads(blocked);
706 return NULL;
707 }
708 int count = PyList_Size(pyList);
709 wxList* list = new wxList;
710 if (! list) {
711 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
712 wxPyEndBlockThreads(blocked);
713 return NULL;
714 }
715 for (int x=0; x<count; x++) {
716 PyObject* pyo = PyList_GetItem(pyList, x);
717
718 if (PyTuple_Check(pyo)) {
719 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
720 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
721
722 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
723 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
724
725 list->Append((wxObject*) new wxRealPoint(val1, val2));
726
727 } else {
728 wxRealPoint* wxo = NULL;
729 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
730 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
731 wxPyEndBlockThreads(blocked);
732 return NULL;
733 }
734 list->Append((wxObject*) new wxRealPoint(*wxo));
735 }
736 }
737 wxPyEndBlockThreads(blocked);
738 return list;
739 }
740
741 //---------------------------------------------------------------------------
742
743 PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source, bool setThisOwn) {
744 PyObject* target = NULL;
745
746 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
747 // If it's derived from wxShapeEvtHandler then there may
748 // already be a pointer to a Python object that we can use
749 // in the OOR data.
750 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
751 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
752 if (data) {
753 target = data->m_obj;
754 Py_INCREF(target);
755 }
756 }
757 if (! target) {
758 target = wxPyMake_wxObject2(source, setThisOwn, false);
759 if (target != Py_None)
760 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
761 }
762 return target;
763 }
764
765 //---------------------------------------------------------------------------
766
767 PyObject* wxPy_ConvertRealPointList(wxListBase* listbase) {
768 wxList* list = (wxList*)listbase;
769 PyObject* pyList;
770 PyObject* pyObj;
771 wxObject* wxObj;
772 wxNode* node = list->GetFirst();
773
774 bool blocked = wxPyBeginBlockThreads();
775 pyList = PyList_New(0);
776 while (node) {
777 wxObj = node->GetData();
778 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
779 PyList_Append(pyList, pyObj);
780 node = node->GetNext();
781 }
782 wxPyEndBlockThreads(blocked);
783 return pyList;
784 }
785
786 //---------------------------------------------------------------------------
787
788 PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
789 wxList* list = (wxList*)listbase;
790 PyObject* pyList;
791 PyObject* pyObj;
792 wxObject* wxObj;
793 wxNode* node = list->GetFirst();
794
795 bool blocked = wxPyBeginBlockThreads();
796 pyList = PyList_New(0);
797 while (node) {
798 wxObj = node->GetData();
799 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj, false);
800 PyList_Append(pyList, pyObj);
801 node = node->GetNext();
802 }
803 wxPyEndBlockThreads(blocked);
804 return pyList;
805 }
806
807
808 //---------------------------------------------------------------------------
809
810 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
811 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
812 IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
813 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
814 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
815 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
816 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
817 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
818 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
819 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
820 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
821 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
822 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
823 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
824 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
825
826 //---------------------------------------------------------------------------
827
828 // extern "C" SWIGEXPORT(void) initoglbasicc();
829 // extern "C" SWIGEXPORT(void) initoglshapesc();
830 // extern "C" SWIGEXPORT(void) initoglshapes2c();
831 // extern "C" SWIGEXPORT(void) initoglcanvasc();
832
833 #ifdef __cplusplus
834 extern "C" {
835 #endif
836 static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject *resultobj;
838 wxShapeRegion *result;
839 char *kwnames[] = {
840 NULL
841 };
842
843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
844 {
845 PyThreadState* __tstate = wxPyBeginAllowThreads();
846 result = (wxShapeRegion *)new wxShapeRegion();
847
848 wxPyEndAllowThreads(__tstate);
849 if (PyErr_Occurred()) SWIG_fail;
850 }
851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShapeRegion, 1);
852 return resultobj;
853 fail:
854 return NULL;
855 }
856
857
858 static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
859 PyObject *resultobj;
860 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
861 wxString *arg2 = 0 ;
862 bool temp2 = False ;
863 PyObject * obj0 = 0 ;
864 PyObject * obj1 = 0 ;
865 char *kwnames[] = {
866 (char *) "self",(char *) "s", NULL
867 };
868
869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
872 {
873 arg2 = wxString_in_helper(obj1);
874 if (arg2 == NULL) SWIG_fail;
875 temp2 = True;
876 }
877 {
878 PyThreadState* __tstate = wxPyBeginAllowThreads();
879 (arg1)->SetText((wxString const &)*arg2);
880
881 wxPyEndAllowThreads(__tstate);
882 if (PyErr_Occurred()) SWIG_fail;
883 }
884 Py_INCREF(Py_None); resultobj = Py_None;
885 {
886 if (temp2)
887 delete arg2;
888 }
889 return resultobj;
890 fail:
891 {
892 if (temp2)
893 delete arg2;
894 }
895 return NULL;
896 }
897
898
899 static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
900 PyObject *resultobj;
901 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
902 wxFont *arg2 = (wxFont *) 0 ;
903 PyObject * obj0 = 0 ;
904 PyObject * obj1 = 0 ;
905 char *kwnames[] = {
906 (char *) "self",(char *) "f", NULL
907 };
908
909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
912 {
913 wxFont* temp;
914 if (obj1) {
915 if (obj1 == Py_None) {
916 temp = NULL;
917 }
918 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
919 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
920 return NULL;
921 }
922 }
923 if (temp)
924 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
925 temp->GetFamily(),
926 temp->GetStyle(),
927 temp->GetWeight(),
928 temp->GetUnderlined(),
929 temp->GetFaceName(),
930 temp->GetEncoding());
931 else
932 arg2 = NULL;
933 }
934 {
935 PyThreadState* __tstate = wxPyBeginAllowThreads();
936 (arg1)->SetFont(arg2);
937
938 wxPyEndAllowThreads(__tstate);
939 if (PyErr_Occurred()) SWIG_fail;
940 }
941 Py_INCREF(Py_None); resultobj = Py_None;
942 return resultobj;
943 fail:
944 return NULL;
945 }
946
947
948 static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
949 PyObject *resultobj;
950 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
951 double arg2 ;
952 double arg3 ;
953 PyObject * obj0 = 0 ;
954 PyObject * obj1 = 0 ;
955 PyObject * obj2 = 0 ;
956 char *kwnames[] = {
957 (char *) "self",(char *) "w",(char *) "h", NULL
958 };
959
960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
963 arg2 = (double) SWIG_AsDouble(obj1);
964 if (PyErr_Occurred()) SWIG_fail;
965 arg3 = (double) SWIG_AsDouble(obj2);
966 if (PyErr_Occurred()) SWIG_fail;
967 {
968 PyThreadState* __tstate = wxPyBeginAllowThreads();
969 (arg1)->SetMinSize(arg2,arg3);
970
971 wxPyEndAllowThreads(__tstate);
972 if (PyErr_Occurred()) SWIG_fail;
973 }
974 Py_INCREF(Py_None); resultobj = Py_None;
975 return resultobj;
976 fail:
977 return NULL;
978 }
979
980
981 static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
982 PyObject *resultobj;
983 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
984 double arg2 ;
985 double arg3 ;
986 PyObject * obj0 = 0 ;
987 PyObject * obj1 = 0 ;
988 PyObject * obj2 = 0 ;
989 char *kwnames[] = {
990 (char *) "self",(char *) "w",(char *) "h", NULL
991 };
992
993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
996 arg2 = (double) SWIG_AsDouble(obj1);
997 if (PyErr_Occurred()) SWIG_fail;
998 arg3 = (double) SWIG_AsDouble(obj2);
999 if (PyErr_Occurred()) SWIG_fail;
1000 {
1001 PyThreadState* __tstate = wxPyBeginAllowThreads();
1002 (arg1)->SetSize(arg2,arg3);
1003
1004 wxPyEndAllowThreads(__tstate);
1005 if (PyErr_Occurred()) SWIG_fail;
1006 }
1007 Py_INCREF(Py_None); resultobj = Py_None;
1008 return resultobj;
1009 fail:
1010 return NULL;
1011 }
1012
1013
1014 static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1015 PyObject *resultobj;
1016 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1017 double arg2 ;
1018 double arg3 ;
1019 PyObject * obj0 = 0 ;
1020 PyObject * obj1 = 0 ;
1021 PyObject * obj2 = 0 ;
1022 char *kwnames[] = {
1023 (char *) "self",(char *) "x",(char *) "y", NULL
1024 };
1025
1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
1027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1029 arg2 = (double) SWIG_AsDouble(obj1);
1030 if (PyErr_Occurred()) SWIG_fail;
1031 arg3 = (double) SWIG_AsDouble(obj2);
1032 if (PyErr_Occurred()) SWIG_fail;
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 (arg1)->SetPosition(arg2,arg3);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) SWIG_fail;
1039 }
1040 Py_INCREF(Py_None); resultobj = Py_None;
1041 return resultobj;
1042 fail:
1043 return NULL;
1044 }
1045
1046
1047 static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
1048 PyObject *resultobj;
1049 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1050 double arg2 ;
1051 double arg3 ;
1052 PyObject * obj0 = 0 ;
1053 PyObject * obj1 = 0 ;
1054 PyObject * obj2 = 0 ;
1055 char *kwnames[] = {
1056 (char *) "self",(char *) "x",(char *) "y", NULL
1057 };
1058
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
1060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1062 arg2 = (double) SWIG_AsDouble(obj1);
1063 if (PyErr_Occurred()) SWIG_fail;
1064 arg3 = (double) SWIG_AsDouble(obj2);
1065 if (PyErr_Occurred()) SWIG_fail;
1066 {
1067 PyThreadState* __tstate = wxPyBeginAllowThreads();
1068 (arg1)->SetProportions(arg2,arg3);
1069
1070 wxPyEndAllowThreads(__tstate);
1071 if (PyErr_Occurred()) SWIG_fail;
1072 }
1073 Py_INCREF(Py_None); resultobj = Py_None;
1074 return resultobj;
1075 fail:
1076 return NULL;
1077 }
1078
1079
1080 static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1081 PyObject *resultobj;
1082 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1083 int arg2 ;
1084 PyObject * obj0 = 0 ;
1085 PyObject * obj1 = 0 ;
1086 char *kwnames[] = {
1087 (char *) "self",(char *) "mode", NULL
1088 };
1089
1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
1091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1093 arg2 = (int) SWIG_AsInt(obj1);
1094 if (PyErr_Occurred()) SWIG_fail;
1095 {
1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
1097 (arg1)->SetFormatMode(arg2);
1098
1099 wxPyEndAllowThreads(__tstate);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 Py_INCREF(Py_None); resultobj = Py_None;
1103 return resultobj;
1104 fail:
1105 return NULL;
1106 }
1107
1108
1109 static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1110 PyObject *resultobj;
1111 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1112 wxString *arg2 = 0 ;
1113 bool temp2 = False ;
1114 PyObject * obj0 = 0 ;
1115 PyObject * obj1 = 0 ;
1116 char *kwnames[] = {
1117 (char *) "self",(char *) "s", NULL
1118 };
1119
1120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
1121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1123 {
1124 arg2 = wxString_in_helper(obj1);
1125 if (arg2 == NULL) SWIG_fail;
1126 temp2 = True;
1127 }
1128 {
1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
1130 (arg1)->SetName((wxString const &)*arg2);
1131
1132 wxPyEndAllowThreads(__tstate);
1133 if (PyErr_Occurred()) SWIG_fail;
1134 }
1135 Py_INCREF(Py_None); resultobj = Py_None;
1136 {
1137 if (temp2)
1138 delete arg2;
1139 }
1140 return resultobj;
1141 fail:
1142 {
1143 if (temp2)
1144 delete arg2;
1145 }
1146 return NULL;
1147 }
1148
1149
1150 static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1151 PyObject *resultobj;
1152 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1153 wxString *arg2 = 0 ;
1154 bool temp2 = False ;
1155 PyObject * obj0 = 0 ;
1156 PyObject * obj1 = 0 ;
1157 char *kwnames[] = {
1158 (char *) "self",(char *) "col", NULL
1159 };
1160
1161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
1162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1164 {
1165 arg2 = wxString_in_helper(obj1);
1166 if (arg2 == NULL) SWIG_fail;
1167 temp2 = True;
1168 }
1169 {
1170 PyThreadState* __tstate = wxPyBeginAllowThreads();
1171 (arg1)->SetColour((wxString const &)*arg2);
1172
1173 wxPyEndAllowThreads(__tstate);
1174 if (PyErr_Occurred()) SWIG_fail;
1175 }
1176 Py_INCREF(Py_None); resultobj = Py_None;
1177 {
1178 if (temp2)
1179 delete arg2;
1180 }
1181 return resultobj;
1182 fail:
1183 {
1184 if (temp2)
1185 delete arg2;
1186 }
1187 return NULL;
1188 }
1189
1190
1191 static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1192 PyObject *resultobj;
1193 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1194 wxString result;
1195 PyObject * obj0 = 0 ;
1196 char *kwnames[] = {
1197 (char *) "self", NULL
1198 };
1199
1200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
1201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1203 {
1204 PyThreadState* __tstate = wxPyBeginAllowThreads();
1205 result = (arg1)->GetText();
1206
1207 wxPyEndAllowThreads(__tstate);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 }
1210 {
1211 #if wxUSE_UNICODE
1212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1213 #else
1214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1215 #endif
1216 }
1217 return resultobj;
1218 fail:
1219 return NULL;
1220 }
1221
1222
1223 static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1224 PyObject *resultobj;
1225 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1226 wxFont *result;
1227 PyObject * obj0 = 0 ;
1228 char *kwnames[] = {
1229 (char *) "self", NULL
1230 };
1231
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
1233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1235 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 result = (wxFont *)(arg1)->GetFont();
1238
1239 wxPyEndAllowThreads(__tstate);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
1242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
1243 return resultobj;
1244 fail:
1245 return NULL;
1246 }
1247
1248
1249 static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1250 PyObject *resultobj;
1251 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1252 double *arg2 = (double *) 0 ;
1253 double *arg3 = (double *) 0 ;
1254 double temp2 ;
1255 double temp3 ;
1256 PyObject * obj0 = 0 ;
1257 char *kwnames[] = {
1258 (char *) "self", NULL
1259 };
1260
1261 arg2 = &temp2;
1262 arg3 = &temp3;
1263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1266 {
1267 PyThreadState* __tstate = wxPyBeginAllowThreads();
1268 (arg1)->GetMinSize(arg2,arg3);
1269
1270 wxPyEndAllowThreads(__tstate);
1271 if (PyErr_Occurred()) SWIG_fail;
1272 }
1273 Py_INCREF(Py_None); resultobj = Py_None;
1274 {
1275 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1276 resultobj = t_output_helper(resultobj,o);
1277 }
1278 {
1279 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1280 resultobj = t_output_helper(resultobj,o);
1281 }
1282 return resultobj;
1283 fail:
1284 return NULL;
1285 }
1286
1287
1288 static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1289 PyObject *resultobj;
1290 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1291 double *arg2 = (double *) 0 ;
1292 double *arg3 = (double *) 0 ;
1293 double temp2 ;
1294 double temp3 ;
1295 PyObject * obj0 = 0 ;
1296 char *kwnames[] = {
1297 (char *) "self", NULL
1298 };
1299
1300 arg2 = &temp2;
1301 arg3 = &temp3;
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1305 {
1306 PyThreadState* __tstate = wxPyBeginAllowThreads();
1307 (arg1)->GetProportion(arg2,arg3);
1308
1309 wxPyEndAllowThreads(__tstate);
1310 if (PyErr_Occurred()) SWIG_fail;
1311 }
1312 Py_INCREF(Py_None); resultobj = Py_None;
1313 {
1314 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1315 resultobj = t_output_helper(resultobj,o);
1316 }
1317 {
1318 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1319 resultobj = t_output_helper(resultobj,o);
1320 }
1321 return resultobj;
1322 fail:
1323 return NULL;
1324 }
1325
1326
1327 static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1328 PyObject *resultobj;
1329 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1330 double *arg2 = (double *) 0 ;
1331 double *arg3 = (double *) 0 ;
1332 double temp2 ;
1333 double temp3 ;
1334 PyObject * obj0 = 0 ;
1335 char *kwnames[] = {
1336 (char *) "self", NULL
1337 };
1338
1339 arg2 = &temp2;
1340 arg3 = &temp3;
1341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 (arg1)->GetSize(arg2,arg3);
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 Py_INCREF(Py_None); resultobj = Py_None;
1352 {
1353 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1354 resultobj = t_output_helper(resultobj,o);
1355 }
1356 {
1357 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1358 resultobj = t_output_helper(resultobj,o);
1359 }
1360 return resultobj;
1361 fail:
1362 return NULL;
1363 }
1364
1365
1366 static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject *resultobj;
1368 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1369 double *arg2 = (double *) 0 ;
1370 double *arg3 = (double *) 0 ;
1371 double temp2 ;
1372 double temp3 ;
1373 PyObject * obj0 = 0 ;
1374 char *kwnames[] = {
1375 (char *) "self", NULL
1376 };
1377
1378 arg2 = &temp2;
1379 arg3 = &temp3;
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 (arg1)->GetPosition(arg2,arg3);
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 Py_INCREF(Py_None); resultobj = Py_None;
1391 {
1392 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1393 resultobj = t_output_helper(resultobj,o);
1394 }
1395 {
1396 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1397 resultobj = t_output_helper(resultobj,o);
1398 }
1399 return resultobj;
1400 fail:
1401 return NULL;
1402 }
1403
1404
1405 static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1406 PyObject *resultobj;
1407 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1408 int result;
1409 PyObject * obj0 = 0 ;
1410 char *kwnames[] = {
1411 (char *) "self", NULL
1412 };
1413
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1417 {
1418 PyThreadState* __tstate = wxPyBeginAllowThreads();
1419 result = (int)(arg1)->GetFormatMode();
1420
1421 wxPyEndAllowThreads(__tstate);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
1424 resultobj = SWIG_FromInt((int)result);
1425 return resultobj;
1426 fail:
1427 return NULL;
1428 }
1429
1430
1431 static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject *resultobj;
1433 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1434 wxString result;
1435 PyObject * obj0 = 0 ;
1436 char *kwnames[] = {
1437 (char *) "self", NULL
1438 };
1439
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 result = (arg1)->GetName();
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 {
1451 #if wxUSE_UNICODE
1452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1453 #else
1454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1455 #endif
1456 }
1457 return resultobj;
1458 fail:
1459 return NULL;
1460 }
1461
1462
1463 static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1464 PyObject *resultobj;
1465 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1466 wxString result;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1475 {
1476 PyThreadState* __tstate = wxPyBeginAllowThreads();
1477 result = (arg1)->GetColour();
1478
1479 wxPyEndAllowThreads(__tstate);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
1482 {
1483 #if wxUSE_UNICODE
1484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1485 #else
1486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1487 #endif
1488 }
1489 return resultobj;
1490 fail:
1491 return NULL;
1492 }
1493
1494
1495 static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1496 PyObject *resultobj;
1497 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1498 wxColour result;
1499 PyObject * obj0 = 0 ;
1500 char *kwnames[] = {
1501 (char *) "self", NULL
1502 };
1503
1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
1509 result = (arg1)->GetActualColourObject();
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) SWIG_fail;
1513 }
1514 {
1515 wxColour * resultptr;
1516 resultptr = new wxColour((wxColour &) result);
1517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1518 }
1519 return resultobj;
1520 fail:
1521 return NULL;
1522 }
1523
1524
1525 static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1526 PyObject *resultobj;
1527 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1528 wxList *result;
1529 PyObject * obj0 = 0 ;
1530 char *kwnames[] = {
1531 (char *) "self", NULL
1532 };
1533
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1537 {
1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
1539 {
1540 wxList &_result_ref = (arg1)->GetFormattedText();
1541 result = (wxList *) &_result_ref;
1542 }
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxList, 0);
1548 return resultobj;
1549 fail:
1550 return NULL;
1551 }
1552
1553
1554 static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1555 PyObject *resultobj;
1556 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1557 wxString result;
1558 PyObject * obj0 = 0 ;
1559 char *kwnames[] = {
1560 (char *) "self", NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1566 {
1567 PyThreadState* __tstate = wxPyBeginAllowThreads();
1568 result = (arg1)->GetPenColour();
1569
1570 wxPyEndAllowThreads(__tstate);
1571 if (PyErr_Occurred()) SWIG_fail;
1572 }
1573 {
1574 #if wxUSE_UNICODE
1575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1576 #else
1577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1578 #endif
1579 }
1580 return resultobj;
1581 fail:
1582 return NULL;
1583 }
1584
1585
1586 static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject *resultobj;
1588 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1589 int result;
1590 PyObject * obj0 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "self", NULL
1593 };
1594
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1598 {
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 result = (int)(arg1)->GetPenStyle();
1601
1602 wxPyEndAllowThreads(__tstate);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
1605 resultobj = SWIG_FromInt((int)result);
1606 return resultobj;
1607 fail:
1608 return NULL;
1609 }
1610
1611
1612 static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1613 PyObject *resultobj;
1614 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1615 int arg2 ;
1616 PyObject * obj0 = 0 ;
1617 PyObject * obj1 = 0 ;
1618 char *kwnames[] = {
1619 (char *) "self",(char *) "style", NULL
1620 };
1621
1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
1623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1625 arg2 = (int) SWIG_AsInt(obj1);
1626 if (PyErr_Occurred()) SWIG_fail;
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 (arg1)->SetPenStyle(arg2);
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
1634 Py_INCREF(Py_None); resultobj = Py_None;
1635 return resultobj;
1636 fail:
1637 return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1644 wxString *arg2 = 0 ;
1645 bool temp2 = False ;
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self",(char *) "col", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1655 {
1656 arg2 = wxString_in_helper(obj1);
1657 if (arg2 == NULL) SWIG_fail;
1658 temp2 = True;
1659 }
1660 {
1661 PyThreadState* __tstate = wxPyBeginAllowThreads();
1662 (arg1)->SetPenColour((wxString const &)*arg2);
1663
1664 wxPyEndAllowThreads(__tstate);
1665 if (PyErr_Occurred()) SWIG_fail;
1666 }
1667 Py_INCREF(Py_None); resultobj = Py_None;
1668 {
1669 if (temp2)
1670 delete arg2;
1671 }
1672 return resultobj;
1673 fail:
1674 {
1675 if (temp2)
1676 delete arg2;
1677 }
1678 return NULL;
1679 }
1680
1681
1682 static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject *resultobj;
1684 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1685 wxPen *result;
1686 PyObject * obj0 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 result = (wxPen *)(arg1)->GetActualPen();
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
1701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
1702 return resultobj;
1703 fail:
1704 return NULL;
1705 }
1706
1707
1708 static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject *resultobj;
1710 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1711 double result;
1712 PyObject * obj0 = 0 ;
1713 char *kwnames[] = {
1714 (char *) "self", NULL
1715 };
1716
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 result = (double)(arg1)->GetWidth();
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 resultobj = SWIG_FromDouble((double)result);
1728 return resultobj;
1729 fail:
1730 return NULL;
1731 }
1732
1733
1734 static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1735 PyObject *resultobj;
1736 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1737 double result;
1738 PyObject * obj0 = 0 ;
1739 char *kwnames[] = {
1740 (char *) "self", NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 result = (double)(arg1)->GetHeight();
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
1753 resultobj = SWIG_FromDouble((double)result);
1754 return resultobj;
1755 fail:
1756 return NULL;
1757 }
1758
1759
1760 static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1763 PyObject * obj0 = 0 ;
1764 char *kwnames[] = {
1765 (char *) "self", NULL
1766 };
1767
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 (arg1)->ClearText();
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 Py_INCREF(Py_None); resultobj = Py_None;
1779 return resultobj;
1780 fail:
1781 return NULL;
1782 }
1783
1784
1785 static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1786 PyObject *obj;
1787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1789 Py_INCREF(obj);
1790 return Py_BuildValue((char *)"");
1791 }
1792 static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 int arg1 = (int) 0 ;
1795 double arg2 = (double) 0.0 ;
1796 double arg3 = (double) 0.0 ;
1797 wxAttachmentPoint *result;
1798 PyObject * obj0 = 0 ;
1799 PyObject * obj1 = 0 ;
1800 PyObject * obj2 = 0 ;
1801 char *kwnames[] = {
1802 (char *) "id",(char *) "x",(char *) "y", NULL
1803 };
1804
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
1806 if (obj0) {
1807 arg1 = (int) SWIG_AsInt(obj0);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 if (obj1) {
1811 arg2 = (double) SWIG_AsDouble(obj1);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 }
1814 if (obj2) {
1815 arg3 = (double) SWIG_AsDouble(obj2);
1816 if (PyErr_Occurred()) SWIG_fail;
1817 }
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAttachmentPoint, 1);
1826 return resultobj;
1827 fail:
1828 return NULL;
1829 }
1830
1831
1832 static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject *resultobj;
1834 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1835 int arg2 ;
1836 PyObject * obj0 = 0 ;
1837 PyObject * obj1 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "self",(char *) "m_id", NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
1843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1845 arg2 = (int) SWIG_AsInt(obj1);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 if (arg1) (arg1)->m_id = arg2;
1848
1849 Py_INCREF(Py_None); resultobj = Py_None;
1850 return resultobj;
1851 fail:
1852 return NULL;
1853 }
1854
1855
1856 static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject *resultobj;
1858 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1859 int result;
1860 PyObject * obj0 = 0 ;
1861 char *kwnames[] = {
1862 (char *) "self", NULL
1863 };
1864
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
1866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1868 result = (int) ((arg1)->m_id);
1869
1870 resultobj = SWIG_FromInt((int)result);
1871 return resultobj;
1872 fail:
1873 return NULL;
1874 }
1875
1876
1877 static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject *resultobj;
1879 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1880 double arg2 ;
1881 PyObject * obj0 = 0 ;
1882 PyObject * obj1 = 0 ;
1883 char *kwnames[] = {
1884 (char *) "self",(char *) "m_x", NULL
1885 };
1886
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
1888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1890 arg2 = (double) SWIG_AsDouble(obj1);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 if (arg1) (arg1)->m_x = arg2;
1893
1894 Py_INCREF(Py_None); resultobj = Py_None;
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1904 double result;
1905 PyObject * obj0 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
1911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1913 result = (double) ((arg1)->m_x);
1914
1915 resultobj = SWIG_FromDouble((double)result);
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1925 double arg2 ;
1926 PyObject * obj0 = 0 ;
1927 PyObject * obj1 = 0 ;
1928 char *kwnames[] = {
1929 (char *) "self",(char *) "m_y", NULL
1930 };
1931
1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
1933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1935 arg2 = (double) SWIG_AsDouble(obj1);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 if (arg1) (arg1)->m_y = arg2;
1938
1939 Py_INCREF(Py_None); resultobj = Py_None;
1940 return resultobj;
1941 fail:
1942 return NULL;
1943 }
1944
1945
1946 static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1949 double result;
1950 PyObject * obj0 = 0 ;
1951 char *kwnames[] = {
1952 (char *) "self", NULL
1953 };
1954
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
1956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1958 result = (double) ((arg1)->m_y);
1959
1960 resultobj = SWIG_FromDouble((double)result);
1961 return resultobj;
1962 fail:
1963 return NULL;
1964 }
1965
1966
1967 static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
1968 PyObject *obj;
1969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1970 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1971 Py_INCREF(obj);
1972 return Py_BuildValue((char *)"");
1973 }
1974 static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject *resultobj;
1976 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1977 wxPyShape *arg2 = (wxPyShape *) NULL ;
1978 wxPyShapeEvtHandler *result;
1979 PyObject * obj0 = 0 ;
1980 PyObject * obj1 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "prev",(char *) "shape", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1986 if (obj0) {
1987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
1988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1989 }
1990 if (obj1) {
1991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
1992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1993 }
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 {
2002 resultobj = wxPyMake_wxShapeEvtHandler(result, 1);
2003 }
2004 return resultobj;
2005 fail:
2006 return NULL;
2007 }
2008
2009
2010 static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2013 PyObject *arg2 = (PyObject *) 0 ;
2014 PyObject *arg3 = (PyObject *) 0 ;
2015 PyObject * obj0 = 0 ;
2016 PyObject * obj1 = 0 ;
2017 PyObject * obj2 = 0 ;
2018 char *kwnames[] = {
2019 (char *) "self",(char *) "self",(char *) "_class", NULL
2020 };
2021
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2025 arg2 = obj1;
2026 arg3 = obj2;
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 (arg1)->_setCallbackInfo(arg2,arg3);
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 Py_INCREF(Py_None); resultobj = Py_None;
2035 return resultobj;
2036 fail:
2037 return NULL;
2038 }
2039
2040
2041 static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject *resultobj;
2043 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2044 PyObject *arg2 = (PyObject *) 0 ;
2045 PyObject * obj0 = 0 ;
2046 PyObject * obj1 = 0 ;
2047 char *kwnames[] = {
2048 (char *) "self",(char *) "_self", NULL
2049 };
2050
2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2054 arg2 = obj1;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2072 wxPyShape *arg2 = (wxPyShape *) 0 ;
2073 PyObject * obj0 = 0 ;
2074 PyObject * obj1 = 0 ;
2075 char *kwnames[] = {
2076 (char *) "self",(char *) "sh", NULL
2077 };
2078
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
2080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
2083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2084 {
2085 PyThreadState* __tstate = wxPyBeginAllowThreads();
2086 (arg1)->SetShape(arg2);
2087
2088 wxPyEndAllowThreads(__tstate);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 }
2091 Py_INCREF(Py_None); resultobj = Py_None;
2092 return resultobj;
2093 fail:
2094 return NULL;
2095 }
2096
2097
2098 static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2099 PyObject *resultobj;
2100 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2101 wxPyShape *result;
2102 PyObject * obj0 = 0 ;
2103 char *kwnames[] = {
2104 (char *) "self", NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
2108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2110 {
2111 PyThreadState* __tstate = wxPyBeginAllowThreads();
2112 result = (wxPyShape *)(arg1)->GetShape();
2113
2114 wxPyEndAllowThreads(__tstate);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 {
2118 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
2119 }
2120 return resultobj;
2121 fail:
2122 return NULL;
2123 }
2124
2125
2126 static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2127 PyObject *resultobj;
2128 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2129 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2130 PyObject * obj0 = 0 ;
2131 PyObject * obj1 = 0 ;
2132 char *kwnames[] = {
2133 (char *) "self",(char *) "handler", NULL
2134 };
2135
2136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
2140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 (arg1)->SetPreviousHandler(arg2);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 Py_INCREF(Py_None); resultobj = Py_None;
2149 return resultobj;
2150 fail:
2151 return NULL;
2152 }
2153
2154
2155 static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject *resultobj;
2157 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2158 wxPyShapeEvtHandler *result;
2159 PyObject * obj0 = 0 ;
2160 char *kwnames[] = {
2161 (char *) "self", NULL
2162 };
2163
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 {
2175 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
2176 }
2177 return resultobj;
2178 fail:
2179 return NULL;
2180 }
2181
2182
2183 static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject *resultobj;
2185 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2186 wxPyShapeEvtHandler *result;
2187 PyObject * obj0 = 0 ;
2188 char *kwnames[] = {
2189 (char *) "self", NULL
2190 };
2191
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 {
2203 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
2204 }
2205 return resultobj;
2206 fail:
2207 return NULL;
2208 }
2209
2210
2211 static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject *resultobj;
2213 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2214 PyObject * obj0 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2222 {
2223 PyThreadState* __tstate = wxPyBeginAllowThreads();
2224 (arg1)->base_OnDelete();
2225
2226 wxPyEndAllowThreads(__tstate);
2227 if (PyErr_Occurred()) SWIG_fail;
2228 }
2229 Py_INCREF(Py_None); resultobj = Py_None;
2230 return resultobj;
2231 fail:
2232 return NULL;
2233 }
2234
2235
2236 static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
2237 PyObject *resultobj;
2238 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2239 wxDC *arg2 = 0 ;
2240 PyObject * obj0 = 0 ;
2241 PyObject * obj1 = 0 ;
2242 char *kwnames[] = {
2243 (char *) "self",(char *) "dc", NULL
2244 };
2245
2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2250 SWIG_POINTER_EXCEPTION | 0)) == -1)
2251 SWIG_fail;
2252 if (arg2 == NULL) {
2253 PyErr_SetString(PyExc_TypeError,"null reference");
2254 SWIG_fail;
2255 }
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 (arg1)->base_OnDraw(*arg2);
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 Py_INCREF(Py_None); resultobj = Py_None;
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2271 PyObject *resultobj;
2272 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2273 wxDC *arg2 = 0 ;
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
2276 char *kwnames[] = {
2277 (char *) "self",(char *) "dc", NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2284 SWIG_POINTER_EXCEPTION | 0)) == -1)
2285 SWIG_fail;
2286 if (arg2 == NULL) {
2287 PyErr_SetString(PyExc_TypeError,"null reference");
2288 SWIG_fail;
2289 }
2290 {
2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
2292 (arg1)->base_OnDrawContents(*arg2);
2293
2294 wxPyEndAllowThreads(__tstate);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 }
2297 Py_INCREF(Py_None); resultobj = Py_None;
2298 return resultobj;
2299 fail:
2300 return NULL;
2301 }
2302
2303
2304 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
2305 PyObject *resultobj;
2306 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2307 wxDC *arg2 = 0 ;
2308 bool arg3 = (bool) False ;
2309 PyObject * obj0 = 0 ;
2310 PyObject * obj1 = 0 ;
2311 PyObject * obj2 = 0 ;
2312 char *kwnames[] = {
2313 (char *) "self",(char *) "dc",(char *) "erase", NULL
2314 };
2315
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2320 SWIG_POINTER_EXCEPTION | 0)) == -1)
2321 SWIG_fail;
2322 if (arg2 == NULL) {
2323 PyErr_SetString(PyExc_TypeError,"null reference");
2324 SWIG_fail;
2325 }
2326 if (obj2) {
2327 arg3 = (bool) SWIG_AsBool(obj2);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 (arg1)->base_OnDrawBranches(*arg2,arg3);
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341 }
2342
2343
2344 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj;
2346 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2347 wxDC *arg2 = 0 ;
2348 PyObject * obj0 = 0 ;
2349 PyObject * obj1 = 0 ;
2350 char *kwnames[] = {
2351 (char *) "self",(char *) "dc", NULL
2352 };
2353
2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2358 SWIG_POINTER_EXCEPTION | 0)) == -1)
2359 SWIG_fail;
2360 if (arg2 == NULL) {
2361 PyErr_SetString(PyExc_TypeError,"null reference");
2362 SWIG_fail;
2363 }
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 (arg1)->base_OnMoveLinks(*arg2);
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 Py_INCREF(Py_None); resultobj = Py_None;
2372 return resultobj;
2373 fail:
2374 return NULL;
2375 }
2376
2377
2378 static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2381 wxDC *arg2 = 0 ;
2382 PyObject * obj0 = 0 ;
2383 PyObject * obj1 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self",(char *) "dc", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2392 SWIG_POINTER_EXCEPTION | 0)) == -1)
2393 SWIG_fail;
2394 if (arg2 == NULL) {
2395 PyErr_SetString(PyExc_TypeError,"null reference");
2396 SWIG_fail;
2397 }
2398 {
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 (arg1)->base_OnErase(*arg2);
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 Py_INCREF(Py_None); resultobj = Py_None;
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2415 wxDC *arg2 = 0 ;
2416 PyObject * obj0 = 0 ;
2417 PyObject * obj1 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self",(char *) "dc", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2426 SWIG_POINTER_EXCEPTION | 0)) == -1)
2427 SWIG_fail;
2428 if (arg2 == NULL) {
2429 PyErr_SetString(PyExc_TypeError,"null reference");
2430 SWIG_fail;
2431 }
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 (arg1)->base_OnEraseContents(*arg2);
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
2439 Py_INCREF(Py_None); resultobj = Py_None;
2440 return resultobj;
2441 fail:
2442 return NULL;
2443 }
2444
2445
2446 static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2447 PyObject *resultobj;
2448 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2449 wxDC *arg2 = 0 ;
2450 PyObject * obj0 = 0 ;
2451 PyObject * obj1 = 0 ;
2452 char *kwnames[] = {
2453 (char *) "self",(char *) "dc", NULL
2454 };
2455
2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2460 SWIG_POINTER_EXCEPTION | 0)) == -1)
2461 SWIG_fail;
2462 if (arg2 == NULL) {
2463 PyErr_SetString(PyExc_TypeError,"null reference");
2464 SWIG_fail;
2465 }
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 (arg1)->base_OnHighlight(*arg2);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 Py_INCREF(Py_None); resultobj = Py_None;
2474 return resultobj;
2475 fail:
2476 return NULL;
2477 }
2478
2479
2480 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2481 PyObject *resultobj;
2482 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2483 double arg2 ;
2484 double arg3 ;
2485 int arg4 = (int) 0 ;
2486 int arg5 = (int) 0 ;
2487 PyObject * obj0 = 0 ;
2488 PyObject * obj1 = 0 ;
2489 PyObject * obj2 = 0 ;
2490 PyObject * obj3 = 0 ;
2491 PyObject * obj4 = 0 ;
2492 char *kwnames[] = {
2493 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2494 };
2495
2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2499 arg2 = (double) SWIG_AsDouble(obj1);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 arg3 = (double) SWIG_AsDouble(obj2);
2502 if (PyErr_Occurred()) SWIG_fail;
2503 if (obj3) {
2504 arg4 = (int) SWIG_AsInt(obj3);
2505 if (PyErr_Occurred()) SWIG_fail;
2506 }
2507 if (obj4) {
2508 arg5 = (int) SWIG_AsInt(obj4);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 {
2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
2513 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2514
2515 wxPyEndAllowThreads(__tstate);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 Py_INCREF(Py_None); resultobj = Py_None;
2519 return resultobj;
2520 fail:
2521 return NULL;
2522 }
2523
2524
2525 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2526 PyObject *resultobj;
2527 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2528 double arg2 ;
2529 double arg3 ;
2530 int arg4 = (int) 0 ;
2531 int arg5 = (int) 0 ;
2532 PyObject * obj0 = 0 ;
2533 PyObject * obj1 = 0 ;
2534 PyObject * obj2 = 0 ;
2535 PyObject * obj3 = 0 ;
2536 PyObject * obj4 = 0 ;
2537 char *kwnames[] = {
2538 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2539 };
2540
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2544 arg2 = (double) SWIG_AsDouble(obj1);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 arg3 = (double) SWIG_AsDouble(obj2);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 if (obj3) {
2549 arg4 = (int) SWIG_AsInt(obj3);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
2552 if (obj4) {
2553 arg5 = (int) SWIG_AsInt(obj4);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 }
2556 {
2557 PyThreadState* __tstate = wxPyBeginAllowThreads();
2558 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2559
2560 wxPyEndAllowThreads(__tstate);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 }
2563 Py_INCREF(Py_None); resultobj = Py_None;
2564 return resultobj;
2565 fail:
2566 return NULL;
2567 }
2568
2569
2570 static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2571 PyObject *resultobj;
2572 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2573 double arg2 ;
2574 double arg3 ;
2575 int arg4 = (int) 0 ;
2576 int arg5 = (int) 0 ;
2577 PyObject * obj0 = 0 ;
2578 PyObject * obj1 = 0 ;
2579 PyObject * obj2 = 0 ;
2580 PyObject * obj3 = 0 ;
2581 PyObject * obj4 = 0 ;
2582 char *kwnames[] = {
2583 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2584 };
2585
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2589 arg2 = (double) SWIG_AsDouble(obj1);
2590 if (PyErr_Occurred()) SWIG_fail;
2591 arg3 = (double) SWIG_AsDouble(obj2);
2592 if (PyErr_Occurred()) SWIG_fail;
2593 if (obj3) {
2594 arg4 = (int) SWIG_AsInt(obj3);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 if (obj4) {
2598 arg5 = (int) SWIG_AsInt(obj4);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
2601 {
2602 PyThreadState* __tstate = wxPyBeginAllowThreads();
2603 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2604
2605 wxPyEndAllowThreads(__tstate);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 Py_INCREF(Py_None); resultobj = Py_None;
2609 return resultobj;
2610 fail:
2611 return NULL;
2612 }
2613
2614
2615 static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2616 PyObject *resultobj;
2617 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2618 double arg2 ;
2619 double arg3 ;
2620 PyObject * obj0 = 0 ;
2621 PyObject * obj1 = 0 ;
2622 PyObject * obj2 = 0 ;
2623 char *kwnames[] = {
2624 (char *) "self",(char *) "x",(char *) "y", NULL
2625 };
2626
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2630 arg2 = (double) SWIG_AsDouble(obj1);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 arg3 = (double) SWIG_AsDouble(obj2);
2633 if (PyErr_Occurred()) SWIG_fail;
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 (arg1)->base_OnSize(arg2,arg3);
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 Py_INCREF(Py_None); resultobj = Py_None;
2642 return resultobj;
2643 fail:
2644 return NULL;
2645 }
2646
2647
2648 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject *resultobj;
2650 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2651 wxDC *arg2 = 0 ;
2652 double arg3 ;
2653 double arg4 ;
2654 double arg5 ;
2655 double arg6 ;
2656 bool arg7 = (bool) True ;
2657 bool result;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
2660 PyObject * obj2 = 0 ;
2661 PyObject * obj3 = 0 ;
2662 PyObject * obj4 = 0 ;
2663 PyObject * obj5 = 0 ;
2664 PyObject * obj6 = 0 ;
2665 char *kwnames[] = {
2666 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2667 };
2668
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2673 SWIG_POINTER_EXCEPTION | 0)) == -1)
2674 SWIG_fail;
2675 if (arg2 == NULL) {
2676 PyErr_SetString(PyExc_TypeError,"null reference");
2677 SWIG_fail;
2678 }
2679 arg3 = (double) SWIG_AsDouble(obj2);
2680 if (PyErr_Occurred()) SWIG_fail;
2681 arg4 = (double) SWIG_AsDouble(obj3);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 arg5 = (double) SWIG_AsDouble(obj4);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 arg6 = (double) SWIG_AsDouble(obj5);
2686 if (PyErr_Occurred()) SWIG_fail;
2687 if (obj6) {
2688 arg7 = (bool) SWIG_AsBool(obj6);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 {
2699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2700 }
2701 return resultobj;
2702 fail:
2703 return NULL;
2704 }
2705
2706
2707 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2708 PyObject *resultobj;
2709 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2710 wxDC *arg2 = 0 ;
2711 double arg3 ;
2712 double arg4 ;
2713 double arg5 ;
2714 double arg6 ;
2715 bool arg7 = (bool) True ;
2716 PyObject * obj0 = 0 ;
2717 PyObject * obj1 = 0 ;
2718 PyObject * obj2 = 0 ;
2719 PyObject * obj3 = 0 ;
2720 PyObject * obj4 = 0 ;
2721 PyObject * obj5 = 0 ;
2722 PyObject * obj6 = 0 ;
2723 char *kwnames[] = {
2724 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2725 };
2726
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2731 SWIG_POINTER_EXCEPTION | 0)) == -1)
2732 SWIG_fail;
2733 if (arg2 == NULL) {
2734 PyErr_SetString(PyExc_TypeError,"null reference");
2735 SWIG_fail;
2736 }
2737 arg3 = (double) SWIG_AsDouble(obj2);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 arg4 = (double) SWIG_AsDouble(obj3);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 arg5 = (double) SWIG_AsDouble(obj4);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 arg6 = (double) SWIG_AsDouble(obj5);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 if (obj6) {
2746 arg7 = (bool) SWIG_AsBool(obj6);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 {
2750 PyThreadState* __tstate = wxPyBeginAllowThreads();
2751 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2752
2753 wxPyEndAllowThreads(__tstate);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
2756 Py_INCREF(Py_None); resultobj = Py_None;
2757 return resultobj;
2758 fail:
2759 return NULL;
2760 }
2761
2762
2763 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2766 bool arg2 ;
2767 double arg3 ;
2768 double arg4 ;
2769 int arg5 = (int) 0 ;
2770 int arg6 = (int) 0 ;
2771 PyObject * obj0 = 0 ;
2772 PyObject * obj1 = 0 ;
2773 PyObject * obj2 = 0 ;
2774 PyObject * obj3 = 0 ;
2775 PyObject * obj4 = 0 ;
2776 PyObject * obj5 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2784 arg2 = (bool) SWIG_AsBool(obj1);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 arg3 = (double) SWIG_AsDouble(obj2);
2787 if (PyErr_Occurred()) SWIG_fail;
2788 arg4 = (double) SWIG_AsDouble(obj3);
2789 if (PyErr_Occurred()) SWIG_fail;
2790 if (obj4) {
2791 arg5 = (int) SWIG_AsInt(obj4);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 if (obj5) {
2795 arg6 = (int) SWIG_AsInt(obj5);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 Py_INCREF(Py_None); resultobj = Py_None;
2806 return resultobj;
2807 fail:
2808 return NULL;
2809 }
2810
2811
2812 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2813 PyObject *resultobj;
2814 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2815 double arg2 ;
2816 double arg3 ;
2817 int arg4 = (int) 0 ;
2818 int arg5 = (int) 0 ;
2819 PyObject * obj0 = 0 ;
2820 PyObject * obj1 = 0 ;
2821 PyObject * obj2 = 0 ;
2822 PyObject * obj3 = 0 ;
2823 PyObject * obj4 = 0 ;
2824 char *kwnames[] = {
2825 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2826 };
2827
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2831 arg2 = (double) SWIG_AsDouble(obj1);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 arg3 = (double) SWIG_AsDouble(obj2);
2834 if (PyErr_Occurred()) SWIG_fail;
2835 if (obj3) {
2836 arg4 = (int) SWIG_AsInt(obj3);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 if (obj4) {
2840 arg5 = (int) SWIG_AsInt(obj4);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 Py_INCREF(Py_None); resultobj = Py_None;
2851 return resultobj;
2852 fail:
2853 return NULL;
2854 }
2855
2856
2857 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2860 double arg2 ;
2861 double arg3 ;
2862 int arg4 = (int) 0 ;
2863 int arg5 = (int) 0 ;
2864 PyObject * obj0 = 0 ;
2865 PyObject * obj1 = 0 ;
2866 PyObject * obj2 = 0 ;
2867 PyObject * obj3 = 0 ;
2868 PyObject * obj4 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2876 arg2 = (double) SWIG_AsDouble(obj1);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 arg3 = (double) SWIG_AsDouble(obj2);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 if (obj3) {
2881 arg4 = (int) SWIG_AsInt(obj3);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 if (obj4) {
2885 arg5 = (int) SWIG_AsInt(obj4);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 Py_INCREF(Py_None); resultobj = Py_None;
2896 return resultobj;
2897 fail:
2898 return NULL;
2899 }
2900
2901
2902 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj;
2904 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2905 bool arg2 ;
2906 double arg3 ;
2907 double arg4 ;
2908 int arg5 = (int) 0 ;
2909 int arg6 = (int) 0 ;
2910 PyObject * obj0 = 0 ;
2911 PyObject * obj1 = 0 ;
2912 PyObject * obj2 = 0 ;
2913 PyObject * obj3 = 0 ;
2914 PyObject * obj4 = 0 ;
2915 PyObject * obj5 = 0 ;
2916 char *kwnames[] = {
2917 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2918 };
2919
2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2923 arg2 = (bool) SWIG_AsBool(obj1);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 arg3 = (double) SWIG_AsDouble(obj2);
2926 if (PyErr_Occurred()) SWIG_fail;
2927 arg4 = (double) SWIG_AsDouble(obj3);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 if (obj4) {
2930 arg5 = (int) SWIG_AsInt(obj4);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 if (obj5) {
2934 arg6 = (int) SWIG_AsInt(obj5);
2935 if (PyErr_Occurred()) SWIG_fail;
2936 }
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 Py_INCREF(Py_None); resultobj = Py_None;
2945 return resultobj;
2946 fail:
2947 return NULL;
2948 }
2949
2950
2951 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2952 PyObject *resultobj;
2953 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2954 double arg2 ;
2955 double arg3 ;
2956 int arg4 = (int) 0 ;
2957 int arg5 = (int) 0 ;
2958 PyObject * obj0 = 0 ;
2959 PyObject * obj1 = 0 ;
2960 PyObject * obj2 = 0 ;
2961 PyObject * obj3 = 0 ;
2962 PyObject * obj4 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2970 arg2 = (double) SWIG_AsDouble(obj1);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 arg3 = (double) SWIG_AsDouble(obj2);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 if (obj3) {
2975 arg4 = (int) SWIG_AsInt(obj3);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 if (obj4) {
2979 arg5 = (int) SWIG_AsInt(obj4);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 {
2983 PyThreadState* __tstate = wxPyBeginAllowThreads();
2984 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2985
2986 wxPyEndAllowThreads(__tstate);
2987 if (PyErr_Occurred()) SWIG_fail;
2988 }
2989 Py_INCREF(Py_None); resultobj = Py_None;
2990 return resultobj;
2991 fail:
2992 return NULL;
2993 }
2994
2995
2996 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject *resultobj;
2998 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2999 double arg2 ;
3000 double arg3 ;
3001 int arg4 = (int) 0 ;
3002 int arg5 = (int) 0 ;
3003 PyObject * obj0 = 0 ;
3004 PyObject * obj1 = 0 ;
3005 PyObject * obj2 = 0 ;
3006 PyObject * obj3 = 0 ;
3007 PyObject * obj4 = 0 ;
3008 char *kwnames[] = {
3009 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3010 };
3011
3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3015 arg2 = (double) SWIG_AsDouble(obj1);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 arg3 = (double) SWIG_AsDouble(obj2);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 if (obj3) {
3020 arg4 = (int) SWIG_AsInt(obj3);
3021 if (PyErr_Occurred()) SWIG_fail;
3022 }
3023 if (obj4) {
3024 arg5 = (int) SWIG_AsInt(obj4);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 Py_INCREF(Py_None); resultobj = Py_None;
3035 return resultobj;
3036 fail:
3037 return NULL;
3038 }
3039
3040
3041 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3042 PyObject *resultobj;
3043 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3044 wxDC *arg2 = 0 ;
3045 double arg3 ;
3046 double arg4 ;
3047 double arg5 ;
3048 double arg6 ;
3049 PyObject * obj0 = 0 ;
3050 PyObject * obj1 = 0 ;
3051 PyObject * obj2 = 0 ;
3052 PyObject * obj3 = 0 ;
3053 PyObject * obj4 = 0 ;
3054 PyObject * obj5 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3063 SWIG_POINTER_EXCEPTION | 0)) == -1)
3064 SWIG_fail;
3065 if (arg2 == NULL) {
3066 PyErr_SetString(PyExc_TypeError,"null reference");
3067 SWIG_fail;
3068 }
3069 arg3 = (double) SWIG_AsDouble(obj2);
3070 if (PyErr_Occurred()) SWIG_fail;
3071 arg4 = (double) SWIG_AsDouble(obj3);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 arg5 = (double) SWIG_AsDouble(obj4);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 arg6 = (double) SWIG_AsDouble(obj5);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 Py_INCREF(Py_None); resultobj = Py_None;
3085 return resultobj;
3086 fail:
3087 return NULL;
3088 }
3089
3090
3091 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3094 wxDC *arg2 = 0 ;
3095 PyObject * obj0 = 0 ;
3096 PyObject * obj1 = 0 ;
3097 char *kwnames[] = {
3098 (char *) "self",(char *) "dc", NULL
3099 };
3100
3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
3102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3105 SWIG_POINTER_EXCEPTION | 0)) == -1)
3106 SWIG_fail;
3107 if (arg2 == NULL) {
3108 PyErr_SetString(PyExc_TypeError,"null reference");
3109 SWIG_fail;
3110 }
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 (arg1)->base_OnDrawControlPoints(*arg2);
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 Py_INCREF(Py_None); resultobj = Py_None;
3119 return resultobj;
3120 fail:
3121 return NULL;
3122 }
3123
3124
3125 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3126 PyObject *resultobj;
3127 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3128 wxDC *arg2 = 0 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self",(char *) "dc", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
3136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3139 SWIG_POINTER_EXCEPTION | 0)) == -1)
3140 SWIG_fail;
3141 if (arg2 == NULL) {
3142 PyErr_SetString(PyExc_TypeError,"null reference");
3143 SWIG_fail;
3144 }
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 (arg1)->base_OnEraseControlPoints(*arg2);
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 Py_INCREF(Py_None); resultobj = Py_None;
3153 return resultobj;
3154 fail:
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3162 wxDC *arg2 = 0 ;
3163 bool arg3 = (bool) True ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 PyObject * obj2 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
3172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3175 SWIG_POINTER_EXCEPTION | 0)) == -1)
3176 SWIG_fail;
3177 if (arg2 == NULL) {
3178 PyErr_SetString(PyExc_TypeError,"null reference");
3179 SWIG_fail;
3180 }
3181 if (obj2) {
3182 arg3 = (bool) SWIG_AsBool(obj2);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 (arg1)->base_OnMoveLink(*arg2,arg3);
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 Py_INCREF(Py_None); resultobj = Py_None;
3193 return resultobj;
3194 fail:
3195 return NULL;
3196 }
3197
3198
3199 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3202 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3203 bool arg3 ;
3204 double arg4 ;
3205 double arg5 ;
3206 int arg6 = (int) 0 ;
3207 int arg7 = (int) 0 ;
3208 PyObject * obj0 = 0 ;
3209 PyObject * obj1 = 0 ;
3210 PyObject * obj2 = 0 ;
3211 PyObject * obj3 = 0 ;
3212 PyObject * obj4 = 0 ;
3213 PyObject * obj5 = 0 ;
3214 PyObject * obj6 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3224 arg3 = (bool) SWIG_AsBool(obj2);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 arg4 = (double) SWIG_AsDouble(obj3);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 arg5 = (double) SWIG_AsDouble(obj4);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 if (obj5) {
3231 arg6 = (int) SWIG_AsInt(obj5);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 if (obj6) {
3235 arg7 = (int) SWIG_AsInt(obj6);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 Py_INCREF(Py_None); resultobj = Py_None;
3246 return resultobj;
3247 fail:
3248 return NULL;
3249 }
3250
3251
3252 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(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_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3275 arg3 = (double) SWIG_AsDouble(obj2);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 arg4 = (double) SWIG_AsDouble(obj3);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 if (obj4) {
3280 arg5 = (int) SWIG_AsInt(obj4);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 if (obj5) {
3284 arg6 = (int) SWIG_AsInt(obj5);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 Py_INCREF(Py_None); resultobj = Py_None;
3295 return resultobj;
3296 fail:
3297 return NULL;
3298 }
3299
3300
3301 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3302 PyObject *resultobj;
3303 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3304 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3305 double arg3 ;
3306 double arg4 ;
3307 int arg5 = (int) 0 ;
3308 int arg6 = (int) 0 ;
3309 PyObject * obj0 = 0 ;
3310 PyObject * obj1 = 0 ;
3311 PyObject * obj2 = 0 ;
3312 PyObject * obj3 = 0 ;
3313 PyObject * obj4 = 0 ;
3314 PyObject * obj5 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3324 arg3 = (double) SWIG_AsDouble(obj2);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 arg4 = (double) SWIG_AsDouble(obj3);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 if (obj4) {
3329 arg5 = (int) SWIG_AsInt(obj4);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 if (obj5) {
3333 arg6 = (int) SWIG_AsInt(obj5);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 Py_INCREF(Py_None); resultobj = Py_None;
3344 return resultobj;
3345 fail:
3346 return NULL;
3347 }
3348
3349
3350 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3353 double arg2 ;
3354 double arg3 ;
3355 PyObject * obj0 = 0 ;
3356 PyObject * obj1 = 0 ;
3357 PyObject * obj2 = 0 ;
3358 char *kwnames[] = {
3359 (char *) "self",(char *) "w",(char *) "h", NULL
3360 };
3361
3362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3365 arg2 = (double) SWIG_AsDouble(obj1);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 arg3 = (double) SWIG_AsDouble(obj2);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 (arg1)->base_OnBeginSize(arg2,arg3);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 Py_INCREF(Py_None); resultobj = Py_None;
3377 return resultobj;
3378 fail:
3379 return NULL;
3380 }
3381
3382
3383 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject *resultobj;
3385 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3386 double arg2 ;
3387 double arg3 ;
3388 PyObject * obj0 = 0 ;
3389 PyObject * obj1 = 0 ;
3390 PyObject * obj2 = 0 ;
3391 char *kwnames[] = {
3392 (char *) "self",(char *) "w",(char *) "h", NULL
3393 };
3394
3395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3398 arg2 = (double) SWIG_AsDouble(obj1);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 arg3 = (double) SWIG_AsDouble(obj2);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 (arg1)->base_OnEndSize(arg2,arg3);
3405
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 Py_INCREF(Py_None); resultobj = Py_None;
3410 return resultobj;
3411 fail:
3412 return NULL;
3413 }
3414
3415
3416 static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
3417 PyObject *obj;
3418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3419 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3420 Py_INCREF(obj);
3421 return Py_BuildValue((char *)"");
3422 }
3423 static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3424 PyObject *resultobj;
3425 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3426 wxPyShape *result;
3427 PyObject * obj0 = 0 ;
3428 char *kwnames[] = {
3429 (char *) "can", NULL
3430 };
3431
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3433 if (obj0) {
3434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
3435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3436 }
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 result = (wxPyShape *)new wxPyShape(arg1);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 {
3445 resultobj = wxPyMake_wxShapeEvtHandler(result, 1);
3446 }
3447 return resultobj;
3448 fail:
3449 return NULL;
3450 }
3451
3452
3453 static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj;
3455 wxPyShape *arg1 = (wxPyShape *) 0 ;
3456 PyObject *arg2 = (PyObject *) 0 ;
3457 PyObject *arg3 = (PyObject *) 0 ;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 PyObject * obj2 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "self",(char *) "_class", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 arg2 = obj1;
3469 arg3 = obj2;
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->_setCallbackInfo(arg2,arg3);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 Py_INCREF(Py_None); resultobj = Py_None;
3478 return resultobj;
3479 fail:
3480 return NULL;
3481 }
3482
3483
3484 static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj;
3486 wxPyShape *arg1 = (wxPyShape *) 0 ;
3487 double *arg2 = (double *) 0 ;
3488 double *arg3 = (double *) 0 ;
3489 double temp2 ;
3490 double temp3 ;
3491 PyObject * obj0 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self", NULL
3494 };
3495
3496 arg2 = &temp2;
3497 arg3 = &temp3;
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
3499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 (arg1)->GetBoundingBoxMax(arg2,arg3);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 Py_INCREF(Py_None); resultobj = Py_None;
3509 {
3510 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3511 resultobj = t_output_helper(resultobj,o);
3512 }
3513 {
3514 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3515 resultobj = t_output_helper(resultobj,o);
3516 }
3517 return resultobj;
3518 fail:
3519 return NULL;
3520 }
3521
3522
3523 static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3524 PyObject *resultobj;
3525 wxPyShape *arg1 = (wxPyShape *) 0 ;
3526 double *arg2 = (double *) 0 ;
3527 double *arg3 = (double *) 0 ;
3528 double temp2 ;
3529 double temp3 ;
3530 PyObject * obj0 = 0 ;
3531 char *kwnames[] = {
3532 (char *) "self", NULL
3533 };
3534
3535 arg2 = &temp2;
3536 arg3 = &temp3;
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 (arg1)->GetBoundingBoxMin(arg2,arg3);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 Py_INCREF(Py_None); resultobj = Py_None;
3548 {
3549 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3550 resultobj = t_output_helper(resultobj,o);
3551 }
3552 {
3553 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3554 resultobj = t_output_helper(resultobj,o);
3555 }
3556 return resultobj;
3557 fail:
3558 return NULL;
3559 }
3560
3561
3562 static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxPyShape *arg1 = (wxPyShape *) 0 ;
3565 double arg2 ;
3566 double arg3 ;
3567 double arg4 ;
3568 double arg5 ;
3569 double *arg6 = (double *) 0 ;
3570 double *arg7 = (double *) 0 ;
3571 bool result;
3572 double temp6 ;
3573 double temp7 ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3581 };
3582
3583 arg6 = &temp6;
3584 arg7 = &temp7;
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3588 arg2 = (double) SWIG_AsDouble(obj1);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 arg3 = (double) SWIG_AsDouble(obj2);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 arg4 = (double) SWIG_AsDouble(obj3);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 arg5 = (double) SWIG_AsDouble(obj4);
3595 if (PyErr_Occurred()) SWIG_fail;
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 {
3604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3605 }
3606 {
3607 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3608 resultobj = t_output_helper(resultobj,o);
3609 }
3610 {
3611 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3612 resultobj = t_output_helper(resultobj,o);
3613 }
3614 return resultobj;
3615 fail:
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 wxPyShape *arg1 = (wxPyShape *) 0 ;
3623 wxPyShapeCanvas *result;
3624 PyObject * obj0 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 resultobj = wxPyMake_wxObject(result, 0);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxPyShape *arg1 = (wxPyShape *) 0 ;
3651 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3652 PyObject * obj0 = 0 ;
3653 PyObject * obj1 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "the_canvas", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 (arg1)->SetCanvas(arg2);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 return resultobj;
3672 fail:
3673 return NULL;
3674 }
3675
3676
3677 static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxPyShape *arg1 = (wxPyShape *) 0 ;
3680 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3681 wxPyShape *arg3 = (wxPyShape *) NULL ;
3682 PyObject * obj0 = 0 ;
3683 PyObject * obj1 = 0 ;
3684 PyObject * obj2 = 0 ;
3685 char *kwnames[] = {
3686 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3687 };
3688
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
3690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3694 if (obj2) {
3695 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
3696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3697 }
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 (arg1)->AddToCanvas(arg2,arg3);
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 Py_INCREF(Py_None); resultobj = Py_None;
3706 return resultobj;
3707 fail:
3708 return NULL;
3709 }
3710
3711
3712 static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj;
3714 wxPyShape *arg1 = (wxPyShape *) 0 ;
3715 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "the_canvas", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 (arg1)->InsertInCanvas(arg2);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 Py_INCREF(Py_None); resultobj = Py_None;
3735 return resultobj;
3736 fail:
3737 return NULL;
3738 }
3739
3740
3741 static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxPyShape *arg1 = (wxPyShape *) 0 ;
3744 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3745 PyObject * obj0 = 0 ;
3746 PyObject * obj1 = 0 ;
3747 char *kwnames[] = {
3748 (char *) "self",(char *) "the_canvas", NULL
3749 };
3750
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
3752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3756 {
3757 PyThreadState* __tstate = wxPyBeginAllowThreads();
3758 (arg1)->RemoveFromCanvas(arg2);
3759
3760 wxPyEndAllowThreads(__tstate);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 }
3763 Py_INCREF(Py_None); resultobj = Py_None;
3764 return resultobj;
3765 fail:
3766 return NULL;
3767 }
3768
3769
3770 static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3771 PyObject *resultobj;
3772 wxPyShape *arg1 = (wxPyShape *) 0 ;
3773 double result;
3774 PyObject * obj0 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "self", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
3780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = (double)(arg1)->GetX();
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 resultobj = SWIG_FromDouble((double)result);
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxPyShape *arg1 = (wxPyShape *) 0 ;
3799 double result;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 result = (double)(arg1)->GetY();
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
3815 resultobj = SWIG_FromDouble((double)result);
3816 return resultobj;
3817 fail:
3818 return NULL;
3819 }
3820
3821
3822 static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxPyShape *arg1 = (wxPyShape *) 0 ;
3825 double arg2 ;
3826 PyObject * obj0 = 0 ;
3827 PyObject * obj1 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "self",(char *) "x", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
3833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3835 arg2 = (double) SWIG_AsDouble(obj1);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 (arg1)->SetX(arg2);
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 Py_INCREF(Py_None); resultobj = Py_None;
3845 return resultobj;
3846 fail:
3847 return NULL;
3848 }
3849
3850
3851 static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj;
3853 wxPyShape *arg1 = (wxPyShape *) 0 ;
3854 double arg2 ;
3855 PyObject * obj0 = 0 ;
3856 PyObject * obj1 = 0 ;
3857 char *kwnames[] = {
3858 (char *) "self",(char *) "y", NULL
3859 };
3860
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
3862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3864 arg2 = (double) SWIG_AsDouble(obj1);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 (arg1)->SetY(arg2);
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 Py_INCREF(Py_None); resultobj = Py_None;
3874 return resultobj;
3875 fail:
3876 return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxPyShape *arg1 = (wxPyShape *) 0 ;
3883 wxPyShape *result;
3884 PyObject * obj0 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = (wxPyShape *)(arg1)->GetParent();
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 {
3900 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
3901 }
3902 return resultobj;
3903 fail:
3904 return NULL;
3905 }
3906
3907
3908 static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxPyShape *arg1 = (wxPyShape *) 0 ;
3911 wxPyShape *arg2 = (wxPyShape *) 0 ;
3912 PyObject * obj0 = 0 ;
3913 PyObject * obj1 = 0 ;
3914 char *kwnames[] = {
3915 (char *) "self",(char *) "p", NULL
3916 };
3917
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
3922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 (arg1)->SetParent(arg2);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 Py_INCREF(Py_None); resultobj = Py_None;
3931 return resultobj;
3932 fail:
3933 return NULL;
3934 }
3935
3936
3937 static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3938 PyObject *resultobj;
3939 wxPyShape *arg1 = (wxPyShape *) 0 ;
3940 wxPyShape *result;
3941 PyObject * obj0 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (wxPyShape *)(arg1)->GetTopAncestor();
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 {
3957 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
3958 }
3959 return resultobj;
3960 fail:
3961 return NULL;
3962 }
3963
3964
3965 static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3966 PyObject *resultobj;
3967 wxPyShape *arg1 = (wxPyShape *) 0 ;
3968 PyObject *result;
3969 PyObject * obj0 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self", NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (PyObject *)wxPyShape_GetChildren(arg1);
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = result;
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxPyShape *arg1 = (wxPyShape *) 0 ;
3994 PyObject * obj0 = 0 ;
3995 char *kwnames[] = {
3996 (char *) "self", NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
4000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 (arg1)->Unlink();
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 }
4009 Py_INCREF(Py_None); resultobj = Py_None;
4010 return resultobj;
4011 fail:
4012 return NULL;
4013 }
4014
4015
4016 static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject *resultobj;
4018 wxPyShape *arg1 = (wxPyShape *) 0 ;
4019 bool arg2 ;
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj1 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "self",(char *) "drawH", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
4027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4029 arg2 = (bool) SWIG_AsBool(obj1);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 (arg1)->SetDrawHandles(arg2);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 Py_INCREF(Py_None); resultobj = Py_None;
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxPyShape *arg1 = (wxPyShape *) 0 ;
4048 bool result;
4049 PyObject * obj0 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "self", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
4055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 result = (bool)(arg1)->GetDrawHandles();
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 {
4065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4066 }
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject *resultobj;
4075 wxPyShape *arg1 = (wxPyShape *) 0 ;
4076 PyObject * obj0 = 0 ;
4077 char *kwnames[] = {
4078 (char *) "self", NULL
4079 };
4080
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
4082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 (arg1)->MakeControlPoints();
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 Py_INCREF(Py_None); resultobj = Py_None;
4092 return resultobj;
4093 fail:
4094 return NULL;
4095 }
4096
4097
4098 static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4099 PyObject *resultobj;
4100 wxPyShape *arg1 = (wxPyShape *) 0 ;
4101 wxDC *arg2 = (wxDC *) NULL ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 char *kwnames[] = {
4105 (char *) "self",(char *) "dc", NULL
4106 };
4107
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
4109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4111 if (obj1) {
4112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4114 }
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 (arg1)->DeleteControlPoints(arg2);
4118
4119 wxPyEndAllowThreads(__tstate);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 Py_INCREF(Py_None); resultobj = Py_None;
4123 return resultobj;
4124 fail:
4125 return NULL;
4126 }
4127
4128
4129 static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject *resultobj;
4131 wxPyShape *arg1 = (wxPyShape *) 0 ;
4132 PyObject * obj0 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
4138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 (arg1)->ResetControlPoints();
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 Py_INCREF(Py_None); resultobj = Py_None;
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj;
4156 wxPyShape *arg1 = (wxPyShape *) 0 ;
4157 wxPyShapeEvtHandler *result;
4158 PyObject * obj0 = 0 ;
4159 char *kwnames[] = {
4160 (char *) "self", NULL
4161 };
4162
4163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
4164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4166 {
4167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4168 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4169
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 {
4174 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
4175 }
4176 return resultobj;
4177 fail:
4178 return NULL;
4179 }
4180
4181
4182 static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxPyShape *arg1 = (wxPyShape *) 0 ;
4185 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4186 PyObject * obj0 = 0 ;
4187 PyObject * obj1 = 0 ;
4188 char *kwnames[] = {
4189 (char *) "self",(char *) "handler", NULL
4190 };
4191
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
4193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
4196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 (arg1)->SetEventHandler(arg2);
4200
4201 wxPyEndAllowThreads(__tstate);
4202 if (PyErr_Occurred()) SWIG_fail;
4203 }
4204 Py_INCREF(Py_None); resultobj = Py_None;
4205 return resultobj;
4206 fail:
4207 return NULL;
4208 }
4209
4210
4211 static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4212 PyObject *resultobj;
4213 wxPyShape *arg1 = (wxPyShape *) 0 ;
4214 PyObject * obj0 = 0 ;
4215 char *kwnames[] = {
4216 (char *) "self", NULL
4217 };
4218
4219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
4220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 (arg1)->MakeMandatoryControlPoints();
4225
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 Py_INCREF(Py_None); resultobj = Py_None;
4230 return resultobj;
4231 fail:
4232 return NULL;
4233 }
4234
4235
4236 static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj;
4238 wxPyShape *arg1 = (wxPyShape *) 0 ;
4239 PyObject * obj0 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
4245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->ResetMandatoryControlPoints();
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258 }
4259
4260
4261 static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxPyShape *arg1 = (wxPyShape *) 0 ;
4264 bool result;
4265 PyObject * obj0 = 0 ;
4266 char *kwnames[] = {
4267 (char *) "self", NULL
4268 };
4269
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
4271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = (bool)(arg1)->Recompute();
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 {
4281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4282 }
4283 return resultobj;
4284 fail:
4285 return NULL;
4286 }
4287
4288
4289 static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxPyShape *arg1 = (wxPyShape *) 0 ;
4292 PyObject * obj0 = 0 ;
4293 char *kwnames[] = {
4294 (char *) "self", NULL
4295 };
4296
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
4298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
4302 (arg1)->CalculateSize();
4303
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 Py_INCREF(Py_None); resultobj = Py_None;
4308 return resultobj;
4309 fail:
4310 return NULL;
4311 }
4312
4313
4314 static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4315 PyObject *resultobj;
4316 wxPyShape *arg1 = (wxPyShape *) 0 ;
4317 bool arg2 = (bool) True ;
4318 wxDC *arg3 = (wxDC *) NULL ;
4319 PyObject * obj0 = 0 ;
4320 PyObject * obj1 = 0 ;
4321 PyObject * obj2 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "self",(char *) "select",(char *) "dc", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
4327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4329 if (obj1) {
4330 arg2 = (bool) SWIG_AsBool(obj1);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
4333 if (obj2) {
4334 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
4335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 (arg1)->Select(arg2,arg3);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 Py_INCREF(Py_None); resultobj = Py_None;
4345 return resultobj;
4346 fail:
4347 return NULL;
4348 }
4349
4350
4351 static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj;
4353 wxPyShape *arg1 = (wxPyShape *) 0 ;
4354 bool arg2 = (bool) True ;
4355 bool arg3 = (bool) False ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 char *kwnames[] = {
4360 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4361 };
4362
4363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
4364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4366 if (obj1) {
4367 arg2 = (bool) SWIG_AsBool(obj1);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 if (obj2) {
4371 arg3 = (bool) SWIG_AsBool(obj2);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 (arg1)->SetHighlight(arg2,arg3);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 Py_INCREF(Py_None); resultobj = Py_None;
4382 return resultobj;
4383 fail:
4384 return NULL;
4385 }
4386
4387
4388 static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
4389 PyObject *resultobj;
4390 wxPyShape *arg1 = (wxPyShape *) 0 ;
4391 bool result;
4392 PyObject * obj0 = 0 ;
4393 char *kwnames[] = {
4394 (char *) "self", NULL
4395 };
4396
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
4398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (bool)(arg1)->IsHighlighted();
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 {
4408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4409 }
4410 return resultobj;
4411 fail:
4412 return NULL;
4413 }
4414
4415
4416 static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
4417 PyObject *resultobj;
4418 wxPyShape *arg1 = (wxPyShape *) 0 ;
4419 bool result;
4420 PyObject * obj0 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "self", NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
4426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (bool)(arg1)->Selected();
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 {
4436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4437 }
4438 return resultobj;
4439 fail:
4440 return NULL;
4441 }
4442
4443
4444 static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4445 PyObject *resultobj;
4446 wxPyShape *arg1 = (wxPyShape *) 0 ;
4447 bool result;
4448 PyObject * obj0 = 0 ;
4449 char *kwnames[] = {
4450 (char *) "self", NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
4454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 result = (bool)(arg1)->AncestorSelected();
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 {
4464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4465 }
4466 return resultobj;
4467 fail:
4468 return NULL;
4469 }
4470
4471
4472 static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj;
4474 wxPyShape *arg1 = (wxPyShape *) 0 ;
4475 int arg2 = (int) OP_ALL ;
4476 bool arg3 = (bool) False ;
4477 PyObject * obj0 = 0 ;
4478 PyObject * obj1 = 0 ;
4479 PyObject * obj2 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
4485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4487 if (obj1) {
4488 arg2 = (int) SWIG_AsInt(obj1);
4489 if (PyErr_Occurred()) SWIG_fail;
4490 }
4491 if (obj2) {
4492 arg3 = (bool) SWIG_AsBool(obj2);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 (arg1)->SetSensitivityFilter(arg2,arg3);
4498
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 Py_INCREF(Py_None); resultobj = Py_None;
4503 return resultobj;
4504 fail:
4505 return NULL;
4506 }
4507
4508
4509 static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4510 PyObject *resultobj;
4511 wxPyShape *arg1 = (wxPyShape *) 0 ;
4512 int result;
4513 PyObject * obj0 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "self", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
4519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 result = (int)(arg1)->GetSensitivityFilter();
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 resultobj = SWIG_FromInt((int)result);
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
4536 PyObject *resultobj;
4537 wxPyShape *arg1 = (wxPyShape *) 0 ;
4538 bool arg2 ;
4539 bool arg3 = (bool) False ;
4540 PyObject * obj0 = 0 ;
4541 PyObject * obj1 = 0 ;
4542 PyObject * obj2 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
4548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4550 arg2 = (bool) SWIG_AsBool(obj1);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 if (obj2) {
4553 arg3 = (bool) SWIG_AsBool(obj2);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 (arg1)->SetDraggable(arg2,arg3);
4559
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4563 Py_INCREF(Py_None); resultobj = Py_None;
4564 return resultobj;
4565 fail:
4566 return NULL;
4567 }
4568
4569
4570 static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4571 PyObject *resultobj;
4572 wxPyShape *arg1 = (wxPyShape *) 0 ;
4573 bool arg2 ;
4574 bool arg3 ;
4575 PyObject * obj0 = 0 ;
4576 PyObject * obj1 = 0 ;
4577 PyObject * obj2 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self",(char *) "x",(char *) "y", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4585 arg2 = (bool) SWIG_AsBool(obj1);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 arg3 = (bool) SWIG_AsBool(obj2);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 (arg1)->SetFixedSize(arg2,arg3);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600 }
4601
4602
4603 static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject *resultobj;
4605 wxPyShape *arg1 = (wxPyShape *) 0 ;
4606 bool *arg2 = (bool *) 0 ;
4607 bool *arg3 = (bool *) 0 ;
4608 bool temp2 ;
4609 bool temp3 ;
4610 PyObject * obj0 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "self", NULL
4613 };
4614
4615 arg2 = &temp2;
4616 arg3 = &temp3;
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
4618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 (arg1)->GetFixedSize(arg2,arg3);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 Py_INCREF(Py_None); resultobj = Py_None;
4628 {
4629 PyObject *o = PyInt_FromLong((long) (*arg2));
4630 resultobj = t_output_helper(resultobj,o);
4631 }
4632 {
4633 PyObject *o = PyInt_FromLong((long) (*arg3));
4634 resultobj = t_output_helper(resultobj,o);
4635 }
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxPyShape *arg1 = (wxPyShape *) 0 ;
4645 bool result;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self", NULL
4649 };
4650
4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
4652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = (bool)(arg1)->GetFixedWidth();
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 {
4662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4663 }
4664 return resultobj;
4665 fail:
4666 return NULL;
4667 }
4668
4669
4670 static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4671 PyObject *resultobj;
4672 wxPyShape *arg1 = (wxPyShape *) 0 ;
4673 bool result;
4674 PyObject * obj0 = 0 ;
4675 char *kwnames[] = {
4676 (char *) "self", NULL
4677 };
4678
4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
4680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 result = (bool)(arg1)->GetFixedHeight();
4685
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 {
4690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4691 }
4692 return resultobj;
4693 fail:
4694 return NULL;
4695 }
4696
4697
4698 static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4699 PyObject *resultobj;
4700 wxPyShape *arg1 = (wxPyShape *) 0 ;
4701 bool arg2 ;
4702 PyObject * obj0 = 0 ;
4703 PyObject * obj1 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "self",(char *) "sp", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
4709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4711 arg2 = (bool) SWIG_AsBool(obj1);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 (arg1)->SetSpaceAttachments(arg2);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 Py_INCREF(Py_None); resultobj = Py_None;
4721 return resultobj;
4722 fail:
4723 return NULL;
4724 }
4725
4726
4727 static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxPyShape *arg1 = (wxPyShape *) 0 ;
4730 bool result;
4731 PyObject * obj0 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 result = (bool)(arg1)->GetSpaceAttachments();
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 {
4747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4748 }
4749 return resultobj;
4750 fail:
4751 return NULL;
4752 }
4753
4754
4755 static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4756 PyObject *resultobj;
4757 wxPyShape *arg1 = (wxPyShape *) 0 ;
4758 int arg2 ;
4759 bool arg3 = (bool) False ;
4760 PyObject * obj0 = 0 ;
4761 PyObject * obj1 = 0 ;
4762 PyObject * obj2 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4765 };
4766
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
4768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4770 arg2 = (int) SWIG_AsInt(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 if (obj2) {
4773 arg3 = (bool) SWIG_AsBool(obj2);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 (arg1)->SetShadowMode(arg2,arg3);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 Py_INCREF(Py_None); resultobj = Py_None;
4784 return resultobj;
4785 fail:
4786 return NULL;
4787 }
4788
4789
4790 static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxPyShape *arg1 = (wxPyShape *) 0 ;
4793 int result;
4794 PyObject * obj0 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
4800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 result = (int)(arg1)->GetShadowMode();
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 resultobj = SWIG_FromInt((int)result);
4810 return resultobj;
4811 fail:
4812 return NULL;
4813 }
4814
4815
4816 static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4817 PyObject *resultobj;
4818 wxPyShape *arg1 = (wxPyShape *) 0 ;
4819 double arg2 ;
4820 double arg3 ;
4821 int *arg4 = (int *) 0 ;
4822 double *arg5 = (double *) 0 ;
4823 bool result;
4824 int temp4 ;
4825 double temp5 ;
4826 PyObject * obj0 = 0 ;
4827 PyObject * obj1 = 0 ;
4828 PyObject * obj2 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "x",(char *) "y", NULL
4831 };
4832
4833 arg4 = &temp4;
4834 arg5 = &temp5;
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
4836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4838 arg2 = (double) SWIG_AsDouble(obj1);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 arg3 = (double) SWIG_AsDouble(obj2);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4845
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 {
4850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4851 }
4852 {
4853 PyObject *o = PyInt_FromLong((long) (*arg4));
4854 resultobj = t_output_helper(resultobj,o);
4855 }
4856 {
4857 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4858 resultobj = t_output_helper(resultobj,o);
4859 }
4860 return resultobj;
4861 fail:
4862 return NULL;
4863 }
4864
4865
4866 static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject *resultobj;
4868 wxPyShape *arg1 = (wxPyShape *) 0 ;
4869 bool arg2 ;
4870 PyObject * obj0 = 0 ;
4871 PyObject * obj1 = 0 ;
4872 char *kwnames[] = {
4873 (char *) "self",(char *) "cr", NULL
4874 };
4875
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
4877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4879 arg2 = (bool) SWIG_AsBool(obj1);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 (arg1)->SetCentreResize(arg2);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 Py_INCREF(Py_None); resultobj = Py_None;
4889 return resultobj;
4890 fail:
4891 return NULL;
4892 }
4893
4894
4895 static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxPyShape *arg1 = (wxPyShape *) 0 ;
4898 bool result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = (bool)(arg1)->GetCentreResize();
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 {
4915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4916 }
4917 return resultobj;
4918 fail:
4919 return NULL;
4920 }
4921
4922
4923 static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj;
4925 wxPyShape *arg1 = (wxPyShape *) 0 ;
4926 bool arg2 ;
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self",(char *) "ar", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4936 arg2 = (bool) SWIG_AsBool(obj1);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->SetMaintainAspectRatio(arg2);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 Py_INCREF(Py_None); resultobj = Py_None;
4946 return resultobj;
4947 fail:
4948 return NULL;
4949 }
4950
4951
4952 static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject *resultobj;
4954 wxPyShape *arg1 = (wxPyShape *) 0 ;
4955 bool result;
4956 PyObject * obj0 = 0 ;
4957 char *kwnames[] = {
4958 (char *) "self", NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 result = (bool)(arg1)->GetMaintainAspectRatio();
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 {
4972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4973 }
4974 return resultobj;
4975 fail:
4976 return NULL;
4977 }
4978
4979
4980 static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject *resultobj;
4982 wxPyShape *arg1 = (wxPyShape *) 0 ;
4983 PyObject *result;
4984 PyObject * obj0 = 0 ;
4985 char *kwnames[] = {
4986 (char *) "self", NULL
4987 };
4988
4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 result = (PyObject *)wxPyShape_GetLines(arg1);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 resultobj = result;
5000 return resultobj;
5001 fail:
5002 return NULL;
5003 }
5004
5005
5006 static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5007 PyObject *resultobj;
5008 wxPyShape *arg1 = (wxPyShape *) 0 ;
5009 bool arg2 ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self",(char *) "flag", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
5017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5019 arg2 = (bool) SWIG_AsBool(obj1);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 {
5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
5023 (arg1)->SetDisableLabel(arg2);
5024
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 Py_INCREF(Py_None); resultobj = Py_None;
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj;
5037 wxPyShape *arg1 = (wxPyShape *) 0 ;
5038 bool result;
5039 PyObject * obj0 = 0 ;
5040 char *kwnames[] = {
5041 (char *) "self", NULL
5042 };
5043
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
5045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (bool)(arg1)->GetDisableLabel();
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 {
5055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5056 }
5057 return resultobj;
5058 fail:
5059 return NULL;
5060 }
5061
5062
5063 static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj;
5065 wxPyShape *arg1 = (wxPyShape *) 0 ;
5066 int arg2 ;
5067 PyObject * obj0 = 0 ;
5068 PyObject * obj1 = 0 ;
5069 char *kwnames[] = {
5070 (char *) "self",(char *) "mode", NULL
5071 };
5072
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
5074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5076 arg2 = (int) SWIG_AsInt(obj1);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 (arg1)->SetAttachmentMode(arg2);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 Py_INCREF(Py_None); resultobj = Py_None;
5086 return resultobj;
5087 fail:
5088 return NULL;
5089 }
5090
5091
5092 static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5093 PyObject *resultobj;
5094 wxPyShape *arg1 = (wxPyShape *) 0 ;
5095 int result;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (int)(arg1)->GetAttachmentMode();
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 resultobj = SWIG_FromInt((int)result);
5112 return resultobj;
5113 fail:
5114 return NULL;
5115 }
5116
5117
5118 static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj;
5120 wxPyShape *arg1 = (wxPyShape *) 0 ;
5121 long arg2 ;
5122 PyObject * obj0 = 0 ;
5123 PyObject * obj1 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "self",(char *) "i", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
5129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5131 arg2 = (long) SWIG_AsLong(obj1);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->SetId(arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj;
5149 wxPyShape *arg1 = (wxPyShape *) 0 ;
5150 long result;
5151 PyObject * obj0 = 0 ;
5152 char *kwnames[] = {
5153 (char *) "self", NULL
5154 };
5155
5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
5157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 result = (long)(arg1)->GetId();
5162
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
5166 resultobj = SWIG_FromLong((long)result);
5167 return resultobj;
5168 fail:
5169 return NULL;
5170 }
5171
5172
5173 static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj;
5175 wxPyShape *arg1 = (wxPyShape *) 0 ;
5176 wxPen *arg2 = (wxPen *) 0 ;
5177 PyObject * obj0 = 0 ;
5178 PyObject * obj1 = 0 ;
5179 char *kwnames[] = {
5180 (char *) "self",(char *) "pen", NULL
5181 };
5182
5183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
5184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5186 {
5187 wxPen* temp;
5188 if (obj1) {
5189 if (obj1 == Py_None) {
5190 temp = NULL;
5191 }
5192 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5193 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5194 return NULL;
5195 }
5196 }
5197 if (temp)
5198 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5199 temp->GetWidth(),
5200 temp->GetStyle());
5201 else
5202 arg2 = NULL;
5203 }
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 (arg1)->SetPen(arg2);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 Py_INCREF(Py_None); resultobj = Py_None;
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxPyShape *arg1 = (wxPyShape *) 0 ;
5221 wxBrush *arg2 = (wxBrush *) 0 ;
5222 PyObject * obj0 = 0 ;
5223 PyObject * obj1 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self",(char *) "brush", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
5229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5231 {
5232 wxBrush* temp;
5233 if (obj1) {
5234 if (obj1 == Py_None) {
5235 temp = NULL;
5236 }
5237 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5238 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5239 return NULL;
5240 }
5241 }
5242 if (temp)
5243 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5244 else
5245 arg2 = NULL;
5246 }
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 (arg1)->SetBrush(arg2);
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 Py_INCREF(Py_None); resultobj = Py_None;
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxPyShape *arg1 = (wxPyShape *) 0 ;
5264 bool arg2 ;
5265 PyObject * obj0 = 0 ;
5266 PyObject * obj1 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self",(char *) "show", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
5272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5274 arg2 = (bool) SWIG_AsBool(obj1);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 (arg1)->Show(arg2);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 Py_INCREF(Py_None); resultobj = Py_None;
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxPyShape *arg1 = (wxPyShape *) 0 ;
5293 bool result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
5300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = (bool)(arg1)->IsShown();
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 {
5310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5311 }
5312 return resultobj;
5313 fail:
5314 return NULL;
5315 }
5316
5317
5318 static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5319 PyObject *resultobj;
5320 wxPyShape *arg1 = (wxPyShape *) 0 ;
5321 wxDC *arg2 = 0 ;
5322 double arg3 ;
5323 double arg4 ;
5324 bool arg5 = (bool) True ;
5325 PyObject * obj0 = 0 ;
5326 PyObject * obj1 = 0 ;
5327 PyObject * obj2 = 0 ;
5328 PyObject * obj3 = 0 ;
5329 PyObject * obj4 = 0 ;
5330 char *kwnames[] = {
5331 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5332 };
5333
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5338 SWIG_POINTER_EXCEPTION | 0)) == -1)
5339 SWIG_fail;
5340 if (arg2 == NULL) {
5341 PyErr_SetString(PyExc_TypeError,"null reference");
5342 SWIG_fail;
5343 }
5344 arg3 = (double) SWIG_AsDouble(obj2);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 arg4 = (double) SWIG_AsDouble(obj3);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 if (obj4) {
5349 arg5 = (bool) SWIG_AsBool(obj4);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 (arg1)->Move(*arg2,arg3,arg4,arg5);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 Py_INCREF(Py_None); resultobj = Py_None;
5360 return resultobj;
5361 fail:
5362 return NULL;
5363 }
5364
5365
5366 static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxPyShape *arg1 = (wxPyShape *) 0 ;
5369 wxDC *arg2 = 0 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self",(char *) "dc", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
5377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1)
5381 SWIG_fail;
5382 if (arg2 == NULL) {
5383 PyErr_SetString(PyExc_TypeError,"null reference");
5384 SWIG_fail;
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->Erase(*arg2);
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 Py_INCREF(Py_None); resultobj = Py_None;
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_PyShape_EraseContents(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_EraseContents",kwnames,&obj0,&obj1)) goto fail;
5411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5414 SWIG_POINTER_EXCEPTION | 0)) == -1)
5415 SWIG_fail;
5416 if (arg2 == NULL) {
5417 PyErr_SetString(PyExc_TypeError,"null reference");
5418 SWIG_fail;
5419 }
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 (arg1)->EraseContents(*arg2);
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 Py_INCREF(Py_None); resultobj = Py_None;
5428 return resultobj;
5429 fail:
5430 return NULL;
5431 }
5432
5433
5434 static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
5435 PyObject *resultobj;
5436 wxPyShape *arg1 = (wxPyShape *) 0 ;
5437 wxDC *arg2 = 0 ;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "dc", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5448 SWIG_POINTER_EXCEPTION | 0)) == -1)
5449 SWIG_fail;
5450 if (arg2 == NULL) {
5451 PyErr_SetString(PyExc_TypeError,"null reference");
5452 SWIG_fail;
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->Draw(*arg2);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 Py_INCREF(Py_None); resultobj = Py_None;
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj;
5470 wxPyShape *arg1 = (wxPyShape *) 0 ;
5471 PyObject * obj0 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
5477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 (arg1)->Flash();
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 Py_INCREF(Py_None); resultobj = Py_None;
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxPyShape *arg1 = (wxPyShape *) 0 ;
5496 wxDC *arg2 = 0 ;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "dc", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5507 SWIG_POINTER_EXCEPTION | 0)) == -1)
5508 SWIG_fail;
5509 if (arg2 == NULL) {
5510 PyErr_SetString(PyExc_TypeError,"null reference");
5511 SWIG_fail;
5512 }
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 (arg1)->MoveLinks(*arg2);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 Py_INCREF(Py_None); resultobj = Py_None;
5521 return resultobj;
5522 fail:
5523 return NULL;
5524 }
5525
5526
5527 static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5528 PyObject *resultobj;
5529 wxPyShape *arg1 = (wxPyShape *) 0 ;
5530 wxDC *arg2 = 0 ;
5531 PyObject * obj0 = 0 ;
5532 PyObject * obj1 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self",(char *) "dc", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5541 SWIG_POINTER_EXCEPTION | 0)) == -1)
5542 SWIG_fail;
5543 if (arg2 == NULL) {
5544 PyErr_SetString(PyExc_TypeError,"null reference");
5545 SWIG_fail;
5546 }
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 (arg1)->DrawContents(*arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 Py_INCREF(Py_None); resultobj = Py_None;
5555 return resultobj;
5556 fail:
5557 return NULL;
5558 }
5559
5560
5561 static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 wxPyShape *arg1 = (wxPyShape *) 0 ;
5564 double arg2 ;
5565 double arg3 ;
5566 bool arg4 = (bool) True ;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 PyObject * obj2 = 0 ;
5570 PyObject * obj3 = 0 ;
5571 char *kwnames[] = {
5572 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5573 };
5574
5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5578 arg2 = (double) SWIG_AsDouble(obj1);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 arg3 = (double) SWIG_AsDouble(obj2);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 if (obj3) {
5583 arg4 = (bool) SWIG_AsBool(obj3);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->SetSize(arg2,arg3,arg4);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj;
5602 wxPyShape *arg1 = (wxPyShape *) 0 ;
5603 double arg2 ;
5604 double arg3 ;
5605 PyObject * obj0 = 0 ;
5606 PyObject * obj1 = 0 ;
5607 PyObject * obj2 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "self",(char *) "x",(char *) "y", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
5613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5615 arg2 = (double) SWIG_AsDouble(obj1);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 arg3 = (double) SWIG_AsDouble(obj2);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 (arg1)->SetAttachmentSize(arg2,arg3);
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 Py_INCREF(Py_None); resultobj = Py_None;
5627 return resultobj;
5628 fail:
5629 return NULL;
5630 }
5631
5632
5633 static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
5634 PyObject *resultobj;
5635 wxPyShape *arg1 = (wxPyShape *) 0 ;
5636 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5637 PyObject * obj0 = 0 ;
5638 PyObject * obj1 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self",(char *) "can", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
5644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 (arg1)->Attach(arg2);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 Py_INCREF(Py_None); resultobj = Py_None;
5656 return resultobj;
5657 fail:
5658 return NULL;
5659 }
5660
5661
5662 static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxPyShape *arg1 = (wxPyShape *) 0 ;
5665 PyObject * obj0 = 0 ;
5666 char *kwnames[] = {
5667 (char *) "self", NULL
5668 };
5669
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
5671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->Detach();
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxPyShape *arg1 = (wxPyShape *) 0 ;
5690 bool result;
5691 PyObject * obj0 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
5697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 result = (bool)(arg1)->Constrain();
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
5706 {
5707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5708 }
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxPyShape *arg1 = (wxPyShape *) 0 ;
5718 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5719 wxPyShape *arg3 = (wxPyShape *) 0 ;
5720 int arg4 = (int) 0 ;
5721 int arg5 = (int) 0 ;
5722 int arg6 = (int) -1 ;
5723 int arg7 = (int) -1 ;
5724 PyObject * obj0 = 0 ;
5725 PyObject * obj1 = 0 ;
5726 PyObject * obj2 = 0 ;
5727 PyObject * obj3 = 0 ;
5728 PyObject * obj4 = 0 ;
5729 PyObject * obj5 = 0 ;
5730 PyObject * obj6 = 0 ;
5731 char *kwnames[] = {
5732 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5733 };
5734
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5740 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
5741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5742 if (obj3) {
5743 arg4 = (int) SWIG_AsInt(obj3);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 if (obj4) {
5747 arg5 = (int) SWIG_AsInt(obj4);
5748 if (PyErr_Occurred()) SWIG_fail;
5749 }
5750 if (obj5) {
5751 arg6 = (int) SWIG_AsInt(obj5);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 if (obj6) {
5755 arg7 = (int) SWIG_AsInt(obj6);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxPyShape *arg1 = (wxPyShape *) 0 ;
5775 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5776 int result;
5777 PyObject * obj0 = 0 ;
5778 PyObject * obj1 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "line", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (int)(arg1)->GetLinePosition(arg2);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = SWIG_FromInt((int)result);
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxPyShape *arg1 = (wxPyShape *) 0 ;
5805 wxString *arg2 = 0 ;
5806 bool temp2 = False ;
5807 PyObject * obj0 = 0 ;
5808 PyObject * obj1 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "self",(char *) "string", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
5814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5816 {
5817 arg2 = wxString_in_helper(obj1);
5818 if (arg2 == NULL) SWIG_fail;
5819 temp2 = True;
5820 }
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 (arg1)->AddText((wxString const &)*arg2);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 Py_INCREF(Py_None); resultobj = Py_None;
5829 {
5830 if (temp2)
5831 delete arg2;
5832 }
5833 return resultobj;
5834 fail:
5835 {
5836 if (temp2)
5837 delete arg2;
5838 }
5839 return NULL;
5840 }
5841
5842
5843 static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj;
5845 wxPyShape *arg1 = (wxPyShape *) 0 ;
5846 wxPen *result;
5847 PyObject * obj0 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
5853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (wxPen *)(arg1)->GetPen();
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
5863 return resultobj;
5864 fail:
5865 return NULL;
5866 }
5867
5868
5869 static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj;
5871 wxPyShape *arg1 = (wxPyShape *) 0 ;
5872 wxBrush *result;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (wxBrush *)(arg1)->GetBrush();
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
5889 return resultobj;
5890 fail:
5891 return NULL;
5892 }
5893
5894
5895 static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxPyShape *arg1 = (wxPyShape *) 0 ;
5898 PyObject * obj0 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 (arg1)->SetDefaultRegionSize();
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 Py_INCREF(Py_None); resultobj = Py_None;
5914 return resultobj;
5915 fail:
5916 return NULL;
5917 }
5918
5919
5920 static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj;
5922 wxPyShape *arg1 = (wxPyShape *) 0 ;
5923 wxDC *arg2 = 0 ;
5924 wxString *arg3 = 0 ;
5925 int arg4 = (int) 0 ;
5926 bool temp3 = False ;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 PyObject * obj2 = 0 ;
5930 PyObject * obj3 = 0 ;
5931 char *kwnames[] = {
5932 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5939 SWIG_POINTER_EXCEPTION | 0)) == -1)
5940 SWIG_fail;
5941 if (arg2 == NULL) {
5942 PyErr_SetString(PyExc_TypeError,"null reference");
5943 SWIG_fail;
5944 }
5945 {
5946 arg3 = wxString_in_helper(obj2);
5947 if (arg3 == NULL) SWIG_fail;
5948 temp3 = True;
5949 }
5950 if (obj3) {
5951 arg4 = (int) SWIG_AsInt(obj3);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 Py_INCREF(Py_None); resultobj = Py_None;
5962 {
5963 if (temp3)
5964 delete arg3;
5965 }
5966 return resultobj;
5967 fail:
5968 {
5969 if (temp3)
5970 delete arg3;
5971 }
5972 return NULL;
5973 }
5974
5975
5976 static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5977 PyObject *resultobj;
5978 wxPyShape *arg1 = (wxPyShape *) 0 ;
5979 int arg2 ;
5980 int arg3 = (int) 0 ;
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983 PyObject * obj2 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5991 arg2 = (int) SWIG_AsInt(obj1);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 if (obj2) {
5994 arg3 = (int) SWIG_AsInt(obj2);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 (arg1)->SetFormatMode(arg2,arg3);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 Py_INCREF(Py_None); resultobj = Py_None;
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj;
6013 wxPyShape *arg1 = (wxPyShape *) 0 ;
6014 int arg2 = (int) 0 ;
6015 int result;
6016 PyObject * obj0 = 0 ;
6017 PyObject * obj1 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "self",(char *) "regionId", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
6023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6025 if (obj1) {
6026 arg2 = (int) SWIG_AsInt(obj1);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 result = (int)(arg1)->GetFormatMode(arg2);
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 resultobj = SWIG_FromInt((int)result);
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxPyShape *arg1 = (wxPyShape *) 0 ;
6046 wxFont *arg2 = (wxFont *) 0 ;
6047 int arg3 = (int) 0 ;
6048 PyObject * obj0 = 0 ;
6049 PyObject * obj1 = 0 ;
6050 PyObject * obj2 = 0 ;
6051 char *kwnames[] = {
6052 (char *) "self",(char *) "font",(char *) "regionId", NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6058 {
6059 wxFont* temp;
6060 if (obj1) {
6061 if (obj1 == Py_None) {
6062 temp = NULL;
6063 }
6064 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
6065 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
6066 return NULL;
6067 }
6068 }
6069 if (temp)
6070 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6071 temp->GetFamily(),
6072 temp->GetStyle(),
6073 temp->GetWeight(),
6074 temp->GetUnderlined(),
6075 temp->GetFaceName(),
6076 temp->GetEncoding());
6077 else
6078 arg2 = NULL;
6079 }
6080 if (obj2) {
6081 arg3 = (int) SWIG_AsInt(obj2);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 (arg1)->SetFont(arg2,arg3);
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 Py_INCREF(Py_None); resultobj = Py_None;
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxPyShape *arg1 = (wxPyShape *) 0 ;
6101 int arg2 = (int) 0 ;
6102 wxFont *result;
6103 PyObject * obj0 = 0 ;
6104 PyObject * obj1 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self",(char *) "regionId", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6112 if (obj1) {
6113 arg2 = (int) SWIG_AsInt(obj1);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 result = (wxFont *)(arg1)->GetFont(arg2);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
6124 return resultobj;
6125 fail:
6126 return NULL;
6127 }
6128
6129
6130 static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj;
6132 wxPyShape *arg1 = (wxPyShape *) 0 ;
6133 wxString *arg2 = 0 ;
6134 int arg3 = (int) 0 ;
6135 bool temp2 = False ;
6136 PyObject * obj0 = 0 ;
6137 PyObject * obj1 = 0 ;
6138 PyObject * obj2 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6146 {
6147 arg2 = wxString_in_helper(obj1);
6148 if (arg2 == NULL) SWIG_fail;
6149 temp2 = True;
6150 }
6151 if (obj2) {
6152 arg3 = (int) SWIG_AsInt(obj2);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 {
6164 if (temp2)
6165 delete arg2;
6166 }
6167 return resultobj;
6168 fail:
6169 {
6170 if (temp2)
6171 delete arg2;
6172 }
6173 return NULL;
6174 }
6175
6176
6177 static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj;
6179 wxPyShape *arg1 = (wxPyShape *) 0 ;
6180 int arg2 = (int) 0 ;
6181 wxString result;
6182 PyObject * obj0 = 0 ;
6183 PyObject * obj1 = 0 ;
6184 char *kwnames[] = {
6185 (char *) "self",(char *) "regionId", NULL
6186 };
6187
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
6189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6191 if (obj1) {
6192 arg2 = (int) SWIG_AsInt(obj1);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (arg1)->GetTextColour(arg2);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203 #if wxUSE_UNICODE
6204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6205 #else
6206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6207 #endif
6208 }
6209 return resultobj;
6210 fail:
6211 return NULL;
6212 }
6213
6214
6215 static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6216 PyObject *resultobj;
6217 wxPyShape *arg1 = (wxPyShape *) 0 ;
6218 int result;
6219 PyObject * obj0 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "self", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
6225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 result = (int)(arg1)->GetNumberOfTextRegions();
6230
6231 wxPyEndAllowThreads(__tstate);
6232 if (PyErr_Occurred()) SWIG_fail;
6233 }
6234 resultobj = SWIG_FromInt((int)result);
6235 return resultobj;
6236 fail:
6237 return NULL;
6238 }
6239
6240
6241 static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject *resultobj;
6243 wxPyShape *arg1 = (wxPyShape *) 0 ;
6244 wxString *arg2 = 0 ;
6245 int arg3 = (int) 0 ;
6246 bool temp2 = False ;
6247 PyObject * obj0 = 0 ;
6248 PyObject * obj1 = 0 ;
6249 PyObject * obj2 = 0 ;
6250 char *kwnames[] = {
6251 (char *) "self",(char *) "name",(char *) "regionId", NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6257 {
6258 arg2 = wxString_in_helper(obj1);
6259 if (arg2 == NULL) SWIG_fail;
6260 temp2 = True;
6261 }
6262 if (obj2) {
6263 arg3 = (int) SWIG_AsInt(obj2);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 Py_INCREF(Py_None); resultobj = Py_None;
6274 {
6275 if (temp2)
6276 delete arg2;
6277 }
6278 return resultobj;
6279 fail:
6280 {
6281 if (temp2)
6282 delete arg2;
6283 }
6284 return NULL;
6285 }
6286
6287
6288 static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6289 PyObject *resultobj;
6290 wxPyShape *arg1 = (wxPyShape *) 0 ;
6291 int arg2 ;
6292 wxString result;
6293 PyObject * obj0 = 0 ;
6294 PyObject * obj1 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self",(char *) "regionId", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
6300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6302 arg2 = (int) SWIG_AsInt(obj1);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (arg1)->GetRegionName(arg2);
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 {
6312 #if wxUSE_UNICODE
6313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6314 #else
6315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6316 #endif
6317 }
6318 return resultobj;
6319 fail:
6320 return NULL;
6321 }
6322
6323
6324 static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 wxPyShape *arg1 = (wxPyShape *) 0 ;
6327 wxString *arg2 = 0 ;
6328 int result;
6329 bool temp2 = False ;
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "name", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6339 {
6340 arg2 = wxString_in_helper(obj1);
6341 if (arg2 == NULL) SWIG_fail;
6342 temp2 = True;
6343 }
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 resultobj = SWIG_FromInt((int)result);
6352 {
6353 if (temp2)
6354 delete arg2;
6355 }
6356 return resultobj;
6357 fail:
6358 {
6359 if (temp2)
6360 delete arg2;
6361 }
6362 return NULL;
6363 }
6364
6365
6366 static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj;
6368 wxPyShape *arg1 = (wxPyShape *) 0 ;
6369 wxString const &arg2_defvalue = wxPyEmptyString ;
6370 wxString *arg2 = (wxString *) &arg2_defvalue ;
6371 bool temp2 = False ;
6372 PyObject * obj0 = 0 ;
6373 PyObject * obj1 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self",(char *) "parentName", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6381 if (obj1) {
6382 {
6383 arg2 = wxString_in_helper(obj1);
6384 if (arg2 == NULL) SWIG_fail;
6385 temp2 = True;
6386 }
6387 }
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 (arg1)->NameRegions((wxString const &)*arg2);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 Py_INCREF(Py_None); resultobj = Py_None;
6396 {
6397 if (temp2)
6398 delete arg2;
6399 }
6400 return resultobj;
6401 fail:
6402 {
6403 if (temp2)
6404 delete arg2;
6405 }
6406 return NULL;
6407 }
6408
6409
6410 static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6411 PyObject *resultobj;
6412 wxPyShape *arg1 = (wxPyShape *) 0 ;
6413 PyObject *result;
6414 PyObject * obj0 = 0 ;
6415 char *kwnames[] = {
6416 (char *) "self", NULL
6417 };
6418
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
6420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (PyObject *)wxPyShape_GetRegions(arg1);
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 resultobj = result;
6430 return resultobj;
6431 fail:
6432 return NULL;
6433 }
6434
6435
6436 static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxPyShape *arg1 = (wxPyShape *) 0 ;
6439 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6440 PyObject * obj0 = 0 ;
6441 PyObject * obj1 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "self",(char *) "region", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
6447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxShapeRegion,
6450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 (arg1)->AddRegion(arg2);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 Py_INCREF(Py_None); resultobj = Py_None;
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxPyShape *arg1 = (wxPyShape *) 0 ;
6468 PyObject * obj0 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "self", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
6474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->ClearRegions();
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 Py_INCREF(Py_None); resultobj = Py_None;
6484 return resultobj;
6485 fail:
6486 return NULL;
6487 }
6488
6489
6490 static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
6491 PyObject *resultobj;
6492 wxPyShape *arg1 = (wxPyShape *) 0 ;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 (arg1)->AssignNewIds();
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 Py_INCREF(Py_None); resultobj = Py_None;
6509 return resultobj;
6510 fail:
6511 return NULL;
6512 }
6513
6514
6515 static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj;
6517 wxPyShape *arg1 = (wxPyShape *) 0 ;
6518 wxString *arg2 = 0 ;
6519 int *arg3 = (int *) 0 ;
6520 wxPyShape *result;
6521 bool temp2 = False ;
6522 int temp3 ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self",(char *) "regionName", NULL
6527 };
6528
6529 arg3 = &temp3;
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
6531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6533 {
6534 arg2 = wxString_in_helper(obj1);
6535 if (arg2 == NULL) SWIG_fail;
6536 temp2 = True;
6537 }
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 {
6546 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
6547 }
6548 {
6549 PyObject *o = PyInt_FromLong((long) (*arg3));
6550 resultobj = t_output_helper(resultobj,o);
6551 }
6552 {
6553 if (temp2)
6554 delete arg2;
6555 }
6556 return resultobj;
6557 fail:
6558 {
6559 if (temp2)
6560 delete arg2;
6561 }
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxPyShape *arg1 = (wxPyShape *) 0 ;
6569 wxStringList *arg2 = 0 ;
6570 PyObject * obj0 = 0 ;
6571 PyObject * obj1 = 0 ;
6572 char *kwnames[] = {
6573 (char *) "self",(char *) "list", NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
6577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStringList,
6580 SWIG_POINTER_EXCEPTION | 0)) == -1)
6581 SWIG_fail;
6582 if (arg2 == NULL) {
6583 PyErr_SetString(PyExc_TypeError,"null reference");
6584 SWIG_fail;
6585 }
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 (arg1)->FindRegionNames(*arg2);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 Py_INCREF(Py_None); resultobj = Py_None;
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxPyShape *arg1 = (wxPyShape *) 0 ;
6603 int arg2 = (int) 0 ;
6604 PyObject * obj0 = 0 ;
6605 PyObject * obj1 = 0 ;
6606 char *kwnames[] = {
6607 (char *) "self",(char *) "regionId", NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
6611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6613 if (obj1) {
6614 arg2 = (int) SWIG_AsInt(obj1);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 (arg1)->ClearText(arg2);
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 Py_INCREF(Py_None); resultobj = Py_None;
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj;
6633 wxPyShape *arg1 = (wxPyShape *) 0 ;
6634 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6635 PyObject * obj0 = 0 ;
6636 PyObject * obj1 = 0 ;
6637 char *kwnames[] = {
6638 (char *) "self",(char *) "line", NULL
6639 };
6640
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
6642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
6645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6646 {
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 (arg1)->RemoveLine(arg2);
6649
6650 wxPyEndAllowThreads(__tstate);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 }
6653 Py_INCREF(Py_None); resultobj = Py_None;
6654 return resultobj;
6655 fail:
6656 return NULL;
6657 }
6658
6659
6660 static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6661 PyObject *resultobj;
6662 wxPyShape *arg1 = (wxPyShape *) 0 ;
6663 int arg2 ;
6664 double *arg3 = (double *) 0 ;
6665 double *arg4 = (double *) 0 ;
6666 int arg5 = (int) 0 ;
6667 int arg6 = (int) 1 ;
6668 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6669 bool result;
6670 double temp3 ;
6671 double temp4 ;
6672 PyObject * obj0 = 0 ;
6673 PyObject * obj1 = 0 ;
6674 PyObject * obj2 = 0 ;
6675 PyObject * obj3 = 0 ;
6676 PyObject * obj4 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6679 };
6680
6681 arg3 = &temp3;
6682 arg4 = &temp4;
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6686 arg2 = (int) SWIG_AsInt(obj1);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 if (obj2) {
6689 arg5 = (int) SWIG_AsInt(obj2);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 if (obj3) {
6693 arg6 = (int) SWIG_AsInt(obj3);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 if (obj4) {
6697 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6699 }
6700 {
6701 PyThreadState* __tstate = wxPyBeginAllowThreads();
6702 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6703
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
6707 {
6708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6709 }
6710 {
6711 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6712 resultobj = t_output_helper(resultobj,o);
6713 }
6714 {
6715 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6716 resultobj = t_output_helper(resultobj,o);
6717 }
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 wxPyShape *arg1 = (wxPyShape *) 0 ;
6727 int result;
6728 PyObject * obj0 = 0 ;
6729 char *kwnames[] = {
6730 (char *) "self", NULL
6731 };
6732
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
6734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 result = (int)(arg1)->GetNumberOfAttachments();
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
6743 resultobj = SWIG_FromInt((int)result);
6744 return resultobj;
6745 fail:
6746 return NULL;
6747 }
6748
6749
6750 static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject *resultobj;
6752 wxPyShape *arg1 = (wxPyShape *) 0 ;
6753 int arg2 ;
6754 bool result;
6755 PyObject * obj0 = 0 ;
6756 PyObject * obj1 = 0 ;
6757 char *kwnames[] = {
6758 (char *) "self",(char *) "attachment", NULL
6759 };
6760
6761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
6762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6764 arg2 = (int) SWIG_AsInt(obj1);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 result = (bool)(arg1)->AttachmentIsValid(arg2);
6769
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 {
6774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6775 }
6776 return resultobj;
6777 fail:
6778 return NULL;
6779 }
6780
6781
6782 static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj;
6784 wxPyShape *arg1 = (wxPyShape *) 0 ;
6785 PyObject *result;
6786 PyObject * obj0 = 0 ;
6787 char *kwnames[] = {
6788 (char *) "self", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
6792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 resultobj = result;
6802 return resultobj;
6803 fail:
6804 return NULL;
6805 }
6806
6807
6808 static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6809 PyObject *resultobj;
6810 wxPyShape *arg1 = (wxPyShape *) 0 ;
6811 int arg2 ;
6812 double *arg3 = (double *) 0 ;
6813 double *arg4 = (double *) 0 ;
6814 int arg5 = (int) 0 ;
6815 int arg6 = (int) 1 ;
6816 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6817 bool result;
6818 double temp3 ;
6819 double temp4 ;
6820 PyObject * obj0 = 0 ;
6821 PyObject * obj1 = 0 ;
6822 PyObject * obj2 = 0 ;
6823 PyObject * obj3 = 0 ;
6824 PyObject * obj4 = 0 ;
6825 char *kwnames[] = {
6826 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6827 };
6828
6829 arg3 = &temp3;
6830 arg4 = &temp4;
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6834 arg2 = (int) SWIG_AsInt(obj1);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 if (obj2) {
6837 arg5 = (int) SWIG_AsInt(obj2);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 if (obj3) {
6841 arg6 = (int) SWIG_AsInt(obj3);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 if (obj4) {
6845 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6847 }
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6851
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 {
6856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6857 }
6858 {
6859 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6860 resultobj = t_output_helper(resultobj,o);
6861 }
6862 {
6863 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6864 resultobj = t_output_helper(resultobj,o);
6865 }
6866 return resultobj;
6867 fail:
6868 return NULL;
6869 }
6870
6871
6872 static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 wxPyShape *arg1 = (wxPyShape *) 0 ;
6875 wxRealPoint *arg2 = 0 ;
6876 wxRealPoint *arg3 = 0 ;
6877 int arg4 ;
6878 int arg5 ;
6879 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6880 wxRealPoint result;
6881 wxRealPoint temp2 ;
6882 wxRealPoint temp3 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 PyObject * obj2 = 0 ;
6886 PyObject * obj3 = 0 ;
6887 PyObject * obj4 = 0 ;
6888 PyObject * obj5 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6896 {
6897 arg2 = &temp2;
6898 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6899 }
6900 {
6901 arg3 = &temp3;
6902 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6903 }
6904 arg4 = (int) SWIG_AsInt(obj3);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 arg5 = (int) SWIG_AsInt(obj4);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyLineShape,
6909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 {
6918 wxRealPoint * resultptr;
6919 resultptr = new wxRealPoint((wxRealPoint &) result);
6920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
6921 }
6922 return resultobj;
6923 fail:
6924 return NULL;
6925 }
6926
6927
6928 static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj;
6930 wxPyShape *arg1 = (wxPyShape *) 0 ;
6931 int arg2 ;
6932 wxRealPoint *arg3 = 0 ;
6933 wxRealPoint *arg4 = 0 ;
6934 bool result;
6935 wxRealPoint temp3 ;
6936 wxRealPoint temp4 ;
6937 PyObject * obj0 = 0 ;
6938 PyObject * obj1 = 0 ;
6939 PyObject * obj2 = 0 ;
6940 PyObject * obj3 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6948 arg2 = (int) SWIG_AsInt(obj1);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 {
6951 arg3 = &temp3;
6952 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6953 }
6954 {
6955 arg4 = &temp4;
6956 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6957 }
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 {
6966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6967 }
6968 return resultobj;
6969 fail:
6970 return NULL;
6971 }
6972
6973
6974 static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj;
6976 wxPyShape *arg1 = (wxPyShape *) 0 ;
6977 wxDC *arg2 = 0 ;
6978 int arg3 = (int) -1 ;
6979 bool arg4 = (bool) False ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 PyObject * obj2 = 0 ;
6983 PyObject * obj3 = 0 ;
6984 char *kwnames[] = {
6985 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6992 SWIG_POINTER_EXCEPTION | 0)) == -1)
6993 SWIG_fail;
6994 if (arg2 == NULL) {
6995 PyErr_SetString(PyExc_TypeError,"null reference");
6996 SWIG_fail;
6997 }
6998 if (obj2) {
6999 arg3 = (int) SWIG_AsInt(obj2);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 if (obj3) {
7003 arg4 = (bool) SWIG_AsBool(obj3);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 (arg1)->EraseLinks(*arg2,arg3,arg4);
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 Py_INCREF(Py_None); resultobj = Py_None;
7014 return resultobj;
7015 fail:
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxPyShape *arg1 = (wxPyShape *) 0 ;
7023 wxDC *arg2 = 0 ;
7024 int arg3 = (int) -1 ;
7025 bool arg4 = (bool) False ;
7026 PyObject * obj0 = 0 ;
7027 PyObject * obj1 = 0 ;
7028 PyObject * obj2 = 0 ;
7029 PyObject * obj3 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7038 SWIG_POINTER_EXCEPTION | 0)) == -1)
7039 SWIG_fail;
7040 if (arg2 == NULL) {
7041 PyErr_SetString(PyExc_TypeError,"null reference");
7042 SWIG_fail;
7043 }
7044 if (obj2) {
7045 arg3 = (int) SWIG_AsInt(obj2);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 if (obj3) {
7049 arg4 = (bool) SWIG_AsBool(obj3);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 (arg1)->DrawLinks(*arg2,arg3,arg4);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 Py_INCREF(Py_None); resultobj = Py_None;
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj;
7068 wxPyShape *arg1 = (wxPyShape *) 0 ;
7069 wxDC *arg2 = 0 ;
7070 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
7071 double arg4 ;
7072 double arg5 ;
7073 bool result;
7074 PyObject * obj0 = 0 ;
7075 PyObject * obj1 = 0 ;
7076 PyObject * obj2 = 0 ;
7077 PyObject * obj3 = 0 ;
7078 PyObject * obj4 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7087 SWIG_POINTER_EXCEPTION | 0)) == -1)
7088 SWIG_fail;
7089 if (arg2 == NULL) {
7090 PyErr_SetString(PyExc_TypeError,"null reference");
7091 SWIG_fail;
7092 }
7093 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyLineShape,
7094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7095 arg4 = (double) SWIG_AsDouble(obj3);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 arg5 = (double) SWIG_AsDouble(obj4);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 {
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
7101 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
7102
7103 wxPyEndAllowThreads(__tstate);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 }
7106 {
7107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7108 }
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxPyShape *arg1 = (wxPyShape *) 0 ;
7118 PyObject *arg2 = (PyObject *) 0 ;
7119 PyObject * obj0 = 0 ;
7120 PyObject * obj1 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "linesToSort", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
7126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7128 arg2 = obj1;
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 Py_INCREF(Py_None); resultobj = Py_None;
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxPyShape *arg1 = (wxPyShape *) 0 ;
7146 int arg2 ;
7147 wxRealPoint result;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj1 = 0 ;
7150 char *kwnames[] = {
7151 (char *) "self",(char *) "attachment", NULL
7152 };
7153
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
7155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7157 arg2 = (int) SWIG_AsInt(obj1);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 {
7167 wxRealPoint * resultptr;
7168 resultptr = new wxRealPoint((wxRealPoint &) result);
7169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
7170 }
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxPyShape *arg1 = (wxPyShape *) 0 ;
7180 int arg2 ;
7181 wxRealPoint *arg3 = 0 ;
7182 wxRealPoint *arg4 = 0 ;
7183 wxRealPoint *arg5 = 0 ;
7184 wxRealPoint *arg6 = 0 ;
7185 bool result;
7186 wxRealPoint temp3 ;
7187 wxRealPoint temp4 ;
7188 wxRealPoint temp5 ;
7189 wxRealPoint temp6 ;
7190 PyObject * obj0 = 0 ;
7191 PyObject * obj1 = 0 ;
7192 PyObject * obj2 = 0 ;
7193 PyObject * obj3 = 0 ;
7194 PyObject * obj4 = 0 ;
7195 PyObject * obj5 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7198 };
7199
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7203 arg2 = (int) SWIG_AsInt(obj1);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 {
7206 arg3 = &temp3;
7207 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7208 }
7209 {
7210 arg4 = &temp4;
7211 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7212 }
7213 {
7214 arg5 = &temp5;
7215 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7216 }
7217 {
7218 arg6 = &temp6;
7219 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7220 }
7221 {
7222 PyThreadState* __tstate = wxPyBeginAllowThreads();
7223 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7224
7225 wxPyEndAllowThreads(__tstate);
7226 if (PyErr_Occurred()) SWIG_fail;
7227 }
7228 {
7229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7230 }
7231 return resultobj;
7232 fail:
7233 return NULL;
7234 }
7235
7236
7237 static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7238 PyObject *resultobj;
7239 wxPyShape *arg1 = (wxPyShape *) 0 ;
7240 int arg2 ;
7241 int arg3 ;
7242 wxRealPoint *arg4 = 0 ;
7243 wxRealPoint *arg5 = 0 ;
7244 bool result;
7245 wxRealPoint temp4 ;
7246 wxRealPoint temp5 ;
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj1 = 0 ;
7249 PyObject * obj2 = 0 ;
7250 PyObject * obj3 = 0 ;
7251 PyObject * obj4 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7259 arg2 = (int) SWIG_AsInt(obj1);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 arg3 = (int) SWIG_AsInt(obj2);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 {
7264 arg4 = &temp4;
7265 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7266 }
7267 {
7268 arg5 = &temp5;
7269 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7270 }
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 {
7279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7280 }
7281 return resultobj;
7282 fail:
7283 return NULL;
7284 }
7285
7286
7287 static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7288 PyObject *resultobj;
7289 wxPyShape *arg1 = (wxPyShape *) 0 ;
7290 int arg2 ;
7291 int result;
7292 PyObject * obj0 = 0 ;
7293 PyObject * obj1 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "self",(char *) "attachment", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
7299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7301 arg2 = (int) SWIG_AsInt(obj1);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 {
7304 PyThreadState* __tstate = wxPyBeginAllowThreads();
7305 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7306
7307 wxPyEndAllowThreads(__tstate);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 }
7310 resultobj = SWIG_FromInt((int)result);
7311 return resultobj;
7312 fail:
7313 return NULL;
7314 }
7315
7316
7317 static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj;
7319 wxPyShape *arg1 = (wxPyShape *) 0 ;
7320 int arg2 ;
7321 PyObject * obj0 = 0 ;
7322 PyObject * obj1 = 0 ;
7323 char *kwnames[] = {
7324 (char *) "self",(char *) "len", NULL
7325 };
7326
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
7328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7330 arg2 = (int) SWIG_AsInt(obj1);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 (arg1)->SetBranchNeckLength(arg2);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 Py_INCREF(Py_None); resultobj = Py_None;
7340 return resultobj;
7341 fail:
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxPyShape *arg1 = (wxPyShape *) 0 ;
7349 int result;
7350 PyObject * obj0 = 0 ;
7351 char *kwnames[] = {
7352 (char *) "self", NULL
7353 };
7354
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
7356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = (int)(arg1)->GetBranchNeckLength();
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 resultobj = SWIG_FromInt((int)result);
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7373 PyObject *resultobj;
7374 wxPyShape *arg1 = (wxPyShape *) 0 ;
7375 int arg2 ;
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
7378 char *kwnames[] = {
7379 (char *) "self",(char *) "len", NULL
7380 };
7381
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
7383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7385 arg2 = (int) SWIG_AsInt(obj1);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 (arg1)->SetBranchStemLength(arg2);
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 Py_INCREF(Py_None); resultobj = Py_None;
7395 return resultobj;
7396 fail:
7397 return NULL;
7398 }
7399
7400
7401 static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj;
7403 wxPyShape *arg1 = (wxPyShape *) 0 ;
7404 int result;
7405 PyObject * obj0 = 0 ;
7406 char *kwnames[] = {
7407 (char *) "self", NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
7411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7413 {
7414 PyThreadState* __tstate = wxPyBeginAllowThreads();
7415 result = (int)(arg1)->GetBranchStemLength();
7416
7417 wxPyEndAllowThreads(__tstate);
7418 if (PyErr_Occurred()) SWIG_fail;
7419 }
7420 resultobj = SWIG_FromInt((int)result);
7421 return resultobj;
7422 fail:
7423 return NULL;
7424 }
7425
7426
7427 static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7428 PyObject *resultobj;
7429 wxPyShape *arg1 = (wxPyShape *) 0 ;
7430 int arg2 ;
7431 PyObject * obj0 = 0 ;
7432 PyObject * obj1 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "self",(char *) "len", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
7438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7440 arg2 = (int) SWIG_AsInt(obj1);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 (arg1)->SetBranchSpacing(arg2);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 Py_INCREF(Py_None); resultobj = Py_None;
7450 return resultobj;
7451 fail:
7452 return NULL;
7453 }
7454
7455
7456 static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxPyShape *arg1 = (wxPyShape *) 0 ;
7459 int result;
7460 PyObject * obj0 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
7466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (int)(arg1)->GetBranchSpacing();
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 resultobj = SWIG_FromInt((int)result);
7476 return resultobj;
7477 fail:
7478 return NULL;
7479 }
7480
7481
7482 static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj;
7484 wxPyShape *arg1 = (wxPyShape *) 0 ;
7485 long arg2 ;
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "self",(char *) "style", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
7493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7495 arg2 = (long) SWIG_AsLong(obj1);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 (arg1)->SetBranchStyle(arg2);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 Py_INCREF(Py_None); resultobj = Py_None;
7505 return resultobj;
7506 fail:
7507 return NULL;
7508 }
7509
7510
7511 static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7512 PyObject *resultobj;
7513 wxPyShape *arg1 = (wxPyShape *) 0 ;
7514 long result;
7515 PyObject * obj0 = 0 ;
7516 char *kwnames[] = {
7517 (char *) "self", NULL
7518 };
7519
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
7521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 result = (long)(arg1)->GetBranchStyle();
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 resultobj = SWIG_FromLong((long)result);
7531 return resultobj;
7532 fail:
7533 return NULL;
7534 }
7535
7536
7537 static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject *resultobj;
7539 wxPyShape *arg1 = (wxPyShape *) 0 ;
7540 int arg2 ;
7541 int result;
7542 PyObject * obj0 = 0 ;
7543 PyObject * obj1 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self",(char *) "physicalAttachment", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7551 arg2 = (int) SWIG_AsInt(obj1);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 resultobj = SWIG_FromInt((int)result);
7561 return resultobj;
7562 fail:
7563 return NULL;
7564 }
7565
7566
7567 static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxPyShape *arg1 = (wxPyShape *) 0 ;
7570 int arg2 ;
7571 int result;
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj1 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self",(char *) "logicalAttachment", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7581 arg2 = (int) SWIG_AsInt(obj1);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 resultobj = SWIG_FromInt((int)result);
7591 return resultobj;
7592 fail:
7593 return NULL;
7594 }
7595
7596
7597 static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj;
7599 wxPyShape *arg1 = (wxPyShape *) 0 ;
7600 bool result;
7601 PyObject * obj0 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "self", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
7607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = (bool)(arg1)->Draggable();
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 {
7617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7618 }
7619 return resultobj;
7620 fail:
7621 return NULL;
7622 }
7623
7624
7625 static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj;
7627 wxPyShape *arg1 = (wxPyShape *) 0 ;
7628 wxPyShape *arg2 = (wxPyShape *) 0 ;
7629 bool result;
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self",(char *) "image", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
7637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (bool)(arg1)->HasDescendant(arg2);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 {
7649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7650 }
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxPyShape *arg1 = (wxPyShape *) 0 ;
7660 bool arg2 = (bool) True ;
7661 bool arg3 = (bool) True ;
7662 wxPyShape *result;
7663 PyObject * obj0 = 0 ;
7664 PyObject * obj1 = 0 ;
7665 PyObject * obj2 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7673 if (obj1) {
7674 arg2 = (bool) SWIG_AsBool(obj1);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 if (obj2) {
7678 arg3 = (bool) SWIG_AsBool(obj2);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 {
7689 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
7690 }
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj;
7699 wxPyShape *arg1 = (wxPyShape *) 0 ;
7700 wxPyShape *arg2 = 0 ;
7701 PyObject * obj0 = 0 ;
7702 PyObject * obj1 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self",(char *) "copy", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7711 SWIG_POINTER_EXCEPTION | 0)) == -1)
7712 SWIG_fail;
7713 if (arg2 == NULL) {
7714 PyErr_SetString(PyExc_TypeError,"null reference");
7715 SWIG_fail;
7716 }
7717 {
7718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7719 (arg1)->Copy(*arg2);
7720
7721 wxPyEndAllowThreads(__tstate);
7722 if (PyErr_Occurred()) SWIG_fail;
7723 }
7724 Py_INCREF(Py_None); resultobj = Py_None;
7725 return resultobj;
7726 fail:
7727 return NULL;
7728 }
7729
7730
7731 static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7732 PyObject *resultobj;
7733 wxPyShape *arg1 = (wxPyShape *) 0 ;
7734 wxPyShape *arg2 = 0 ;
7735 PyObject * obj0 = 0 ;
7736 PyObject * obj1 = 0 ;
7737 char *kwnames[] = {
7738 (char *) "self",(char *) "copy", NULL
7739 };
7740
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
7742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7745 SWIG_POINTER_EXCEPTION | 0)) == -1)
7746 SWIG_fail;
7747 if (arg2 == NULL) {
7748 PyErr_SetString(PyExc_TypeError,"null reference");
7749 SWIG_fail;
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 (arg1)->CopyWithHandler(*arg2);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 return resultobj;
7760 fail:
7761 return NULL;
7762 }
7763
7764
7765 static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxPyShape *arg1 = (wxPyShape *) 0 ;
7768 double arg2 ;
7769 double arg3 ;
7770 double arg4 ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 PyObject * obj2 = 0 ;
7774 PyObject * obj3 = 0 ;
7775 char *kwnames[] = {
7776 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7782 arg2 = (double) SWIG_AsDouble(obj1);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 arg3 = (double) SWIG_AsDouble(obj2);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 arg4 = (double) SWIG_AsDouble(obj3);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 (arg1)->Rotate(arg2,arg3,arg4);
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 Py_INCREF(Py_None); resultobj = Py_None;
7796 return resultobj;
7797 fail:
7798 return NULL;
7799 }
7800
7801
7802 static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7803 PyObject *resultobj;
7804 wxPyShape *arg1 = (wxPyShape *) 0 ;
7805 double result;
7806 PyObject * obj0 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "self", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
7812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7814 {
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 result = (double)(arg1)->GetRotation();
7817
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 }
7821 resultobj = SWIG_FromDouble((double)result);
7822 return resultobj;
7823 fail:
7824 return NULL;
7825 }
7826
7827
7828 static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj;
7830 wxPyShape *arg1 = (wxPyShape *) 0 ;
7831 double arg2 ;
7832 PyObject * obj0 = 0 ;
7833 PyObject * obj1 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "self",(char *) "rotation", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
7839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7841 arg2 = (double) SWIG_AsDouble(obj1);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 (arg1)->SetRotation(arg2);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 Py_INCREF(Py_None); resultobj = Py_None;
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxPyShape *arg1 = (wxPyShape *) 0 ;
7860 PyObject * obj0 = 0 ;
7861 char *kwnames[] = {
7862 (char *) "self", NULL
7863 };
7864
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
7866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 (arg1)->ClearAttachments();
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 Py_INCREF(Py_None); resultobj = Py_None;
7876 return resultobj;
7877 fail:
7878 return NULL;
7879 }
7880
7881
7882 static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxPyShape *arg1 = (wxPyShape *) 0 ;
7885 wxDC *arg2 = 0 ;
7886 PyObject * obj0 = 0 ;
7887 PyObject * obj1 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self",(char *) "dc", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7896 SWIG_POINTER_EXCEPTION | 0)) == -1)
7897 SWIG_fail;
7898 if (arg2 == NULL) {
7899 PyErr_SetString(PyExc_TypeError,"null reference");
7900 SWIG_fail;
7901 }
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 (arg1)->Recentre(*arg2);
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 Py_INCREF(Py_None); resultobj = Py_None;
7910 return resultobj;
7911 fail:
7912 return NULL;
7913 }
7914
7915
7916 static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj;
7918 wxPyShape *arg1 = (wxPyShape *) 0 ;
7919 wxList *arg2 = 0 ;
7920 PyObject * obj0 = 0 ;
7921 PyObject * obj1 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "self",(char *) "list", NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
7927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxList,
7930 SWIG_POINTER_EXCEPTION | 0)) == -1)
7931 SWIG_fail;
7932 if (arg2 == NULL) {
7933 PyErr_SetString(PyExc_TypeError,"null reference");
7934 SWIG_fail;
7935 }
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 (arg1)->ClearPointList(*arg2);
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 Py_INCREF(Py_None); resultobj = Py_None;
7944 return resultobj;
7945 fail:
7946 return NULL;
7947 }
7948
7949
7950 static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj;
7952 wxPyShape *arg1 = (wxPyShape *) 0 ;
7953 wxPen result;
7954 PyObject * obj0 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
7960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (arg1)->GetBackgroundPen();
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 {
7970 wxPen * resultptr;
7971 resultptr = new wxPen((wxPen &) result);
7972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPen, 1);
7973 }
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj;
7982 wxPyShape *arg1 = (wxPyShape *) 0 ;
7983 wxBrush result;
7984 PyObject * obj0 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "self", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 result = (arg1)->GetBackgroundBrush();
7995
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 {
8000 wxBrush * resultptr;
8001 resultptr = new wxBrush((wxBrush &) result);
8002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBrush, 1);
8003 }
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxPyShape *arg1 = (wxPyShape *) 0 ;
8013 PyObject * obj0 = 0 ;
8014 char *kwnames[] = {
8015 (char *) "self", NULL
8016 };
8017
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
8019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 (arg1)->base_OnDelete();
8024
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 Py_INCREF(Py_None); resultobj = Py_None;
8029 return resultobj;
8030 fail:
8031 return NULL;
8032 }
8033
8034
8035 static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj;
8037 wxPyShape *arg1 = (wxPyShape *) 0 ;
8038 wxDC *arg2 = 0 ;
8039 PyObject * obj0 = 0 ;
8040 PyObject * obj1 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self",(char *) "dc", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
8046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8049 SWIG_POINTER_EXCEPTION | 0)) == -1)
8050 SWIG_fail;
8051 if (arg2 == NULL) {
8052 PyErr_SetString(PyExc_TypeError,"null reference");
8053 SWIG_fail;
8054 }
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 (arg1)->base_OnDraw(*arg2);
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxPyShape *arg1 = (wxPyShape *) 0 ;
8072 wxDC *arg2 = 0 ;
8073 PyObject * obj0 = 0 ;
8074 PyObject * obj1 = 0 ;
8075 char *kwnames[] = {
8076 (char *) "self",(char *) "dc", NULL
8077 };
8078
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
8080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8083 SWIG_POINTER_EXCEPTION | 0)) == -1)
8084 SWIG_fail;
8085 if (arg2 == NULL) {
8086 PyErr_SetString(PyExc_TypeError,"null reference");
8087 SWIG_fail;
8088 }
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 (arg1)->base_OnDrawContents(*arg2);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 Py_INCREF(Py_None); resultobj = Py_None;
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxPyShape *arg1 = (wxPyShape *) 0 ;
8106 wxDC *arg2 = 0 ;
8107 bool arg3 = (bool) False ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 PyObject * obj2 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "dc",(char *) "erase", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
8116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8119 SWIG_POINTER_EXCEPTION | 0)) == -1)
8120 SWIG_fail;
8121 if (arg2 == NULL) {
8122 PyErr_SetString(PyExc_TypeError,"null reference");
8123 SWIG_fail;
8124 }
8125 if (obj2) {
8126 arg3 = (bool) SWIG_AsBool(obj2);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 (arg1)->base_OnDrawBranches(*arg2,arg3);
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 Py_INCREF(Py_None); resultobj = Py_None;
8137 return resultobj;
8138 fail:
8139 return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxPyShape *arg1 = (wxPyShape *) 0 ;
8146 wxDC *arg2 = 0 ;
8147 PyObject * obj0 = 0 ;
8148 PyObject * obj1 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "dc", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
8154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8157 SWIG_POINTER_EXCEPTION | 0)) == -1)
8158 SWIG_fail;
8159 if (arg2 == NULL) {
8160 PyErr_SetString(PyExc_TypeError,"null reference");
8161 SWIG_fail;
8162 }
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 (arg1)->base_OnMoveLinks(*arg2);
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 Py_INCREF(Py_None); resultobj = Py_None;
8171 return resultobj;
8172 fail:
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxPyShape *arg1 = (wxPyShape *) 0 ;
8180 wxDC *arg2 = 0 ;
8181 PyObject * obj0 = 0 ;
8182 PyObject * obj1 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self",(char *) "dc", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
8188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8191 SWIG_POINTER_EXCEPTION | 0)) == -1)
8192 SWIG_fail;
8193 if (arg2 == NULL) {
8194 PyErr_SetString(PyExc_TypeError,"null reference");
8195 SWIG_fail;
8196 }
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 (arg1)->base_OnErase(*arg2);
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 Py_INCREF(Py_None); resultobj = Py_None;
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxPyShape *arg1 = (wxPyShape *) 0 ;
8214 wxDC *arg2 = 0 ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 char *kwnames[] = {
8218 (char *) "self",(char *) "dc", NULL
8219 };
8220
8221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
8222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8225 SWIG_POINTER_EXCEPTION | 0)) == -1)
8226 SWIG_fail;
8227 if (arg2 == NULL) {
8228 PyErr_SetString(PyExc_TypeError,"null reference");
8229 SWIG_fail;
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 (arg1)->base_OnEraseContents(*arg2);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 Py_INCREF(Py_None); resultobj = Py_None;
8239 return resultobj;
8240 fail:
8241 return NULL;
8242 }
8243
8244
8245 static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8246 PyObject *resultobj;
8247 wxPyShape *arg1 = (wxPyShape *) 0 ;
8248 wxDC *arg2 = 0 ;
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8251 char *kwnames[] = {
8252 (char *) "self",(char *) "dc", NULL
8253 };
8254
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
8256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8259 SWIG_POINTER_EXCEPTION | 0)) == -1)
8260 SWIG_fail;
8261 if (arg2 == NULL) {
8262 PyErr_SetString(PyExc_TypeError,"null reference");
8263 SWIG_fail;
8264 }
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->base_OnHighlight(*arg2);
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 Py_INCREF(Py_None); resultobj = Py_None;
8273 return resultobj;
8274 fail:
8275 return NULL;
8276 }
8277
8278
8279 static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxPyShape *arg1 = (wxPyShape *) 0 ;
8282 double arg2 ;
8283 double arg3 ;
8284 int arg4 = (int) 0 ;
8285 int arg5 = (int) 0 ;
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 PyObject * obj2 = 0 ;
8289 PyObject * obj3 = 0 ;
8290 PyObject * obj4 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8298 arg2 = (double) SWIG_AsDouble(obj1);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 arg3 = (double) SWIG_AsDouble(obj2);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 if (obj3) {
8303 arg4 = (int) SWIG_AsInt(obj3);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 if (obj4) {
8307 arg5 = (int) SWIG_AsInt(obj4);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxPyShape *arg1 = (wxPyShape *) 0 ;
8327 double arg2 ;
8328 double arg3 ;
8329 int arg4 = (int) 0 ;
8330 int arg5 = (int) 0 ;
8331 PyObject * obj0 = 0 ;
8332 PyObject * obj1 = 0 ;
8333 PyObject * obj2 = 0 ;
8334 PyObject * obj3 = 0 ;
8335 PyObject * obj4 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8343 arg2 = (double) SWIG_AsDouble(obj1);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 arg3 = (double) SWIG_AsDouble(obj2);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 if (obj3) {
8348 arg4 = (int) SWIG_AsInt(obj3);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 if (obj4) {
8352 arg5 = (int) SWIG_AsInt(obj4);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 Py_INCREF(Py_None); resultobj = Py_None;
8363 return resultobj;
8364 fail:
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 wxPyShape *arg1 = (wxPyShape *) 0 ;
8372 double arg2 ;
8373 double arg3 ;
8374 int arg4 = (int) 0 ;
8375 int arg5 = (int) 0 ;
8376 PyObject * obj0 = 0 ;
8377 PyObject * obj1 = 0 ;
8378 PyObject * obj2 = 0 ;
8379 PyObject * obj3 = 0 ;
8380 PyObject * obj4 = 0 ;
8381 char *kwnames[] = {
8382 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8383 };
8384
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8388 arg2 = (double) SWIG_AsDouble(obj1);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 arg3 = (double) SWIG_AsDouble(obj2);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 if (obj3) {
8393 arg4 = (int) SWIG_AsInt(obj3);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 if (obj4) {
8397 arg5 = (int) SWIG_AsInt(obj4);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8403
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 Py_INCREF(Py_None); resultobj = Py_None;
8408 return resultobj;
8409 fail:
8410 return NULL;
8411 }
8412
8413
8414 static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj;
8416 wxPyShape *arg1 = (wxPyShape *) 0 ;
8417 double arg2 ;
8418 double arg3 ;
8419 PyObject * obj0 = 0 ;
8420 PyObject * obj1 = 0 ;
8421 PyObject * obj2 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self",(char *) "x",(char *) "y", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8429 arg2 = (double) SWIG_AsDouble(obj1);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 arg3 = (double) SWIG_AsDouble(obj2);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->base_OnSize(arg2,arg3);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxPyShape *arg1 = (wxPyShape *) 0 ;
8450 wxDC *arg2 = 0 ;
8451 double arg3 ;
8452 double arg4 ;
8453 double arg5 ;
8454 double arg6 ;
8455 bool arg7 = (bool) True ;
8456 bool result;
8457 PyObject * obj0 = 0 ;
8458 PyObject * obj1 = 0 ;
8459 PyObject * obj2 = 0 ;
8460 PyObject * obj3 = 0 ;
8461 PyObject * obj4 = 0 ;
8462 PyObject * obj5 = 0 ;
8463 PyObject * obj6 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8472 SWIG_POINTER_EXCEPTION | 0)) == -1)
8473 SWIG_fail;
8474 if (arg2 == NULL) {
8475 PyErr_SetString(PyExc_TypeError,"null reference");
8476 SWIG_fail;
8477 }
8478 arg3 = (double) SWIG_AsDouble(obj2);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 arg4 = (double) SWIG_AsDouble(obj3);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 arg5 = (double) SWIG_AsDouble(obj4);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 arg6 = (double) SWIG_AsDouble(obj5);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 if (obj6) {
8487 arg7 = (bool) SWIG_AsBool(obj6);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 {
8498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8499 }
8500 return resultobj;
8501 fail:
8502 return NULL;
8503 }
8504
8505
8506 static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj;
8508 wxPyShape *arg1 = (wxPyShape *) 0 ;
8509 wxDC *arg2 = 0 ;
8510 double arg3 ;
8511 double arg4 ;
8512 double arg5 ;
8513 double arg6 ;
8514 bool arg7 = (bool) True ;
8515 PyObject * obj0 = 0 ;
8516 PyObject * obj1 = 0 ;
8517 PyObject * obj2 = 0 ;
8518 PyObject * obj3 = 0 ;
8519 PyObject * obj4 = 0 ;
8520 PyObject * obj5 = 0 ;
8521 PyObject * obj6 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8530 SWIG_POINTER_EXCEPTION | 0)) == -1)
8531 SWIG_fail;
8532 if (arg2 == NULL) {
8533 PyErr_SetString(PyExc_TypeError,"null reference");
8534 SWIG_fail;
8535 }
8536 arg3 = (double) SWIG_AsDouble(obj2);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 arg4 = (double) SWIG_AsDouble(obj3);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 arg5 = (double) SWIG_AsDouble(obj4);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 arg6 = (double) SWIG_AsDouble(obj5);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 if (obj6) {
8545 arg7 = (bool) SWIG_AsBool(obj6);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 Py_INCREF(Py_None); resultobj = Py_None;
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxPyShape *arg1 = (wxPyShape *) 0 ;
8565 bool arg2 ;
8566 double arg3 ;
8567 double arg4 ;
8568 int arg5 = (int) 0 ;
8569 int arg6 = (int) 0 ;
8570 PyObject * obj0 = 0 ;
8571 PyObject * obj1 = 0 ;
8572 PyObject * obj2 = 0 ;
8573 PyObject * obj3 = 0 ;
8574 PyObject * obj4 = 0 ;
8575 PyObject * obj5 = 0 ;
8576 char *kwnames[] = {
8577 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8578 };
8579
8580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8583 arg2 = (bool) SWIG_AsBool(obj1);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 arg3 = (double) SWIG_AsDouble(obj2);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 arg4 = (double) SWIG_AsDouble(obj3);
8588 if (PyErr_Occurred()) SWIG_fail;
8589 if (obj4) {
8590 arg5 = (int) SWIG_AsInt(obj4);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 if (obj5) {
8594 arg6 = (int) SWIG_AsInt(obj5);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8600
8601 wxPyEndAllowThreads(__tstate);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 Py_INCREF(Py_None); resultobj = Py_None;
8605 return resultobj;
8606 fail:
8607 return NULL;
8608 }
8609
8610
8611 static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 wxPyShape *arg1 = (wxPyShape *) 0 ;
8614 double arg2 ;
8615 double arg3 ;
8616 int arg4 = (int) 0 ;
8617 int arg5 = (int) 0 ;
8618 PyObject * obj0 = 0 ;
8619 PyObject * obj1 = 0 ;
8620 PyObject * obj2 = 0 ;
8621 PyObject * obj3 = 0 ;
8622 PyObject * obj4 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8630 arg2 = (double) SWIG_AsDouble(obj1);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 arg3 = (double) SWIG_AsDouble(obj2);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 if (obj3) {
8635 arg4 = (int) SWIG_AsInt(obj3);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 if (obj4) {
8639 arg5 = (int) SWIG_AsInt(obj4);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 Py_INCREF(Py_None); resultobj = Py_None;
8650 return resultobj;
8651 fail:
8652 return NULL;
8653 }
8654
8655
8656 static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8657 PyObject *resultobj;
8658 wxPyShape *arg1 = (wxPyShape *) 0 ;
8659 double arg2 ;
8660 double arg3 ;
8661 int arg4 = (int) 0 ;
8662 int arg5 = (int) 0 ;
8663 PyObject * obj0 = 0 ;
8664 PyObject * obj1 = 0 ;
8665 PyObject * obj2 = 0 ;
8666 PyObject * obj3 = 0 ;
8667 PyObject * obj4 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8675 arg2 = (double) SWIG_AsDouble(obj1);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 arg3 = (double) SWIG_AsDouble(obj2);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 if (obj3) {
8680 arg4 = (int) SWIG_AsInt(obj3);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 if (obj4) {
8684 arg5 = (int) SWIG_AsInt(obj4);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 Py_INCREF(Py_None); resultobj = Py_None;
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxPyShape *arg1 = (wxPyShape *) 0 ;
8704 bool arg2 ;
8705 double arg3 ;
8706 double arg4 ;
8707 int arg5 = (int) 0 ;
8708 int arg6 = (int) 0 ;
8709 PyObject * obj0 = 0 ;
8710 PyObject * obj1 = 0 ;
8711 PyObject * obj2 = 0 ;
8712 PyObject * obj3 = 0 ;
8713 PyObject * obj4 = 0 ;
8714 PyObject * obj5 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8722 arg2 = (bool) SWIG_AsBool(obj1);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 arg3 = (double) SWIG_AsDouble(obj2);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 arg4 = (double) SWIG_AsDouble(obj3);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 if (obj4) {
8729 arg5 = (int) SWIG_AsInt(obj4);
8730 if (PyErr_Occurred()) SWIG_fail;
8731 }
8732 if (obj5) {
8733 arg6 = (int) SWIG_AsInt(obj5);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxPyShape *arg1 = (wxPyShape *) 0 ;
8753 double arg2 ;
8754 double arg3 ;
8755 int arg4 = (int) 0 ;
8756 int arg5 = (int) 0 ;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 PyObject * obj2 = 0 ;
8760 PyObject * obj3 = 0 ;
8761 PyObject * obj4 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8769 arg2 = (double) SWIG_AsDouble(obj1);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 arg3 = (double) SWIG_AsDouble(obj2);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 if (obj3) {
8774 arg4 = (int) SWIG_AsInt(obj3);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 if (obj4) {
8778 arg5 = (int) SWIG_AsInt(obj4);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 Py_INCREF(Py_None); resultobj = Py_None;
8789 return resultobj;
8790 fail:
8791 return NULL;
8792 }
8793
8794
8795 static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxPyShape *arg1 = (wxPyShape *) 0 ;
8798 double arg2 ;
8799 double arg3 ;
8800 int arg4 = (int) 0 ;
8801 int arg5 = (int) 0 ;
8802 PyObject * obj0 = 0 ;
8803 PyObject * obj1 = 0 ;
8804 PyObject * obj2 = 0 ;
8805 PyObject * obj3 = 0 ;
8806 PyObject * obj4 = 0 ;
8807 char *kwnames[] = {
8808 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8809 };
8810
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8814 arg2 = (double) SWIG_AsDouble(obj1);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 arg3 = (double) SWIG_AsDouble(obj2);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 if (obj3) {
8819 arg4 = (int) SWIG_AsInt(obj3);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 if (obj4) {
8823 arg5 = (int) SWIG_AsInt(obj4);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 }
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 Py_INCREF(Py_None); resultobj = Py_None;
8834 return resultobj;
8835 fail:
8836 return NULL;
8837 }
8838
8839
8840 static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj;
8842 wxPyShape *arg1 = (wxPyShape *) 0 ;
8843 wxDC *arg2 = 0 ;
8844 double arg3 ;
8845 double arg4 ;
8846 double arg5 ;
8847 double arg6 ;
8848 PyObject * obj0 = 0 ;
8849 PyObject * obj1 = 0 ;
8850 PyObject * obj2 = 0 ;
8851 PyObject * obj3 = 0 ;
8852 PyObject * obj4 = 0 ;
8853 PyObject * obj5 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8862 SWIG_POINTER_EXCEPTION | 0)) == -1)
8863 SWIG_fail;
8864 if (arg2 == NULL) {
8865 PyErr_SetString(PyExc_TypeError,"null reference");
8866 SWIG_fail;
8867 }
8868 arg3 = (double) SWIG_AsDouble(obj2);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 arg4 = (double) SWIG_AsDouble(obj3);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 arg5 = (double) SWIG_AsDouble(obj4);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 arg6 = (double) SWIG_AsDouble(obj5);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 Py_INCREF(Py_None); resultobj = Py_None;
8884 return resultobj;
8885 fail:
8886 return NULL;
8887 }
8888
8889
8890 static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8891 PyObject *resultobj;
8892 wxPyShape *arg1 = (wxPyShape *) 0 ;
8893 wxDC *arg2 = 0 ;
8894 PyObject * obj0 = 0 ;
8895 PyObject * obj1 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "dc", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
8901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8904 SWIG_POINTER_EXCEPTION | 0)) == -1)
8905 SWIG_fail;
8906 if (arg2 == NULL) {
8907 PyErr_SetString(PyExc_TypeError,"null reference");
8908 SWIG_fail;
8909 }
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 (arg1)->base_OnDrawControlPoints(*arg2);
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 Py_INCREF(Py_None); resultobj = Py_None;
8918 return resultobj;
8919 fail:
8920 return NULL;
8921 }
8922
8923
8924 static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8925 PyObject *resultobj;
8926 wxPyShape *arg1 = (wxPyShape *) 0 ;
8927 wxDC *arg2 = 0 ;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 char *kwnames[] = {
8931 (char *) "self",(char *) "dc", NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
8935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8938 SWIG_POINTER_EXCEPTION | 0)) == -1)
8939 SWIG_fail;
8940 if (arg2 == NULL) {
8941 PyErr_SetString(PyExc_TypeError,"null reference");
8942 SWIG_fail;
8943 }
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 (arg1)->base_OnEraseControlPoints(*arg2);
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 Py_INCREF(Py_None); resultobj = Py_None;
8952 return resultobj;
8953 fail:
8954 return NULL;
8955 }
8956
8957
8958 static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject *resultobj;
8960 wxPyShape *arg1 = (wxPyShape *) 0 ;
8961 wxDC *arg2 = 0 ;
8962 bool arg3 = (bool) True ;
8963 PyObject * obj0 = 0 ;
8964 PyObject * obj1 = 0 ;
8965 PyObject * obj2 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
8971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8974 SWIG_POINTER_EXCEPTION | 0)) == -1)
8975 SWIG_fail;
8976 if (arg2 == NULL) {
8977 PyErr_SetString(PyExc_TypeError,"null reference");
8978 SWIG_fail;
8979 }
8980 if (obj2) {
8981 arg3 = (bool) SWIG_AsBool(obj2);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 (arg1)->base_OnMoveLink(*arg2,arg3);
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 Py_INCREF(Py_None); resultobj = Py_None;
8992 return resultobj;
8993 fail:
8994 return NULL;
8995 }
8996
8997
8998 static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj;
9000 wxPyShape *arg1 = (wxPyShape *) 0 ;
9001 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9002 bool arg3 ;
9003 double arg4 ;
9004 double arg5 ;
9005 int arg6 = (int) 0 ;
9006 int arg7 = (int) 0 ;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 PyObject * obj2 = 0 ;
9010 PyObject * obj3 = 0 ;
9011 PyObject * obj4 = 0 ;
9012 PyObject * obj5 = 0 ;
9013 PyObject * obj6 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9023 arg3 = (bool) SWIG_AsBool(obj2);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 arg4 = (double) SWIG_AsDouble(obj3);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 arg5 = (double) SWIG_AsDouble(obj4);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 if (obj5) {
9030 arg6 = (int) SWIG_AsInt(obj5);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 if (obj6) {
9034 arg7 = (int) SWIG_AsInt(obj6);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 Py_INCREF(Py_None); resultobj = Py_None;
9045 return resultobj;
9046 fail:
9047 return NULL;
9048 }
9049
9050
9051 static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9052 PyObject *resultobj;
9053 wxPyShape *arg1 = (wxPyShape *) 0 ;
9054 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9055 double arg3 ;
9056 double arg4 ;
9057 int arg5 = (int) 0 ;
9058 int arg6 = (int) 0 ;
9059 PyObject * obj0 = 0 ;
9060 PyObject * obj1 = 0 ;
9061 PyObject * obj2 = 0 ;
9062 PyObject * obj3 = 0 ;
9063 PyObject * obj4 = 0 ;
9064 PyObject * obj5 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9074 arg3 = (double) SWIG_AsDouble(obj2);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 arg4 = (double) SWIG_AsDouble(obj3);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 if (obj4) {
9079 arg5 = (int) SWIG_AsInt(obj4);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 if (obj5) {
9083 arg6 = (int) SWIG_AsInt(obj5);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxPyShape *arg1 = (wxPyShape *) 0 ;
9103 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9104 double arg3 ;
9105 double arg4 ;
9106 int arg5 = (int) 0 ;
9107 int arg6 = (int) 0 ;
9108 PyObject * obj0 = 0 ;
9109 PyObject * obj1 = 0 ;
9110 PyObject * obj2 = 0 ;
9111 PyObject * obj3 = 0 ;
9112 PyObject * obj4 = 0 ;
9113 PyObject * obj5 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 arg3 = (double) SWIG_AsDouble(obj2);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 arg4 = (double) SWIG_AsDouble(obj3);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 if (obj4) {
9128 arg5 = (int) SWIG_AsInt(obj4);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
9131 if (obj5) {
9132 arg6 = (int) SWIG_AsInt(obj5);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 Py_INCREF(Py_None); resultobj = Py_None;
9143 return resultobj;
9144 fail:
9145 return NULL;
9146 }
9147
9148
9149 static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxPyShape *arg1 = (wxPyShape *) 0 ;
9152 double arg2 ;
9153 double arg3 ;
9154 PyObject * obj0 = 0 ;
9155 PyObject * obj1 = 0 ;
9156 PyObject * obj2 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "w",(char *) "h", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9164 arg2 = (double) SWIG_AsDouble(obj1);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 arg3 = (double) SWIG_AsDouble(obj2);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->base_OnBeginSize(arg2,arg3);
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj;
9184 wxPyShape *arg1 = (wxPyShape *) 0 ;
9185 double arg2 ;
9186 double arg3 ;
9187 PyObject * obj0 = 0 ;
9188 PyObject * obj1 = 0 ;
9189 PyObject * obj2 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "w",(char *) "h", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9197 arg2 = (double) SWIG_AsDouble(obj1);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 arg3 = (double) SWIG_AsDouble(obj2);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 (arg1)->base_OnEndSize(arg2,arg3);
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 Py_INCREF(Py_None); resultobj = Py_None;
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
9216 PyObject *obj;
9217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9218 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9219 Py_INCREF(obj);
9220 return Py_BuildValue((char *)"");
9221 }
9222 static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj;
9224 wxPseudoMetaFile *result;
9225 char *kwnames[] = {
9226 NULL
9227 };
9228
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9230 {
9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
9232 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9233
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 {
9238 resultobj = wxPyMake_wxObject(result, 1);
9239 }
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
9255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 delete arg1;
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 Py_INCREF(Py_None); resultobj = Py_None;
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9274 wxDC *arg2 = 0 ;
9275 double arg3 ;
9276 double arg4 ;
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
9279 PyObject * obj2 = 0 ;
9280 PyObject * obj3 = 0 ;
9281 char *kwnames[] = {
9282 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9283 };
9284
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9289 SWIG_POINTER_EXCEPTION | 0)) == -1)
9290 SWIG_fail;
9291 if (arg2 == NULL) {
9292 PyErr_SetString(PyExc_TypeError,"null reference");
9293 SWIG_fail;
9294 }
9295 arg3 = (double) SWIG_AsDouble(obj2);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 arg4 = (double) SWIG_AsDouble(obj3);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Draw(*arg2,arg3,arg4);
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 Py_INCREF(Py_None); resultobj = Py_None;
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9316 PyObject * obj0 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
9322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->Clear();
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9341 wxPseudoMetaFile *arg2 = 0 ;
9342 PyObject * obj0 = 0 ;
9343 PyObject * obj1 = 0 ;
9344 char *kwnames[] = {
9345 (char *) "self",(char *) "copy", NULL
9346 };
9347
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
9349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPseudoMetaFile,
9352 SWIG_POINTER_EXCEPTION | 0)) == -1)
9353 SWIG_fail;
9354 if (arg2 == NULL) {
9355 PyErr_SetString(PyExc_TypeError,"null reference");
9356 SWIG_fail;
9357 }
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 (arg1)->Copy(*arg2);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 Py_INCREF(Py_None); resultobj = Py_None;
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj;
9374 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9375 double arg2 ;
9376 double arg3 ;
9377 PyObject * obj0 = 0 ;
9378 PyObject * obj1 = 0 ;
9379 PyObject * obj2 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self",(char *) "sx",(char *) "sy", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9387 arg2 = (double) SWIG_AsDouble(obj1);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 arg3 = (double) SWIG_AsDouble(obj2);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 (arg1)->Scale(arg2,arg3);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 Py_INCREF(Py_None); resultobj = Py_None;
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj;
9407 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9408 double arg2 ;
9409 double arg3 ;
9410 PyObject * obj0 = 0 ;
9411 PyObject * obj1 = 0 ;
9412 PyObject * obj2 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self",(char *) "w",(char *) "h", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9420 arg2 = (double) SWIG_AsDouble(obj1);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 arg3 = (double) SWIG_AsDouble(obj2);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 (arg1)->ScaleTo(arg2,arg3);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 Py_INCREF(Py_None); resultobj = Py_None;
9432 return resultobj;
9433 fail:
9434 return NULL;
9435 }
9436
9437
9438 static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9441 double arg2 ;
9442 double arg3 ;
9443 PyObject * obj0 = 0 ;
9444 PyObject * obj1 = 0 ;
9445 PyObject * obj2 = 0 ;
9446 char *kwnames[] = {
9447 (char *) "self",(char *) "x",(char *) "y", NULL
9448 };
9449
9450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9453 arg2 = (double) SWIG_AsDouble(obj1);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 arg3 = (double) SWIG_AsDouble(obj2);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 (arg1)->Translate(arg2,arg3);
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 Py_INCREF(Py_None); resultobj = Py_None;
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9474 double arg2 ;
9475 double arg3 ;
9476 double arg4 ;
9477 PyObject * obj0 = 0 ;
9478 PyObject * obj1 = 0 ;
9479 PyObject * obj2 = 0 ;
9480 PyObject * obj3 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9488 arg2 = (double) SWIG_AsDouble(obj1);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 arg3 = (double) SWIG_AsDouble(obj2);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 arg4 = (double) SWIG_AsDouble(obj3);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 (arg1)->Rotate(arg2,arg3,arg4);
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 Py_INCREF(Py_None); resultobj = Py_None;
9502 return resultobj;
9503 fail:
9504 return NULL;
9505 }
9506
9507
9508 static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9509 PyObject *resultobj;
9510 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9511 wxString *arg2 = 0 ;
9512 double *arg3 = (double *) 0 ;
9513 double *arg4 = (double *) 0 ;
9514 bool result;
9515 bool temp2 = False ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518 PyObject * obj2 = 0 ;
9519 PyObject * obj3 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9527 {
9528 arg2 = wxString_in_helper(obj1);
9529 if (arg2 == NULL) SWIG_fail;
9530 temp2 = True;
9531 }
9532 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9534 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 {
9544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9545 }
9546 {
9547 if (temp2)
9548 delete arg2;
9549 }
9550 return resultobj;
9551 fail:
9552 {
9553 if (temp2)
9554 delete arg2;
9555 }
9556 return NULL;
9557 }
9558
9559
9560 static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9563 double *arg2 = (double *) 0 ;
9564 double *arg3 = (double *) 0 ;
9565 double *arg4 = (double *) 0 ;
9566 double *arg5 = (double *) 0 ;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 PyObject * obj2 = 0 ;
9570 PyObject * obj3 = 0 ;
9571 PyObject * obj4 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,
9580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9581 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9583 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9585 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_double,
9586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
9594 Py_INCREF(Py_None); resultobj = Py_None;
9595 return resultobj;
9596 fail:
9597 return NULL;
9598 }
9599
9600
9601 static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9604 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "self",(char *) "shape", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
9612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDrawnShape,
9615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 (arg1)->CalculateSize(arg2);
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 Py_INCREF(Py_None); resultobj = Py_None;
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9633 bool arg2 ;
9634 PyObject * obj0 = 0 ;
9635 PyObject * obj1 = 0 ;
9636 char *kwnames[] = {
9637 (char *) "self",(char *) "rot", NULL
9638 };
9639
9640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
9641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9643 arg2 = (bool) SWIG_AsBool(obj1);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 (arg1)->SetRotateable(arg2);
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 Py_INCREF(Py_None); resultobj = Py_None;
9653 return resultobj;
9654 fail:
9655 return NULL;
9656 }
9657
9658
9659 static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9660 PyObject *resultobj;
9661 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9662 bool result;
9663 PyObject * obj0 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 result = (bool)(arg1)->GetRotateable();
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 {
9679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9680 }
9681 return resultobj;
9682 fail:
9683 return NULL;
9684 }
9685
9686
9687 static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9690 double arg2 ;
9691 double arg3 ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 PyObject * obj2 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "w",(char *) "h", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9702 arg2 = (double) SWIG_AsDouble(obj1);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 arg3 = (double) SWIG_AsDouble(obj2);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 (arg1)->SetSize(arg2,arg3);
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 Py_INCREF(Py_None); resultobj = Py_None;
9714 return resultobj;
9715 fail:
9716 return NULL;
9717 }
9718
9719
9720 static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj;
9722 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9723 wxBrush *arg2 = (wxBrush *) 0 ;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self",(char *) "brush", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
9731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9733 {
9734 wxBrush* temp;
9735 if (obj1) {
9736 if (obj1 == Py_None) {
9737 temp = NULL;
9738 }
9739 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9740 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9741 return NULL;
9742 }
9743 }
9744 if (temp)
9745 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9746 else
9747 arg2 = NULL;
9748 }
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 (arg1)->SetFillBrush(arg2);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 Py_INCREF(Py_None); resultobj = Py_None;
9757 return resultobj;
9758 fail:
9759 return NULL;
9760 }
9761
9762
9763 static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj;
9765 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9766 wxBrush *result;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
9773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (wxBrush *)(arg1)->GetFillBrush();
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
9783 return resultobj;
9784 fail:
9785 return NULL;
9786 }
9787
9788
9789 static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9792 wxPen *arg2 = (wxPen *) 0 ;
9793 PyObject * obj0 = 0 ;
9794 PyObject * obj1 = 0 ;
9795 char *kwnames[] = {
9796 (char *) "self",(char *) "pen", NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
9800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9802 {
9803 wxPen* temp;
9804 if (obj1) {
9805 if (obj1 == Py_None) {
9806 temp = NULL;
9807 }
9808 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9809 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9810 return NULL;
9811 }
9812 }
9813 if (temp)
9814 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9815 temp->GetWidth(),
9816 temp->GetStyle());
9817 else
9818 arg2 = NULL;
9819 }
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 (arg1)->SetOutlinePen(arg2);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 Py_INCREF(Py_None); resultobj = Py_None;
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj;
9836 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9837 wxPen *result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (wxPen *)(arg1)->GetOutlinePen();
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
9854 return resultobj;
9855 fail:
9856 return NULL;
9857 }
9858
9859
9860 static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj;
9862 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9863 int arg2 ;
9864 PyObject * obj0 = 0 ;
9865 PyObject * obj1 = 0 ;
9866 char *kwnames[] = {
9867 (char *) "self",(char *) "op", NULL
9868 };
9869
9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
9871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9873 arg2 = (int) SWIG_AsInt(obj1);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->SetOutlineOp(arg2);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 Py_INCREF(Py_None); resultobj = Py_None;
9883 return resultobj;
9884 fail:
9885 return NULL;
9886 }
9887
9888
9889 static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj;
9891 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9892 int result;
9893 PyObject * obj0 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
9899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (int)(arg1)->GetOutlineOp();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 resultobj = SWIG_FromInt((int)result);
9909 return resultobj;
9910 fail:
9911 return NULL;
9912 }
9913
9914
9915 static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
9916 PyObject *resultobj;
9917 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9918 bool result;
9919 PyObject * obj0 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "self", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
9925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 result = (bool)(arg1)->IsValid();
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 {
9935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9936 }
9937 return resultobj;
9938 fail:
9939 return NULL;
9940 }
9941
9942
9943 static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9944 PyObject *resultobj;
9945 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9946 wxPoint *arg2 = 0 ;
9947 wxPoint *arg3 = 0 ;
9948 wxPoint temp2 ;
9949 wxPoint temp3 ;
9950 PyObject * obj0 = 0 ;
9951 PyObject * obj1 = 0 ;
9952 PyObject * obj2 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9960 {
9961 arg2 = &temp2;
9962 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9963 }
9964 {
9965 arg3 = &temp3;
9966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9967 }
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9983 PyObject *resultobj;
9984 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9985 wxRect *arg2 = 0 ;
9986 wxRect temp2 ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 char *kwnames[] = {
9990 (char *) "self",(char *) "rect", NULL
9991 };
9992
9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
9994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9996 {
9997 arg2 = &temp2;
9998 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9999 }
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 (arg1)->DrawRectangle((wxRect const &)*arg2);
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 Py_INCREF(Py_None); resultobj = Py_None;
10008 return resultobj;
10009 fail:
10010 return NULL;
10011 }
10012
10013
10014 static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
10015 PyObject *resultobj;
10016 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10017 wxRect *arg2 = 0 ;
10018 double arg3 ;
10019 wxRect temp2 ;
10020 PyObject * obj0 = 0 ;
10021 PyObject * obj1 = 0 ;
10022 PyObject * obj2 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "self",(char *) "rect",(char *) "radius", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10030 {
10031 arg2 = &temp2;
10032 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10033 }
10034 arg3 = (double) SWIG_AsDouble(obj2);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 Py_INCREF(Py_None); resultobj = Py_None;
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj;
10052 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10053 wxPoint *arg2 = 0 ;
10054 wxPoint *arg3 = 0 ;
10055 wxPoint *arg4 = 0 ;
10056 wxPoint temp2 ;
10057 wxPoint temp3 ;
10058 wxPoint temp4 ;
10059 PyObject * obj0 = 0 ;
10060 PyObject * obj1 = 0 ;
10061 PyObject * obj2 = 0 ;
10062 PyObject * obj3 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10070 {
10071 arg2 = &temp2;
10072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10073 }
10074 {
10075 arg3 = &temp3;
10076 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10077 }
10078 {
10079 arg4 = &temp4;
10080 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10081 }
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 Py_INCREF(Py_None); resultobj = Py_None;
10090 return resultobj;
10091 fail:
10092 return NULL;
10093 }
10094
10095
10096 static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10097 PyObject *resultobj;
10098 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10099 wxRect *arg2 = 0 ;
10100 double arg3 ;
10101 double arg4 ;
10102 wxRect temp2 ;
10103 PyObject * obj0 = 0 ;
10104 PyObject * obj1 = 0 ;
10105 PyObject * obj2 = 0 ;
10106 PyObject * obj3 = 0 ;
10107 char *kwnames[] = {
10108 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10114 {
10115 arg2 = &temp2;
10116 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10117 }
10118 arg3 = (double) SWIG_AsDouble(obj2);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 arg4 = (double) SWIG_AsDouble(obj3);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 Py_INCREF(Py_None); resultobj = Py_None;
10130 return resultobj;
10131 fail:
10132 return NULL;
10133 }
10134
10135
10136 static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj;
10138 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10139 wxRect *arg2 = 0 ;
10140 wxRect temp2 ;
10141 PyObject * obj0 = 0 ;
10142 PyObject * obj1 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self",(char *) "rect", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
10148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10150 {
10151 arg2 = &temp2;
10152 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10153 }
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 (arg1)->DrawEllipse((wxRect const &)*arg2);
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 Py_INCREF(Py_None); resultobj = Py_None;
10162 return resultobj;
10163 fail:
10164 return NULL;
10165 }
10166
10167
10168 static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject *resultobj;
10170 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10171 wxPoint *arg2 = 0 ;
10172 wxPoint temp2 ;
10173 PyObject * obj0 = 0 ;
10174 PyObject * obj1 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self",(char *) "pt", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10182 {
10183 arg2 = &temp2;
10184 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10185 }
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 (arg1)->DrawPoint((wxPoint const &)*arg2);
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 Py_INCREF(Py_None); resultobj = Py_None;
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
10201 PyObject *resultobj;
10202 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10203 wxString *arg2 = 0 ;
10204 wxPoint *arg3 = 0 ;
10205 bool temp2 = False ;
10206 wxPoint temp3 ;
10207 PyObject * obj0 = 0 ;
10208 PyObject * obj1 = 0 ;
10209 PyObject * obj2 = 0 ;
10210 char *kwnames[] = {
10211 (char *) "self",(char *) "text",(char *) "pt", NULL
10212 };
10213
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10217 {
10218 arg2 = wxString_in_helper(obj1);
10219 if (arg2 == NULL) SWIG_fail;
10220 temp2 = True;
10221 }
10222 {
10223 arg3 = &temp3;
10224 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10225 }
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 Py_INCREF(Py_None); resultobj = Py_None;
10234 {
10235 if (temp2)
10236 delete arg2;
10237 }
10238 return resultobj;
10239 fail:
10240 {
10241 if (temp2)
10242 delete arg2;
10243 }
10244 return NULL;
10245 }
10246
10247
10248 static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10249 PyObject *resultobj;
10250 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10251 int arg2 ;
10252 wxPoint *arg3 = (wxPoint *) 0 ;
10253 PyObject * obj0 = 0 ;
10254 PyObject * obj1 = 0 ;
10255 char *kwnames[] = {
10256 (char *) "self",(char *) "points", NULL
10257 };
10258
10259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1)) goto fail;
10260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10262 {
10263 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10264 if (arg3 == NULL) SWIG_fail;
10265 }
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->DrawLines(arg2,arg3);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 {
10275 if (arg3) delete [] arg3;
10276 }
10277 return resultobj;
10278 fail:
10279 {
10280 if (arg3) delete [] arg3;
10281 }
10282 return NULL;
10283 }
10284
10285
10286 static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj;
10288 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10289 int arg2 ;
10290 wxPoint *arg3 = (wxPoint *) 0 ;
10291 int arg4 = (int) 0 ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 PyObject * obj2 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self",(char *) "points",(char *) "flags", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10302 {
10303 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10304 if (arg3 == NULL) SWIG_fail;
10305 }
10306 if (obj2) {
10307 arg4 = (int) SWIG_AsInt(obj2);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->DrawPolygon(arg2,arg3,arg4);
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 Py_INCREF(Py_None); resultobj = Py_None;
10318 {
10319 if (arg3) delete [] arg3;
10320 }
10321 return resultobj;
10322 fail:
10323 {
10324 if (arg3) delete [] arg3;
10325 }
10326 return NULL;
10327 }
10328
10329
10330 static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10333 int arg2 ;
10334 wxPoint *arg3 = (wxPoint *) 0 ;
10335 PyObject * obj0 = 0 ;
10336 PyObject * obj1 = 0 ;
10337 char *kwnames[] = {
10338 (char *) "self",(char *) "points", NULL
10339 };
10340
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
10342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10344 {
10345 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10346 if (arg3 == NULL) SWIG_fail;
10347 }
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 (arg1)->DrawSpline(arg2,arg3);
10351
10352 wxPyEndAllowThreads(__tstate);
10353 if (PyErr_Occurred()) SWIG_fail;
10354 }
10355 Py_INCREF(Py_None); resultobj = Py_None;
10356 {
10357 if (arg3) delete [] arg3;
10358 }
10359 return resultobj;
10360 fail:
10361 {
10362 if (arg3) delete [] arg3;
10363 }
10364 return NULL;
10365 }
10366
10367
10368 static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10369 PyObject *resultobj;
10370 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10371 wxRect *arg2 = 0 ;
10372 wxRect temp2 ;
10373 PyObject * obj0 = 0 ;
10374 PyObject * obj1 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self",(char *) "rect", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
10380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10382 {
10383 arg2 = &temp2;
10384 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10385 }
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 (arg1)->SetClippingRect((wxRect const &)*arg2);
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 Py_INCREF(Py_None); resultobj = Py_None;
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10403 PyObject * obj0 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "self", NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
10409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 (arg1)->DestroyClippingRect();
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 Py_INCREF(Py_None); resultobj = Py_None;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10428 wxPen *arg2 = (wxPen *) 0 ;
10429 bool arg3 = (bool) FALSE ;
10430 PyObject * obj0 = 0 ;
10431 PyObject * obj1 = 0 ;
10432 PyObject * obj2 = 0 ;
10433 char *kwnames[] = {
10434 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10435 };
10436
10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
10438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10440 {
10441 wxPen* temp;
10442 if (obj1) {
10443 if (obj1 == Py_None) {
10444 temp = NULL;
10445 }
10446 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10447 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10448 return NULL;
10449 }
10450 }
10451 if (temp)
10452 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10453 temp->GetWidth(),
10454 temp->GetStyle());
10455 else
10456 arg2 = NULL;
10457 }
10458 if (obj2) {
10459 arg3 = (bool) SWIG_AsBool(obj2);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 (arg1)->SetPen(arg2,arg3);
10465
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 Py_INCREF(Py_None); resultobj = Py_None;
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
10477 PyObject *resultobj;
10478 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10479 wxBrush *arg2 = (wxBrush *) 0 ;
10480 bool arg3 = (bool) FALSE ;
10481 PyObject * obj0 = 0 ;
10482 PyObject * obj1 = 0 ;
10483 PyObject * obj2 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
10489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10491 {
10492 wxBrush* temp;
10493 if (obj1) {
10494 if (obj1 == Py_None) {
10495 temp = NULL;
10496 }
10497 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10498 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10499 return NULL;
10500 }
10501 }
10502 if (temp)
10503 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10504 else
10505 arg2 = NULL;
10506 }
10507 if (obj2) {
10508 arg3 = (bool) SWIG_AsBool(obj2);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 (arg1)->SetBrush(arg2,arg3);
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 Py_INCREF(Py_None); resultobj = Py_None;
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10528 wxFont *arg2 = (wxFont *) 0 ;
10529 PyObject * obj0 = 0 ;
10530 PyObject * obj1 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "self",(char *) "font", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10538 {
10539 wxFont* temp;
10540 if (obj1) {
10541 if (obj1 == Py_None) {
10542 temp = NULL;
10543 }
10544 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10545 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10546 return NULL;
10547 }
10548 }
10549 if (temp)
10550 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10551 temp->GetFamily(),
10552 temp->GetStyle(),
10553 temp->GetWeight(),
10554 temp->GetUnderlined(),
10555 temp->GetFaceName(),
10556 temp->GetEncoding());
10557 else
10558 arg2 = NULL;
10559 }
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SetFont(arg2);
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10577 wxColour *arg2 = 0 ;
10578 wxColour temp2 ;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self",(char *) "colour", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
10586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10588 {
10589 arg2 = &temp2;
10590 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10591 }
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 (arg1)->SetTextColour((wxColour const &)*arg2);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 Py_INCREF(Py_None); resultobj = Py_None;
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10609 wxColour *arg2 = 0 ;
10610 wxColour temp2 ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "colour", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10620 {
10621 arg2 = &temp2;
10622 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10623 }
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 Py_INCREF(Py_None); resultobj = Py_None;
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10641 int arg2 ;
10642 PyObject * obj0 = 0 ;
10643 PyObject * obj1 = 0 ;
10644 char *kwnames[] = {
10645 (char *) "self",(char *) "mode", NULL
10646 };
10647
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
10649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10651 arg2 = (int) SWIG_AsInt(obj1);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 (arg1)->SetBackgroundMode(arg2);
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 Py_INCREF(Py_None); resultobj = Py_None;
10661 return resultobj;
10662 fail:
10663 return NULL;
10664 }
10665
10666
10667 static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
10668 PyObject *obj;
10669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10670 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10671 Py_INCREF(obj);
10672 return Py_BuildValue((char *)"");
10673 }
10674 static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 double arg1 = (double) 0.0 ;
10677 double arg2 = (double) 0.0 ;
10678 wxPyRectangleShape *result;
10679 PyObject * obj0 = 0 ;
10680 PyObject * obj1 = 0 ;
10681 char *kwnames[] = {
10682 (char *) "width",(char *) "height", NULL
10683 };
10684
10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10686 if (obj0) {
10687 arg1 = (double) SWIG_AsDouble(obj0);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 if (obj1) {
10691 arg2 = (double) SWIG_AsDouble(obj1);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyRectangleShape, 1);
10702 return resultobj;
10703 fail:
10704 return NULL;
10705 }
10706
10707
10708 static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10709 PyObject *resultobj;
10710 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10711 PyObject *arg2 = (PyObject *) 0 ;
10712 PyObject *arg3 = (PyObject *) 0 ;
10713 PyObject * obj0 = 0 ;
10714 PyObject * obj1 = 0 ;
10715 PyObject * obj2 = 0 ;
10716 char *kwnames[] = {
10717 (char *) "self",(char *) "self",(char *) "_class", NULL
10718 };
10719
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10723 arg2 = obj1;
10724 arg3 = obj2;
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 (arg1)->_setCallbackInfo(arg2,arg3);
10728
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 Py_INCREF(Py_None); resultobj = Py_None;
10733 return resultobj;
10734 fail:
10735 return NULL;
10736 }
10737
10738
10739 static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj;
10741 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10742 double arg2 ;
10743 PyObject * obj0 = 0 ;
10744 PyObject * obj1 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self",(char *) "radius", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
10750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10752 arg2 = (double) SWIG_AsDouble(obj1);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 (arg1)->SetCornerRadius(arg2);
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 Py_INCREF(Py_None); resultobj = Py_None;
10762 return resultobj;
10763 fail:
10764 return NULL;
10765 }
10766
10767
10768 static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10769 PyObject *resultobj;
10770 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10771 double result;
10772 PyObject * obj0 = 0 ;
10773 char *kwnames[] = {
10774 (char *) "self", NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
10778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 result = (double)(arg1)->GetCornerRadius();
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 resultobj = SWIG_FromDouble((double)result);
10788 return resultobj;
10789 fail:
10790 return NULL;
10791 }
10792
10793
10794 static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10797 PyObject * obj0 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->base_OnDelete();
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10822 wxDC *arg2 = 0 ;
10823 PyObject * obj0 = 0 ;
10824 PyObject * obj1 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self",(char *) "dc", NULL
10827 };
10828
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10833 SWIG_POINTER_EXCEPTION | 0)) == -1)
10834 SWIG_fail;
10835 if (arg2 == NULL) {
10836 PyErr_SetString(PyExc_TypeError,"null reference");
10837 SWIG_fail;
10838 }
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 (arg1)->base_OnDraw(*arg2);
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 Py_INCREF(Py_None); resultobj = Py_None;
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10856 wxDC *arg2 = 0 ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self",(char *) "dc", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10867 SWIG_POINTER_EXCEPTION | 0)) == -1)
10868 SWIG_fail;
10869 if (arg2 == NULL) {
10870 PyErr_SetString(PyExc_TypeError,"null reference");
10871 SWIG_fail;
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->base_OnDrawContents(*arg2);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj;
10889 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10890 wxDC *arg2 = 0 ;
10891 bool arg3 = (bool) FALSE ;
10892 PyObject * obj0 = 0 ;
10893 PyObject * obj1 = 0 ;
10894 PyObject * obj2 = 0 ;
10895 char *kwnames[] = {
10896 (char *) "self",(char *) "dc",(char *) "erase", NULL
10897 };
10898
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10903 SWIG_POINTER_EXCEPTION | 0)) == -1)
10904 SWIG_fail;
10905 if (arg2 == NULL) {
10906 PyErr_SetString(PyExc_TypeError,"null reference");
10907 SWIG_fail;
10908 }
10909 if (obj2) {
10910 arg3 = (bool) SWIG_AsBool(obj2);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 (arg1)->base_OnDrawBranches(*arg2,arg3);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 Py_INCREF(Py_None); resultobj = Py_None;
10921 return resultobj;
10922 fail:
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10930 wxDC *arg2 = 0 ;
10931 PyObject * obj0 = 0 ;
10932 PyObject * obj1 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self",(char *) "dc", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10941 SWIG_POINTER_EXCEPTION | 0)) == -1)
10942 SWIG_fail;
10943 if (arg2 == NULL) {
10944 PyErr_SetString(PyExc_TypeError,"null reference");
10945 SWIG_fail;
10946 }
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 (arg1)->base_OnMoveLinks(*arg2);
10950
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
10954 Py_INCREF(Py_None); resultobj = Py_None;
10955 return resultobj;
10956 fail:
10957 return NULL;
10958 }
10959
10960
10961 static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10964 wxDC *arg2 = 0 ;
10965 PyObject * obj0 = 0 ;
10966 PyObject * obj1 = 0 ;
10967 char *kwnames[] = {
10968 (char *) "self",(char *) "dc", NULL
10969 };
10970
10971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10975 SWIG_POINTER_EXCEPTION | 0)) == -1)
10976 SWIG_fail;
10977 if (arg2 == NULL) {
10978 PyErr_SetString(PyExc_TypeError,"null reference");
10979 SWIG_fail;
10980 }
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 (arg1)->base_OnErase(*arg2);
10984
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) SWIG_fail;
10987 }
10988 Py_INCREF(Py_None); resultobj = Py_None;
10989 return resultobj;
10990 fail:
10991 return NULL;
10992 }
10993
10994
10995 static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10996 PyObject *resultobj;
10997 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10998 wxDC *arg2 = 0 ;
10999 PyObject * obj0 = 0 ;
11000 PyObject * obj1 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self",(char *) "dc", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
11006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11009 SWIG_POINTER_EXCEPTION | 0)) == -1)
11010 SWIG_fail;
11011 if (arg2 == NULL) {
11012 PyErr_SetString(PyExc_TypeError,"null reference");
11013 SWIG_fail;
11014 }
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 (arg1)->base_OnEraseContents(*arg2);
11018
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
11022 Py_INCREF(Py_None); resultobj = Py_None;
11023 return resultobj;
11024 fail:
11025 return NULL;
11026 }
11027
11028
11029 static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11030 PyObject *resultobj;
11031 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11032 wxDC *arg2 = 0 ;
11033 PyObject * obj0 = 0 ;
11034 PyObject * obj1 = 0 ;
11035 char *kwnames[] = {
11036 (char *) "self",(char *) "dc", NULL
11037 };
11038
11039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
11040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11043 SWIG_POINTER_EXCEPTION | 0)) == -1)
11044 SWIG_fail;
11045 if (arg2 == NULL) {
11046 PyErr_SetString(PyExc_TypeError,"null reference");
11047 SWIG_fail;
11048 }
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 (arg1)->base_OnHighlight(*arg2);
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 Py_INCREF(Py_None); resultobj = Py_None;
11057 return resultobj;
11058 fail:
11059 return NULL;
11060 }
11061
11062
11063 static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11064 PyObject *resultobj;
11065 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11066 double arg2 ;
11067 double arg3 ;
11068 int arg4 = (int) 0 ;
11069 int arg5 = (int) 0 ;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 PyObject * obj2 = 0 ;
11073 PyObject * obj3 = 0 ;
11074 PyObject * obj4 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11082 arg2 = (double) SWIG_AsDouble(obj1);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 arg3 = (double) SWIG_AsDouble(obj2);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 if (obj3) {
11087 arg4 = (int) SWIG_AsInt(obj3);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 if (obj4) {
11091 arg5 = (int) SWIG_AsInt(obj4);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 {
11095 PyThreadState* __tstate = wxPyBeginAllowThreads();
11096 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11097
11098 wxPyEndAllowThreads(__tstate);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 }
11101 Py_INCREF(Py_None); resultobj = Py_None;
11102 return resultobj;
11103 fail:
11104 return NULL;
11105 }
11106
11107
11108 static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11109 PyObject *resultobj;
11110 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11111 double arg2 ;
11112 double arg3 ;
11113 int arg4 = (int) 0 ;
11114 int arg5 = (int) 0 ;
11115 PyObject * obj0 = 0 ;
11116 PyObject * obj1 = 0 ;
11117 PyObject * obj2 = 0 ;
11118 PyObject * obj3 = 0 ;
11119 PyObject * obj4 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11127 arg2 = (double) SWIG_AsDouble(obj1);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 arg3 = (double) SWIG_AsDouble(obj2);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 if (obj3) {
11132 arg4 = (int) SWIG_AsInt(obj3);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 if (obj4) {
11136 arg5 = (int) SWIG_AsInt(obj4);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11142
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 Py_INCREF(Py_None); resultobj = Py_None;
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj;
11155 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11156 double arg2 ;
11157 double arg3 ;
11158 int arg4 = (int) 0 ;
11159 int arg5 = (int) 0 ;
11160 PyObject * obj0 = 0 ;
11161 PyObject * obj1 = 0 ;
11162 PyObject * obj2 = 0 ;
11163 PyObject * obj3 = 0 ;
11164 PyObject * obj4 = 0 ;
11165 char *kwnames[] = {
11166 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11172 arg2 = (double) SWIG_AsDouble(obj1);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 arg3 = (double) SWIG_AsDouble(obj2);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 if (obj3) {
11177 arg4 = (int) SWIG_AsInt(obj3);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 if (obj4) {
11181 arg5 = (int) SWIG_AsInt(obj4);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
11186 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 Py_INCREF(Py_None); resultobj = Py_None;
11192 return resultobj;
11193 fail:
11194 return NULL;
11195 }
11196
11197
11198 static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11199 PyObject *resultobj;
11200 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11201 double arg2 ;
11202 double arg3 ;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj1 = 0 ;
11205 PyObject * obj2 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "self",(char *) "x",(char *) "y", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11213 arg2 = (double) SWIG_AsDouble(obj1);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 arg3 = (double) SWIG_AsDouble(obj2);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 (arg1)->base_OnSize(arg2,arg3);
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
11224 Py_INCREF(Py_None); resultobj = Py_None;
11225 return resultobj;
11226 fail:
11227 return NULL;
11228 }
11229
11230
11231 static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11234 wxDC *arg2 = 0 ;
11235 double arg3 ;
11236 double arg4 ;
11237 double arg5 ;
11238 double arg6 ;
11239 bool arg7 = (bool) True ;
11240 bool result;
11241 PyObject * obj0 = 0 ;
11242 PyObject * obj1 = 0 ;
11243 PyObject * obj2 = 0 ;
11244 PyObject * obj3 = 0 ;
11245 PyObject * obj4 = 0 ;
11246 PyObject * obj5 = 0 ;
11247 PyObject * obj6 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11256 SWIG_POINTER_EXCEPTION | 0)) == -1)
11257 SWIG_fail;
11258 if (arg2 == NULL) {
11259 PyErr_SetString(PyExc_TypeError,"null reference");
11260 SWIG_fail;
11261 }
11262 arg3 = (double) SWIG_AsDouble(obj2);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 arg4 = (double) SWIG_AsDouble(obj3);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 arg5 = (double) SWIG_AsDouble(obj4);
11267 if (PyErr_Occurred()) SWIG_fail;
11268 arg6 = (double) SWIG_AsDouble(obj5);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 if (obj6) {
11271 arg7 = (bool) SWIG_AsBool(obj6);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 {
11282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11283 }
11284 return resultobj;
11285 fail:
11286 return NULL;
11287 }
11288
11289
11290 static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11293 wxDC *arg2 = 0 ;
11294 double arg3 ;
11295 double arg4 ;
11296 double arg5 ;
11297 double arg6 ;
11298 bool arg7 = (bool) True ;
11299 PyObject * obj0 = 0 ;
11300 PyObject * obj1 = 0 ;
11301 PyObject * obj2 = 0 ;
11302 PyObject * obj3 = 0 ;
11303 PyObject * obj4 = 0 ;
11304 PyObject * obj5 = 0 ;
11305 PyObject * obj6 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11314 SWIG_POINTER_EXCEPTION | 0)) == -1)
11315 SWIG_fail;
11316 if (arg2 == NULL) {
11317 PyErr_SetString(PyExc_TypeError,"null reference");
11318 SWIG_fail;
11319 }
11320 arg3 = (double) SWIG_AsDouble(obj2);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 arg4 = (double) SWIG_AsDouble(obj3);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 arg5 = (double) SWIG_AsDouble(obj4);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 arg6 = (double) SWIG_AsDouble(obj5);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 if (obj6) {
11329 arg7 = (bool) SWIG_AsBool(obj6);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 {
11333 PyThreadState* __tstate = wxPyBeginAllowThreads();
11334 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11335
11336 wxPyEndAllowThreads(__tstate);
11337 if (PyErr_Occurred()) SWIG_fail;
11338 }
11339 Py_INCREF(Py_None); resultobj = Py_None;
11340 return resultobj;
11341 fail:
11342 return NULL;
11343 }
11344
11345
11346 static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11349 bool arg2 ;
11350 double arg3 ;
11351 double arg4 ;
11352 int arg5 = (int) 0 ;
11353 int arg6 = (int) 0 ;
11354 PyObject * obj0 = 0 ;
11355 PyObject * obj1 = 0 ;
11356 PyObject * obj2 = 0 ;
11357 PyObject * obj3 = 0 ;
11358 PyObject * obj4 = 0 ;
11359 PyObject * obj5 = 0 ;
11360 char *kwnames[] = {
11361 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11367 arg2 = (bool) SWIG_AsBool(obj1);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 arg3 = (double) SWIG_AsDouble(obj2);
11370 if (PyErr_Occurred()) SWIG_fail;
11371 arg4 = (double) SWIG_AsDouble(obj3);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 if (obj4) {
11374 arg5 = (int) SWIG_AsInt(obj4);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 if (obj5) {
11378 arg6 = (int) SWIG_AsInt(obj5);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 {
11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
11383 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11384
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 Py_INCREF(Py_None); resultobj = Py_None;
11389 return resultobj;
11390 fail:
11391 return NULL;
11392 }
11393
11394
11395 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11396 PyObject *resultobj;
11397 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11398 double arg2 ;
11399 double arg3 ;
11400 int arg4 = (int) 0 ;
11401 int arg5 = (int) 0 ;
11402 PyObject * obj0 = 0 ;
11403 PyObject * obj1 = 0 ;
11404 PyObject * obj2 = 0 ;
11405 PyObject * obj3 = 0 ;
11406 PyObject * obj4 = 0 ;
11407 char *kwnames[] = {
11408 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11409 };
11410
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11414 arg2 = (double) SWIG_AsDouble(obj1);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 arg3 = (double) SWIG_AsDouble(obj2);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 if (obj3) {
11419 arg4 = (int) SWIG_AsInt(obj3);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 if (obj4) {
11423 arg5 = (int) SWIG_AsInt(obj4);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 Py_INCREF(Py_None); resultobj = Py_None;
11434 return resultobj;
11435 fail:
11436 return NULL;
11437 }
11438
11439
11440 static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11443 double arg2 ;
11444 double arg3 ;
11445 int arg4 = (int) 0 ;
11446 int arg5 = (int) 0 ;
11447 PyObject * obj0 = 0 ;
11448 PyObject * obj1 = 0 ;
11449 PyObject * obj2 = 0 ;
11450 PyObject * obj3 = 0 ;
11451 PyObject * obj4 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11459 arg2 = (double) SWIG_AsDouble(obj1);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 arg3 = (double) SWIG_AsDouble(obj2);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 if (obj3) {
11464 arg4 = (int) SWIG_AsInt(obj3);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 if (obj4) {
11468 arg5 = (int) SWIG_AsInt(obj4);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 Py_INCREF(Py_None); resultobj = Py_None;
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11488 bool arg2 ;
11489 double arg3 ;
11490 double arg4 ;
11491 int arg5 = (int) 0 ;
11492 int arg6 = (int) 0 ;
11493 PyObject * obj0 = 0 ;
11494 PyObject * obj1 = 0 ;
11495 PyObject * obj2 = 0 ;
11496 PyObject * obj3 = 0 ;
11497 PyObject * obj4 = 0 ;
11498 PyObject * obj5 = 0 ;
11499 char *kwnames[] = {
11500 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11501 };
11502
11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11506 arg2 = (bool) SWIG_AsBool(obj1);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 arg3 = (double) SWIG_AsDouble(obj2);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 arg4 = (double) SWIG_AsDouble(obj3);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 if (obj4) {
11513 arg5 = (int) SWIG_AsInt(obj4);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 if (obj5) {
11517 arg6 = (int) SWIG_AsInt(obj5);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 {
11521 PyThreadState* __tstate = wxPyBeginAllowThreads();
11522 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11523
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
11527 Py_INCREF(Py_None); resultobj = Py_None;
11528 return resultobj;
11529 fail:
11530 return NULL;
11531 }
11532
11533
11534 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj;
11536 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11537 double arg2 ;
11538 double arg3 ;
11539 int arg4 = (int) 0 ;
11540 int arg5 = (int) 0 ;
11541 PyObject * obj0 = 0 ;
11542 PyObject * obj1 = 0 ;
11543 PyObject * obj2 = 0 ;
11544 PyObject * obj3 = 0 ;
11545 PyObject * obj4 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11553 arg2 = (double) SWIG_AsDouble(obj1);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 arg3 = (double) SWIG_AsDouble(obj2);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 if (obj3) {
11558 arg4 = (int) SWIG_AsInt(obj3);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 if (obj4) {
11562 arg5 = (int) SWIG_AsInt(obj4);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 Py_INCREF(Py_None); resultobj = Py_None;
11573 return resultobj;
11574 fail:
11575 return NULL;
11576 }
11577
11578
11579 static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj;
11581 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11582 double arg2 ;
11583 double arg3 ;
11584 int arg4 = (int) 0 ;
11585 int arg5 = (int) 0 ;
11586 PyObject * obj0 = 0 ;
11587 PyObject * obj1 = 0 ;
11588 PyObject * obj2 = 0 ;
11589 PyObject * obj3 = 0 ;
11590 PyObject * obj4 = 0 ;
11591 char *kwnames[] = {
11592 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11598 arg2 = (double) SWIG_AsDouble(obj1);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 arg3 = (double) SWIG_AsDouble(obj2);
11601 if (PyErr_Occurred()) SWIG_fail;
11602 if (obj3) {
11603 arg4 = (int) SWIG_AsInt(obj3);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 if (obj4) {
11607 arg5 = (int) SWIG_AsInt(obj4);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 Py_INCREF(Py_None); resultobj = Py_None;
11618 return resultobj;
11619 fail:
11620 return NULL;
11621 }
11622
11623
11624 static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj;
11626 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11627 wxDC *arg2 = 0 ;
11628 double arg3 ;
11629 double arg4 ;
11630 double arg5 ;
11631 double arg6 ;
11632 PyObject * obj0 = 0 ;
11633 PyObject * obj1 = 0 ;
11634 PyObject * obj2 = 0 ;
11635 PyObject * obj3 = 0 ;
11636 PyObject * obj4 = 0 ;
11637 PyObject * obj5 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11640 };
11641
11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11646 SWIG_POINTER_EXCEPTION | 0)) == -1)
11647 SWIG_fail;
11648 if (arg2 == NULL) {
11649 PyErr_SetString(PyExc_TypeError,"null reference");
11650 SWIG_fail;
11651 }
11652 arg3 = (double) SWIG_AsDouble(obj2);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 arg4 = (double) SWIG_AsDouble(obj3);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 arg5 = (double) SWIG_AsDouble(obj4);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 arg6 = (double) SWIG_AsDouble(obj5);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 Py_INCREF(Py_None); resultobj = Py_None;
11668 return resultobj;
11669 fail:
11670 return NULL;
11671 }
11672
11673
11674 static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj;
11676 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11677 wxDC *arg2 = 0 ;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "dc", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11688 SWIG_POINTER_EXCEPTION | 0)) == -1)
11689 SWIG_fail;
11690 if (arg2 == NULL) {
11691 PyErr_SetString(PyExc_TypeError,"null reference");
11692 SWIG_fail;
11693 }
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 (arg1)->base_OnDrawControlPoints(*arg2);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 Py_INCREF(Py_None); resultobj = Py_None;
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11711 wxDC *arg2 = 0 ;
11712 PyObject * obj0 = 0 ;
11713 PyObject * obj1 = 0 ;
11714 char *kwnames[] = {
11715 (char *) "self",(char *) "dc", NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11722 SWIG_POINTER_EXCEPTION | 0)) == -1)
11723 SWIG_fail;
11724 if (arg2 == NULL) {
11725 PyErr_SetString(PyExc_TypeError,"null reference");
11726 SWIG_fail;
11727 }
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 (arg1)->base_OnEraseControlPoints(*arg2);
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 Py_INCREF(Py_None); resultobj = Py_None;
11736 return resultobj;
11737 fail:
11738 return NULL;
11739 }
11740
11741
11742 static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj;
11744 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11745 wxDC *arg2 = 0 ;
11746 bool arg3 = (bool) True ;
11747 PyObject * obj0 = 0 ;
11748 PyObject * obj1 = 0 ;
11749 PyObject * obj2 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11758 SWIG_POINTER_EXCEPTION | 0)) == -1)
11759 SWIG_fail;
11760 if (arg2 == NULL) {
11761 PyErr_SetString(PyExc_TypeError,"null reference");
11762 SWIG_fail;
11763 }
11764 if (obj2) {
11765 arg3 = (bool) SWIG_AsBool(obj2);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 (arg1)->base_OnMoveLink(*arg2,arg3);
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 Py_INCREF(Py_None); resultobj = Py_None;
11776 return resultobj;
11777 fail:
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11785 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11786 bool arg3 ;
11787 double arg4 ;
11788 double arg5 ;
11789 int arg6 = (int) 0 ;
11790 int arg7 = (int) 0 ;
11791 PyObject * obj0 = 0 ;
11792 PyObject * obj1 = 0 ;
11793 PyObject * obj2 = 0 ;
11794 PyObject * obj3 = 0 ;
11795 PyObject * obj4 = 0 ;
11796 PyObject * obj5 = 0 ;
11797 PyObject * obj6 = 0 ;
11798 char *kwnames[] = {
11799 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11800 };
11801
11802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11807 arg3 = (bool) SWIG_AsBool(obj2);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 arg4 = (double) SWIG_AsDouble(obj3);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 arg5 = (double) SWIG_AsDouble(obj4);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 if (obj5) {
11814 arg6 = (int) SWIG_AsInt(obj5);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 if (obj6) {
11818 arg7 = (int) SWIG_AsInt(obj6);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11824
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 Py_INCREF(Py_None); resultobj = Py_None;
11829 return resultobj;
11830 fail:
11831 return NULL;
11832 }
11833
11834
11835 static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj;
11837 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11838 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11839 double arg3 ;
11840 double arg4 ;
11841 int arg5 = (int) 0 ;
11842 int arg6 = (int) 0 ;
11843 PyObject * obj0 = 0 ;
11844 PyObject * obj1 = 0 ;
11845 PyObject * obj2 = 0 ;
11846 PyObject * obj3 = 0 ;
11847 PyObject * obj4 = 0 ;
11848 PyObject * obj5 = 0 ;
11849 char *kwnames[] = {
11850 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11851 };
11852
11853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11858 arg3 = (double) SWIG_AsDouble(obj2);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 arg4 = (double) SWIG_AsDouble(obj3);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 if (obj4) {
11863 arg5 = (int) SWIG_AsInt(obj4);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 if (obj5) {
11867 arg6 = (int) SWIG_AsInt(obj5);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 {
11871 PyThreadState* __tstate = wxPyBeginAllowThreads();
11872 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11873
11874 wxPyEndAllowThreads(__tstate);
11875 if (PyErr_Occurred()) SWIG_fail;
11876 }
11877 Py_INCREF(Py_None); resultobj = Py_None;
11878 return resultobj;
11879 fail:
11880 return NULL;
11881 }
11882
11883
11884 static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj;
11886 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11887 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11888 double arg3 ;
11889 double arg4 ;
11890 int arg5 = (int) 0 ;
11891 int arg6 = (int) 0 ;
11892 PyObject * obj0 = 0 ;
11893 PyObject * obj1 = 0 ;
11894 PyObject * obj2 = 0 ;
11895 PyObject * obj3 = 0 ;
11896 PyObject * obj4 = 0 ;
11897 PyObject * obj5 = 0 ;
11898 char *kwnames[] = {
11899 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11900 };
11901
11902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11907 arg3 = (double) SWIG_AsDouble(obj2);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 arg4 = (double) SWIG_AsDouble(obj3);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 if (obj4) {
11912 arg5 = (int) SWIG_AsInt(obj4);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 if (obj5) {
11916 arg6 = (int) SWIG_AsInt(obj5);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11922
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 Py_INCREF(Py_None); resultobj = Py_None;
11927 return resultobj;
11928 fail:
11929 return NULL;
11930 }
11931
11932
11933 static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11934 PyObject *resultobj;
11935 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11936 double arg2 ;
11937 double arg3 ;
11938 PyObject * obj0 = 0 ;
11939 PyObject * obj1 = 0 ;
11940 PyObject * obj2 = 0 ;
11941 char *kwnames[] = {
11942 (char *) "self",(char *) "w",(char *) "h", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11948 arg2 = (double) SWIG_AsDouble(obj1);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 arg3 = (double) SWIG_AsDouble(obj2);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 (arg1)->base_OnBeginSize(arg2,arg3);
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 Py_INCREF(Py_None); resultobj = Py_None;
11960 return resultobj;
11961 fail:
11962 return NULL;
11963 }
11964
11965
11966 static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11969 double arg2 ;
11970 double arg3 ;
11971 PyObject * obj0 = 0 ;
11972 PyObject * obj1 = 0 ;
11973 PyObject * obj2 = 0 ;
11974 char *kwnames[] = {
11975 (char *) "self",(char *) "w",(char *) "h", NULL
11976 };
11977
11978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11981 arg2 = (double) SWIG_AsDouble(obj1);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 arg3 = (double) SWIG_AsDouble(obj2);
11984 if (PyErr_Occurred()) SWIG_fail;
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,
12028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12029 }
12030 if (obj1) {
12031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
12032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12033 }
12034 if (obj2) {
12035 arg3 = (double) SWIG_AsDouble(obj2);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 if (obj3) {
12039 arg4 = (double) SWIG_AsDouble(obj3);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 if (obj4) {
12043 arg5 = (double) SWIG_AsDouble(obj4);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 if (obj5) {
12047 arg6 = (int) SWIG_AsInt(obj5);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
12053
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControlPoint, 1);
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12067 PyObject *arg2 = (PyObject *) 0 ;
12068 PyObject *arg3 = (PyObject *) 0 ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 PyObject * obj2 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self",(char *) "self",(char *) "_class", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12079 arg2 = obj1;
12080 arg3 = obj2;
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 (arg1)->_setCallbackInfo(arg2,arg3);
12084
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
12088 Py_INCREF(Py_None); resultobj = Py_None;
12089 return resultobj;
12090 fail:
12091 return NULL;
12092 }
12093
12094
12095 static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject *resultobj;
12097 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12098 double arg2 ;
12099 PyObject * obj0 = 0 ;
12100 PyObject * obj1 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self",(char *) "radius", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12108 arg2 = (double) SWIG_AsDouble(obj1);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 (arg1)->SetCornerRadius(arg2);
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
12117 Py_INCREF(Py_None); resultobj = Py_None;
12118 return resultobj;
12119 fail:
12120 return NULL;
12121 }
12122
12123
12124 static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12125 PyObject *resultobj;
12126 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12127 PyObject * obj0 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
12133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 (arg1)->base_OnDelete();
12138
12139 wxPyEndAllowThreads(__tstate);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 }
12142 Py_INCREF(Py_None); resultobj = Py_None;
12143 return resultobj;
12144 fail:
12145 return NULL;
12146 }
12147
12148
12149 static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12150 PyObject *resultobj;
12151 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12152 wxDC *arg2 = 0 ;
12153 PyObject * obj0 = 0 ;
12154 PyObject * obj1 = 0 ;
12155 char *kwnames[] = {
12156 (char *) "self",(char *) "dc", NULL
12157 };
12158
12159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12163 SWIG_POINTER_EXCEPTION | 0)) == -1)
12164 SWIG_fail;
12165 if (arg2 == NULL) {
12166 PyErr_SetString(PyExc_TypeError,"null reference");
12167 SWIG_fail;
12168 }
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 (arg1)->base_OnDraw(*arg2);
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 Py_INCREF(Py_None); resultobj = Py_None;
12177 return resultobj;
12178 fail:
12179 return NULL;
12180 }
12181
12182
12183 static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12186 wxDC *arg2 = 0 ;
12187 PyObject * obj0 = 0 ;
12188 PyObject * obj1 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self",(char *) "dc", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12197 SWIG_POINTER_EXCEPTION | 0)) == -1)
12198 SWIG_fail;
12199 if (arg2 == NULL) {
12200 PyErr_SetString(PyExc_TypeError,"null reference");
12201 SWIG_fail;
12202 }
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
12205 (arg1)->base_OnDrawContents(*arg2);
12206
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
12210 Py_INCREF(Py_None); resultobj = Py_None;
12211 return resultobj;
12212 fail:
12213 return NULL;
12214 }
12215
12216
12217 static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj;
12219 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12220 wxDC *arg2 = 0 ;
12221 bool arg3 = (bool) FALSE ;
12222 PyObject * obj0 = 0 ;
12223 PyObject * obj1 = 0 ;
12224 PyObject * obj2 = 0 ;
12225 char *kwnames[] = {
12226 (char *) "self",(char *) "dc",(char *) "erase", NULL
12227 };
12228
12229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12233 SWIG_POINTER_EXCEPTION | 0)) == -1)
12234 SWIG_fail;
12235 if (arg2 == NULL) {
12236 PyErr_SetString(PyExc_TypeError,"null reference");
12237 SWIG_fail;
12238 }
12239 if (obj2) {
12240 arg3 = (bool) SWIG_AsBool(obj2);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 (arg1)->base_OnDrawBranches(*arg2,arg3);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 Py_INCREF(Py_None); resultobj = Py_None;
12251 return resultobj;
12252 fail:
12253 return NULL;
12254 }
12255
12256
12257 static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
12258 PyObject *resultobj;
12259 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12260 wxDC *arg2 = 0 ;
12261 PyObject * obj0 = 0 ;
12262 PyObject * obj1 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self",(char *) "dc", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
12268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12270 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12271 SWIG_POINTER_EXCEPTION | 0)) == -1)
12272 SWIG_fail;
12273 if (arg2 == NULL) {
12274 PyErr_SetString(PyExc_TypeError,"null reference");
12275 SWIG_fail;
12276 }
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 (arg1)->base_OnMoveLinks(*arg2);
12280
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 Py_INCREF(Py_None); resultobj = Py_None;
12285 return resultobj;
12286 fail:
12287 return NULL;
12288 }
12289
12290
12291 static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
12292 PyObject *resultobj;
12293 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12294 wxDC *arg2 = 0 ;
12295 PyObject * obj0 = 0 ;
12296 PyObject * obj1 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self",(char *) "dc", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12305 SWIG_POINTER_EXCEPTION | 0)) == -1)
12306 SWIG_fail;
12307 if (arg2 == NULL) {
12308 PyErr_SetString(PyExc_TypeError,"null reference");
12309 SWIG_fail;
12310 }
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 (arg1)->base_OnErase(*arg2);
12314
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 Py_INCREF(Py_None); resultobj = Py_None;
12319 return resultobj;
12320 fail:
12321 return NULL;
12322 }
12323
12324
12325 static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj;
12327 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12328 wxDC *arg2 = 0 ;
12329 PyObject * obj0 = 0 ;
12330 PyObject * obj1 = 0 ;
12331 char *kwnames[] = {
12332 (char *) "self",(char *) "dc", NULL
12333 };
12334
12335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
12336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1)
12340 SWIG_fail;
12341 if (arg2 == NULL) {
12342 PyErr_SetString(PyExc_TypeError,"null reference");
12343 SWIG_fail;
12344 }
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 (arg1)->base_OnEraseContents(*arg2);
12348
12349 wxPyEndAllowThreads(__tstate);
12350 if (PyErr_Occurred()) SWIG_fail;
12351 }
12352 Py_INCREF(Py_None); resultobj = Py_None;
12353 return resultobj;
12354 fail:
12355 return NULL;
12356 }
12357
12358
12359 static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj;
12361 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12362 wxDC *arg2 = 0 ;
12363 PyObject * obj0 = 0 ;
12364 PyObject * obj1 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self",(char *) "dc", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12372 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12373 SWIG_POINTER_EXCEPTION | 0)) == -1)
12374 SWIG_fail;
12375 if (arg2 == NULL) {
12376 PyErr_SetString(PyExc_TypeError,"null reference");
12377 SWIG_fail;
12378 }
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 (arg1)->base_OnHighlight(*arg2);
12382
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 Py_INCREF(Py_None); resultobj = Py_None;
12387 return resultobj;
12388 fail:
12389 return NULL;
12390 }
12391
12392
12393 static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12394 PyObject *resultobj;
12395 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12396 double arg2 ;
12397 double arg3 ;
12398 int arg4 = (int) 0 ;
12399 int arg5 = (int) 0 ;
12400 PyObject * obj0 = 0 ;
12401 PyObject * obj1 = 0 ;
12402 PyObject * obj2 = 0 ;
12403 PyObject * obj3 = 0 ;
12404 PyObject * obj4 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12412 arg2 = (double) SWIG_AsDouble(obj1);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 arg3 = (double) SWIG_AsDouble(obj2);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 if (obj3) {
12417 arg4 = (int) SWIG_AsInt(obj3);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 if (obj4) {
12421 arg5 = (int) SWIG_AsInt(obj4);
12422 if (PyErr_Occurred()) SWIG_fail;
12423 }
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 Py_INCREF(Py_None); resultobj = Py_None;
12432 return resultobj;
12433 fail:
12434 return NULL;
12435 }
12436
12437
12438 static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12441 double arg2 ;
12442 double arg3 ;
12443 int arg4 = (int) 0 ;
12444 int arg5 = (int) 0 ;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 PyObject * obj2 = 0 ;
12448 PyObject * obj3 = 0 ;
12449 PyObject * obj4 = 0 ;
12450 char *kwnames[] = {
12451 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12452 };
12453
12454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12457 arg2 = (double) SWIG_AsDouble(obj1);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 arg3 = (double) SWIG_AsDouble(obj2);
12460 if (PyErr_Occurred()) SWIG_fail;
12461 if (obj3) {
12462 arg4 = (int) SWIG_AsInt(obj3);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 if (obj4) {
12466 arg5 = (int) SWIG_AsInt(obj4);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12472
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
12476 Py_INCREF(Py_None); resultobj = Py_None;
12477 return resultobj;
12478 fail:
12479 return NULL;
12480 }
12481
12482
12483 static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12484 PyObject *resultobj;
12485 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12486 double arg2 ;
12487 double arg3 ;
12488 int arg4 = (int) 0 ;
12489 int arg5 = (int) 0 ;
12490 PyObject * obj0 = 0 ;
12491 PyObject * obj1 = 0 ;
12492 PyObject * obj2 = 0 ;
12493 PyObject * obj3 = 0 ;
12494 PyObject * obj4 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12502 arg2 = (double) SWIG_AsDouble(obj1);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 arg3 = (double) SWIG_AsDouble(obj2);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 if (obj3) {
12507 arg4 = (int) SWIG_AsInt(obj3);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 }
12510 if (obj4) {
12511 arg5 = (int) SWIG_AsInt(obj4);
12512 if (PyErr_Occurred()) SWIG_fail;
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,
12542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12543 arg2 = (double) SWIG_AsDouble(obj1);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 arg3 = (double) SWIG_AsDouble(obj2);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 {
12548 PyThreadState* __tstate = wxPyBeginAllowThreads();
12549 (arg1)->base_OnSize(arg2,arg3);
12550
12551 wxPyEndAllowThreads(__tstate);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 Py_INCREF(Py_None); resultobj = Py_None;
12555 return resultobj;
12556 fail:
12557 return NULL;
12558 }
12559
12560
12561 static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj;
12563 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12564 wxDC *arg2 = 0 ;
12565 double arg3 ;
12566 double arg4 ;
12567 double arg5 ;
12568 double arg6 ;
12569 bool arg7 = (bool) True ;
12570 bool result;
12571 PyObject * obj0 = 0 ;
12572 PyObject * obj1 = 0 ;
12573 PyObject * obj2 = 0 ;
12574 PyObject * obj3 = 0 ;
12575 PyObject * obj4 = 0 ;
12576 PyObject * obj5 = 0 ;
12577 PyObject * obj6 = 0 ;
12578 char *kwnames[] = {
12579 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12580 };
12581
12582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12586 SWIG_POINTER_EXCEPTION | 0)) == -1)
12587 SWIG_fail;
12588 if (arg2 == NULL) {
12589 PyErr_SetString(PyExc_TypeError,"null reference");
12590 SWIG_fail;
12591 }
12592 arg3 = (double) SWIG_AsDouble(obj2);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 arg4 = (double) SWIG_AsDouble(obj3);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 arg5 = (double) SWIG_AsDouble(obj4);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 arg6 = (double) SWIG_AsDouble(obj5);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 if (obj6) {
12601 arg7 = (bool) SWIG_AsBool(obj6);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 {
12612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12613 }
12614 return resultobj;
12615 fail:
12616 return NULL;
12617 }
12618
12619
12620 static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12623 wxDC *arg2 = 0 ;
12624 double arg3 ;
12625 double arg4 ;
12626 double arg5 ;
12627 double arg6 ;
12628 bool arg7 = (bool) True ;
12629 PyObject * obj0 = 0 ;
12630 PyObject * obj1 = 0 ;
12631 PyObject * obj2 = 0 ;
12632 PyObject * obj3 = 0 ;
12633 PyObject * obj4 = 0 ;
12634 PyObject * obj5 = 0 ;
12635 PyObject * obj6 = 0 ;
12636 char *kwnames[] = {
12637 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12638 };
12639
12640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12644 SWIG_POINTER_EXCEPTION | 0)) == -1)
12645 SWIG_fail;
12646 if (arg2 == NULL) {
12647 PyErr_SetString(PyExc_TypeError,"null reference");
12648 SWIG_fail;
12649 }
12650 arg3 = (double) SWIG_AsDouble(obj2);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 arg4 = (double) SWIG_AsDouble(obj3);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 arg5 = (double) SWIG_AsDouble(obj4);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 arg6 = (double) SWIG_AsDouble(obj5);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 if (obj6) {
12659 arg7 = (bool) SWIG_AsBool(obj6);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 Py_INCREF(Py_None); resultobj = Py_None;
12670 return resultobj;
12671 fail:
12672 return NULL;
12673 }
12674
12675
12676 static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12677 PyObject *resultobj;
12678 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12679 bool arg2 ;
12680 double arg3 ;
12681 double arg4 ;
12682 int arg5 = (int) 0 ;
12683 int arg6 = (int) 0 ;
12684 PyObject * obj0 = 0 ;
12685 PyObject * obj1 = 0 ;
12686 PyObject * obj2 = 0 ;
12687 PyObject * obj3 = 0 ;
12688 PyObject * obj4 = 0 ;
12689 PyObject * obj5 = 0 ;
12690 char *kwnames[] = {
12691 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12692 };
12693
12694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12697 arg2 = (bool) SWIG_AsBool(obj1);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 arg3 = (double) SWIG_AsDouble(obj2);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 arg4 = (double) SWIG_AsDouble(obj3);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 if (obj4) {
12704 arg5 = (int) SWIG_AsInt(obj4);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 if (obj5) {
12708 arg6 = (int) SWIG_AsInt(obj5);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 Py_INCREF(Py_None); resultobj = Py_None;
12719 return resultobj;
12720 fail:
12721 return NULL;
12722 }
12723
12724
12725 static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12728 double arg2 ;
12729 double arg3 ;
12730 int arg4 = (int) 0 ;
12731 int arg5 = (int) 0 ;
12732 PyObject * obj0 = 0 ;
12733 PyObject * obj1 = 0 ;
12734 PyObject * obj2 = 0 ;
12735 PyObject * obj3 = 0 ;
12736 PyObject * obj4 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12744 arg2 = (double) SWIG_AsDouble(obj1);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 arg3 = (double) SWIG_AsDouble(obj2);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 if (obj3) {
12749 arg4 = (int) SWIG_AsInt(obj3);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 if (obj4) {
12753 arg5 = (int) SWIG_AsInt(obj4);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 {
12757 PyThreadState* __tstate = wxPyBeginAllowThreads();
12758 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12759
12760 wxPyEndAllowThreads(__tstate);
12761 if (PyErr_Occurred()) SWIG_fail;
12762 }
12763 Py_INCREF(Py_None); resultobj = Py_None;
12764 return resultobj;
12765 fail:
12766 return NULL;
12767 }
12768
12769
12770 static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12771 PyObject *resultobj;
12772 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12773 double arg2 ;
12774 double arg3 ;
12775 int arg4 = (int) 0 ;
12776 int arg5 = (int) 0 ;
12777 PyObject * obj0 = 0 ;
12778 PyObject * obj1 = 0 ;
12779 PyObject * obj2 = 0 ;
12780 PyObject * obj3 = 0 ;
12781 PyObject * obj4 = 0 ;
12782 char *kwnames[] = {
12783 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12784 };
12785
12786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12789 arg2 = (double) SWIG_AsDouble(obj1);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 arg3 = (double) SWIG_AsDouble(obj2);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 if (obj3) {
12794 arg4 = (int) SWIG_AsInt(obj3);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 if (obj4) {
12798 arg5 = (int) SWIG_AsInt(obj4);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12804
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 Py_INCREF(Py_None); resultobj = Py_None;
12809 return resultobj;
12810 fail:
12811 return NULL;
12812 }
12813
12814
12815 static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj;
12817 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12818 bool arg2 ;
12819 double arg3 ;
12820 double arg4 ;
12821 int arg5 = (int) 0 ;
12822 int arg6 = (int) 0 ;
12823 PyObject * obj0 = 0 ;
12824 PyObject * obj1 = 0 ;
12825 PyObject * obj2 = 0 ;
12826 PyObject * obj3 = 0 ;
12827 PyObject * obj4 = 0 ;
12828 PyObject * obj5 = 0 ;
12829 char *kwnames[] = {
12830 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12831 };
12832
12833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12836 arg2 = (bool) SWIG_AsBool(obj1);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 arg3 = (double) SWIG_AsDouble(obj2);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 arg4 = (double) SWIG_AsDouble(obj3);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 if (obj4) {
12843 arg5 = (int) SWIG_AsInt(obj4);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 if (obj5) {
12847 arg6 = (int) SWIG_AsInt(obj5);
12848 if (PyErr_Occurred()) SWIG_fail;
12849 }
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12853
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 Py_INCREF(Py_None); resultobj = Py_None;
12858 return resultobj;
12859 fail:
12860 return NULL;
12861 }
12862
12863
12864 static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12865 PyObject *resultobj;
12866 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12867 double arg2 ;
12868 double arg3 ;
12869 int arg4 = (int) 0 ;
12870 int arg5 = (int) 0 ;
12871 PyObject * obj0 = 0 ;
12872 PyObject * obj1 = 0 ;
12873 PyObject * obj2 = 0 ;
12874 PyObject * obj3 = 0 ;
12875 PyObject * obj4 = 0 ;
12876 char *kwnames[] = {
12877 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12878 };
12879
12880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12883 arg2 = (double) SWIG_AsDouble(obj1);
12884 if (PyErr_Occurred()) SWIG_fail;
12885 arg3 = (double) SWIG_AsDouble(obj2);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 if (obj3) {
12888 arg4 = (int) SWIG_AsInt(obj3);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 if (obj4) {
12892 arg5 = (int) SWIG_AsInt(obj4);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
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_OnEndDragRight(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_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12928 arg2 = (double) SWIG_AsDouble(obj1);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 arg3 = (double) SWIG_AsDouble(obj2);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 if (obj3) {
12933 arg4 = (int) SWIG_AsInt(obj3);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 if (obj4) {
12937 arg5 = (int) SWIG_AsInt(obj4);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
12943
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 Py_INCREF(Py_None); resultobj = Py_None;
12948 return resultobj;
12949 fail:
12950 return NULL;
12951 }
12952
12953
12954 static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12955 PyObject *resultobj;
12956 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12957 wxDC *arg2 = 0 ;
12958 double arg3 ;
12959 double arg4 ;
12960 double arg5 ;
12961 double arg6 ;
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
12964 PyObject * obj2 = 0 ;
12965 PyObject * obj3 = 0 ;
12966 PyObject * obj4 = 0 ;
12967 PyObject * obj5 = 0 ;
12968 char *kwnames[] = {
12969 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12970 };
12971
12972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12976 SWIG_POINTER_EXCEPTION | 0)) == -1)
12977 SWIG_fail;
12978 if (arg2 == NULL) {
12979 PyErr_SetString(PyExc_TypeError,"null reference");
12980 SWIG_fail;
12981 }
12982 arg3 = (double) SWIG_AsDouble(obj2);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 arg4 = (double) SWIG_AsDouble(obj3);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 arg5 = (double) SWIG_AsDouble(obj4);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 arg6 = (double) SWIG_AsDouble(obj5);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 {
12991 PyThreadState* __tstate = wxPyBeginAllowThreads();
12992 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
12993
12994 wxPyEndAllowThreads(__tstate);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 Py_INCREF(Py_None); resultobj = Py_None;
12998 return resultobj;
12999 fail:
13000 return NULL;
13001 }
13002
13003
13004 static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13005 PyObject *resultobj;
13006 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13007 wxDC *arg2 = 0 ;
13008 PyObject * obj0 = 0 ;
13009 PyObject * obj1 = 0 ;
13010 char *kwnames[] = {
13011 (char *) "self",(char *) "dc", NULL
13012 };
13013
13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
13015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13018 SWIG_POINTER_EXCEPTION | 0)) == -1)
13019 SWIG_fail;
13020 if (arg2 == NULL) {
13021 PyErr_SetString(PyExc_TypeError,"null reference");
13022 SWIG_fail;
13023 }
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 (arg1)->base_OnDrawControlPoints(*arg2);
13027
13028 wxPyEndAllowThreads(__tstate);
13029 if (PyErr_Occurred()) SWIG_fail;
13030 }
13031 Py_INCREF(Py_None); resultobj = Py_None;
13032 return resultobj;
13033 fail:
13034 return NULL;
13035 }
13036
13037
13038 static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13039 PyObject *resultobj;
13040 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13041 wxDC *arg2 = 0 ;
13042 PyObject * obj0 = 0 ;
13043 PyObject * obj1 = 0 ;
13044 char *kwnames[] = {
13045 (char *) "self",(char *) "dc", NULL
13046 };
13047
13048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13052 SWIG_POINTER_EXCEPTION | 0)) == -1)
13053 SWIG_fail;
13054 if (arg2 == NULL) {
13055 PyErr_SetString(PyExc_TypeError,"null reference");
13056 SWIG_fail;
13057 }
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 (arg1)->base_OnEraseControlPoints(*arg2);
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 Py_INCREF(Py_None); resultobj = Py_None;
13066 return resultobj;
13067 fail:
13068 return NULL;
13069 }
13070
13071
13072 static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj;
13074 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13075 wxDC *arg2 = 0 ;
13076 bool arg3 = (bool) True ;
13077 PyObject * obj0 = 0 ;
13078 PyObject * obj1 = 0 ;
13079 PyObject * obj2 = 0 ;
13080 char *kwnames[] = {
13081 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13082 };
13083
13084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13088 SWIG_POINTER_EXCEPTION | 0)) == -1)
13089 SWIG_fail;
13090 if (arg2 == NULL) {
13091 PyErr_SetString(PyExc_TypeError,"null reference");
13092 SWIG_fail;
13093 }
13094 if (obj2) {
13095 arg3 = (bool) SWIG_AsBool(obj2);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 (arg1)->base_OnMoveLink(*arg2,arg3);
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 Py_INCREF(Py_None); resultobj = Py_None;
13106 return resultobj;
13107 fail:
13108 return NULL;
13109 }
13110
13111
13112 static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13115 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13116 bool arg3 ;
13117 double arg4 ;
13118 double arg5 ;
13119 int arg6 = (int) 0 ;
13120 int arg7 = (int) 0 ;
13121 PyObject * obj0 = 0 ;
13122 PyObject * obj1 = 0 ;
13123 PyObject * obj2 = 0 ;
13124 PyObject * obj3 = 0 ;
13125 PyObject * obj4 = 0 ;
13126 PyObject * obj5 = 0 ;
13127 PyObject * obj6 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13137 arg3 = (bool) SWIG_AsBool(obj2);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 arg4 = (double) SWIG_AsDouble(obj3);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 arg5 = (double) SWIG_AsDouble(obj4);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 if (obj5) {
13144 arg6 = (int) SWIG_AsInt(obj5);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 if (obj6) {
13148 arg7 = (int) SWIG_AsInt(obj6);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
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_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13166 PyObject *resultobj;
13167 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13168 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13169 double arg3 ;
13170 double arg4 ;
13171 int arg5 = (int) 0 ;
13172 int arg6 = (int) 0 ;
13173 PyObject * obj0 = 0 ;
13174 PyObject * obj1 = 0 ;
13175 PyObject * obj2 = 0 ;
13176 PyObject * obj3 = 0 ;
13177 PyObject * obj4 = 0 ;
13178 PyObject * obj5 = 0 ;
13179 char *kwnames[] = {
13180 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13181 };
13182
13183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13188 arg3 = (double) SWIG_AsDouble(obj2);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 arg4 = (double) SWIG_AsDouble(obj3);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 if (obj4) {
13193 arg5 = (int) SWIG_AsInt(obj4);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
13196 if (obj5) {
13197 arg6 = (int) SWIG_AsInt(obj5);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13217 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13218 double arg3 ;
13219 double arg4 ;
13220 int arg5 = (int) 0 ;
13221 int arg6 = (int) 0 ;
13222 PyObject * obj0 = 0 ;
13223 PyObject * obj1 = 0 ;
13224 PyObject * obj2 = 0 ;
13225 PyObject * obj3 = 0 ;
13226 PyObject * obj4 = 0 ;
13227 PyObject * obj5 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13237 arg3 = (double) SWIG_AsDouble(obj2);
13238 if (PyErr_Occurred()) SWIG_fail;
13239 arg4 = (double) SWIG_AsDouble(obj3);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 if (obj4) {
13242 arg5 = (int) SWIG_AsInt(obj4);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 if (obj5) {
13246 arg6 = (int) SWIG_AsInt(obj5);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 Py_INCREF(Py_None); resultobj = Py_None;
13257 return resultobj;
13258 fail:
13259 return NULL;
13260 }
13261
13262
13263 static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj;
13265 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13266 double arg2 ;
13267 double arg3 ;
13268 PyObject * obj0 = 0 ;
13269 PyObject * obj1 = 0 ;
13270 PyObject * obj2 = 0 ;
13271 char *kwnames[] = {
13272 (char *) "self",(char *) "w",(char *) "h", NULL
13273 };
13274
13275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13278 arg2 = (double) SWIG_AsDouble(obj1);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 arg3 = (double) SWIG_AsDouble(obj2);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 (arg1)->base_OnBeginSize(arg2,arg3);
13285
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 Py_INCREF(Py_None); resultobj = Py_None;
13290 return resultobj;
13291 fail:
13292 return NULL;
13293 }
13294
13295
13296 static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13297 PyObject *resultobj;
13298 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13299 double arg2 ;
13300 double arg3 ;
13301 PyObject * obj0 = 0 ;
13302 PyObject * obj1 = 0 ;
13303 PyObject * obj2 = 0 ;
13304 char *kwnames[] = {
13305 (char *) "self",(char *) "w",(char *) "h", NULL
13306 };
13307
13308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13311 arg2 = (double) SWIG_AsDouble(obj1);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 arg3 = (double) SWIG_AsDouble(obj2);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 (arg1)->base_OnEndSize(arg2,arg3);
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 Py_INCREF(Py_None); resultobj = Py_None;
13323 return resultobj;
13324 fail:
13325 return NULL;
13326 }
13327
13328
13329 static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
13330 PyObject *obj;
13331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13332 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13333 Py_INCREF(obj);
13334 return Py_BuildValue((char *)"");
13335 }
13336 static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 wxPyBitmapShape *result;
13339 char *kwnames[] = {
13340 NULL
13341 };
13342
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapShape, 1);
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13361 PyObject *arg2 = (PyObject *) 0 ;
13362 PyObject *arg3 = (PyObject *) 0 ;
13363 PyObject * obj0 = 0 ;
13364 PyObject * obj1 = 0 ;
13365 PyObject * obj2 = 0 ;
13366 char *kwnames[] = {
13367 (char *) "self",(char *) "self",(char *) "_class", NULL
13368 };
13369
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13373 arg2 = obj1;
13374 arg3 = obj2;
13375 {
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 (arg1)->_setCallbackInfo(arg2,arg3);
13378
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 Py_INCREF(Py_None); resultobj = Py_None;
13383 return resultobj;
13384 fail:
13385 return NULL;
13386 }
13387
13388
13389 static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj;
13391 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13392 wxBitmap *result;
13393 PyObject * obj0 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
13399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 {
13404 wxBitmap &_result_ref = (arg1)->GetBitmap();
13405 result = (wxBitmap *) &_result_ref;
13406 }
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 {
13412 wxBitmap* resultptr = new wxBitmap(*result);
13413 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13414 }
13415 return resultobj;
13416 fail:
13417 return NULL;
13418 }
13419
13420
13421 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13422 PyObject *resultobj;
13423 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13424 wxString result;
13425 PyObject * obj0 = 0 ;
13426 char *kwnames[] = {
13427 (char *) "self", NULL
13428 };
13429
13430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
13431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 result = (arg1)->GetFilename();
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 {
13441 #if wxUSE_UNICODE
13442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13443 #else
13444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13445 #endif
13446 }
13447 return resultobj;
13448 fail:
13449 return NULL;
13450 }
13451
13452
13453 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13454 PyObject *resultobj;
13455 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13456 wxBitmap *arg2 = 0 ;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "bitmap", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
13467 SWIG_POINTER_EXCEPTION | 0)) == -1)
13468 SWIG_fail;
13469 if (arg2 == NULL) {
13470 PyErr_SetString(PyExc_TypeError,"null reference");
13471 SWIG_fail;
13472 }
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 Py_INCREF(Py_None); resultobj = Py_None;
13481 return resultobj;
13482 fail:
13483 return NULL;
13484 }
13485
13486
13487 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13490 wxString *arg2 = 0 ;
13491 bool temp2 = False ;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "filename", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13501 {
13502 arg2 = wxString_in_helper(obj1);
13503 if (arg2 == NULL) SWIG_fail;
13504 temp2 = True;
13505 }
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 (arg1)->SetFilename((wxString const &)*arg2);
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 Py_INCREF(Py_None); resultobj = Py_None;
13514 {
13515 if (temp2)
13516 delete arg2;
13517 }
13518 return resultobj;
13519 fail:
13520 {
13521 if (temp2)
13522 delete arg2;
13523 }
13524 return NULL;
13525 }
13526
13527
13528 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj;
13530 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13531 PyObject * obj0 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
13537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 (arg1)->base_OnDelete();
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 Py_INCREF(Py_None); resultobj = Py_None;
13547 return resultobj;
13548 fail:
13549 return NULL;
13550 }
13551
13552
13553 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13554 PyObject *resultobj;
13555 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13556 wxDC *arg2 = 0 ;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13559 char *kwnames[] = {
13560 (char *) "self",(char *) "dc", NULL
13561 };
13562
13563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13567 SWIG_POINTER_EXCEPTION | 0)) == -1)
13568 SWIG_fail;
13569 if (arg2 == NULL) {
13570 PyErr_SetString(PyExc_TypeError,"null reference");
13571 SWIG_fail;
13572 }
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 (arg1)->base_OnDraw(*arg2);
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 Py_INCREF(Py_None); resultobj = Py_None;
13581 return resultobj;
13582 fail:
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13590 wxDC *arg2 = 0 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 char *kwnames[] = {
13594 (char *) "self",(char *) "dc", NULL
13595 };
13596
13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13601 SWIG_POINTER_EXCEPTION | 0)) == -1)
13602 SWIG_fail;
13603 if (arg2 == NULL) {
13604 PyErr_SetString(PyExc_TypeError,"null reference");
13605 SWIG_fail;
13606 }
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 (arg1)->base_OnDrawContents(*arg2);
13610
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 Py_INCREF(Py_None); resultobj = Py_None;
13615 return resultobj;
13616 fail:
13617 return NULL;
13618 }
13619
13620
13621 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj;
13623 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13624 wxDC *arg2 = 0 ;
13625 bool arg3 = (bool) FALSE ;
13626 PyObject * obj0 = 0 ;
13627 PyObject * obj1 = 0 ;
13628 PyObject * obj2 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self",(char *) "dc",(char *) "erase", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13637 SWIG_POINTER_EXCEPTION | 0)) == -1)
13638 SWIG_fail;
13639 if (arg2 == NULL) {
13640 PyErr_SetString(PyExc_TypeError,"null reference");
13641 SWIG_fail;
13642 }
13643 if (obj2) {
13644 arg3 = (bool) SWIG_AsBool(obj2);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 {
13648 PyThreadState* __tstate = wxPyBeginAllowThreads();
13649 (arg1)->base_OnDrawBranches(*arg2,arg3);
13650
13651 wxPyEndAllowThreads(__tstate);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 Py_INCREF(Py_None); resultobj = Py_None;
13655 return resultobj;
13656 fail:
13657 return NULL;
13658 }
13659
13660
13661 static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13662 PyObject *resultobj;
13663 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13664 wxDC *arg2 = 0 ;
13665 PyObject * obj0 = 0 ;
13666 PyObject * obj1 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self",(char *) "dc", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13675 SWIG_POINTER_EXCEPTION | 0)) == -1)
13676 SWIG_fail;
13677 if (arg2 == NULL) {
13678 PyErr_SetString(PyExc_TypeError,"null reference");
13679 SWIG_fail;
13680 }
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 (arg1)->base_OnMoveLinks(*arg2);
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 Py_INCREF(Py_None); resultobj = Py_None;
13689 return resultobj;
13690 fail:
13691 return NULL;
13692 }
13693
13694
13695 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13696 PyObject *resultobj;
13697 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13698 wxDC *arg2 = 0 ;
13699 PyObject * obj0 = 0 ;
13700 PyObject * obj1 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "dc", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13709 SWIG_POINTER_EXCEPTION | 0)) == -1)
13710 SWIG_fail;
13711 if (arg2 == NULL) {
13712 PyErr_SetString(PyExc_TypeError,"null reference");
13713 SWIG_fail;
13714 }
13715 {
13716 PyThreadState* __tstate = wxPyBeginAllowThreads();
13717 (arg1)->base_OnErase(*arg2);
13718
13719 wxPyEndAllowThreads(__tstate);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 Py_INCREF(Py_None); resultobj = Py_None;
13723 return resultobj;
13724 fail:
13725 return NULL;
13726 }
13727
13728
13729 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13730 PyObject *resultobj;
13731 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13732 wxDC *arg2 = 0 ;
13733 PyObject * obj0 = 0 ;
13734 PyObject * obj1 = 0 ;
13735 char *kwnames[] = {
13736 (char *) "self",(char *) "dc", NULL
13737 };
13738
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13743 SWIG_POINTER_EXCEPTION | 0)) == -1)
13744 SWIG_fail;
13745 if (arg2 == NULL) {
13746 PyErr_SetString(PyExc_TypeError,"null reference");
13747 SWIG_fail;
13748 }
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 (arg1)->base_OnEraseContents(*arg2);
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 Py_INCREF(Py_None); resultobj = Py_None;
13757 return resultobj;
13758 fail:
13759 return NULL;
13760 }
13761
13762
13763 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13764 PyObject *resultobj;
13765 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13766 wxDC *arg2 = 0 ;
13767 PyObject * obj0 = 0 ;
13768 PyObject * obj1 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self",(char *) "dc", NULL
13771 };
13772
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13777 SWIG_POINTER_EXCEPTION | 0)) == -1)
13778 SWIG_fail;
13779 if (arg2 == NULL) {
13780 PyErr_SetString(PyExc_TypeError,"null reference");
13781 SWIG_fail;
13782 }
13783 {
13784 PyThreadState* __tstate = wxPyBeginAllowThreads();
13785 (arg1)->base_OnHighlight(*arg2);
13786
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 Py_INCREF(Py_None); resultobj = Py_None;
13791 return resultobj;
13792 fail:
13793 return NULL;
13794 }
13795
13796
13797 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj;
13799 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13800 double arg2 ;
13801 double arg3 ;
13802 int arg4 = (int) 0 ;
13803 int arg5 = (int) 0 ;
13804 PyObject * obj0 = 0 ;
13805 PyObject * obj1 = 0 ;
13806 PyObject * obj2 = 0 ;
13807 PyObject * obj3 = 0 ;
13808 PyObject * obj4 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13816 arg2 = (double) SWIG_AsDouble(obj1);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 arg3 = (double) SWIG_AsDouble(obj2);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 if (obj3) {
13821 arg4 = (int) SWIG_AsInt(obj3);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 if (obj4) {
13825 arg5 = (int) SWIG_AsInt(obj4);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13831
13832 wxPyEndAllowThreads(__tstate);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
13835 Py_INCREF(Py_None); resultobj = Py_None;
13836 return resultobj;
13837 fail:
13838 return NULL;
13839 }
13840
13841
13842 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13843 PyObject *resultobj;
13844 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13845 double arg2 ;
13846 double arg3 ;
13847 int arg4 = (int) 0 ;
13848 int arg5 = (int) 0 ;
13849 PyObject * obj0 = 0 ;
13850 PyObject * obj1 = 0 ;
13851 PyObject * obj2 = 0 ;
13852 PyObject * obj3 = 0 ;
13853 PyObject * obj4 = 0 ;
13854 char *kwnames[] = {
13855 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13856 };
13857
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13861 arg2 = (double) SWIG_AsDouble(obj1);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 arg3 = (double) SWIG_AsDouble(obj2);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 if (obj3) {
13866 arg4 = (int) SWIG_AsInt(obj3);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 if (obj4) {
13870 arg5 = (int) SWIG_AsInt(obj4);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13876
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 Py_INCREF(Py_None); resultobj = Py_None;
13881 return resultobj;
13882 fail:
13883 return NULL;
13884 }
13885
13886
13887 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13890 double arg2 ;
13891 double arg3 ;
13892 int arg4 = (int) 0 ;
13893 int arg5 = (int) 0 ;
13894 PyObject * obj0 = 0 ;
13895 PyObject * obj1 = 0 ;
13896 PyObject * obj2 = 0 ;
13897 PyObject * obj3 = 0 ;
13898 PyObject * obj4 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13906 arg2 = (double) SWIG_AsDouble(obj1);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 arg3 = (double) SWIG_AsDouble(obj2);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 if (obj3) {
13911 arg4 = (int) SWIG_AsInt(obj3);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 }
13914 if (obj4) {
13915 arg5 = (int) SWIG_AsInt(obj4);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 Py_INCREF(Py_None); resultobj = Py_None;
13926 return resultobj;
13927 fail:
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13935 double arg2 ;
13936 double arg3 ;
13937 PyObject * obj0 = 0 ;
13938 PyObject * obj1 = 0 ;
13939 PyObject * obj2 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "x",(char *) "y", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13947 arg2 = (double) SWIG_AsDouble(obj1);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 arg3 = (double) SWIG_AsDouble(obj2);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 (arg1)->base_OnSize(arg2,arg3);
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 Py_INCREF(Py_None); resultobj = Py_None;
13959 return resultobj;
13960 fail:
13961 return NULL;
13962 }
13963
13964
13965 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13966 PyObject *resultobj;
13967 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13968 wxDC *arg2 = 0 ;
13969 double arg3 ;
13970 double arg4 ;
13971 double arg5 ;
13972 double arg6 ;
13973 bool arg7 = (bool) True ;
13974 bool result;
13975 PyObject * obj0 = 0 ;
13976 PyObject * obj1 = 0 ;
13977 PyObject * obj2 = 0 ;
13978 PyObject * obj3 = 0 ;
13979 PyObject * obj4 = 0 ;
13980 PyObject * obj5 = 0 ;
13981 PyObject * obj6 = 0 ;
13982 char *kwnames[] = {
13983 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13984 };
13985
13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13990 SWIG_POINTER_EXCEPTION | 0)) == -1)
13991 SWIG_fail;
13992 if (arg2 == NULL) {
13993 PyErr_SetString(PyExc_TypeError,"null reference");
13994 SWIG_fail;
13995 }
13996 arg3 = (double) SWIG_AsDouble(obj2);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 arg4 = (double) SWIG_AsDouble(obj3);
13999 if (PyErr_Occurred()) SWIG_fail;
14000 arg5 = (double) SWIG_AsDouble(obj4);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 arg6 = (double) SWIG_AsDouble(obj5);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 if (obj6) {
14005 arg7 = (bool) SWIG_AsBool(obj6);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 {
14016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14017 }
14018 return resultobj;
14019 fail:
14020 return NULL;
14021 }
14022
14023
14024 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj;
14026 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14027 wxDC *arg2 = 0 ;
14028 double arg3 ;
14029 double arg4 ;
14030 double arg5 ;
14031 double arg6 ;
14032 bool arg7 = (bool) True ;
14033 PyObject * obj0 = 0 ;
14034 PyObject * obj1 = 0 ;
14035 PyObject * obj2 = 0 ;
14036 PyObject * obj3 = 0 ;
14037 PyObject * obj4 = 0 ;
14038 PyObject * obj5 = 0 ;
14039 PyObject * obj6 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14048 SWIG_POINTER_EXCEPTION | 0)) == -1)
14049 SWIG_fail;
14050 if (arg2 == NULL) {
14051 PyErr_SetString(PyExc_TypeError,"null reference");
14052 SWIG_fail;
14053 }
14054 arg3 = (double) SWIG_AsDouble(obj2);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 arg4 = (double) SWIG_AsDouble(obj3);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 arg5 = (double) SWIG_AsDouble(obj4);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 arg6 = (double) SWIG_AsDouble(obj5);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 if (obj6) {
14063 arg7 = (bool) SWIG_AsBool(obj6);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 Py_INCREF(Py_None); resultobj = Py_None;
14074 return resultobj;
14075 fail:
14076 return NULL;
14077 }
14078
14079
14080 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14083 bool arg2 ;
14084 double arg3 ;
14085 double arg4 ;
14086 int arg5 = (int) 0 ;
14087 int arg6 = (int) 0 ;
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 PyObject * obj2 = 0 ;
14091 PyObject * obj3 = 0 ;
14092 PyObject * obj4 = 0 ;
14093 PyObject * obj5 = 0 ;
14094 char *kwnames[] = {
14095 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14096 };
14097
14098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14101 arg2 = (bool) SWIG_AsBool(obj1);
14102 if (PyErr_Occurred()) SWIG_fail;
14103 arg3 = (double) SWIG_AsDouble(obj2);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 arg4 = (double) SWIG_AsDouble(obj3);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 if (obj4) {
14108 arg5 = (int) SWIG_AsInt(obj4);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
14111 if (obj5) {
14112 arg6 = (int) SWIG_AsInt(obj5);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 {
14116 PyThreadState* __tstate = wxPyBeginAllowThreads();
14117 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14118
14119 wxPyEndAllowThreads(__tstate);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
14122 Py_INCREF(Py_None); resultobj = Py_None;
14123 return resultobj;
14124 fail:
14125 return NULL;
14126 }
14127
14128
14129 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14130 PyObject *resultobj;
14131 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14132 double arg2 ;
14133 double arg3 ;
14134 int arg4 = (int) 0 ;
14135 int arg5 = (int) 0 ;
14136 PyObject * obj0 = 0 ;
14137 PyObject * obj1 = 0 ;
14138 PyObject * obj2 = 0 ;
14139 PyObject * obj3 = 0 ;
14140 PyObject * obj4 = 0 ;
14141 char *kwnames[] = {
14142 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14148 arg2 = (double) SWIG_AsDouble(obj1);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 arg3 = (double) SWIG_AsDouble(obj2);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 if (obj3) {
14153 arg4 = (int) SWIG_AsInt(obj3);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 if (obj4) {
14157 arg5 = (int) SWIG_AsInt(obj4);
14158 if (PyErr_Occurred()) SWIG_fail;
14159 }
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 Py_INCREF(Py_None); resultobj = Py_None;
14168 return resultobj;
14169 fail:
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14177 double arg2 ;
14178 double arg3 ;
14179 int arg4 = (int) 0 ;
14180 int arg5 = (int) 0 ;
14181 PyObject * obj0 = 0 ;
14182 PyObject * obj1 = 0 ;
14183 PyObject * obj2 = 0 ;
14184 PyObject * obj3 = 0 ;
14185 PyObject * obj4 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14193 arg2 = (double) SWIG_AsDouble(obj1);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 arg3 = (double) SWIG_AsDouble(obj2);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 if (obj3) {
14198 arg4 = (int) SWIG_AsInt(obj3);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 if (obj4) {
14202 arg5 = (int) SWIG_AsInt(obj4);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 Py_INCREF(Py_None); resultobj = Py_None;
14213 return resultobj;
14214 fail:
14215 return NULL;
14216 }
14217
14218
14219 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14222 bool arg2 ;
14223 double arg3 ;
14224 double arg4 ;
14225 int arg5 = (int) 0 ;
14226 int arg6 = (int) 0 ;
14227 PyObject * obj0 = 0 ;
14228 PyObject * obj1 = 0 ;
14229 PyObject * obj2 = 0 ;
14230 PyObject * obj3 = 0 ;
14231 PyObject * obj4 = 0 ;
14232 PyObject * obj5 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14240 arg2 = (bool) SWIG_AsBool(obj1);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 arg3 = (double) SWIG_AsDouble(obj2);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 arg4 = (double) SWIG_AsDouble(obj3);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 if (obj4) {
14247 arg5 = (int) SWIG_AsInt(obj4);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 if (obj5) {
14251 arg6 = (int) SWIG_AsInt(obj5);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 {
14255 PyThreadState* __tstate = wxPyBeginAllowThreads();
14256 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14257
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 Py_INCREF(Py_None); resultobj = Py_None;
14262 return resultobj;
14263 fail:
14264 return NULL;
14265 }
14266
14267
14268 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14269 PyObject *resultobj;
14270 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14271 double arg2 ;
14272 double arg3 ;
14273 int arg4 = (int) 0 ;
14274 int arg5 = (int) 0 ;
14275 PyObject * obj0 = 0 ;
14276 PyObject * obj1 = 0 ;
14277 PyObject * obj2 = 0 ;
14278 PyObject * obj3 = 0 ;
14279 PyObject * obj4 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14287 arg2 = (double) SWIG_AsDouble(obj1);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 arg3 = (double) SWIG_AsDouble(obj2);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 if (obj3) {
14292 arg4 = (int) SWIG_AsInt(obj3);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 if (obj4) {
14296 arg5 = (int) SWIG_AsInt(obj4);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 Py_INCREF(Py_None); resultobj = Py_None;
14307 return resultobj;
14308 fail:
14309 return NULL;
14310 }
14311
14312
14313 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14314 PyObject *resultobj;
14315 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14316 double arg2 ;
14317 double arg3 ;
14318 int arg4 = (int) 0 ;
14319 int arg5 = (int) 0 ;
14320 PyObject * obj0 = 0 ;
14321 PyObject * obj1 = 0 ;
14322 PyObject * obj2 = 0 ;
14323 PyObject * obj3 = 0 ;
14324 PyObject * obj4 = 0 ;
14325 char *kwnames[] = {
14326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14327 };
14328
14329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14332 arg2 = (double) SWIG_AsDouble(obj1);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 arg3 = (double) SWIG_AsDouble(obj2);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 if (obj3) {
14337 arg4 = (int) SWIG_AsInt(obj3);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 if (obj4) {
14341 arg5 = (int) SWIG_AsInt(obj4);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14347
14348 wxPyEndAllowThreads(__tstate);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 Py_INCREF(Py_None); resultobj = Py_None;
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14359 PyObject *resultobj;
14360 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14361 wxDC *arg2 = 0 ;
14362 double arg3 ;
14363 double arg4 ;
14364 double arg5 ;
14365 double arg6 ;
14366 PyObject * obj0 = 0 ;
14367 PyObject * obj1 = 0 ;
14368 PyObject * obj2 = 0 ;
14369 PyObject * obj3 = 0 ;
14370 PyObject * obj4 = 0 ;
14371 PyObject * obj5 = 0 ;
14372 char *kwnames[] = {
14373 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14374 };
14375
14376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14380 SWIG_POINTER_EXCEPTION | 0)) == -1)
14381 SWIG_fail;
14382 if (arg2 == NULL) {
14383 PyErr_SetString(PyExc_TypeError,"null reference");
14384 SWIG_fail;
14385 }
14386 arg3 = (double) SWIG_AsDouble(obj2);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 arg4 = (double) SWIG_AsDouble(obj3);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 arg5 = (double) SWIG_AsDouble(obj4);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 arg6 = (double) SWIG_AsDouble(obj5);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 Py_INCREF(Py_None); resultobj = Py_None;
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14411 wxDC *arg2 = 0 ;
14412 PyObject * obj0 = 0 ;
14413 PyObject * obj1 = 0 ;
14414 char *kwnames[] = {
14415 (char *) "self",(char *) "dc", NULL
14416 };
14417
14418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14422 SWIG_POINTER_EXCEPTION | 0)) == -1)
14423 SWIG_fail;
14424 if (arg2 == NULL) {
14425 PyErr_SetString(PyExc_TypeError,"null reference");
14426 SWIG_fail;
14427 }
14428 {
14429 PyThreadState* __tstate = wxPyBeginAllowThreads();
14430 (arg1)->base_OnDrawControlPoints(*arg2);
14431
14432 wxPyEndAllowThreads(__tstate);
14433 if (PyErr_Occurred()) SWIG_fail;
14434 }
14435 Py_INCREF(Py_None); resultobj = Py_None;
14436 return resultobj;
14437 fail:
14438 return NULL;
14439 }
14440
14441
14442 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14443 PyObject *resultobj;
14444 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14445 wxDC *arg2 = 0 ;
14446 PyObject * obj0 = 0 ;
14447 PyObject * obj1 = 0 ;
14448 char *kwnames[] = {
14449 (char *) "self",(char *) "dc", NULL
14450 };
14451
14452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
14453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14456 SWIG_POINTER_EXCEPTION | 0)) == -1)
14457 SWIG_fail;
14458 if (arg2 == NULL) {
14459 PyErr_SetString(PyExc_TypeError,"null reference");
14460 SWIG_fail;
14461 }
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 (arg1)->base_OnEraseControlPoints(*arg2);
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 Py_INCREF(Py_None); resultobj = Py_None;
14470 return resultobj;
14471 fail:
14472 return NULL;
14473 }
14474
14475
14476 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14479 wxDC *arg2 = 0 ;
14480 bool arg3 = (bool) True ;
14481 PyObject * obj0 = 0 ;
14482 PyObject * obj1 = 0 ;
14483 PyObject * obj2 = 0 ;
14484 char *kwnames[] = {
14485 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
14489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14492 SWIG_POINTER_EXCEPTION | 0)) == -1)
14493 SWIG_fail;
14494 if (arg2 == NULL) {
14495 PyErr_SetString(PyExc_TypeError,"null reference");
14496 SWIG_fail;
14497 }
14498 if (obj2) {
14499 arg3 = (bool) SWIG_AsBool(obj2);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 (arg1)->base_OnMoveLink(*arg2,arg3);
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 Py_INCREF(Py_None); resultobj = Py_None;
14510 return resultobj;
14511 fail:
14512 return NULL;
14513 }
14514
14515
14516 static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj;
14518 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14519 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14520 bool arg3 ;
14521 double arg4 ;
14522 double arg5 ;
14523 int arg6 = (int) 0 ;
14524 int arg7 = (int) 0 ;
14525 PyObject * obj0 = 0 ;
14526 PyObject * obj1 = 0 ;
14527 PyObject * obj2 = 0 ;
14528 PyObject * obj3 = 0 ;
14529 PyObject * obj4 = 0 ;
14530 PyObject * obj5 = 0 ;
14531 PyObject * obj6 = 0 ;
14532 char *kwnames[] = {
14533 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14534 };
14535
14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14541 arg3 = (bool) SWIG_AsBool(obj2);
14542 if (PyErr_Occurred()) SWIG_fail;
14543 arg4 = (double) SWIG_AsDouble(obj3);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 arg5 = (double) SWIG_AsDouble(obj4);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 if (obj5) {
14548 arg6 = (int) SWIG_AsInt(obj5);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 if (obj6) {
14552 arg7 = (int) SWIG_AsInt(obj6);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 Py_INCREF(Py_None); resultobj = Py_None;
14563 return resultobj;
14564 fail:
14565 return NULL;
14566 }
14567
14568
14569 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14572 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14573 double arg3 ;
14574 double arg4 ;
14575 int arg5 = (int) 0 ;
14576 int arg6 = (int) 0 ;
14577 PyObject * obj0 = 0 ;
14578 PyObject * obj1 = 0 ;
14579 PyObject * obj2 = 0 ;
14580 PyObject * obj3 = 0 ;
14581 PyObject * obj4 = 0 ;
14582 PyObject * obj5 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14592 arg3 = (double) SWIG_AsDouble(obj2);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 arg4 = (double) SWIG_AsDouble(obj3);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 if (obj4) {
14597 arg5 = (int) SWIG_AsInt(obj4);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 if (obj5) {
14601 arg6 = (int) SWIG_AsInt(obj5);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14607
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 Py_INCREF(Py_None); resultobj = Py_None;
14612 return resultobj;
14613 fail:
14614 return NULL;
14615 }
14616
14617
14618 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14621 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14622 double arg3 ;
14623 double arg4 ;
14624 int arg5 = (int) 0 ;
14625 int arg6 = (int) 0 ;
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
14628 PyObject * obj2 = 0 ;
14629 PyObject * obj3 = 0 ;
14630 PyObject * obj4 = 0 ;
14631 PyObject * obj5 = 0 ;
14632 char *kwnames[] = {
14633 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14634 };
14635
14636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 arg3 = (double) SWIG_AsDouble(obj2);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 arg4 = (double) SWIG_AsDouble(obj3);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 if (obj4) {
14646 arg5 = (int) SWIG_AsInt(obj4);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 if (obj5) {
14650 arg6 = (int) SWIG_AsInt(obj5);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 {
14654 PyThreadState* __tstate = wxPyBeginAllowThreads();
14655 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14656
14657 wxPyEndAllowThreads(__tstate);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
14660 Py_INCREF(Py_None); resultobj = Py_None;
14661 return resultobj;
14662 fail:
14663 return NULL;
14664 }
14665
14666
14667 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14668 PyObject *resultobj;
14669 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14670 double arg2 ;
14671 double arg3 ;
14672 PyObject * obj0 = 0 ;
14673 PyObject * obj1 = 0 ;
14674 PyObject * obj2 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self",(char *) "w",(char *) "h", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14682 arg2 = (double) SWIG_AsDouble(obj1);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 arg3 = (double) SWIG_AsDouble(obj2);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
14688 (arg1)->base_OnBeginSize(arg2,arg3);
14689
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 Py_INCREF(Py_None); resultobj = Py_None;
14694 return resultobj;
14695 fail:
14696 return NULL;
14697 }
14698
14699
14700 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14703 double arg2 ;
14704 double arg3 ;
14705 PyObject * obj0 = 0 ;
14706 PyObject * obj1 = 0 ;
14707 PyObject * obj2 = 0 ;
14708 char *kwnames[] = {
14709 (char *) "self",(char *) "w",(char *) "h", NULL
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14715 arg2 = (double) SWIG_AsDouble(obj1);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 arg3 = (double) SWIG_AsDouble(obj2);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 (arg1)->base_OnEndSize(arg2,arg3);
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 Py_INCREF(Py_None); resultobj = Py_None;
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
14734 PyObject *obj;
14735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14736 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14737 Py_INCREF(obj);
14738 return Py_BuildValue((char *)"");
14739 }
14740 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxPyDrawnShape *result;
14743 char *kwnames[] = {
14744 NULL
14745 };
14746
14747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14748 {
14749 PyThreadState* __tstate = wxPyBeginAllowThreads();
14750 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14751
14752 wxPyEndAllowThreads(__tstate);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
14755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
14756 return resultobj;
14757 fail:
14758 return NULL;
14759 }
14760
14761
14762 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14763 PyObject *resultobj;
14764 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14765 PyObject *arg2 = (PyObject *) 0 ;
14766 PyObject *arg3 = (PyObject *) 0 ;
14767 PyObject * obj0 = 0 ;
14768 PyObject * obj1 = 0 ;
14769 PyObject * obj2 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "self",(char *) "self",(char *) "_class", NULL
14772 };
14773
14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14777 arg2 = obj1;
14778 arg3 = obj2;
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 (arg1)->_setCallbackInfo(arg2,arg3);
14782
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 Py_INCREF(Py_None); resultobj = Py_None;
14787 return resultobj;
14788 fail:
14789 return NULL;
14790 }
14791
14792
14793 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
14802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 (arg1)->CalculateSize();
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 Py_INCREF(Py_None); resultobj = Py_None;
14812 return resultobj;
14813 fail:
14814 return NULL;
14815 }
14816
14817
14818 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14819 PyObject *resultobj;
14820 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 (arg1)->DestroyClippingRect();
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 Py_INCREF(Py_None); resultobj = Py_None;
14837 return resultobj;
14838 fail:
14839 return NULL;
14840 }
14841
14842
14843 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14844 PyObject *resultobj;
14845 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14846 wxPoint *arg2 = 0 ;
14847 wxPoint *arg3 = 0 ;
14848 wxPoint *arg4 = 0 ;
14849 wxPoint temp2 ;
14850 wxPoint temp3 ;
14851 wxPoint temp4 ;
14852 PyObject * obj0 = 0 ;
14853 PyObject * obj1 = 0 ;
14854 PyObject * obj2 = 0 ;
14855 PyObject * obj3 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14863 {
14864 arg2 = &temp2;
14865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14866 }
14867 {
14868 arg3 = &temp3;
14869 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14870 }
14871 {
14872 arg4 = &temp4;
14873 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14874 }
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 Py_INCREF(Py_None); resultobj = Py_None;
14883 return resultobj;
14884 fail:
14885 return NULL;
14886 }
14887
14888
14889 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
14890 PyObject *resultobj;
14891 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14892 int arg2 ;
14893 PyObject * obj0 = 0 ;
14894 PyObject * obj1 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "self",(char *) "angle", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
14900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14902 arg2 = (int) SWIG_AsInt(obj1);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
14906 (arg1)->DrawAtAngle(arg2);
14907
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 Py_INCREF(Py_None); resultobj = Py_None;
14912 return resultobj;
14913 fail:
14914 return NULL;
14915 }
14916
14917
14918 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14919 PyObject *resultobj;
14920 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14921 wxRect *arg2 = 0 ;
14922 double arg3 ;
14923 double arg4 ;
14924 wxRect temp2 ;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 PyObject * obj2 = 0 ;
14928 PyObject * obj3 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14936 {
14937 arg2 = &temp2;
14938 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14939 }
14940 arg3 = (double) SWIG_AsDouble(obj2);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 arg4 = (double) SWIG_AsDouble(obj3);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 Py_INCREF(Py_None); resultobj = Py_None;
14952 return resultobj;
14953 fail:
14954 return NULL;
14955 }
14956
14957
14958 static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14961 wxPoint *arg2 = 0 ;
14962 wxPoint *arg3 = 0 ;
14963 wxPoint temp2 ;
14964 wxPoint temp3 ;
14965 PyObject * obj0 = 0 ;
14966 PyObject * obj1 = 0 ;
14967 PyObject * obj2 = 0 ;
14968 char *kwnames[] = {
14969 (char *) "self",(char *) "point1",(char *) "point2", NULL
14970 };
14971
14972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
14973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14975 {
14976 arg2 = &temp2;
14977 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14978 }
14979 {
14980 arg3 = &temp3;
14981 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14982 }
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 Py_INCREF(Py_None); resultobj = Py_None;
14991 return resultobj;
14992 fail:
14993 return NULL;
14994 }
14995
14996
14997 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
14998 PyObject *resultobj;
14999 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15000 int arg2 ;
15001 wxPoint *arg3 = (wxPoint *) 0 ;
15002 PyObject * obj0 = 0 ;
15003 PyObject * obj1 = 0 ;
15004 char *kwnames[] = {
15005 (char *) "self",(char *) "points", NULL
15006 };
15007
15008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1)) goto fail;
15009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15011 {
15012 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15013 if (arg3 == NULL) SWIG_fail;
15014 }
15015 {
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 (arg1)->DrawLines(arg2,arg3);
15018
15019 wxPyEndAllowThreads(__tstate);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
15022 Py_INCREF(Py_None); resultobj = Py_None;
15023 {
15024 if (arg3) delete [] arg3;
15025 }
15026 return resultobj;
15027 fail:
15028 {
15029 if (arg3) delete [] arg3;
15030 }
15031 return NULL;
15032 }
15033
15034
15035 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
15036 PyObject *resultobj;
15037 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15038 wxPoint *arg2 = 0 ;
15039 wxPoint temp2 ;
15040 PyObject * obj0 = 0 ;
15041 PyObject * obj1 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self",(char *) "point", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
15047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15049 {
15050 arg2 = &temp2;
15051 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15052 }
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 (arg1)->DrawPoint((wxPoint const &)*arg2);
15056
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 Py_INCREF(Py_None); resultobj = Py_None;
15061 return resultobj;
15062 fail:
15063 return NULL;
15064 }
15065
15066
15067 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15070 int arg2 ;
15071 wxPoint *arg3 = (wxPoint *) 0 ;
15072 int arg4 = (int) 0 ;
15073 PyObject * obj0 = 0 ;
15074 PyObject * obj1 = 0 ;
15075 PyObject * obj2 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self",(char *) "points",(char *) "flags", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15083 {
15084 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15085 if (arg3 == NULL) SWIG_fail;
15086 }
15087 if (obj2) {
15088 arg4 = (int) SWIG_AsInt(obj2);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 {
15092 PyThreadState* __tstate = wxPyBeginAllowThreads();
15093 (arg1)->DrawPolygon(arg2,arg3,arg4);
15094
15095 wxPyEndAllowThreads(__tstate);
15096 if (PyErr_Occurred()) SWIG_fail;
15097 }
15098 Py_INCREF(Py_None); resultobj = Py_None;
15099 {
15100 if (arg3) delete [] arg3;
15101 }
15102 return resultobj;
15103 fail:
15104 {
15105 if (arg3) delete [] arg3;
15106 }
15107 return NULL;
15108 }
15109
15110
15111 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15114 wxRect *arg2 = 0 ;
15115 wxRect temp2 ;
15116 PyObject * obj0 = 0 ;
15117 PyObject * obj1 = 0 ;
15118 char *kwnames[] = {
15119 (char *) "self",(char *) "rect", NULL
15120 };
15121
15122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
15123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15125 {
15126 arg2 = &temp2;
15127 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15128 }
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 (arg1)->DrawRectangle((wxRect const &)*arg2);
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 Py_INCREF(Py_None); resultobj = Py_None;
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj;
15145 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15146 wxRect *arg2 = 0 ;
15147 double arg3 ;
15148 wxRect temp2 ;
15149 PyObject * obj0 = 0 ;
15150 PyObject * obj1 = 0 ;
15151 PyObject * obj2 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self",(char *) "rect",(char *) "radius", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15159 {
15160 arg2 = &temp2;
15161 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15162 }
15163 arg3 = (double) SWIG_AsDouble(obj2);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 Py_INCREF(Py_None); resultobj = Py_None;
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj;
15181 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15182 int arg2 ;
15183 wxPoint *arg3 = (wxPoint *) 0 ;
15184 PyObject * obj0 = 0 ;
15185 PyObject * obj1 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "self",(char *) "points", NULL
15188 };
15189
15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
15191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15193 {
15194 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15195 if (arg3 == NULL) SWIG_fail;
15196 }
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 (arg1)->DrawSpline(arg2,arg3);
15200
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 Py_INCREF(Py_None); resultobj = Py_None;
15205 {
15206 if (arg3) delete [] arg3;
15207 }
15208 return resultobj;
15209 fail:
15210 {
15211 if (arg3) delete [] arg3;
15212 }
15213 return NULL;
15214 }
15215
15216
15217 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
15219 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15220 wxString *arg2 = 0 ;
15221 wxPoint *arg3 = 0 ;
15222 bool temp2 = False ;
15223 wxPoint temp3 ;
15224 PyObject * obj0 = 0 ;
15225 PyObject * obj1 = 0 ;
15226 PyObject * obj2 = 0 ;
15227 char *kwnames[] = {
15228 (char *) "self",(char *) "text",(char *) "point", NULL
15229 };
15230
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15234 {
15235 arg2 = wxString_in_helper(obj1);
15236 if (arg2 == NULL) SWIG_fail;
15237 temp2 = True;
15238 }
15239 {
15240 arg3 = &temp3;
15241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15242 }
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 Py_INCREF(Py_None); resultobj = Py_None;
15251 {
15252 if (temp2)
15253 delete arg2;
15254 }
15255 return resultobj;
15256 fail:
15257 {
15258 if (temp2)
15259 delete arg2;
15260 }
15261 return NULL;
15262 }
15263
15264
15265 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj;
15267 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15268 int result;
15269 PyObject * obj0 = 0 ;
15270 char *kwnames[] = {
15271 (char *) "self", NULL
15272 };
15273
15274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
15275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 result = (int)(arg1)->GetAngle();
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 resultobj = SWIG_FromInt((int)result);
15285 return resultobj;
15286 fail:
15287 return NULL;
15288 }
15289
15290
15291 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15292 PyObject *resultobj;
15293 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15294 wxPseudoMetaFile *result;
15295 PyObject * obj0 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
15301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 {
15306 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15307 result = (wxPseudoMetaFile *) &_result_ref;
15308 }
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
15314 return resultobj;
15315 fail:
15316 return NULL;
15317 }
15318
15319
15320 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj;
15322 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15323 double result;
15324 PyObject * obj0 = 0 ;
15325 char *kwnames[] = {
15326 (char *) "self", NULL
15327 };
15328
15329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
15330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 result = (double)(arg1)->GetRotation();
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 resultobj = SWIG_FromDouble((double)result);
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15349 wxString *arg2 = 0 ;
15350 bool result;
15351 bool temp2 = False ;
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self",(char *) "filename", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15361 {
15362 arg2 = wxString_in_helper(obj1);
15363 if (arg2 == NULL) SWIG_fail;
15364 temp2 = True;
15365 }
15366 {
15367 PyThreadState* __tstate = wxPyBeginAllowThreads();
15368 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15369
15370 wxPyEndAllowThreads(__tstate);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 {
15374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15375 }
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_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15393 double arg2 ;
15394 double arg3 ;
15395 double arg4 ;
15396 PyObject * obj0 = 0 ;
15397 PyObject * obj1 = 0 ;
15398 PyObject * obj2 = 0 ;
15399 PyObject * obj3 = 0 ;
15400 char *kwnames[] = {
15401 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15402 };
15403
15404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15407 arg2 = (double) SWIG_AsDouble(obj1);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 arg3 = (double) SWIG_AsDouble(obj2);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 arg4 = (double) SWIG_AsDouble(obj3);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 (arg1)->Rotate(arg2,arg3,arg4);
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 Py_INCREF(Py_None); resultobj = Py_None;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424 }
15425
15426
15427 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15430 wxRect *arg2 = 0 ;
15431 wxRect temp2 ;
15432 PyObject * obj0 = 0 ;
15433 PyObject * obj1 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self",(char *) "rect", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
15439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15441 {
15442 arg2 = &temp2;
15443 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15444 }
15445 {
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 (arg1)->SetClippingRect((wxRect const &)*arg2);
15448
15449 wxPyEndAllowThreads(__tstate);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 Py_INCREF(Py_None); resultobj = Py_None;
15453 return resultobj;
15454 fail:
15455 return NULL;
15456 }
15457
15458
15459 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15462 wxColour *arg2 = 0 ;
15463 wxColour temp2 ;
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 char *kwnames[] = {
15467 (char *) "self",(char *) "colour", NULL
15468 };
15469
15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15473 {
15474 arg2 = &temp2;
15475 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15476 }
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 return resultobj;
15486 fail:
15487 return NULL;
15488 }
15489
15490
15491 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj;
15493 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15494 int arg2 ;
15495 PyObject * obj0 = 0 ;
15496 PyObject * obj1 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "mode", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15504 arg2 = (int) SWIG_AsInt(obj1);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 (arg1)->SetDrawnBackgroundMode(arg2);
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 Py_INCREF(Py_None); resultobj = Py_None;
15514 return resultobj;
15515 fail:
15516 return NULL;
15517 }
15518
15519
15520 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
15521 PyObject *resultobj;
15522 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15523 wxBrush *arg2 = (wxBrush *) 0 ;
15524 bool arg3 = (bool) FALSE ;
15525 PyObject * obj0 = 0 ;
15526 PyObject * obj1 = 0 ;
15527 PyObject * obj2 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15535 {
15536 wxBrush* temp;
15537 if (obj1) {
15538 if (obj1 == Py_None) {
15539 temp = NULL;
15540 }
15541 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15542 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15543 return NULL;
15544 }
15545 }
15546 if (temp)
15547 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15548 else
15549 arg2 = NULL;
15550 }
15551 if (obj2) {
15552 arg3 = (bool) SWIG_AsBool(obj2);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 (arg1)->SetDrawnBrush(arg2,arg3);
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 Py_INCREF(Py_None); resultobj = Py_None;
15563 return resultobj;
15564 fail:
15565 return NULL;
15566 }
15567
15568
15569 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15570 PyObject *resultobj;
15571 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15572 wxFont *arg2 = (wxFont *) 0 ;
15573 PyObject * obj0 = 0 ;
15574 PyObject * obj1 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self",(char *) "font", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 {
15583 wxFont* temp;
15584 if (obj1) {
15585 if (obj1 == Py_None) {
15586 temp = NULL;
15587 }
15588 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15589 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15590 return NULL;
15591 }
15592 }
15593 if (temp)
15594 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15595 temp->GetFamily(),
15596 temp->GetStyle(),
15597 temp->GetWeight(),
15598 temp->GetUnderlined(),
15599 temp->GetFaceName(),
15600 temp->GetEncoding());
15601 else
15602 arg2 = NULL;
15603 }
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 (arg1)->SetDrawnFont(arg2);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 Py_INCREF(Py_None); resultobj = Py_None;
15612 return resultobj;
15613 fail:
15614 return NULL;
15615 }
15616
15617
15618 static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj;
15620 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15621 wxPen *arg2 = (wxPen *) 0 ;
15622 bool arg3 = (bool) FALSE ;
15623 PyObject * obj0 = 0 ;
15624 PyObject * obj1 = 0 ;
15625 PyObject * obj2 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15628 };
15629
15630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15633 {
15634 wxPen* temp;
15635 if (obj1) {
15636 if (obj1 == Py_None) {
15637 temp = NULL;
15638 }
15639 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15640 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15641 return NULL;
15642 }
15643 }
15644 if (temp)
15645 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15646 temp->GetWidth(),
15647 temp->GetStyle());
15648 else
15649 arg2 = NULL;
15650 }
15651 if (obj2) {
15652 arg3 = (bool) SWIG_AsBool(obj2);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 (arg1)->SetDrawnPen(arg2,arg3);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 Py_INCREF(Py_None); resultobj = Py_None;
15663 return resultobj;
15664 fail:
15665 return NULL;
15666 }
15667
15668
15669 static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj;
15671 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15672 wxColour *arg2 = 0 ;
15673 wxColour temp2 ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self",(char *) "colour", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
15681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15683 {
15684 arg2 = &temp2;
15685 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15686 }
15687 {
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15690
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 Py_INCREF(Py_None); resultobj = Py_None;
15695 return resultobj;
15696 fail:
15697 return NULL;
15698 }
15699
15700
15701 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj;
15703 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15704 double arg2 ;
15705 double arg3 ;
15706 PyObject * obj0 = 0 ;
15707 PyObject * obj1 = 0 ;
15708 PyObject * obj2 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self",(char *) "sx",(char *) "sy", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15716 arg2 = (double) SWIG_AsDouble(obj1);
15717 if (PyErr_Occurred()) SWIG_fail;
15718 arg3 = (double) SWIG_AsDouble(obj2);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 {
15721 PyThreadState* __tstate = wxPyBeginAllowThreads();
15722 (arg1)->Scale(arg2,arg3);
15723
15724 wxPyEndAllowThreads(__tstate);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 Py_INCREF(Py_None); resultobj = Py_None;
15728 return resultobj;
15729 fail:
15730 return NULL;
15731 }
15732
15733
15734 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj;
15736 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15737 bool arg2 ;
15738 PyObject * obj0 = 0 ;
15739 PyObject * obj1 = 0 ;
15740 char *kwnames[] = {
15741 (char *) "self",(char *) "save", NULL
15742 };
15743
15744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
15745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15747 arg2 = (bool) SWIG_AsBool(obj1);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 {
15750 PyThreadState* __tstate = wxPyBeginAllowThreads();
15751 (arg1)->SetSaveToFile(arg2);
15752
15753 wxPyEndAllowThreads(__tstate);
15754 if (PyErr_Occurred()) SWIG_fail;
15755 }
15756 Py_INCREF(Py_None); resultobj = Py_None;
15757 return resultobj;
15758 fail:
15759 return NULL;
15760 }
15761
15762
15763 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj;
15765 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15766 double arg2 ;
15767 double arg3 ;
15768 PyObject * obj0 = 0 ;
15769 PyObject * obj1 = 0 ;
15770 PyObject * obj2 = 0 ;
15771 char *kwnames[] = {
15772 (char *) "self",(char *) "x",(char *) "y", NULL
15773 };
15774
15775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15778 arg2 = (double) SWIG_AsDouble(obj1);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 arg3 = (double) SWIG_AsDouble(obj2);
15781 if (PyErr_Occurred()) SWIG_fail;
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
15784 (arg1)->Translate(arg2,arg3);
15785
15786 wxPyEndAllowThreads(__tstate);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 Py_INCREF(Py_None); resultobj = Py_None;
15790 return resultobj;
15791 fail:
15792 return NULL;
15793 }
15794
15795
15796 static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15797 PyObject *resultobj;
15798 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15799 PyObject * obj0 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->base_OnDelete();
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15824 wxDC *arg2 = 0 ;
15825 PyObject * obj0 = 0 ;
15826 PyObject * obj1 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self",(char *) "dc", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15835 SWIG_POINTER_EXCEPTION | 0)) == -1)
15836 SWIG_fail;
15837 if (arg2 == NULL) {
15838 PyErr_SetString(PyExc_TypeError,"null reference");
15839 SWIG_fail;
15840 }
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 (arg1)->base_OnDraw(*arg2);
15844
15845 wxPyEndAllowThreads(__tstate);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 }
15848 Py_INCREF(Py_None); resultobj = Py_None;
15849 return resultobj;
15850 fail:
15851 return NULL;
15852 }
15853
15854
15855 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15856 PyObject *resultobj;
15857 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15858 wxDC *arg2 = 0 ;
15859 PyObject * obj0 = 0 ;
15860 PyObject * obj1 = 0 ;
15861 char *kwnames[] = {
15862 (char *) "self",(char *) "dc", NULL
15863 };
15864
15865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15869 SWIG_POINTER_EXCEPTION | 0)) == -1)
15870 SWIG_fail;
15871 if (arg2 == NULL) {
15872 PyErr_SetString(PyExc_TypeError,"null reference");
15873 SWIG_fail;
15874 }
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 (arg1)->base_OnDrawContents(*arg2);
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 Py_INCREF(Py_None); resultobj = Py_None;
15883 return resultobj;
15884 fail:
15885 return NULL;
15886 }
15887
15888
15889 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15890 PyObject *resultobj;
15891 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15892 wxDC *arg2 = 0 ;
15893 bool arg3 = (bool) FALSE ;
15894 PyObject * obj0 = 0 ;
15895 PyObject * obj1 = 0 ;
15896 PyObject * obj2 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "dc",(char *) "erase", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15905 SWIG_POINTER_EXCEPTION | 0)) == -1)
15906 SWIG_fail;
15907 if (arg2 == NULL) {
15908 PyErr_SetString(PyExc_TypeError,"null reference");
15909 SWIG_fail;
15910 }
15911 if (obj2) {
15912 arg3 = (bool) SWIG_AsBool(obj2);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 }
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->base_OnDrawBranches(*arg2,arg3);
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 Py_INCREF(Py_None); resultobj = Py_None;
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15932 wxDC *arg2 = 0 ;
15933 PyObject * obj0 = 0 ;
15934 PyObject * obj1 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self",(char *) "dc", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15943 SWIG_POINTER_EXCEPTION | 0)) == -1)
15944 SWIG_fail;
15945 if (arg2 == NULL) {
15946 PyErr_SetString(PyExc_TypeError,"null reference");
15947 SWIG_fail;
15948 }
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 (arg1)->base_OnMoveLinks(*arg2);
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 Py_INCREF(Py_None); resultobj = Py_None;
15957 return resultobj;
15958 fail:
15959 return NULL;
15960 }
15961
15962
15963 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj;
15965 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15966 wxDC *arg2 = 0 ;
15967 PyObject * obj0 = 0 ;
15968 PyObject * obj1 = 0 ;
15969 char *kwnames[] = {
15970 (char *) "self",(char *) "dc", NULL
15971 };
15972
15973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15977 SWIG_POINTER_EXCEPTION | 0)) == -1)
15978 SWIG_fail;
15979 if (arg2 == NULL) {
15980 PyErr_SetString(PyExc_TypeError,"null reference");
15981 SWIG_fail;
15982 }
15983 {
15984 PyThreadState* __tstate = wxPyBeginAllowThreads();
15985 (arg1)->base_OnErase(*arg2);
15986
15987 wxPyEndAllowThreads(__tstate);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 }
15990 Py_INCREF(Py_None); resultobj = Py_None;
15991 return resultobj;
15992 fail:
15993 return NULL;
15994 }
15995
15996
15997 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15998 PyObject *resultobj;
15999 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16000 wxDC *arg2 = 0 ;
16001 PyObject * obj0 = 0 ;
16002 PyObject * obj1 = 0 ;
16003 char *kwnames[] = {
16004 (char *) "self",(char *) "dc", NULL
16005 };
16006
16007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
16008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16011 SWIG_POINTER_EXCEPTION | 0)) == -1)
16012 SWIG_fail;
16013 if (arg2 == NULL) {
16014 PyErr_SetString(PyExc_TypeError,"null reference");
16015 SWIG_fail;
16016 }
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 (arg1)->base_OnEraseContents(*arg2);
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 Py_INCREF(Py_None); resultobj = Py_None;
16025 return resultobj;
16026 fail:
16027 return NULL;
16028 }
16029
16030
16031 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16034 wxDC *arg2 = 0 ;
16035 PyObject * obj0 = 0 ;
16036 PyObject * obj1 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "dc", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16045 SWIG_POINTER_EXCEPTION | 0)) == -1)
16046 SWIG_fail;
16047 if (arg2 == NULL) {
16048 PyErr_SetString(PyExc_TypeError,"null reference");
16049 SWIG_fail;
16050 }
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 (arg1)->base_OnHighlight(*arg2);
16054
16055 wxPyEndAllowThreads(__tstate);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
16058 Py_INCREF(Py_None); resultobj = Py_None;
16059 return resultobj;
16060 fail:
16061 return NULL;
16062 }
16063
16064
16065 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj;
16067 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16068 double arg2 ;
16069 double arg3 ;
16070 int arg4 = (int) 0 ;
16071 int arg5 = (int) 0 ;
16072 PyObject * obj0 = 0 ;
16073 PyObject * obj1 = 0 ;
16074 PyObject * obj2 = 0 ;
16075 PyObject * obj3 = 0 ;
16076 PyObject * obj4 = 0 ;
16077 char *kwnames[] = {
16078 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16084 arg2 = (double) SWIG_AsDouble(obj1);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 arg3 = (double) SWIG_AsDouble(obj2);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 if (obj3) {
16089 arg4 = (int) SWIG_AsInt(obj3);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 if (obj4) {
16093 arg5 = (int) SWIG_AsInt(obj4);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 Py_INCREF(Py_None); resultobj = Py_None;
16104 return resultobj;
16105 fail:
16106 return NULL;
16107 }
16108
16109
16110 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16111 PyObject *resultobj;
16112 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16113 double arg2 ;
16114 double arg3 ;
16115 int arg4 = (int) 0 ;
16116 int arg5 = (int) 0 ;
16117 PyObject * obj0 = 0 ;
16118 PyObject * obj1 = 0 ;
16119 PyObject * obj2 = 0 ;
16120 PyObject * obj3 = 0 ;
16121 PyObject * obj4 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16129 arg2 = (double) SWIG_AsDouble(obj1);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 arg3 = (double) SWIG_AsDouble(obj2);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 if (obj3) {
16134 arg4 = (int) SWIG_AsInt(obj3);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 if (obj4) {
16138 arg5 = (int) SWIG_AsInt(obj4);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 }
16141 {
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
16143 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16144
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
16148 Py_INCREF(Py_None); resultobj = Py_None;
16149 return resultobj;
16150 fail:
16151 return NULL;
16152 }
16153
16154
16155 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16156 PyObject *resultobj;
16157 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16158 double arg2 ;
16159 double arg3 ;
16160 int arg4 = (int) 0 ;
16161 int arg5 = (int) 0 ;
16162 PyObject * obj0 = 0 ;
16163 PyObject * obj1 = 0 ;
16164 PyObject * obj2 = 0 ;
16165 PyObject * obj3 = 0 ;
16166 PyObject * obj4 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16169 };
16170
16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16174 arg2 = (double) SWIG_AsDouble(obj1);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 arg3 = (double) SWIG_AsDouble(obj2);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 if (obj3) {
16179 arg4 = (int) SWIG_AsInt(obj3);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 if (obj4) {
16183 arg5 = (int) SWIG_AsInt(obj4);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 }
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 Py_INCREF(Py_None); resultobj = Py_None;
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16203 double arg2 ;
16204 double arg3 ;
16205 PyObject * obj0 = 0 ;
16206 PyObject * obj1 = 0 ;
16207 PyObject * obj2 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self",(char *) "x",(char *) "y", NULL
16210 };
16211
16212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16215 arg2 = (double) SWIG_AsDouble(obj1);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 arg3 = (double) SWIG_AsDouble(obj2);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 (arg1)->base_OnSize(arg2,arg3);
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 Py_INCREF(Py_None); resultobj = Py_None;
16227 return resultobj;
16228 fail:
16229 return NULL;
16230 }
16231
16232
16233 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
16234 PyObject *resultobj;
16235 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16236 wxDC *arg2 = 0 ;
16237 double arg3 ;
16238 double arg4 ;
16239 double arg5 ;
16240 double arg6 ;
16241 bool arg7 = (bool) True ;
16242 bool result;
16243 PyObject * obj0 = 0 ;
16244 PyObject * obj1 = 0 ;
16245 PyObject * obj2 = 0 ;
16246 PyObject * obj3 = 0 ;
16247 PyObject * obj4 = 0 ;
16248 PyObject * obj5 = 0 ;
16249 PyObject * obj6 = 0 ;
16250 char *kwnames[] = {
16251 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16258 SWIG_POINTER_EXCEPTION | 0)) == -1)
16259 SWIG_fail;
16260 if (arg2 == NULL) {
16261 PyErr_SetString(PyExc_TypeError,"null reference");
16262 SWIG_fail;
16263 }
16264 arg3 = (double) SWIG_AsDouble(obj2);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 arg4 = (double) SWIG_AsDouble(obj3);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 arg5 = (double) SWIG_AsDouble(obj4);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 arg6 = (double) SWIG_AsDouble(obj5);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 if (obj6) {
16273 arg7 = (bool) SWIG_AsBool(obj6);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 {
16284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16285 }
16286 return resultobj;
16287 fail:
16288 return NULL;
16289 }
16290
16291
16292 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
16293 PyObject *resultobj;
16294 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16295 wxDC *arg2 = 0 ;
16296 double arg3 ;
16297 double arg4 ;
16298 double arg5 ;
16299 double arg6 ;
16300 bool arg7 = (bool) True ;
16301 PyObject * obj0 = 0 ;
16302 PyObject * obj1 = 0 ;
16303 PyObject * obj2 = 0 ;
16304 PyObject * obj3 = 0 ;
16305 PyObject * obj4 = 0 ;
16306 PyObject * obj5 = 0 ;
16307 PyObject * obj6 = 0 ;
16308 char *kwnames[] = {
16309 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16310 };
16311
16312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16316 SWIG_POINTER_EXCEPTION | 0)) == -1)
16317 SWIG_fail;
16318 if (arg2 == NULL) {
16319 PyErr_SetString(PyExc_TypeError,"null reference");
16320 SWIG_fail;
16321 }
16322 arg3 = (double) SWIG_AsDouble(obj2);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 arg4 = (double) SWIG_AsDouble(obj3);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 arg5 = (double) SWIG_AsDouble(obj4);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 arg6 = (double) SWIG_AsDouble(obj5);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 if (obj6) {
16331 arg7 = (bool) SWIG_AsBool(obj6);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 }
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 Py_INCREF(Py_None); resultobj = Py_None;
16342 return resultobj;
16343 fail:
16344 return NULL;
16345 }
16346
16347
16348 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16351 bool arg2 ;
16352 double arg3 ;
16353 double arg4 ;
16354 int arg5 = (int) 0 ;
16355 int arg6 = (int) 0 ;
16356 PyObject * obj0 = 0 ;
16357 PyObject * obj1 = 0 ;
16358 PyObject * obj2 = 0 ;
16359 PyObject * obj3 = 0 ;
16360 PyObject * obj4 = 0 ;
16361 PyObject * obj5 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16369 arg2 = (bool) SWIG_AsBool(obj1);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 arg3 = (double) SWIG_AsDouble(obj2);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 arg4 = (double) SWIG_AsDouble(obj3);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 if (obj4) {
16376 arg5 = (int) SWIG_AsInt(obj4);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 if (obj5) {
16380 arg6 = (int) SWIG_AsInt(obj5);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 {
16384 PyThreadState* __tstate = wxPyBeginAllowThreads();
16385 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16386
16387 wxPyEndAllowThreads(__tstate);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 }
16390 Py_INCREF(Py_None); resultobj = Py_None;
16391 return resultobj;
16392 fail:
16393 return NULL;
16394 }
16395
16396
16397 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16398 PyObject *resultobj;
16399 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16400 double arg2 ;
16401 double arg3 ;
16402 int arg4 = (int) 0 ;
16403 int arg5 = (int) 0 ;
16404 PyObject * obj0 = 0 ;
16405 PyObject * obj1 = 0 ;
16406 PyObject * obj2 = 0 ;
16407 PyObject * obj3 = 0 ;
16408 PyObject * obj4 = 0 ;
16409 char *kwnames[] = {
16410 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16411 };
16412
16413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16416 arg2 = (double) SWIG_AsDouble(obj1);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 arg3 = (double) SWIG_AsDouble(obj2);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 if (obj3) {
16421 arg4 = (int) SWIG_AsInt(obj3);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 if (obj4) {
16425 arg5 = (int) SWIG_AsInt(obj4);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 {
16429 PyThreadState* __tstate = wxPyBeginAllowThreads();
16430 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 Py_INCREF(Py_None); resultobj = Py_None;
16436 return resultobj;
16437 fail:
16438 return NULL;
16439 }
16440
16441
16442 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16443 PyObject *resultobj;
16444 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16445 double arg2 ;
16446 double arg3 ;
16447 int arg4 = (int) 0 ;
16448 int arg5 = (int) 0 ;
16449 PyObject * obj0 = 0 ;
16450 PyObject * obj1 = 0 ;
16451 PyObject * obj2 = 0 ;
16452 PyObject * obj3 = 0 ;
16453 PyObject * obj4 = 0 ;
16454 char *kwnames[] = {
16455 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16456 };
16457
16458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16461 arg2 = (double) SWIG_AsDouble(obj1);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 arg3 = (double) SWIG_AsDouble(obj2);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 if (obj3) {
16466 arg4 = (int) SWIG_AsInt(obj3);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 if (obj4) {
16470 arg5 = (int) SWIG_AsInt(obj4);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 {
16474 PyThreadState* __tstate = wxPyBeginAllowThreads();
16475 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16476
16477 wxPyEndAllowThreads(__tstate);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 Py_INCREF(Py_None); resultobj = Py_None;
16481 return resultobj;
16482 fail:
16483 return NULL;
16484 }
16485
16486
16487 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16488 PyObject *resultobj;
16489 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16490 bool arg2 ;
16491 double arg3 ;
16492 double arg4 ;
16493 int arg5 = (int) 0 ;
16494 int arg6 = (int) 0 ;
16495 PyObject * obj0 = 0 ;
16496 PyObject * obj1 = 0 ;
16497 PyObject * obj2 = 0 ;
16498 PyObject * obj3 = 0 ;
16499 PyObject * obj4 = 0 ;
16500 PyObject * obj5 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16508 arg2 = (bool) SWIG_AsBool(obj1);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 arg3 = (double) SWIG_AsDouble(obj2);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 arg4 = (double) SWIG_AsDouble(obj3);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 if (obj4) {
16515 arg5 = (int) SWIG_AsInt(obj4);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 if (obj5) {
16519 arg6 = (int) SWIG_AsInt(obj5);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 {
16523 PyThreadState* __tstate = wxPyBeginAllowThreads();
16524 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16525
16526 wxPyEndAllowThreads(__tstate);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 }
16529 Py_INCREF(Py_None); resultobj = Py_None;
16530 return resultobj;
16531 fail:
16532 return NULL;
16533 }
16534
16535
16536 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16537 PyObject *resultobj;
16538 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16539 double arg2 ;
16540 double arg3 ;
16541 int arg4 = (int) 0 ;
16542 int arg5 = (int) 0 ;
16543 PyObject * obj0 = 0 ;
16544 PyObject * obj1 = 0 ;
16545 PyObject * obj2 = 0 ;
16546 PyObject * obj3 = 0 ;
16547 PyObject * obj4 = 0 ;
16548 char *kwnames[] = {
16549 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16550 };
16551
16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16555 arg2 = (double) SWIG_AsDouble(obj1);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 arg3 = (double) SWIG_AsDouble(obj2);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 if (obj3) {
16560 arg4 = (int) SWIG_AsInt(obj3);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 if (obj4) {
16564 arg5 = (int) SWIG_AsInt(obj4);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 Py_INCREF(Py_None); resultobj = Py_None;
16575 return resultobj;
16576 fail:
16577 return NULL;
16578 }
16579
16580
16581 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16584 double arg2 ;
16585 double arg3 ;
16586 int arg4 = (int) 0 ;
16587 int arg5 = (int) 0 ;
16588 PyObject * obj0 = 0 ;
16589 PyObject * obj1 = 0 ;
16590 PyObject * obj2 = 0 ;
16591 PyObject * obj3 = 0 ;
16592 PyObject * obj4 = 0 ;
16593 char *kwnames[] = {
16594 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16595 };
16596
16597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16600 arg2 = (double) SWIG_AsDouble(obj1);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 arg3 = (double) SWIG_AsDouble(obj2);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 if (obj3) {
16605 arg4 = (int) SWIG_AsInt(obj3);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 if (obj4) {
16609 arg5 = (int) SWIG_AsInt(obj4);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 {
16613 PyThreadState* __tstate = wxPyBeginAllowThreads();
16614 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16615
16616 wxPyEndAllowThreads(__tstate);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 }
16619 Py_INCREF(Py_None); resultobj = Py_None;
16620 return resultobj;
16621 fail:
16622 return NULL;
16623 }
16624
16625
16626 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16627 PyObject *resultobj;
16628 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16629 wxDC *arg2 = 0 ;
16630 double arg3 ;
16631 double arg4 ;
16632 double arg5 ;
16633 double arg6 ;
16634 PyObject * obj0 = 0 ;
16635 PyObject * obj1 = 0 ;
16636 PyObject * obj2 = 0 ;
16637 PyObject * obj3 = 0 ;
16638 PyObject * obj4 = 0 ;
16639 PyObject * obj5 = 0 ;
16640 char *kwnames[] = {
16641 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16642 };
16643
16644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16648 SWIG_POINTER_EXCEPTION | 0)) == -1)
16649 SWIG_fail;
16650 if (arg2 == NULL) {
16651 PyErr_SetString(PyExc_TypeError,"null reference");
16652 SWIG_fail;
16653 }
16654 arg3 = (double) SWIG_AsDouble(obj2);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 arg4 = (double) SWIG_AsDouble(obj3);
16657 if (PyErr_Occurred()) SWIG_fail;
16658 arg5 = (double) SWIG_AsDouble(obj4);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 arg6 = (double) SWIG_AsDouble(obj5);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
16664 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 Py_INCREF(Py_None); resultobj = Py_None;
16670 return resultobj;
16671 fail:
16672 return NULL;
16673 }
16674
16675
16676 static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16677 PyObject *resultobj;
16678 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16679 wxDC *arg2 = 0 ;
16680 PyObject * obj0 = 0 ;
16681 PyObject * obj1 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self",(char *) "dc", NULL
16684 };
16685
16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16690 SWIG_POINTER_EXCEPTION | 0)) == -1)
16691 SWIG_fail;
16692 if (arg2 == NULL) {
16693 PyErr_SetString(PyExc_TypeError,"null reference");
16694 SWIG_fail;
16695 }
16696 {
16697 PyThreadState* __tstate = wxPyBeginAllowThreads();
16698 (arg1)->base_OnDrawControlPoints(*arg2);
16699
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 Py_INCREF(Py_None); resultobj = Py_None;
16704 return resultobj;
16705 fail:
16706 return NULL;
16707 }
16708
16709
16710 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj;
16712 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16713 wxDC *arg2 = 0 ;
16714 PyObject * obj0 = 0 ;
16715 PyObject * obj1 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "self",(char *) "dc", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16724 SWIG_POINTER_EXCEPTION | 0)) == -1)
16725 SWIG_fail;
16726 if (arg2 == NULL) {
16727 PyErr_SetString(PyExc_TypeError,"null reference");
16728 SWIG_fail;
16729 }
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 (arg1)->base_OnEraseControlPoints(*arg2);
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 Py_INCREF(Py_None); resultobj = Py_None;
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16747 wxDC *arg2 = 0 ;
16748 bool arg3 = (bool) True ;
16749 PyObject * obj0 = 0 ;
16750 PyObject * obj1 = 0 ;
16751 PyObject * obj2 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16760 SWIG_POINTER_EXCEPTION | 0)) == -1)
16761 SWIG_fail;
16762 if (arg2 == NULL) {
16763 PyErr_SetString(PyExc_TypeError,"null reference");
16764 SWIG_fail;
16765 }
16766 if (obj2) {
16767 arg3 = (bool) SWIG_AsBool(obj2);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 (arg1)->base_OnMoveLink(*arg2,arg3);
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 Py_INCREF(Py_None); resultobj = Py_None;
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16787 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16788 bool arg3 ;
16789 double arg4 ;
16790 double arg5 ;
16791 int arg6 = (int) 0 ;
16792 int arg7 = (int) 0 ;
16793 PyObject * obj0 = 0 ;
16794 PyObject * obj1 = 0 ;
16795 PyObject * obj2 = 0 ;
16796 PyObject * obj3 = 0 ;
16797 PyObject * obj4 = 0 ;
16798 PyObject * obj5 = 0 ;
16799 PyObject * obj6 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16809 arg3 = (bool) SWIG_AsBool(obj2);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 arg4 = (double) SWIG_AsDouble(obj3);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 arg5 = (double) SWIG_AsDouble(obj4);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 if (obj5) {
16816 arg6 = (int) SWIG_AsInt(obj5);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 if (obj6) {
16820 arg7 = (int) SWIG_AsInt(obj6);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 }
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 Py_INCREF(Py_None); resultobj = Py_None;
16831 return resultobj;
16832 fail:
16833 return NULL;
16834 }
16835
16836
16837 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16840 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16841 double arg3 ;
16842 double arg4 ;
16843 int arg5 = (int) 0 ;
16844 int arg6 = (int) 0 ;
16845 PyObject * obj0 = 0 ;
16846 PyObject * obj1 = 0 ;
16847 PyObject * obj2 = 0 ;
16848 PyObject * obj3 = 0 ;
16849 PyObject * obj4 = 0 ;
16850 PyObject * obj5 = 0 ;
16851 char *kwnames[] = {
16852 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16853 };
16854
16855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16860 arg3 = (double) SWIG_AsDouble(obj2);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 arg4 = (double) SWIG_AsDouble(obj3);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 if (obj4) {
16865 arg5 = (int) SWIG_AsInt(obj4);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 if (obj5) {
16869 arg6 = (int) SWIG_AsInt(obj5);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16875
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 Py_INCREF(Py_None); resultobj = Py_None;
16880 return resultobj;
16881 fail:
16882 return NULL;
16883 }
16884
16885
16886 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj;
16888 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16889 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16890 double arg3 ;
16891 double arg4 ;
16892 int arg5 = (int) 0 ;
16893 int arg6 = (int) 0 ;
16894 PyObject * obj0 = 0 ;
16895 PyObject * obj1 = 0 ;
16896 PyObject * obj2 = 0 ;
16897 PyObject * obj3 = 0 ;
16898 PyObject * obj4 = 0 ;
16899 PyObject * obj5 = 0 ;
16900 char *kwnames[] = {
16901 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16902 };
16903
16904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16909 arg3 = (double) SWIG_AsDouble(obj2);
16910 if (PyErr_Occurred()) SWIG_fail;
16911 arg4 = (double) SWIG_AsDouble(obj3);
16912 if (PyErr_Occurred()) SWIG_fail;
16913 if (obj4) {
16914 arg5 = (int) SWIG_AsInt(obj4);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 if (obj5) {
16918 arg6 = (int) SWIG_AsInt(obj5);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 Py_INCREF(Py_None); resultobj = Py_None;
16929 return resultobj;
16930 fail:
16931 return NULL;
16932 }
16933
16934
16935 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16938 double arg2 ;
16939 double arg3 ;
16940 PyObject * obj0 = 0 ;
16941 PyObject * obj1 = 0 ;
16942 PyObject * obj2 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self",(char *) "w",(char *) "h", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16950 arg2 = (double) SWIG_AsDouble(obj1);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 arg3 = (double) SWIG_AsDouble(obj2);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 (arg1)->base_OnBeginSize(arg2,arg3);
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 Py_INCREF(Py_None); resultobj = Py_None;
16962 return resultobj;
16963 fail:
16964 return NULL;
16965 }
16966
16967
16968 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj;
16970 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16971 double arg2 ;
16972 double arg3 ;
16973 PyObject * obj0 = 0 ;
16974 PyObject * obj1 = 0 ;
16975 PyObject * obj2 = 0 ;
16976 char *kwnames[] = {
16977 (char *) "self",(char *) "w",(char *) "h", NULL
16978 };
16979
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16983 arg2 = (double) SWIG_AsDouble(obj1);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 arg3 = (double) SWIG_AsDouble(obj2);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 {
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 (arg1)->base_OnEndSize(arg2,arg3);
16990
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 Py_INCREF(Py_None); resultobj = Py_None;
16995 return resultobj;
16996 fail:
16997 return NULL;
16998 }
16999
17000
17001 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
17002 PyObject *obj;
17003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17004 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
17005 Py_INCREF(obj);
17006 return Py_BuildValue((char *)"");
17007 }
17008 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj;
17010 int arg1 ;
17011 wxPyShape *arg2 = (wxPyShape *) 0 ;
17012 PyObject *arg3 = (PyObject *) 0 ;
17013 wxOGLConstraint *result;
17014 PyObject * obj0 = 0 ;
17015 PyObject * obj1 = 0 ;
17016 PyObject * obj2 = 0 ;
17017 char *kwnames[] = {
17018 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17019 };
17020
17021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
17022 arg1 = (int) SWIG_AsInt(obj0);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17026 arg3 = obj2;
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 {
17035 resultobj = wxPyMake_wxObject(result, 1);
17036 }
17037 return resultobj;
17038 fail:
17039 return NULL;
17040 }
17041
17042
17043 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
17044 PyObject *resultobj;
17045 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17046 bool result;
17047 PyObject * obj0 = 0 ;
17048 char *kwnames[] = {
17049 (char *) "self", NULL
17050 };
17051
17052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
17053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17055 {
17056 PyThreadState* __tstate = wxPyBeginAllowThreads();
17057 result = (bool)(arg1)->Evaluate();
17058
17059 wxPyEndAllowThreads(__tstate);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
17062 {
17063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17064 }
17065 return resultobj;
17066 fail:
17067 return NULL;
17068 }
17069
17070
17071 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17072 PyObject *resultobj;
17073 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17074 double arg2 ;
17075 double arg3 ;
17076 PyObject * obj0 = 0 ;
17077 PyObject * obj1 = 0 ;
17078 PyObject * obj2 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self",(char *) "x",(char *) "y", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
17084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17086 arg2 = (double) SWIG_AsDouble(obj1);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 arg3 = (double) SWIG_AsDouble(obj2);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 (arg1)->SetSpacing(arg2,arg3);
17093
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 Py_INCREF(Py_None); resultobj = Py_None;
17098 return resultobj;
17099 fail:
17100 return NULL;
17101 }
17102
17103
17104 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
17105 PyObject *resultobj;
17106 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17107 double arg2 ;
17108 double arg3 ;
17109 bool result;
17110 PyObject * obj0 = 0 ;
17111 PyObject * obj1 = 0 ;
17112 PyObject * obj2 = 0 ;
17113 char *kwnames[] = {
17114 (char *) "self",(char *) "a",(char *) "b", NULL
17115 };
17116
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
17118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17120 arg2 = (double) SWIG_AsDouble(obj1);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 arg3 = (double) SWIG_AsDouble(obj2);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 result = (bool)(arg1)->Equals(arg2,arg3);
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 {
17132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17133 }
17134 return resultobj;
17135 fail:
17136 return NULL;
17137 }
17138
17139
17140 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
17141 PyObject *obj;
17142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17143 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17144 Py_INCREF(obj);
17145 return Py_BuildValue((char *)"");
17146 }
17147 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxPyCompositeShape *result;
17150 char *kwnames[] = {
17151 NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17155 {
17156 PyThreadState* __tstate = wxPyBeginAllowThreads();
17157 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17158
17159 wxPyEndAllowThreads(__tstate);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
17162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
17163 return resultobj;
17164 fail:
17165 return NULL;
17166 }
17167
17168
17169 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17170 PyObject *resultobj;
17171 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17172 PyObject *arg2 = (PyObject *) 0 ;
17173 PyObject *arg3 = (PyObject *) 0 ;
17174 PyObject * obj0 = 0 ;
17175 PyObject * obj1 = 0 ;
17176 PyObject * obj2 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self",(char *) "self",(char *) "_class", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17184 arg2 = obj1;
17185 arg3 = obj2;
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 (arg1)->_setCallbackInfo(arg2,arg3);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 Py_INCREF(Py_None); resultobj = Py_None;
17194 return resultobj;
17195 fail:
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17203 wxPyShape *arg2 = (wxPyShape *) 0 ;
17204 wxPyShape *arg3 = (wxPyShape *) NULL ;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 PyObject * obj2 = 0 ;
17208 char *kwnames[] = {
17209 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17210 };
17211
17212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
17213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17217 if (obj2) {
17218 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17220 }
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 (arg1)->AddChild(arg2,arg3);
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 Py_INCREF(Py_None); resultobj = Py_None;
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17238 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17239 wxOGLConstraint *result;
17240 PyObject * obj0 = 0 ;
17241 PyObject * obj1 = 0 ;
17242 char *kwnames[] = {
17243 (char *) "self",(char *) "constraint", NULL
17244 };
17245
17246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
17247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17251 {
17252 PyThreadState* __tstate = wxPyBeginAllowThreads();
17253 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17254
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 {
17259 resultobj = wxPyMake_wxObject(result, 0);
17260 }
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17270 int arg2 ;
17271 wxPyShape *arg3 = (wxPyShape *) 0 ;
17272 PyObject *arg4 = (PyObject *) 0 ;
17273 wxOGLConstraint *result;
17274 PyObject * obj0 = 0 ;
17275 PyObject * obj1 = 0 ;
17276 PyObject * obj2 = 0 ;
17277 PyObject * obj3 = 0 ;
17278 char *kwnames[] = {
17279 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17280 };
17281
17282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17285 arg2 = (int) SWIG_AsInt(obj1);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17289 arg4 = obj3;
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17293
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 {
17298 resultobj = wxPyMake_wxObject(result, 0);
17299 }
17300 return resultobj;
17301 fail:
17302 return NULL;
17303 }
17304
17305
17306 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17309 int arg2 ;
17310 wxPyShape *arg3 = (wxPyShape *) 0 ;
17311 wxPyShape *arg4 = (wxPyShape *) 0 ;
17312 wxOGLConstraint *result;
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 PyObject * obj2 = 0 ;
17316 PyObject * obj3 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17324 arg2 = (int) SWIG_AsInt(obj1);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17328 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPyShape,
17329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17333
17334 wxPyEndAllowThreads(__tstate);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 {
17338 resultobj = wxPyMake_wxObject(result, 0);
17339 }
17340 return resultobj;
17341 fail:
17342 return NULL;
17343 }
17344
17345
17346 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17347 PyObject *resultobj;
17348 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17349 PyObject * obj0 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "self", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
17355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 (arg1)->CalculateSize();
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 Py_INCREF(Py_None); resultobj = Py_None;
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17374 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17375 bool result;
17376 PyObject * obj0 = 0 ;
17377 PyObject * obj1 = 0 ;
17378 char *kwnames[] = {
17379 (char *) "self",(char *) "division", NULL
17380 };
17381
17382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
17383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
17386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17387 {
17388 PyThreadState* __tstate = wxPyBeginAllowThreads();
17389 result = (bool)(arg1)->ContainsDivision(arg2);
17390
17391 wxPyEndAllowThreads(__tstate);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 {
17395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17396 }
17397 return resultobj;
17398 fail:
17399 return NULL;
17400 }
17401
17402
17403 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17406 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17407 PyObject * obj0 = 0 ;
17408 PyObject * obj1 = 0 ;
17409 char *kwnames[] = {
17410 (char *) "self",(char *) "constraint", NULL
17411 };
17412
17413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
17414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17418 {
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 (arg1)->DeleteConstraint(arg2);
17421
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 Py_INCREF(Py_None); resultobj = Py_None;
17426 return resultobj;
17427 fail:
17428 return NULL;
17429 }
17430
17431
17432 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17433 PyObject *resultobj;
17434 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17435 wxPyShape *arg2 = (wxPyShape *) 0 ;
17436 PyObject * obj0 = 0 ;
17437 PyObject * obj1 = 0 ;
17438 char *kwnames[] = {
17439 (char *) "self",(char *) "child", NULL
17440 };
17441
17442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
17443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17447 {
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 Py_INCREF(Py_None); resultobj = Py_None;
17455 return resultobj;
17456 fail:
17457 return NULL;
17458 }
17459
17460
17461 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj;
17463 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17464 wxPyShape *result;
17465 PyObject * obj0 = 0 ;
17466 char *kwnames[] = {
17467 (char *) "self", NULL
17468 };
17469
17470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
17471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 result = (wxPyShape *)(arg1)->FindContainerImage();
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 {
17481 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
17482 }
17483 return resultobj;
17484 fail:
17485 return NULL;
17486 }
17487
17488
17489 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
17490 PyObject *resultobj;
17491 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17492 PyObject *result;
17493 PyObject * obj0 = 0 ;
17494 char *kwnames[] = {
17495 (char *) "self", NULL
17496 };
17497
17498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
17499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17504
17505 wxPyEndAllowThreads(__tstate);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 resultobj = result;
17509 return resultobj;
17510 fail:
17511 return NULL;
17512 }
17513
17514
17515 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
17516 PyObject *resultobj;
17517 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17518 PyObject *result;
17519 PyObject * obj0 = 0 ;
17520 char *kwnames[] = {
17521 (char *) "self", NULL
17522 };
17523
17524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
17525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 resultobj = result;
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
17542 PyObject *resultobj;
17543 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17544 PyObject * obj0 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self", NULL
17547 };
17548
17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
17550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 (arg1)->MakeContainer();
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 Py_INCREF(Py_None); resultobj = Py_None;
17560 return resultobj;
17561 fail:
17562 return NULL;
17563 }
17564
17565
17566 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
17567 PyObject *resultobj;
17568 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17569 bool result;
17570 PyObject * obj0 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
17576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (bool)(arg1)->Recompute();
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 {
17586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17587 }
17588 return resultobj;
17589 fail:
17590 return NULL;
17591 }
17592
17593
17594 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17595 PyObject *resultobj;
17596 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17597 wxPyShape *arg2 = (wxPyShape *) 0 ;
17598 PyObject * obj0 = 0 ;
17599 PyObject * obj1 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "self",(char *) "child", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 (arg1)->RemoveChild(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_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17624 PyObject *resultobj;
17625 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17626 PyObject * obj0 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
17632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 (arg1)->base_OnDelete();
17637
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
17641 Py_INCREF(Py_None); resultobj = Py_None;
17642 return resultobj;
17643 fail:
17644 return NULL;
17645 }
17646
17647
17648 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17649 PyObject *resultobj;
17650 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17651 wxDC *arg2 = 0 ;
17652 PyObject * obj0 = 0 ;
17653 PyObject * obj1 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self",(char *) "dc", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1)
17663 SWIG_fail;
17664 if (arg2 == NULL) {
17665 PyErr_SetString(PyExc_TypeError,"null reference");
17666 SWIG_fail;
17667 }
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 (arg1)->base_OnDraw(*arg2);
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 Py_INCREF(Py_None); resultobj = Py_None;
17676 return resultobj;
17677 fail:
17678 return NULL;
17679 }
17680
17681
17682 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17685 wxDC *arg2 = 0 ;
17686 PyObject * obj0 = 0 ;
17687 PyObject * obj1 = 0 ;
17688 char *kwnames[] = {
17689 (char *) "self",(char *) "dc", NULL
17690 };
17691
17692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17696 SWIG_POINTER_EXCEPTION | 0)) == -1)
17697 SWIG_fail;
17698 if (arg2 == NULL) {
17699 PyErr_SetString(PyExc_TypeError,"null reference");
17700 SWIG_fail;
17701 }
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
17704 (arg1)->base_OnDrawContents(*arg2);
17705
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 Py_INCREF(Py_None); resultobj = Py_None;
17710 return resultobj;
17711 fail:
17712 return NULL;
17713 }
17714
17715
17716 static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17717 PyObject *resultobj;
17718 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17719 wxDC *arg2 = 0 ;
17720 bool arg3 = (bool) FALSE ;
17721 PyObject * obj0 = 0 ;
17722 PyObject * obj1 = 0 ;
17723 PyObject * obj2 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self",(char *) "dc",(char *) "erase", NULL
17726 };
17727
17728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17732 SWIG_POINTER_EXCEPTION | 0)) == -1)
17733 SWIG_fail;
17734 if (arg2 == NULL) {
17735 PyErr_SetString(PyExc_TypeError,"null reference");
17736 SWIG_fail;
17737 }
17738 if (obj2) {
17739 arg3 = (bool) SWIG_AsBool(obj2);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 (arg1)->base_OnDrawBranches(*arg2,arg3);
17745
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 Py_INCREF(Py_None); resultobj = Py_None;
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17759 wxDC *arg2 = 0 ;
17760 PyObject * obj0 = 0 ;
17761 PyObject * obj1 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self",(char *) "dc", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17770 SWIG_POINTER_EXCEPTION | 0)) == -1)
17771 SWIG_fail;
17772 if (arg2 == NULL) {
17773 PyErr_SetString(PyExc_TypeError,"null reference");
17774 SWIG_fail;
17775 }
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 (arg1)->base_OnMoveLinks(*arg2);
17779
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 Py_INCREF(Py_None); resultobj = Py_None;
17784 return resultobj;
17785 fail:
17786 return NULL;
17787 }
17788
17789
17790 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17793 wxDC *arg2 = 0 ;
17794 PyObject * obj0 = 0 ;
17795 PyObject * obj1 = 0 ;
17796 char *kwnames[] = {
17797 (char *) "self",(char *) "dc", NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17804 SWIG_POINTER_EXCEPTION | 0)) == -1)
17805 SWIG_fail;
17806 if (arg2 == NULL) {
17807 PyErr_SetString(PyExc_TypeError,"null reference");
17808 SWIG_fail;
17809 }
17810 {
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 (arg1)->base_OnErase(*arg2);
17813
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 Py_INCREF(Py_None); resultobj = Py_None;
17818 return resultobj;
17819 fail:
17820 return NULL;
17821 }
17822
17823
17824 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17825 PyObject *resultobj;
17826 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17827 wxDC *arg2 = 0 ;
17828 PyObject * obj0 = 0 ;
17829 PyObject * obj1 = 0 ;
17830 char *kwnames[] = {
17831 (char *) "self",(char *) "dc", NULL
17832 };
17833
17834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17838 SWIG_POINTER_EXCEPTION | 0)) == -1)
17839 SWIG_fail;
17840 if (arg2 == NULL) {
17841 PyErr_SetString(PyExc_TypeError,"null reference");
17842 SWIG_fail;
17843 }
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 (arg1)->base_OnEraseContents(*arg2);
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 Py_INCREF(Py_None); resultobj = Py_None;
17852 return resultobj;
17853 fail:
17854 return NULL;
17855 }
17856
17857
17858 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17861 wxDC *arg2 = 0 ;
17862 PyObject * obj0 = 0 ;
17863 PyObject * obj1 = 0 ;
17864 char *kwnames[] = {
17865 (char *) "self",(char *) "dc", NULL
17866 };
17867
17868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17872 SWIG_POINTER_EXCEPTION | 0)) == -1)
17873 SWIG_fail;
17874 if (arg2 == NULL) {
17875 PyErr_SetString(PyExc_TypeError,"null reference");
17876 SWIG_fail;
17877 }
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 (arg1)->base_OnHighlight(*arg2);
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 Py_INCREF(Py_None); resultobj = Py_None;
17886 return resultobj;
17887 fail:
17888 return NULL;
17889 }
17890
17891
17892 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17893 PyObject *resultobj;
17894 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17895 double arg2 ;
17896 double arg3 ;
17897 int arg4 = (int) 0 ;
17898 int arg5 = (int) 0 ;
17899 PyObject * obj0 = 0 ;
17900 PyObject * obj1 = 0 ;
17901 PyObject * obj2 = 0 ;
17902 PyObject * obj3 = 0 ;
17903 PyObject * obj4 = 0 ;
17904 char *kwnames[] = {
17905 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17906 };
17907
17908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17911 arg2 = (double) SWIG_AsDouble(obj1);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 arg3 = (double) SWIG_AsDouble(obj2);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 if (obj3) {
17916 arg4 = (int) SWIG_AsInt(obj3);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 if (obj4) {
17920 arg5 = (int) SWIG_AsInt(obj4);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 Py_INCREF(Py_None); resultobj = Py_None;
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj;
17939 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17940 double arg2 ;
17941 double arg3 ;
17942 int arg4 = (int) 0 ;
17943 int arg5 = (int) 0 ;
17944 PyObject * obj0 = 0 ;
17945 PyObject * obj1 = 0 ;
17946 PyObject * obj2 = 0 ;
17947 PyObject * obj3 = 0 ;
17948 PyObject * obj4 = 0 ;
17949 char *kwnames[] = {
17950 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17951 };
17952
17953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17956 arg2 = (double) SWIG_AsDouble(obj1);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 arg3 = (double) SWIG_AsDouble(obj2);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 if (obj3) {
17961 arg4 = (int) SWIG_AsInt(obj3);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 if (obj4) {
17965 arg5 = (int) SWIG_AsInt(obj4);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17971
17972 wxPyEndAllowThreads(__tstate);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 Py_INCREF(Py_None); resultobj = Py_None;
17976 return resultobj;
17977 fail:
17978 return NULL;
17979 }
17980
17981
17982 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj;
17984 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17985 double arg2 ;
17986 double arg3 ;
17987 int arg4 = (int) 0 ;
17988 int arg5 = (int) 0 ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 PyObject * obj2 = 0 ;
17992 PyObject * obj3 = 0 ;
17993 PyObject * obj4 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18001 arg2 = (double) SWIG_AsDouble(obj1);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 arg3 = (double) SWIG_AsDouble(obj2);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 if (obj3) {
18006 arg4 = (int) SWIG_AsInt(obj3);
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 if (obj4) {
18010 arg5 = (int) SWIG_AsInt(obj4);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
18015 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18016
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 Py_INCREF(Py_None); resultobj = Py_None;
18021 return resultobj;
18022 fail:
18023 return NULL;
18024 }
18025
18026
18027 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18028 PyObject *resultobj;
18029 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18030 double arg2 ;
18031 double arg3 ;
18032 PyObject * obj0 = 0 ;
18033 PyObject * obj1 = 0 ;
18034 PyObject * obj2 = 0 ;
18035 char *kwnames[] = {
18036 (char *) "self",(char *) "x",(char *) "y", NULL
18037 };
18038
18039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18042 arg2 = (double) SWIG_AsDouble(obj1);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 arg3 = (double) SWIG_AsDouble(obj2);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 (arg1)->base_OnSize(arg2,arg3);
18049
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 Py_INCREF(Py_None); resultobj = Py_None;
18054 return resultobj;
18055 fail:
18056 return NULL;
18057 }
18058
18059
18060 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18061 PyObject *resultobj;
18062 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18063 wxDC *arg2 = 0 ;
18064 double arg3 ;
18065 double arg4 ;
18066 double arg5 ;
18067 double arg6 ;
18068 bool arg7 = (bool) True ;
18069 bool result;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 PyObject * obj2 = 0 ;
18073 PyObject * obj3 = 0 ;
18074 PyObject * obj4 = 0 ;
18075 PyObject * obj5 = 0 ;
18076 PyObject * obj6 = 0 ;
18077 char *kwnames[] = {
18078 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18079 };
18080
18081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18085 SWIG_POINTER_EXCEPTION | 0)) == -1)
18086 SWIG_fail;
18087 if (arg2 == NULL) {
18088 PyErr_SetString(PyExc_TypeError,"null reference");
18089 SWIG_fail;
18090 }
18091 arg3 = (double) SWIG_AsDouble(obj2);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 arg4 = (double) SWIG_AsDouble(obj3);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 arg5 = (double) SWIG_AsDouble(obj4);
18096 if (PyErr_Occurred()) SWIG_fail;
18097 arg6 = (double) SWIG_AsDouble(obj5);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 if (obj6) {
18100 arg7 = (bool) SWIG_AsBool(obj6);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 {
18111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18112 }
18113 return resultobj;
18114 fail:
18115 return NULL;
18116 }
18117
18118
18119 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18122 wxDC *arg2 = 0 ;
18123 double arg3 ;
18124 double arg4 ;
18125 double arg5 ;
18126 double arg6 ;
18127 bool arg7 = (bool) True ;
18128 PyObject * obj0 = 0 ;
18129 PyObject * obj1 = 0 ;
18130 PyObject * obj2 = 0 ;
18131 PyObject * obj3 = 0 ;
18132 PyObject * obj4 = 0 ;
18133 PyObject * obj5 = 0 ;
18134 PyObject * obj6 = 0 ;
18135 char *kwnames[] = {
18136 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18137 };
18138
18139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18143 SWIG_POINTER_EXCEPTION | 0)) == -1)
18144 SWIG_fail;
18145 if (arg2 == NULL) {
18146 PyErr_SetString(PyExc_TypeError,"null reference");
18147 SWIG_fail;
18148 }
18149 arg3 = (double) SWIG_AsDouble(obj2);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 arg4 = (double) SWIG_AsDouble(obj3);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 arg5 = (double) SWIG_AsDouble(obj4);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 arg6 = (double) SWIG_AsDouble(obj5);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 if (obj6) {
18158 arg7 = (bool) SWIG_AsBool(obj6);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18164
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 Py_INCREF(Py_None); resultobj = Py_None;
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj;
18177 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18178 bool arg2 ;
18179 double arg3 ;
18180 double arg4 ;
18181 int arg5 = (int) 0 ;
18182 int arg6 = (int) 0 ;
18183 PyObject * obj0 = 0 ;
18184 PyObject * obj1 = 0 ;
18185 PyObject * obj2 = 0 ;
18186 PyObject * obj3 = 0 ;
18187 PyObject * obj4 = 0 ;
18188 PyObject * obj5 = 0 ;
18189 char *kwnames[] = {
18190 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18191 };
18192
18193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18196 arg2 = (bool) SWIG_AsBool(obj1);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 arg3 = (double) SWIG_AsDouble(obj2);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 arg4 = (double) SWIG_AsDouble(obj3);
18201 if (PyErr_Occurred()) SWIG_fail;
18202 if (obj4) {
18203 arg5 = (int) SWIG_AsInt(obj4);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 if (obj5) {
18207 arg6 = (int) SWIG_AsInt(obj5);
18208 if (PyErr_Occurred()) SWIG_fail;
18209 }
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18227 double arg2 ;
18228 double arg3 ;
18229 int arg4 = (int) 0 ;
18230 int arg5 = (int) 0 ;
18231 PyObject * obj0 = 0 ;
18232 PyObject * obj1 = 0 ;
18233 PyObject * obj2 = 0 ;
18234 PyObject * obj3 = 0 ;
18235 PyObject * obj4 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18243 arg2 = (double) SWIG_AsDouble(obj1);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 arg3 = (double) SWIG_AsDouble(obj2);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 if (obj3) {
18248 arg4 = (int) SWIG_AsInt(obj3);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 if (obj4) {
18252 arg5 = (int) SWIG_AsInt(obj4);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 Py_INCREF(Py_None); resultobj = Py_None;
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18272 double arg2 ;
18273 double arg3 ;
18274 int arg4 = (int) 0 ;
18275 int arg5 = (int) 0 ;
18276 PyObject * obj0 = 0 ;
18277 PyObject * obj1 = 0 ;
18278 PyObject * obj2 = 0 ;
18279 PyObject * obj3 = 0 ;
18280 PyObject * obj4 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18288 arg2 = (double) SWIG_AsDouble(obj1);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 arg3 = (double) SWIG_AsDouble(obj2);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 if (obj3) {
18293 arg4 = (int) SWIG_AsInt(obj3);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 if (obj4) {
18297 arg5 = (int) SWIG_AsInt(obj4);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 Py_INCREF(Py_None); resultobj = Py_None;
18308 return resultobj;
18309 fail:
18310 return NULL;
18311 }
18312
18313
18314 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
18316 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18317 bool arg2 ;
18318 double arg3 ;
18319 double arg4 ;
18320 int arg5 = (int) 0 ;
18321 int arg6 = (int) 0 ;
18322 PyObject * obj0 = 0 ;
18323 PyObject * obj1 = 0 ;
18324 PyObject * obj2 = 0 ;
18325 PyObject * obj3 = 0 ;
18326 PyObject * obj4 = 0 ;
18327 PyObject * obj5 = 0 ;
18328 char *kwnames[] = {
18329 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18330 };
18331
18332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18335 arg2 = (bool) SWIG_AsBool(obj1);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 arg3 = (double) SWIG_AsDouble(obj2);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 arg4 = (double) SWIG_AsDouble(obj3);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 if (obj4) {
18342 arg5 = (int) SWIG_AsInt(obj4);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 if (obj5) {
18346 arg6 = (int) SWIG_AsInt(obj5);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 }
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 Py_INCREF(Py_None); resultobj = Py_None;
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj;
18365 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18366 double arg2 ;
18367 double arg3 ;
18368 int arg4 = (int) 0 ;
18369 int arg5 = (int) 0 ;
18370 PyObject * obj0 = 0 ;
18371 PyObject * obj1 = 0 ;
18372 PyObject * obj2 = 0 ;
18373 PyObject * obj3 = 0 ;
18374 PyObject * obj4 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18382 arg2 = (double) SWIG_AsDouble(obj1);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 arg3 = (double) SWIG_AsDouble(obj2);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 if (obj3) {
18387 arg4 = (int) SWIG_AsInt(obj3);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 if (obj4) {
18391 arg5 = (int) SWIG_AsInt(obj4);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 Py_INCREF(Py_None); resultobj = Py_None;
18402 return resultobj;
18403 fail:
18404 return NULL;
18405 }
18406
18407
18408 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj;
18410 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18411 double arg2 ;
18412 double arg3 ;
18413 int arg4 = (int) 0 ;
18414 int arg5 = (int) 0 ;
18415 PyObject * obj0 = 0 ;
18416 PyObject * obj1 = 0 ;
18417 PyObject * obj2 = 0 ;
18418 PyObject * obj3 = 0 ;
18419 PyObject * obj4 = 0 ;
18420 char *kwnames[] = {
18421 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18422 };
18423
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18427 arg2 = (double) SWIG_AsDouble(obj1);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 arg3 = (double) SWIG_AsDouble(obj2);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 if (obj3) {
18432 arg4 = (int) SWIG_AsInt(obj3);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 if (obj4) {
18436 arg5 = (int) SWIG_AsInt(obj4);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 Py_INCREF(Py_None); resultobj = Py_None;
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18456 wxDC *arg2 = 0 ;
18457 double arg3 ;
18458 double arg4 ;
18459 double arg5 ;
18460 double arg6 ;
18461 PyObject * obj0 = 0 ;
18462 PyObject * obj1 = 0 ;
18463 PyObject * obj2 = 0 ;
18464 PyObject * obj3 = 0 ;
18465 PyObject * obj4 = 0 ;
18466 PyObject * obj5 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18469 };
18470
18471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18475 SWIG_POINTER_EXCEPTION | 0)) == -1)
18476 SWIG_fail;
18477 if (arg2 == NULL) {
18478 PyErr_SetString(PyExc_TypeError,"null reference");
18479 SWIG_fail;
18480 }
18481 arg3 = (double) SWIG_AsDouble(obj2);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 arg4 = (double) SWIG_AsDouble(obj3);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 arg5 = (double) SWIG_AsDouble(obj4);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 arg6 = (double) SWIG_AsDouble(obj5);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 Py_INCREF(Py_None); resultobj = Py_None;
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj;
18505 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18506 wxDC *arg2 = 0 ;
18507 PyObject * obj0 = 0 ;
18508 PyObject * obj1 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "self",(char *) "dc", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18517 SWIG_POINTER_EXCEPTION | 0)) == -1)
18518 SWIG_fail;
18519 if (arg2 == NULL) {
18520 PyErr_SetString(PyExc_TypeError,"null reference");
18521 SWIG_fail;
18522 }
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 (arg1)->base_OnDrawControlPoints(*arg2);
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 Py_INCREF(Py_None); resultobj = Py_None;
18531 return resultobj;
18532 fail:
18533 return NULL;
18534 }
18535
18536
18537 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18540 wxDC *arg2 = 0 ;
18541 PyObject * obj0 = 0 ;
18542 PyObject * obj1 = 0 ;
18543 char *kwnames[] = {
18544 (char *) "self",(char *) "dc", NULL
18545 };
18546
18547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18551 SWIG_POINTER_EXCEPTION | 0)) == -1)
18552 SWIG_fail;
18553 if (arg2 == NULL) {
18554 PyErr_SetString(PyExc_TypeError,"null reference");
18555 SWIG_fail;
18556 }
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 (arg1)->base_OnEraseControlPoints(*arg2);
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 Py_INCREF(Py_None); resultobj = Py_None;
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18574 wxDC *arg2 = 0 ;
18575 bool arg3 = (bool) True ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 PyObject * obj2 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18587 SWIG_POINTER_EXCEPTION | 0)) == -1)
18588 SWIG_fail;
18589 if (arg2 == NULL) {
18590 PyErr_SetString(PyExc_TypeError,"null reference");
18591 SWIG_fail;
18592 }
18593 if (obj2) {
18594 arg3 = (bool) SWIG_AsBool(obj2);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 }
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 (arg1)->base_OnMoveLink(*arg2,arg3);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 Py_INCREF(Py_None); resultobj = Py_None;
18605 return resultobj;
18606 fail:
18607 return NULL;
18608 }
18609
18610
18611 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18612 PyObject *resultobj;
18613 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18614 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18615 bool arg3 ;
18616 double arg4 ;
18617 double arg5 ;
18618 int arg6 = (int) 0 ;
18619 int arg7 = (int) 0 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 PyObject * obj2 = 0 ;
18623 PyObject * obj3 = 0 ;
18624 PyObject * obj4 = 0 ;
18625 PyObject * obj5 = 0 ;
18626 PyObject * obj6 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18636 arg3 = (bool) SWIG_AsBool(obj2);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 arg4 = (double) SWIG_AsDouble(obj3);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 arg5 = (double) SWIG_AsDouble(obj4);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 if (obj5) {
18643 arg6 = (int) SWIG_AsInt(obj5);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 if (obj6) {
18647 arg7 = (int) SWIG_AsInt(obj6);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18653
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 Py_INCREF(Py_None); resultobj = Py_None;
18658 return resultobj;
18659 fail:
18660 return NULL;
18661 }
18662
18663
18664 static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18665 PyObject *resultobj;
18666 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18667 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18668 double arg3 ;
18669 double arg4 ;
18670 int arg5 = (int) 0 ;
18671 int arg6 = (int) 0 ;
18672 PyObject * obj0 = 0 ;
18673 PyObject * obj1 = 0 ;
18674 PyObject * obj2 = 0 ;
18675 PyObject * obj3 = 0 ;
18676 PyObject * obj4 = 0 ;
18677 PyObject * obj5 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18687 arg3 = (double) SWIG_AsDouble(obj2);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 arg4 = (double) SWIG_AsDouble(obj3);
18690 if (PyErr_Occurred()) SWIG_fail;
18691 if (obj4) {
18692 arg5 = (int) SWIG_AsInt(obj4);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 if (obj5) {
18696 arg6 = (int) SWIG_AsInt(obj5);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18716 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18717 double arg3 ;
18718 double arg4 ;
18719 int arg5 = (int) 0 ;
18720 int arg6 = (int) 0 ;
18721 PyObject * obj0 = 0 ;
18722 PyObject * obj1 = 0 ;
18723 PyObject * obj2 = 0 ;
18724 PyObject * obj3 = 0 ;
18725 PyObject * obj4 = 0 ;
18726 PyObject * obj5 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18736 arg3 = (double) SWIG_AsDouble(obj2);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 arg4 = (double) SWIG_AsDouble(obj3);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 if (obj4) {
18741 arg5 = (int) SWIG_AsInt(obj4);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 if (obj5) {
18745 arg6 = (int) SWIG_AsInt(obj5);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18751
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
18755 Py_INCREF(Py_None); resultobj = Py_None;
18756 return resultobj;
18757 fail:
18758 return NULL;
18759 }
18760
18761
18762 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18765 double arg2 ;
18766 double arg3 ;
18767 PyObject * obj0 = 0 ;
18768 PyObject * obj1 = 0 ;
18769 PyObject * obj2 = 0 ;
18770 char *kwnames[] = {
18771 (char *) "self",(char *) "w",(char *) "h", NULL
18772 };
18773
18774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18777 arg2 = (double) SWIG_AsDouble(obj1);
18778 if (PyErr_Occurred()) SWIG_fail;
18779 arg3 = (double) SWIG_AsDouble(obj2);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 (arg1)->base_OnBeginSize(arg2,arg3);
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 Py_INCREF(Py_None); resultobj = Py_None;
18789 return resultobj;
18790 fail:
18791 return NULL;
18792 }
18793
18794
18795 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18796 PyObject *resultobj;
18797 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18798 double arg2 ;
18799 double arg3 ;
18800 PyObject * obj0 = 0 ;
18801 PyObject * obj1 = 0 ;
18802 PyObject * obj2 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self",(char *) "w",(char *) "h", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18810 arg2 = (double) SWIG_AsDouble(obj1);
18811 if (PyErr_Occurred()) SWIG_fail;
18812 arg3 = (double) SWIG_AsDouble(obj2);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 (arg1)->base_OnEndSize(arg2,arg3);
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 Py_INCREF(Py_None); resultobj = Py_None;
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
18829 PyObject *obj;
18830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18831 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
18832 Py_INCREF(obj);
18833 return Py_BuildValue((char *)"");
18834 }
18835 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj;
18837 double arg1 = (double) 0.0 ;
18838 double arg2 = (double) 0.0 ;
18839 wxPyDividedShape *result;
18840 PyObject * obj0 = 0 ;
18841 PyObject * obj1 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "width",(char *) "height", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
18847 if (obj0) {
18848 arg1 = (double) SWIG_AsDouble(obj0);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 }
18851 if (obj1) {
18852 arg2 = (double) SWIG_AsDouble(obj1);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18872 PyObject *arg2 = (PyObject *) 0 ;
18873 PyObject *arg3 = (PyObject *) 0 ;
18874 PyObject * obj0 = 0 ;
18875 PyObject * obj1 = 0 ;
18876 PyObject * obj2 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self",(char *) "self",(char *) "_class", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18884 arg2 = obj1;
18885 arg3 = obj2;
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 (arg1)->_setCallbackInfo(arg2,arg3);
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 Py_INCREF(Py_None); resultobj = Py_None;
18894 return resultobj;
18895 fail:
18896 return NULL;
18897 }
18898
18899
18900 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
18901 PyObject *resultobj;
18902 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18903 PyObject * obj0 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 (arg1)->EditRegions();
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 Py_INCREF(Py_None); resultobj = Py_None;
18919 return resultobj;
18920 fail:
18921 return NULL;
18922 }
18923
18924
18925 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18928 PyObject * obj0 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
18934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 (arg1)->SetRegionSizes();
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 Py_INCREF(Py_None); resultobj = Py_None;
18944 return resultobj;
18945 fail:
18946 return NULL;
18947 }
18948
18949
18950 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj;
18952 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18953 PyObject * obj0 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
18959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 (arg1)->base_OnDelete();
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 Py_INCREF(Py_None); resultobj = Py_None;
18969 return resultobj;
18970 fail:
18971 return NULL;
18972 }
18973
18974
18975 static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj;
18977 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18978 wxDC *arg2 = 0 ;
18979 PyObject * obj0 = 0 ;
18980 PyObject * obj1 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self",(char *) "dc", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18989 SWIG_POINTER_EXCEPTION | 0)) == -1)
18990 SWIG_fail;
18991 if (arg2 == NULL) {
18992 PyErr_SetString(PyExc_TypeError,"null reference");
18993 SWIG_fail;
18994 }
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 (arg1)->base_OnDraw(*arg2);
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_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19012 wxDC *arg2 = 0 ;
19013 PyObject * obj0 = 0 ;
19014 PyObject * obj1 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self",(char *) "dc", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
19020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19023 SWIG_POINTER_EXCEPTION | 0)) == -1)
19024 SWIG_fail;
19025 if (arg2 == NULL) {
19026 PyErr_SetString(PyExc_TypeError,"null reference");
19027 SWIG_fail;
19028 }
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->base_OnDrawContents(*arg2);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19046 wxDC *arg2 = 0 ;
19047 bool arg3 = (bool) FALSE ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 PyObject * obj2 = 0 ;
19051 char *kwnames[] = {
19052 (char *) "self",(char *) "dc",(char *) "erase", NULL
19053 };
19054
19055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
19056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19059 SWIG_POINTER_EXCEPTION | 0)) == -1)
19060 SWIG_fail;
19061 if (arg2 == NULL) {
19062 PyErr_SetString(PyExc_TypeError,"null reference");
19063 SWIG_fail;
19064 }
19065 if (obj2) {
19066 arg3 = (bool) SWIG_AsBool(obj2);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 (arg1)->base_OnDrawBranches(*arg2,arg3);
19072
19073 wxPyEndAllowThreads(__tstate);
19074 if (PyErr_Occurred()) SWIG_fail;
19075 }
19076 Py_INCREF(Py_None); resultobj = Py_None;
19077 return resultobj;
19078 fail:
19079 return NULL;
19080 }
19081
19082
19083 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
19084 PyObject *resultobj;
19085 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19086 wxDC *arg2 = 0 ;
19087 PyObject * obj0 = 0 ;
19088 PyObject * obj1 = 0 ;
19089 char *kwnames[] = {
19090 (char *) "self",(char *) "dc", NULL
19091 };
19092
19093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
19094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19097 SWIG_POINTER_EXCEPTION | 0)) == -1)
19098 SWIG_fail;
19099 if (arg2 == NULL) {
19100 PyErr_SetString(PyExc_TypeError,"null reference");
19101 SWIG_fail;
19102 }
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 (arg1)->base_OnMoveLinks(*arg2);
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 Py_INCREF(Py_None); resultobj = Py_None;
19111 return resultobj;
19112 fail:
19113 return NULL;
19114 }
19115
19116
19117 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj;
19119 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19120 wxDC *arg2 = 0 ;
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj1 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self",(char *) "dc", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19131 SWIG_POINTER_EXCEPTION | 0)) == -1)
19132 SWIG_fail;
19133 if (arg2 == NULL) {
19134 PyErr_SetString(PyExc_TypeError,"null reference");
19135 SWIG_fail;
19136 }
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 (arg1)->base_OnErase(*arg2);
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
19144 Py_INCREF(Py_None); resultobj = Py_None;
19145 return resultobj;
19146 fail:
19147 return NULL;
19148 }
19149
19150
19151 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19152 PyObject *resultobj;
19153 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19154 wxDC *arg2 = 0 ;
19155 PyObject * obj0 = 0 ;
19156 PyObject * obj1 = 0 ;
19157 char *kwnames[] = {
19158 (char *) "self",(char *) "dc", NULL
19159 };
19160
19161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19165 SWIG_POINTER_EXCEPTION | 0)) == -1)
19166 SWIG_fail;
19167 if (arg2 == NULL) {
19168 PyErr_SetString(PyExc_TypeError,"null reference");
19169 SWIG_fail;
19170 }
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 (arg1)->base_OnEraseContents(*arg2);
19174
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 Py_INCREF(Py_None); resultobj = Py_None;
19179 return resultobj;
19180 fail:
19181 return NULL;
19182 }
19183
19184
19185 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19188 wxDC *arg2 = 0 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self",(char *) "dc", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19199 SWIG_POINTER_EXCEPTION | 0)) == -1)
19200 SWIG_fail;
19201 if (arg2 == NULL) {
19202 PyErr_SetString(PyExc_TypeError,"null reference");
19203 SWIG_fail;
19204 }
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 (arg1)->base_OnHighlight(*arg2);
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 Py_INCREF(Py_None); resultobj = Py_None;
19213 return resultobj;
19214 fail:
19215 return NULL;
19216 }
19217
19218
19219 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19222 double arg2 ;
19223 double arg3 ;
19224 int arg4 = (int) 0 ;
19225 int arg5 = (int) 0 ;
19226 PyObject * obj0 = 0 ;
19227 PyObject * obj1 = 0 ;
19228 PyObject * obj2 = 0 ;
19229 PyObject * obj3 = 0 ;
19230 PyObject * obj4 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19238 arg2 = (double) SWIG_AsDouble(obj1);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 arg3 = (double) SWIG_AsDouble(obj2);
19241 if (PyErr_Occurred()) SWIG_fail;
19242 if (obj3) {
19243 arg4 = (int) SWIG_AsInt(obj3);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 if (obj4) {
19247 arg5 = (int) SWIG_AsInt(obj4);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 {
19251 PyThreadState* __tstate = wxPyBeginAllowThreads();
19252 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19253
19254 wxPyEndAllowThreads(__tstate);
19255 if (PyErr_Occurred()) SWIG_fail;
19256 }
19257 Py_INCREF(Py_None); resultobj = Py_None;
19258 return resultobj;
19259 fail:
19260 return NULL;
19261 }
19262
19263
19264 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19267 double arg2 ;
19268 double arg3 ;
19269 int arg4 = (int) 0 ;
19270 int arg5 = (int) 0 ;
19271 PyObject * obj0 = 0 ;
19272 PyObject * obj1 = 0 ;
19273 PyObject * obj2 = 0 ;
19274 PyObject * obj3 = 0 ;
19275 PyObject * obj4 = 0 ;
19276 char *kwnames[] = {
19277 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19278 };
19279
19280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19283 arg2 = (double) SWIG_AsDouble(obj1);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 arg3 = (double) SWIG_AsDouble(obj2);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 if (obj3) {
19288 arg4 = (int) SWIG_AsInt(obj3);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 if (obj4) {
19292 arg5 = (int) SWIG_AsInt(obj4);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19298
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
19302 Py_INCREF(Py_None); resultobj = Py_None;
19303 return resultobj;
19304 fail:
19305 return NULL;
19306 }
19307
19308
19309 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19312 double arg2 ;
19313 double arg3 ;
19314 int arg4 = (int) 0 ;
19315 int arg5 = (int) 0 ;
19316 PyObject * obj0 = 0 ;
19317 PyObject * obj1 = 0 ;
19318 PyObject * obj2 = 0 ;
19319 PyObject * obj3 = 0 ;
19320 PyObject * obj4 = 0 ;
19321 char *kwnames[] = {
19322 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19323 };
19324
19325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19328 arg2 = (double) SWIG_AsDouble(obj1);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 arg3 = (double) SWIG_AsDouble(obj2);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 if (obj3) {
19333 arg4 = (int) SWIG_AsInt(obj3);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 if (obj4) {
19337 arg5 = (int) SWIG_AsInt(obj4);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 Py_INCREF(Py_None); resultobj = Py_None;
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19357 double arg2 ;
19358 double arg3 ;
19359 PyObject * obj0 = 0 ;
19360 PyObject * obj1 = 0 ;
19361 PyObject * obj2 = 0 ;
19362 char *kwnames[] = {
19363 (char *) "self",(char *) "x",(char *) "y", NULL
19364 };
19365
19366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19369 arg2 = (double) SWIG_AsDouble(obj1);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 arg3 = (double) SWIG_AsDouble(obj2);
19372 if (PyErr_Occurred()) SWIG_fail;
19373 {
19374 PyThreadState* __tstate = wxPyBeginAllowThreads();
19375 (arg1)->base_OnSize(arg2,arg3);
19376
19377 wxPyEndAllowThreads(__tstate);
19378 if (PyErr_Occurred()) SWIG_fail;
19379 }
19380 Py_INCREF(Py_None); resultobj = Py_None;
19381 return resultobj;
19382 fail:
19383 return NULL;
19384 }
19385
19386
19387 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19388 PyObject *resultobj;
19389 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19390 wxDC *arg2 = 0 ;
19391 double arg3 ;
19392 double arg4 ;
19393 double arg5 ;
19394 double arg6 ;
19395 bool arg7 = (bool) True ;
19396 bool result;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 PyObject * obj2 = 0 ;
19400 PyObject * obj3 = 0 ;
19401 PyObject * obj4 = 0 ;
19402 PyObject * obj5 = 0 ;
19403 PyObject * obj6 = 0 ;
19404 char *kwnames[] = {
19405 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19406 };
19407
19408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19412 SWIG_POINTER_EXCEPTION | 0)) == -1)
19413 SWIG_fail;
19414 if (arg2 == NULL) {
19415 PyErr_SetString(PyExc_TypeError,"null reference");
19416 SWIG_fail;
19417 }
19418 arg3 = (double) SWIG_AsDouble(obj2);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 arg4 = (double) SWIG_AsDouble(obj3);
19421 if (PyErr_Occurred()) SWIG_fail;
19422 arg5 = (double) SWIG_AsDouble(obj4);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 arg6 = (double) SWIG_AsDouble(obj5);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 if (obj6) {
19427 arg7 = (bool) SWIG_AsBool(obj6);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19433
19434 wxPyEndAllowThreads(__tstate);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 {
19438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19439 }
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19449 wxDC *arg2 = 0 ;
19450 double arg3 ;
19451 double arg4 ;
19452 double arg5 ;
19453 double arg6 ;
19454 bool arg7 = (bool) True ;
19455 PyObject * obj0 = 0 ;
19456 PyObject * obj1 = 0 ;
19457 PyObject * obj2 = 0 ;
19458 PyObject * obj3 = 0 ;
19459 PyObject * obj4 = 0 ;
19460 PyObject * obj5 = 0 ;
19461 PyObject * obj6 = 0 ;
19462 char *kwnames[] = {
19463 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19464 };
19465
19466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19470 SWIG_POINTER_EXCEPTION | 0)) == -1)
19471 SWIG_fail;
19472 if (arg2 == NULL) {
19473 PyErr_SetString(PyExc_TypeError,"null reference");
19474 SWIG_fail;
19475 }
19476 arg3 = (double) SWIG_AsDouble(obj2);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 arg4 = (double) SWIG_AsDouble(obj3);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 arg5 = (double) SWIG_AsDouble(obj4);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 arg6 = (double) SWIG_AsDouble(obj5);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 if (obj6) {
19485 arg7 = (bool) SWIG_AsBool(obj6);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
19490 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 Py_INCREF(Py_None); resultobj = Py_None;
19496 return resultobj;
19497 fail:
19498 return NULL;
19499 }
19500
19501
19502 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19503 PyObject *resultobj;
19504 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19505 bool arg2 ;
19506 double arg3 ;
19507 double arg4 ;
19508 int arg5 = (int) 0 ;
19509 int arg6 = (int) 0 ;
19510 PyObject * obj0 = 0 ;
19511 PyObject * obj1 = 0 ;
19512 PyObject * obj2 = 0 ;
19513 PyObject * obj3 = 0 ;
19514 PyObject * obj4 = 0 ;
19515 PyObject * obj5 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19523 arg2 = (bool) SWIG_AsBool(obj1);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 arg3 = (double) SWIG_AsDouble(obj2);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 arg4 = (double) SWIG_AsDouble(obj3);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 if (obj4) {
19530 arg5 = (int) SWIG_AsInt(obj4);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 if (obj5) {
19534 arg6 = (int) SWIG_AsInt(obj5);
19535 if (PyErr_Occurred()) SWIG_fail;
19536 }
19537 {
19538 PyThreadState* __tstate = wxPyBeginAllowThreads();
19539 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19540
19541 wxPyEndAllowThreads(__tstate);
19542 if (PyErr_Occurred()) SWIG_fail;
19543 }
19544 Py_INCREF(Py_None); resultobj = Py_None;
19545 return resultobj;
19546 fail:
19547 return NULL;
19548 }
19549
19550
19551 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19552 PyObject *resultobj;
19553 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19554 double arg2 ;
19555 double arg3 ;
19556 int arg4 = (int) 0 ;
19557 int arg5 = (int) 0 ;
19558 PyObject * obj0 = 0 ;
19559 PyObject * obj1 = 0 ;
19560 PyObject * obj2 = 0 ;
19561 PyObject * obj3 = 0 ;
19562 PyObject * obj4 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19570 arg2 = (double) SWIG_AsDouble(obj1);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 arg3 = (double) SWIG_AsDouble(obj2);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 if (obj3) {
19575 arg4 = (int) SWIG_AsInt(obj3);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 if (obj4) {
19579 arg5 = (int) SWIG_AsInt(obj4);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 Py_INCREF(Py_None); resultobj = Py_None;
19590 return resultobj;
19591 fail:
19592 return NULL;
19593 }
19594
19595
19596 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19597 PyObject *resultobj;
19598 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19599 double arg2 ;
19600 double arg3 ;
19601 int arg4 = (int) 0 ;
19602 int arg5 = (int) 0 ;
19603 PyObject * obj0 = 0 ;
19604 PyObject * obj1 = 0 ;
19605 PyObject * obj2 = 0 ;
19606 PyObject * obj3 = 0 ;
19607 PyObject * obj4 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19615 arg2 = (double) SWIG_AsDouble(obj1);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 arg3 = (double) SWIG_AsDouble(obj2);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 if (obj3) {
19620 arg4 = (int) SWIG_AsInt(obj3);
19621 if (PyErr_Occurred()) SWIG_fail;
19622 }
19623 if (obj4) {
19624 arg5 = (int) SWIG_AsInt(obj4);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 Py_INCREF(Py_None); resultobj = Py_None;
19635 return resultobj;
19636 fail:
19637 return NULL;
19638 }
19639
19640
19641 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19644 bool arg2 ;
19645 double arg3 ;
19646 double arg4 ;
19647 int arg5 = (int) 0 ;
19648 int arg6 = (int) 0 ;
19649 PyObject * obj0 = 0 ;
19650 PyObject * obj1 = 0 ;
19651 PyObject * obj2 = 0 ;
19652 PyObject * obj3 = 0 ;
19653 PyObject * obj4 = 0 ;
19654 PyObject * obj5 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19662 arg2 = (bool) SWIG_AsBool(obj1);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 arg3 = (double) SWIG_AsDouble(obj2);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 arg4 = (double) SWIG_AsDouble(obj3);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 if (obj4) {
19669 arg5 = (int) SWIG_AsInt(obj4);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 if (obj5) {
19673 arg6 = (int) SWIG_AsInt(obj5);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 Py_INCREF(Py_None); resultobj = Py_None;
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19693 double arg2 ;
19694 double arg3 ;
19695 int arg4 = (int) 0 ;
19696 int arg5 = (int) 0 ;
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 PyObject * obj2 = 0 ;
19700 PyObject * obj3 = 0 ;
19701 PyObject * obj4 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19709 arg2 = (double) SWIG_AsDouble(obj1);
19710 if (PyErr_Occurred()) SWIG_fail;
19711 arg3 = (double) SWIG_AsDouble(obj2);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 if (obj3) {
19714 arg4 = (int) SWIG_AsInt(obj3);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 if (obj4) {
19718 arg5 = (int) SWIG_AsInt(obj4);
19719 if (PyErr_Occurred()) SWIG_fail;
19720 }
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 Py_INCREF(Py_None); resultobj = Py_None;
19729 return resultobj;
19730 fail:
19731 return NULL;
19732 }
19733
19734
19735 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj;
19737 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19738 double arg2 ;
19739 double arg3 ;
19740 int arg4 = (int) 0 ;
19741 int arg5 = (int) 0 ;
19742 PyObject * obj0 = 0 ;
19743 PyObject * obj1 = 0 ;
19744 PyObject * obj2 = 0 ;
19745 PyObject * obj3 = 0 ;
19746 PyObject * obj4 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19754 arg2 = (double) SWIG_AsDouble(obj1);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 arg3 = (double) SWIG_AsDouble(obj2);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 if (obj3) {
19759 arg4 = (int) SWIG_AsInt(obj3);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 if (obj4) {
19763 arg5 = (int) SWIG_AsInt(obj4);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 Py_INCREF(Py_None); resultobj = Py_None;
19774 return resultobj;
19775 fail:
19776 return NULL;
19777 }
19778
19779
19780 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19781 PyObject *resultobj;
19782 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19783 wxDC *arg2 = 0 ;
19784 double arg3 ;
19785 double arg4 ;
19786 double arg5 ;
19787 double arg6 ;
19788 PyObject * obj0 = 0 ;
19789 PyObject * obj1 = 0 ;
19790 PyObject * obj2 = 0 ;
19791 PyObject * obj3 = 0 ;
19792 PyObject * obj4 = 0 ;
19793 PyObject * obj5 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19802 SWIG_POINTER_EXCEPTION | 0)) == -1)
19803 SWIG_fail;
19804 if (arg2 == NULL) {
19805 PyErr_SetString(PyExc_TypeError,"null reference");
19806 SWIG_fail;
19807 }
19808 arg3 = (double) SWIG_AsDouble(obj2);
19809 if (PyErr_Occurred()) SWIG_fail;
19810 arg4 = (double) SWIG_AsDouble(obj3);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 arg5 = (double) SWIG_AsDouble(obj4);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 arg6 = (double) SWIG_AsDouble(obj5);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 Py_INCREF(Py_None); resultobj = Py_None;
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19833 wxDC *arg2 = 0 ;
19834 PyObject * obj0 = 0 ;
19835 PyObject * obj1 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self",(char *) "dc", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19844 SWIG_POINTER_EXCEPTION | 0)) == -1)
19845 SWIG_fail;
19846 if (arg2 == NULL) {
19847 PyErr_SetString(PyExc_TypeError,"null reference");
19848 SWIG_fail;
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 (arg1)->base_OnDrawControlPoints(*arg2);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 Py_INCREF(Py_None); resultobj = Py_None;
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19867 wxDC *arg2 = 0 ;
19868 PyObject * obj0 = 0 ;
19869 PyObject * obj1 = 0 ;
19870 char *kwnames[] = {
19871 (char *) "self",(char *) "dc", NULL
19872 };
19873
19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19878 SWIG_POINTER_EXCEPTION | 0)) == -1)
19879 SWIG_fail;
19880 if (arg2 == NULL) {
19881 PyErr_SetString(PyExc_TypeError,"null reference");
19882 SWIG_fail;
19883 }
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 (arg1)->base_OnEraseControlPoints(*arg2);
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 Py_INCREF(Py_None); resultobj = Py_None;
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19899 PyObject *resultobj;
19900 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19901 wxDC *arg2 = 0 ;
19902 bool arg3 = (bool) True ;
19903 PyObject * obj0 = 0 ;
19904 PyObject * obj1 = 0 ;
19905 PyObject * obj2 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19914 SWIG_POINTER_EXCEPTION | 0)) == -1)
19915 SWIG_fail;
19916 if (arg2 == NULL) {
19917 PyErr_SetString(PyExc_TypeError,"null reference");
19918 SWIG_fail;
19919 }
19920 if (obj2) {
19921 arg3 = (bool) SWIG_AsBool(obj2);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 (arg1)->base_OnMoveLink(*arg2,arg3);
19927
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 Py_INCREF(Py_None); resultobj = Py_None;
19932 return resultobj;
19933 fail:
19934 return NULL;
19935 }
19936
19937
19938 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19939 PyObject *resultobj;
19940 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19941 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19942 bool arg3 ;
19943 double arg4 ;
19944 double arg5 ;
19945 int arg6 = (int) 0 ;
19946 int arg7 = (int) 0 ;
19947 PyObject * obj0 = 0 ;
19948 PyObject * obj1 = 0 ;
19949 PyObject * obj2 = 0 ;
19950 PyObject * obj3 = 0 ;
19951 PyObject * obj4 = 0 ;
19952 PyObject * obj5 = 0 ;
19953 PyObject * obj6 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19963 arg3 = (bool) SWIG_AsBool(obj2);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 arg4 = (double) SWIG_AsDouble(obj3);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 arg5 = (double) SWIG_AsDouble(obj4);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 if (obj5) {
19970 arg6 = (int) SWIG_AsInt(obj5);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 if (obj6) {
19974 arg7 = (int) SWIG_AsInt(obj6);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 Py_INCREF(Py_None); resultobj = Py_None;
19985 return resultobj;
19986 fail:
19987 return NULL;
19988 }
19989
19990
19991 static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19992 PyObject *resultobj;
19993 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19994 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19995 double arg3 ;
19996 double arg4 ;
19997 int arg5 = (int) 0 ;
19998 int arg6 = (int) 0 ;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001 PyObject * obj2 = 0 ;
20002 PyObject * obj3 = 0 ;
20003 PyObject * obj4 = 0 ;
20004 PyObject * obj5 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20014 arg3 = (double) SWIG_AsDouble(obj2);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 arg4 = (double) SWIG_AsDouble(obj3);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 if (obj4) {
20019 arg5 = (int) SWIG_AsInt(obj4);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 if (obj5) {
20023 arg6 = (int) SWIG_AsInt(obj5);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 Py_INCREF(Py_None); resultobj = Py_None;
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20043 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20044 double arg3 ;
20045 double arg4 ;
20046 int arg5 = (int) 0 ;
20047 int arg6 = (int) 0 ;
20048 PyObject * obj0 = 0 ;
20049 PyObject * obj1 = 0 ;
20050 PyObject * obj2 = 0 ;
20051 PyObject * obj3 = 0 ;
20052 PyObject * obj4 = 0 ;
20053 PyObject * obj5 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20063 arg3 = (double) SWIG_AsDouble(obj2);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 arg4 = (double) SWIG_AsDouble(obj3);
20066 if (PyErr_Occurred()) SWIG_fail;
20067 if (obj4) {
20068 arg5 = (int) SWIG_AsInt(obj4);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 if (obj5) {
20072 arg6 = (int) SWIG_AsInt(obj5);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20078
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 Py_INCREF(Py_None); resultobj = Py_None;
20083 return resultobj;
20084 fail:
20085 return NULL;
20086 }
20087
20088
20089 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20092 double arg2 ;
20093 double arg3 ;
20094 PyObject * obj0 = 0 ;
20095 PyObject * obj1 = 0 ;
20096 PyObject * obj2 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self",(char *) "w",(char *) "h", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20104 arg2 = (double) SWIG_AsDouble(obj1);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 arg3 = (double) SWIG_AsDouble(obj2);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
20110 (arg1)->base_OnBeginSize(arg2,arg3);
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 Py_INCREF(Py_None); resultobj = Py_None;
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20123 PyObject *resultobj;
20124 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20125 double arg2 ;
20126 double arg3 ;
20127 PyObject * obj0 = 0 ;
20128 PyObject * obj1 = 0 ;
20129 PyObject * obj2 = 0 ;
20130 char *kwnames[] = {
20131 (char *) "self",(char *) "w",(char *) "h", NULL
20132 };
20133
20134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20137 arg2 = (double) SWIG_AsDouble(obj1);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 arg3 = (double) SWIG_AsDouble(obj2);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 (arg1)->base_OnEndSize(arg2,arg3);
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 Py_INCREF(Py_None); resultobj = Py_None;
20149 return resultobj;
20150 fail:
20151 return NULL;
20152 }
20153
20154
20155 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
20156 PyObject *obj;
20157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20158 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20159 Py_INCREF(obj);
20160 return Py_BuildValue((char *)"");
20161 }
20162 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxPyDivisionShape *result;
20165 char *kwnames[] = {
20166 NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 {
20178 resultobj = wxPyMake_wxShapeEvtHandler(result, 1);
20179 }
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20187 PyObject *resultobj;
20188 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20189 PyObject *arg2 = (PyObject *) 0 ;
20190 PyObject *arg3 = (PyObject *) 0 ;
20191 PyObject * obj0 = 0 ;
20192 PyObject * obj1 = 0 ;
20193 PyObject * obj2 = 0 ;
20194 char *kwnames[] = {
20195 (char *) "self",(char *) "self",(char *) "_class", NULL
20196 };
20197
20198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20201 arg2 = obj1;
20202 arg3 = obj2;
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 (arg1)->_setCallbackInfo(arg2,arg3);
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 Py_INCREF(Py_None); resultobj = Py_None;
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20220 double arg2 ;
20221 bool arg3 ;
20222 PyObject * obj0 = 0 ;
20223 PyObject * obj1 = 0 ;
20224 PyObject * obj2 = 0 ;
20225 char *kwnames[] = {
20226 (char *) "self",(char *) "bottom",(char *) "test", NULL
20227 };
20228
20229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
20230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20232 arg2 = (double) SWIG_AsDouble(obj1);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 arg3 = (bool) SWIG_AsBool(obj2);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 (arg1)->AdjustBottom(arg2,arg3);
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 Py_INCREF(Py_None); resultobj = Py_None;
20244 return resultobj;
20245 fail:
20246 return NULL;
20247 }
20248
20249
20250 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj;
20252 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20253 double arg2 ;
20254 bool arg3 ;
20255 PyObject * obj0 = 0 ;
20256 PyObject * obj1 = 0 ;
20257 PyObject * obj2 = 0 ;
20258 char *kwnames[] = {
20259 (char *) "self",(char *) "left",(char *) "test", NULL
20260 };
20261
20262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
20263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20265 arg2 = (double) SWIG_AsDouble(obj1);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 arg3 = (bool) SWIG_AsBool(obj2);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 {
20270 PyThreadState* __tstate = wxPyBeginAllowThreads();
20271 (arg1)->AdjustLeft(arg2,arg3);
20272
20273 wxPyEndAllowThreads(__tstate);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 }
20276 Py_INCREF(Py_None); resultobj = Py_None;
20277 return resultobj;
20278 fail:
20279 return NULL;
20280 }
20281
20282
20283 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20284 PyObject *resultobj;
20285 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20286 double arg2 ;
20287 bool arg3 ;
20288 PyObject * obj0 = 0 ;
20289 PyObject * obj1 = 0 ;
20290 PyObject * obj2 = 0 ;
20291 char *kwnames[] = {
20292 (char *) "self",(char *) "right",(char *) "test", NULL
20293 };
20294
20295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
20296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20298 arg2 = (double) SWIG_AsDouble(obj1);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 arg3 = (bool) SWIG_AsBool(obj2);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 (arg1)->AdjustRight(arg2,arg3);
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
20309 Py_INCREF(Py_None); resultobj = Py_None;
20310 return resultobj;
20311 fail:
20312 return NULL;
20313 }
20314
20315
20316 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
20317 PyObject *resultobj;
20318 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20319 double arg2 ;
20320 bool arg3 ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 PyObject * obj2 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self",(char *) "top",(char *) "test", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20331 arg2 = (double) SWIG_AsDouble(obj1);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 arg3 = (bool) SWIG_AsBool(obj2);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 (arg1)->AdjustTop(arg2,arg3);
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 Py_INCREF(Py_None); resultobj = Py_None;
20343 return resultobj;
20344 fail:
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20352 int arg2 ;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "direction", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20362 arg2 = (int) SWIG_AsInt(obj1);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 (arg1)->Divide(arg2);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 Py_INCREF(Py_None); resultobj = Py_None;
20372 return resultobj;
20373 fail:
20374 return NULL;
20375 }
20376
20377
20378 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
20379 PyObject *resultobj;
20380 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20381 int arg2 ;
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384 char *kwnames[] = {
20385 (char *) "self",(char *) "side", NULL
20386 };
20387
20388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
20389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20391 arg2 = (int) SWIG_AsInt(obj1);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 (arg1)->EditEdge(arg2);
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 Py_INCREF(Py_None); resultobj = Py_None;
20401 return resultobj;
20402 fail:
20403 return NULL;
20404 }
20405
20406
20407 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20410 wxPyDivisionShape *result;
20411 PyObject * obj0 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 {
20427 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
20428 }
20429 return resultobj;
20430 fail:
20431 return NULL;
20432 }
20433
20434
20435 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20436 PyObject *resultobj;
20437 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20438 int result;
20439 PyObject * obj0 = 0 ;
20440 char *kwnames[] = {
20441 (char *) "self", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20447 {
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 result = (int)(arg1)->GetHandleSide();
20450
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 resultobj = SWIG_FromInt((int)result);
20455 return resultobj;
20456 fail:
20457 return NULL;
20458 }
20459
20460
20461 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj;
20463 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20464 wxPyDivisionShape *result;
20465 PyObject * obj0 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
20471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20476
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 {
20481 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
20482 }
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20492 wxString result;
20493 PyObject * obj0 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
20499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (arg1)->GetLeftSideColour();
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 {
20509 #if wxUSE_UNICODE
20510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20511 #else
20512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20513 #endif
20514 }
20515 return resultobj;
20516 fail:
20517 return NULL;
20518 }
20519
20520
20521 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20522 PyObject *resultobj;
20523 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20524 wxPen *result;
20525 PyObject * obj0 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
20531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 result = (wxPen *)(arg1)->GetLeftSidePen();
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20541 return resultobj;
20542 fail:
20543 return NULL;
20544 }
20545
20546
20547 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj;
20549 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20550 wxPyDivisionShape *result;
20551 PyObject * obj0 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
20557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 {
20567 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
20568 }
20569 return resultobj;
20570 fail:
20571 return NULL;
20572 }
20573
20574
20575 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20576 PyObject *resultobj;
20577 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20578 wxPyDivisionShape *result;
20579 PyObject * obj0 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 {
20595 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
20596 }
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20606 wxPen *result;
20607 PyObject * obj0 = 0 ;
20608 char *kwnames[] = {
20609 (char *) "self", NULL
20610 };
20611
20612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
20613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 result = (wxPen *)(arg1)->GetTopSidePen();
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20623 return resultobj;
20624 fail:
20625 return NULL;
20626 }
20627
20628
20629 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20632 int arg2 ;
20633 double arg3 ;
20634 bool arg4 ;
20635 PyObject * obj0 = 0 ;
20636 PyObject * obj1 = 0 ;
20637 PyObject * obj2 = 0 ;
20638 PyObject * obj3 = 0 ;
20639 char *kwnames[] = {
20640 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20641 };
20642
20643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20646 arg2 = (int) SWIG_AsInt(obj1);
20647 if (PyErr_Occurred()) SWIG_fail;
20648 arg3 = (double) SWIG_AsDouble(obj2);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 arg4 = (bool) SWIG_AsBool(obj3);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 Py_INCREF(Py_None); resultobj = Py_None;
20660 return resultobj;
20661 fail:
20662 return NULL;
20663 }
20664
20665
20666 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj;
20668 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20669 double arg2 ;
20670 double arg3 ;
20671 PyObject * obj0 = 0 ;
20672 PyObject * obj1 = 0 ;
20673 PyObject * obj2 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self",(char *) "x",(char *) "y", NULL
20676 };
20677
20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
20679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20681 arg2 = (double) SWIG_AsDouble(obj1);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 arg3 = (double) SWIG_AsDouble(obj2);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 (arg1)->PopupMenu(arg2,arg3);
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 Py_INCREF(Py_None); resultobj = Py_None;
20693 return resultobj;
20694 fail:
20695 return NULL;
20696 }
20697
20698
20699 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20700 PyObject *resultobj;
20701 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20702 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20703 PyObject * obj0 = 0 ;
20704 PyObject * obj1 = 0 ;
20705 char *kwnames[] = {
20706 (char *) "self",(char *) "shape", NULL
20707 };
20708
20709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
20710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 (arg1)->SetBottomSide(arg2);
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 Py_INCREF(Py_None); resultobj = Py_None;
20722 return resultobj;
20723 fail:
20724 return NULL;
20725 }
20726
20727
20728 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20729 PyObject *resultobj;
20730 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20731 int arg2 ;
20732 PyObject * obj0 = 0 ;
20733 PyObject * obj1 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self",(char *) "side", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20741 arg2 = (int) SWIG_AsInt(obj1);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 (arg1)->SetHandleSide(arg2);
20746
20747 wxPyEndAllowThreads(__tstate);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 }
20750 Py_INCREF(Py_None); resultobj = Py_None;
20751 return resultobj;
20752 fail:
20753 return NULL;
20754 }
20755
20756
20757 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20758 PyObject *resultobj;
20759 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20760 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self",(char *) "shape", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 (arg1)->SetLeftSide(arg2);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 Py_INCREF(Py_None); resultobj = Py_None;
20780 return resultobj;
20781 fail:
20782 return NULL;
20783 }
20784
20785
20786 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20789 wxString *arg2 = 0 ;
20790 bool temp2 = False ;
20791 PyObject * obj0 = 0 ;
20792 PyObject * obj1 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "self",(char *) "colour", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
20798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20800 {
20801 arg2 = wxString_in_helper(obj1);
20802 if (arg2 == NULL) SWIG_fail;
20803 temp2 = True;
20804 }
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 (arg1)->SetLeftSideColour((wxString const &)*arg2);
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 Py_INCREF(Py_None); resultobj = Py_None;
20813 {
20814 if (temp2)
20815 delete arg2;
20816 }
20817 return resultobj;
20818 fail:
20819 {
20820 if (temp2)
20821 delete arg2;
20822 }
20823 return NULL;
20824 }
20825
20826
20827 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj;
20829 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20830 wxPen *arg2 = (wxPen *) 0 ;
20831 PyObject * obj0 = 0 ;
20832 PyObject * obj1 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self",(char *) "pen", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20840 {
20841 wxPen* temp;
20842 if (obj1) {
20843 if (obj1 == Py_None) {
20844 temp = NULL;
20845 }
20846 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20847 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20848 return NULL;
20849 }
20850 }
20851 if (temp)
20852 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20853 temp->GetWidth(),
20854 temp->GetStyle());
20855 else
20856 arg2 = NULL;
20857 }
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 (arg1)->SetLeftSidePen(arg2);
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 Py_INCREF(Py_None); resultobj = Py_None;
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20875 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20876 PyObject * obj0 = 0 ;
20877 PyObject * obj1 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self",(char *) "shape", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
20883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 (arg1)->SetRightSide(arg2);
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 Py_INCREF(Py_None); resultobj = Py_None;
20895 return resultobj;
20896 fail:
20897 return NULL;
20898 }
20899
20900
20901 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20902 PyObject *resultobj;
20903 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20904 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20905 PyObject * obj0 = 0 ;
20906 PyObject * obj1 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self",(char *) "shape", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20916 {
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 (arg1)->SetTopSide(arg2);
20919
20920 wxPyEndAllowThreads(__tstate);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 }
20923 Py_INCREF(Py_None); resultobj = Py_None;
20924 return resultobj;
20925 fail:
20926 return NULL;
20927 }
20928
20929
20930 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20931 PyObject *resultobj;
20932 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20933 wxString *arg2 = 0 ;
20934 bool temp2 = False ;
20935 PyObject * obj0 = 0 ;
20936 PyObject * obj1 = 0 ;
20937 char *kwnames[] = {
20938 (char *) "self",(char *) "colour", NULL
20939 };
20940
20941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
20942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20944 {
20945 arg2 = wxString_in_helper(obj1);
20946 if (arg2 == NULL) SWIG_fail;
20947 temp2 = True;
20948 }
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 (arg1)->SetTopSideColour((wxString const &)*arg2);
20952
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
20956 Py_INCREF(Py_None); resultobj = Py_None;
20957 {
20958 if (temp2)
20959 delete arg2;
20960 }
20961 return resultobj;
20962 fail:
20963 {
20964 if (temp2)
20965 delete arg2;
20966 }
20967 return NULL;
20968 }
20969
20970
20971 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20972 PyObject *resultobj;
20973 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20974 wxPen *arg2 = (wxPen *) 0 ;
20975 PyObject * obj0 = 0 ;
20976 PyObject * obj1 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self",(char *) "pen", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
20982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20984 {
20985 wxPen* temp;
20986 if (obj1) {
20987 if (obj1 == Py_None) {
20988 temp = NULL;
20989 }
20990 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20991 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20992 return NULL;
20993 }
20994 }
20995 if (temp)
20996 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20997 temp->GetWidth(),
20998 temp->GetStyle());
20999 else
21000 arg2 = NULL;
21001 }
21002 {
21003 PyThreadState* __tstate = wxPyBeginAllowThreads();
21004 (arg1)->SetTopSidePen(arg2);
21005
21006 wxPyEndAllowThreads(__tstate);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 }
21009 Py_INCREF(Py_None); resultobj = Py_None;
21010 return resultobj;
21011 fail:
21012 return NULL;
21013 }
21014
21015
21016 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj;
21018 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21019 PyObject * obj0 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
21025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 (arg1)->base_OnDelete();
21030
21031 wxPyEndAllowThreads(__tstate);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 Py_INCREF(Py_None); resultobj = Py_None;
21035 return resultobj;
21036 fail:
21037 return NULL;
21038 }
21039
21040
21041 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
21042 PyObject *resultobj;
21043 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21044 wxDC *arg2 = 0 ;
21045 PyObject * obj0 = 0 ;
21046 PyObject * obj1 = 0 ;
21047 char *kwnames[] = {
21048 (char *) "self",(char *) "dc", NULL
21049 };
21050
21051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
21052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21055 SWIG_POINTER_EXCEPTION | 0)) == -1)
21056 SWIG_fail;
21057 if (arg2 == NULL) {
21058 PyErr_SetString(PyExc_TypeError,"null reference");
21059 SWIG_fail;
21060 }
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 (arg1)->base_OnDraw(*arg2);
21064
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 Py_INCREF(Py_None); resultobj = Py_None;
21069 return resultobj;
21070 fail:
21071 return NULL;
21072 }
21073
21074
21075 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21076 PyObject *resultobj;
21077 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21078 wxDC *arg2 = 0 ;
21079 PyObject * obj0 = 0 ;
21080 PyObject * obj1 = 0 ;
21081 char *kwnames[] = {
21082 (char *) "self",(char *) "dc", NULL
21083 };
21084
21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21089 SWIG_POINTER_EXCEPTION | 0)) == -1)
21090 SWIG_fail;
21091 if (arg2 == NULL) {
21092 PyErr_SetString(PyExc_TypeError,"null reference");
21093 SWIG_fail;
21094 }
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 (arg1)->base_OnDrawContents(*arg2);
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 Py_INCREF(Py_None); resultobj = Py_None;
21103 return resultobj;
21104 fail:
21105 return NULL;
21106 }
21107
21108
21109 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
21110 PyObject *resultobj;
21111 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21112 wxDC *arg2 = 0 ;
21113 bool arg3 = (bool) FALSE ;
21114 PyObject * obj0 = 0 ;
21115 PyObject * obj1 = 0 ;
21116 PyObject * obj2 = 0 ;
21117 char *kwnames[] = {
21118 (char *) "self",(char *) "dc",(char *) "erase", NULL
21119 };
21120
21121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
21122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21125 SWIG_POINTER_EXCEPTION | 0)) == -1)
21126 SWIG_fail;
21127 if (arg2 == NULL) {
21128 PyErr_SetString(PyExc_TypeError,"null reference");
21129 SWIG_fail;
21130 }
21131 if (obj2) {
21132 arg3 = (bool) SWIG_AsBool(obj2);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 (arg1)->base_OnDrawBranches(*arg2,arg3);
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 Py_INCREF(Py_None); resultobj = Py_None;
21143 return resultobj;
21144 fail:
21145 return NULL;
21146 }
21147
21148
21149 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21152 wxDC *arg2 = 0 ;
21153 PyObject * obj0 = 0 ;
21154 PyObject * obj1 = 0 ;
21155 char *kwnames[] = {
21156 (char *) "self",(char *) "dc", NULL
21157 };
21158
21159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21163 SWIG_POINTER_EXCEPTION | 0)) == -1)
21164 SWIG_fail;
21165 if (arg2 == NULL) {
21166 PyErr_SetString(PyExc_TypeError,"null reference");
21167 SWIG_fail;
21168 }
21169 {
21170 PyThreadState* __tstate = wxPyBeginAllowThreads();
21171 (arg1)->base_OnMoveLinks(*arg2);
21172
21173 wxPyEndAllowThreads(__tstate);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 Py_INCREF(Py_None); resultobj = Py_None;
21177 return resultobj;
21178 fail:
21179 return NULL;
21180 }
21181
21182
21183 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj;
21185 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21186 wxDC *arg2 = 0 ;
21187 PyObject * obj0 = 0 ;
21188 PyObject * obj1 = 0 ;
21189 char *kwnames[] = {
21190 (char *) "self",(char *) "dc", NULL
21191 };
21192
21193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1)
21198 SWIG_fail;
21199 if (arg2 == NULL) {
21200 PyErr_SetString(PyExc_TypeError,"null reference");
21201 SWIG_fail;
21202 }
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 (arg1)->base_OnErase(*arg2);
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 Py_INCREF(Py_None); resultobj = Py_None;
21211 return resultobj;
21212 fail:
21213 return NULL;
21214 }
21215
21216
21217 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21218 PyObject *resultobj;
21219 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21220 wxDC *arg2 = 0 ;
21221 PyObject * obj0 = 0 ;
21222 PyObject * obj1 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self",(char *) "dc", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21231 SWIG_POINTER_EXCEPTION | 0)) == -1)
21232 SWIG_fail;
21233 if (arg2 == NULL) {
21234 PyErr_SetString(PyExc_TypeError,"null reference");
21235 SWIG_fail;
21236 }
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 (arg1)->base_OnEraseContents(*arg2);
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 Py_INCREF(Py_None); resultobj = Py_None;
21245 return resultobj;
21246 fail:
21247 return NULL;
21248 }
21249
21250
21251 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj;
21253 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21254 wxDC *arg2 = 0 ;
21255 PyObject * obj0 = 0 ;
21256 PyObject * obj1 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self",(char *) "dc", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21265 SWIG_POINTER_EXCEPTION | 0)) == -1)
21266 SWIG_fail;
21267 if (arg2 == NULL) {
21268 PyErr_SetString(PyExc_TypeError,"null reference");
21269 SWIG_fail;
21270 }
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 (arg1)->base_OnHighlight(*arg2);
21274
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 Py_INCREF(Py_None); resultobj = Py_None;
21279 return resultobj;
21280 fail:
21281 return NULL;
21282 }
21283
21284
21285 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21286 PyObject *resultobj;
21287 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21288 double arg2 ;
21289 double arg3 ;
21290 int arg4 = (int) 0 ;
21291 int arg5 = (int) 0 ;
21292 PyObject * obj0 = 0 ;
21293 PyObject * obj1 = 0 ;
21294 PyObject * obj2 = 0 ;
21295 PyObject * obj3 = 0 ;
21296 PyObject * obj4 = 0 ;
21297 char *kwnames[] = {
21298 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21299 };
21300
21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21304 arg2 = (double) SWIG_AsDouble(obj1);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 arg3 = (double) SWIG_AsDouble(obj2);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 if (obj3) {
21309 arg4 = (int) SWIG_AsInt(obj3);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 if (obj4) {
21313 arg5 = (int) SWIG_AsInt(obj4);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 }
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 Py_INCREF(Py_None); resultobj = Py_None;
21324 return resultobj;
21325 fail:
21326 return NULL;
21327 }
21328
21329
21330 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21331 PyObject *resultobj;
21332 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21333 double arg2 ;
21334 double arg3 ;
21335 int arg4 = (int) 0 ;
21336 int arg5 = (int) 0 ;
21337 PyObject * obj0 = 0 ;
21338 PyObject * obj1 = 0 ;
21339 PyObject * obj2 = 0 ;
21340 PyObject * obj3 = 0 ;
21341 PyObject * obj4 = 0 ;
21342 char *kwnames[] = {
21343 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21344 };
21345
21346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21349 arg2 = (double) SWIG_AsDouble(obj1);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 arg3 = (double) SWIG_AsDouble(obj2);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 if (obj3) {
21354 arg4 = (int) SWIG_AsInt(obj3);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 if (obj4) {
21358 arg5 = (int) SWIG_AsInt(obj4);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 Py_INCREF(Py_None); resultobj = Py_None;
21369 return resultobj;
21370 fail:
21371 return NULL;
21372 }
21373
21374
21375 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj;
21377 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21378 double arg2 ;
21379 double arg3 ;
21380 int arg4 = (int) 0 ;
21381 int arg5 = (int) 0 ;
21382 PyObject * obj0 = 0 ;
21383 PyObject * obj1 = 0 ;
21384 PyObject * obj2 = 0 ;
21385 PyObject * obj3 = 0 ;
21386 PyObject * obj4 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21394 arg2 = (double) SWIG_AsDouble(obj1);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 arg3 = (double) SWIG_AsDouble(obj2);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 if (obj3) {
21399 arg4 = (int) SWIG_AsInt(obj3);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 if (obj4) {
21403 arg5 = (int) SWIG_AsInt(obj4);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21409
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 Py_INCREF(Py_None); resultobj = Py_None;
21414 return resultobj;
21415 fail:
21416 return NULL;
21417 }
21418
21419
21420 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21421 PyObject *resultobj;
21422 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21423 double arg2 ;
21424 double arg3 ;
21425 PyObject * obj0 = 0 ;
21426 PyObject * obj1 = 0 ;
21427 PyObject * obj2 = 0 ;
21428 char *kwnames[] = {
21429 (char *) "self",(char *) "x",(char *) "y", NULL
21430 };
21431
21432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
21433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21435 arg2 = (double) SWIG_AsDouble(obj1);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 arg3 = (double) SWIG_AsDouble(obj2);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 {
21440 PyThreadState* __tstate = wxPyBeginAllowThreads();
21441 (arg1)->base_OnSize(arg2,arg3);
21442
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 Py_INCREF(Py_None); resultobj = Py_None;
21447 return resultobj;
21448 fail:
21449 return NULL;
21450 }
21451
21452
21453 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21454 PyObject *resultobj;
21455 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21456 wxDC *arg2 = 0 ;
21457 double arg3 ;
21458 double arg4 ;
21459 double arg5 ;
21460 double arg6 ;
21461 bool arg7 = (bool) True ;
21462 bool result;
21463 PyObject * obj0 = 0 ;
21464 PyObject * obj1 = 0 ;
21465 PyObject * obj2 = 0 ;
21466 PyObject * obj3 = 0 ;
21467 PyObject * obj4 = 0 ;
21468 PyObject * obj5 = 0 ;
21469 PyObject * obj6 = 0 ;
21470 char *kwnames[] = {
21471 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21472 };
21473
21474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21478 SWIG_POINTER_EXCEPTION | 0)) == -1)
21479 SWIG_fail;
21480 if (arg2 == NULL) {
21481 PyErr_SetString(PyExc_TypeError,"null reference");
21482 SWIG_fail;
21483 }
21484 arg3 = (double) SWIG_AsDouble(obj2);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 arg4 = (double) SWIG_AsDouble(obj3);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 arg5 = (double) SWIG_AsDouble(obj4);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 arg6 = (double) SWIG_AsDouble(obj5);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 if (obj6) {
21493 arg7 = (bool) SWIG_AsBool(obj6);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 {
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21499
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 {
21504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21505 }
21506 return resultobj;
21507 fail:
21508 return NULL;
21509 }
21510
21511
21512 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21513 PyObject *resultobj;
21514 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21515 wxDC *arg2 = 0 ;
21516 double arg3 ;
21517 double arg4 ;
21518 double arg5 ;
21519 double arg6 ;
21520 bool arg7 = (bool) True ;
21521 PyObject * obj0 = 0 ;
21522 PyObject * obj1 = 0 ;
21523 PyObject * obj2 = 0 ;
21524 PyObject * obj3 = 0 ;
21525 PyObject * obj4 = 0 ;
21526 PyObject * obj5 = 0 ;
21527 PyObject * obj6 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21536 SWIG_POINTER_EXCEPTION | 0)) == -1)
21537 SWIG_fail;
21538 if (arg2 == NULL) {
21539 PyErr_SetString(PyExc_TypeError,"null reference");
21540 SWIG_fail;
21541 }
21542 arg3 = (double) SWIG_AsDouble(obj2);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 arg4 = (double) SWIG_AsDouble(obj3);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 arg5 = (double) SWIG_AsDouble(obj4);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 arg6 = (double) SWIG_AsDouble(obj5);
21549 if (PyErr_Occurred()) SWIG_fail;
21550 if (obj6) {
21551 arg7 = (bool) SWIG_AsBool(obj6);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 {
21555 PyThreadState* __tstate = wxPyBeginAllowThreads();
21556 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21557
21558 wxPyEndAllowThreads(__tstate);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
21561 Py_INCREF(Py_None); resultobj = Py_None;
21562 return resultobj;
21563 fail:
21564 return NULL;
21565 }
21566
21567
21568 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21569 PyObject *resultobj;
21570 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21571 bool arg2 ;
21572 double arg3 ;
21573 double arg4 ;
21574 int arg5 = (int) 0 ;
21575 int arg6 = (int) 0 ;
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 PyObject * obj2 = 0 ;
21579 PyObject * obj3 = 0 ;
21580 PyObject * obj4 = 0 ;
21581 PyObject * obj5 = 0 ;
21582 char *kwnames[] = {
21583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21584 };
21585
21586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21589 arg2 = (bool) SWIG_AsBool(obj1);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 arg3 = (double) SWIG_AsDouble(obj2);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 arg4 = (double) SWIG_AsDouble(obj3);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 if (obj4) {
21596 arg5 = (int) SWIG_AsInt(obj4);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 if (obj5) {
21600 arg6 = (int) SWIG_AsInt(obj5);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 Py_INCREF(Py_None); resultobj = Py_None;
21611 return resultobj;
21612 fail:
21613 return NULL;
21614 }
21615
21616
21617 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj;
21619 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21620 double arg2 ;
21621 double arg3 ;
21622 int arg4 = (int) 0 ;
21623 int arg5 = (int) 0 ;
21624 PyObject * obj0 = 0 ;
21625 PyObject * obj1 = 0 ;
21626 PyObject * obj2 = 0 ;
21627 PyObject * obj3 = 0 ;
21628 PyObject * obj4 = 0 ;
21629 char *kwnames[] = {
21630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21631 };
21632
21633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21636 arg2 = (double) SWIG_AsDouble(obj1);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 arg3 = (double) SWIG_AsDouble(obj2);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 if (obj3) {
21641 arg4 = (int) SWIG_AsInt(obj3);
21642 if (PyErr_Occurred()) SWIG_fail;
21643 }
21644 if (obj4) {
21645 arg5 = (int) SWIG_AsInt(obj4);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21651
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 Py_INCREF(Py_None); resultobj = Py_None;
21656 return resultobj;
21657 fail:
21658 return NULL;
21659 }
21660
21661
21662 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21663 PyObject *resultobj;
21664 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21665 double arg2 ;
21666 double arg3 ;
21667 int arg4 = (int) 0 ;
21668 int arg5 = (int) 0 ;
21669 PyObject * obj0 = 0 ;
21670 PyObject * obj1 = 0 ;
21671 PyObject * obj2 = 0 ;
21672 PyObject * obj3 = 0 ;
21673 PyObject * obj4 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21681 arg2 = (double) SWIG_AsDouble(obj1);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 arg3 = (double) SWIG_AsDouble(obj2);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 if (obj3) {
21686 arg4 = (int) SWIG_AsInt(obj3);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 if (obj4) {
21690 arg5 = (int) SWIG_AsInt(obj4);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
21696
21697 wxPyEndAllowThreads(__tstate);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 }
21700 Py_INCREF(Py_None); resultobj = Py_None;
21701 return resultobj;
21702 fail:
21703 return NULL;
21704 }
21705
21706
21707 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21708 PyObject *resultobj;
21709 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21710 bool arg2 ;
21711 double arg3 ;
21712 double arg4 ;
21713 int arg5 = (int) 0 ;
21714 int arg6 = (int) 0 ;
21715 PyObject * obj0 = 0 ;
21716 PyObject * obj1 = 0 ;
21717 PyObject * obj2 = 0 ;
21718 PyObject * obj3 = 0 ;
21719 PyObject * obj4 = 0 ;
21720 PyObject * obj5 = 0 ;
21721 char *kwnames[] = {
21722 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21723 };
21724
21725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21728 arg2 = (bool) SWIG_AsBool(obj1);
21729 if (PyErr_Occurred()) SWIG_fail;
21730 arg3 = (double) SWIG_AsDouble(obj2);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 arg4 = (double) SWIG_AsDouble(obj3);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 if (obj4) {
21735 arg5 = (int) SWIG_AsInt(obj4);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 if (obj5) {
21739 arg6 = (int) SWIG_AsInt(obj5);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 {
21743 PyThreadState* __tstate = wxPyBeginAllowThreads();
21744 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
21745
21746 wxPyEndAllowThreads(__tstate);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 }
21749 Py_INCREF(Py_None); resultobj = Py_None;
21750 return resultobj;
21751 fail:
21752 return NULL;
21753 }
21754
21755
21756 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21757 PyObject *resultobj;
21758 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21759 double arg2 ;
21760 double arg3 ;
21761 int arg4 = (int) 0 ;
21762 int arg5 = (int) 0 ;
21763 PyObject * obj0 = 0 ;
21764 PyObject * obj1 = 0 ;
21765 PyObject * obj2 = 0 ;
21766 PyObject * obj3 = 0 ;
21767 PyObject * obj4 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21775 arg2 = (double) SWIG_AsDouble(obj1);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 arg3 = (double) SWIG_AsDouble(obj2);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 if (obj3) {
21780 arg4 = (int) SWIG_AsInt(obj3);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 if (obj4) {
21784 arg5 = (int) SWIG_AsInt(obj4);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 Py_INCREF(Py_None); resultobj = Py_None;
21795 return resultobj;
21796 fail:
21797 return NULL;
21798 }
21799
21800
21801 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21802 PyObject *resultobj;
21803 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21804 double arg2 ;
21805 double arg3 ;
21806 int arg4 = (int) 0 ;
21807 int arg5 = (int) 0 ;
21808 PyObject * obj0 = 0 ;
21809 PyObject * obj1 = 0 ;
21810 PyObject * obj2 = 0 ;
21811 PyObject * obj3 = 0 ;
21812 PyObject * obj4 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21815 };
21816
21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21820 arg2 = (double) SWIG_AsDouble(obj1);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 arg3 = (double) SWIG_AsDouble(obj2);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 if (obj3) {
21825 arg4 = (int) SWIG_AsInt(obj3);
21826 if (PyErr_Occurred()) SWIG_fail;
21827 }
21828 if (obj4) {
21829 arg5 = (int) SWIG_AsInt(obj4);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 Py_INCREF(Py_None); resultobj = Py_None;
21840 return resultobj;
21841 fail:
21842 return NULL;
21843 }
21844
21845
21846 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21849 wxDC *arg2 = 0 ;
21850 double arg3 ;
21851 double arg4 ;
21852 double arg5 ;
21853 double arg6 ;
21854 PyObject * obj0 = 0 ;
21855 PyObject * obj1 = 0 ;
21856 PyObject * obj2 = 0 ;
21857 PyObject * obj3 = 0 ;
21858 PyObject * obj4 = 0 ;
21859 PyObject * obj5 = 0 ;
21860 char *kwnames[] = {
21861 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21868 SWIG_POINTER_EXCEPTION | 0)) == -1)
21869 SWIG_fail;
21870 if (arg2 == NULL) {
21871 PyErr_SetString(PyExc_TypeError,"null reference");
21872 SWIG_fail;
21873 }
21874 arg3 = (double) SWIG_AsDouble(obj2);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 arg4 = (double) SWIG_AsDouble(obj3);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 arg5 = (double) SWIG_AsDouble(obj4);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 arg6 = (double) SWIG_AsDouble(obj5);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 Py_INCREF(Py_None); resultobj = Py_None;
21890 return resultobj;
21891 fail:
21892 return NULL;
21893 }
21894
21895
21896 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21897 PyObject *resultobj;
21898 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21899 wxDC *arg2 = 0 ;
21900 PyObject * obj0 = 0 ;
21901 PyObject * obj1 = 0 ;
21902 char *kwnames[] = {
21903 (char *) "self",(char *) "dc", NULL
21904 };
21905
21906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
21907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21910 SWIG_POINTER_EXCEPTION | 0)) == -1)
21911 SWIG_fail;
21912 if (arg2 == NULL) {
21913 PyErr_SetString(PyExc_TypeError,"null reference");
21914 SWIG_fail;
21915 }
21916 {
21917 PyThreadState* __tstate = wxPyBeginAllowThreads();
21918 (arg1)->base_OnDrawControlPoints(*arg2);
21919
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
21923 Py_INCREF(Py_None); resultobj = Py_None;
21924 return resultobj;
21925 fail:
21926 return NULL;
21927 }
21928
21929
21930 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21931 PyObject *resultobj;
21932 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21933 wxDC *arg2 = 0 ;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "dc", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
21941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21944 SWIG_POINTER_EXCEPTION | 0)) == -1)
21945 SWIG_fail;
21946 if (arg2 == NULL) {
21947 PyErr_SetString(PyExc_TypeError,"null reference");
21948 SWIG_fail;
21949 }
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 (arg1)->base_OnEraseControlPoints(*arg2);
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 Py_INCREF(Py_None); resultobj = Py_None;
21958 return resultobj;
21959 fail:
21960 return NULL;
21961 }
21962
21963
21964 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj;
21966 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21967 wxDC *arg2 = 0 ;
21968 bool arg3 = (bool) True ;
21969 PyObject * obj0 = 0 ;
21970 PyObject * obj1 = 0 ;
21971 PyObject * obj2 = 0 ;
21972 char *kwnames[] = {
21973 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21974 };
21975
21976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
21977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21980 SWIG_POINTER_EXCEPTION | 0)) == -1)
21981 SWIG_fail;
21982 if (arg2 == NULL) {
21983 PyErr_SetString(PyExc_TypeError,"null reference");
21984 SWIG_fail;
21985 }
21986 if (obj2) {
21987 arg3 = (bool) SWIG_AsBool(obj2);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
21990 {
21991 PyThreadState* __tstate = wxPyBeginAllowThreads();
21992 (arg1)->base_OnMoveLink(*arg2,arg3);
21993
21994 wxPyEndAllowThreads(__tstate);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 }
21997 Py_INCREF(Py_None); resultobj = Py_None;
21998 return resultobj;
21999 fail:
22000 return NULL;
22001 }
22002
22003
22004 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22005 PyObject *resultobj;
22006 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22007 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22008 bool arg3 ;
22009 double arg4 ;
22010 double arg5 ;
22011 int arg6 = (int) 0 ;
22012 int arg7 = (int) 0 ;
22013 PyObject * obj0 = 0 ;
22014 PyObject * obj1 = 0 ;
22015 PyObject * obj2 = 0 ;
22016 PyObject * obj3 = 0 ;
22017 PyObject * obj4 = 0 ;
22018 PyObject * obj5 = 0 ;
22019 PyObject * obj6 = 0 ;
22020 char *kwnames[] = {
22021 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22022 };
22023
22024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22029 arg3 = (bool) SWIG_AsBool(obj2);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 arg4 = (double) SWIG_AsDouble(obj3);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 arg5 = (double) SWIG_AsDouble(obj4);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 if (obj5) {
22036 arg6 = (int) SWIG_AsInt(obj5);
22037 if (PyErr_Occurred()) SWIG_fail;
22038 }
22039 if (obj6) {
22040 arg7 = (int) SWIG_AsInt(obj6);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 {
22044 PyThreadState* __tstate = wxPyBeginAllowThreads();
22045 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22046
22047 wxPyEndAllowThreads(__tstate);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 }
22050 Py_INCREF(Py_None); resultobj = Py_None;
22051 return resultobj;
22052 fail:
22053 return NULL;
22054 }
22055
22056
22057 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22060 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22061 double arg3 ;
22062 double arg4 ;
22063 int arg5 = (int) 0 ;
22064 int arg6 = (int) 0 ;
22065 PyObject * obj0 = 0 ;
22066 PyObject * obj1 = 0 ;
22067 PyObject * obj2 = 0 ;
22068 PyObject * obj3 = 0 ;
22069 PyObject * obj4 = 0 ;
22070 PyObject * obj5 = 0 ;
22071 char *kwnames[] = {
22072 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22073 };
22074
22075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22080 arg3 = (double) SWIG_AsDouble(obj2);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 arg4 = (double) SWIG_AsDouble(obj3);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 if (obj4) {
22085 arg5 = (int) SWIG_AsInt(obj4);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
22088 if (obj5) {
22089 arg6 = (int) SWIG_AsInt(obj5);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 Py_INCREF(Py_None); resultobj = Py_None;
22100 return resultobj;
22101 fail:
22102 return NULL;
22103 }
22104
22105
22106 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22107 PyObject *resultobj;
22108 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22109 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22110 double arg3 ;
22111 double arg4 ;
22112 int arg5 = (int) 0 ;
22113 int arg6 = (int) 0 ;
22114 PyObject * obj0 = 0 ;
22115 PyObject * obj1 = 0 ;
22116 PyObject * obj2 = 0 ;
22117 PyObject * obj3 = 0 ;
22118 PyObject * obj4 = 0 ;
22119 PyObject * obj5 = 0 ;
22120 char *kwnames[] = {
22121 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22122 };
22123
22124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22129 arg3 = (double) SWIG_AsDouble(obj2);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 arg4 = (double) SWIG_AsDouble(obj3);
22132 if (PyErr_Occurred()) SWIG_fail;
22133 if (obj4) {
22134 arg5 = (int) SWIG_AsInt(obj4);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 if (obj5) {
22138 arg6 = (int) SWIG_AsInt(obj5);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 {
22142 PyThreadState* __tstate = wxPyBeginAllowThreads();
22143 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22144
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 Py_INCREF(Py_None); resultobj = Py_None;
22149 return resultobj;
22150 fail:
22151 return NULL;
22152 }
22153
22154
22155 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj;
22157 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22158 double arg2 ;
22159 double arg3 ;
22160 PyObject * obj0 = 0 ;
22161 PyObject * obj1 = 0 ;
22162 PyObject * obj2 = 0 ;
22163 char *kwnames[] = {
22164 (char *) "self",(char *) "w",(char *) "h", NULL
22165 };
22166
22167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22170 arg2 = (double) SWIG_AsDouble(obj1);
22171 if (PyErr_Occurred()) SWIG_fail;
22172 arg3 = (double) SWIG_AsDouble(obj2);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 (arg1)->base_OnBeginSize(arg2,arg3);
22177
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 Py_INCREF(Py_None); resultobj = Py_None;
22182 return resultobj;
22183 fail:
22184 return NULL;
22185 }
22186
22187
22188 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22189 PyObject *resultobj;
22190 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22191 double arg2 ;
22192 double arg3 ;
22193 PyObject * obj0 = 0 ;
22194 PyObject * obj1 = 0 ;
22195 PyObject * obj2 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self",(char *) "w",(char *) "h", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22203 arg2 = (double) SWIG_AsDouble(obj1);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 arg3 = (double) SWIG_AsDouble(obj2);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 {
22208 PyThreadState* __tstate = wxPyBeginAllowThreads();
22209 (arg1)->base_OnEndSize(arg2,arg3);
22210
22211 wxPyEndAllowThreads(__tstate);
22212 if (PyErr_Occurred()) SWIG_fail;
22213 }
22214 Py_INCREF(Py_None); resultobj = Py_None;
22215 return resultobj;
22216 fail:
22217 return NULL;
22218 }
22219
22220
22221 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
22222 PyObject *obj;
22223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22224 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22225 Py_INCREF(obj);
22226 return Py_BuildValue((char *)"");
22227 }
22228 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 double arg1 = (double) 0.0 ;
22231 double arg2 = (double) 0.0 ;
22232 wxPyEllipseShape *result;
22233 PyObject * obj0 = 0 ;
22234 PyObject * obj1 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "width",(char *) "height", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22240 if (obj0) {
22241 arg1 = (double) SWIG_AsDouble(obj0);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 if (obj1) {
22245 arg2 = (double) SWIG_AsDouble(obj1);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22251
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
22256 return resultobj;
22257 fail:
22258 return NULL;
22259 }
22260
22261
22262 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj;
22264 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22265 PyObject *arg2 = (PyObject *) 0 ;
22266 PyObject *arg3 = (PyObject *) 0 ;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 PyObject * obj2 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self",(char *) "self",(char *) "_class", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22277 arg2 = obj1;
22278 arg3 = obj2;
22279 {
22280 PyThreadState* __tstate = wxPyBeginAllowThreads();
22281 (arg1)->_setCallbackInfo(arg2,arg3);
22282
22283 wxPyEndAllowThreads(__tstate);
22284 if (PyErr_Occurred()) SWIG_fail;
22285 }
22286 Py_INCREF(Py_None); resultobj = Py_None;
22287 return resultobj;
22288 fail:
22289 return NULL;
22290 }
22291
22292
22293 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22296 wxDC *arg2 = 0 ;
22297 PyObject * obj0 = 0 ;
22298 PyObject * obj1 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "self",(char *) "dc", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22307 SWIG_POINTER_EXCEPTION | 0)) == -1)
22308 SWIG_fail;
22309 if (arg2 == NULL) {
22310 PyErr_SetString(PyExc_TypeError,"null reference");
22311 SWIG_fail;
22312 }
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 (arg1)->base_OnDraw(*arg2);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 Py_INCREF(Py_None); resultobj = Py_None;
22321 return resultobj;
22322 fail:
22323 return NULL;
22324 }
22325
22326
22327 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22328 PyObject *resultobj;
22329 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22330 wxDC *arg2 = 0 ;
22331 PyObject * obj0 = 0 ;
22332 PyObject * obj1 = 0 ;
22333 char *kwnames[] = {
22334 (char *) "self",(char *) "dc", NULL
22335 };
22336
22337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1)
22342 SWIG_fail;
22343 if (arg2 == NULL) {
22344 PyErr_SetString(PyExc_TypeError,"null reference");
22345 SWIG_fail;
22346 }
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 (arg1)->base_OnDrawContents(*arg2);
22350
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 Py_INCREF(Py_None); resultobj = Py_None;
22355 return resultobj;
22356 fail:
22357 return NULL;
22358 }
22359
22360
22361 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22362 PyObject *resultobj;
22363 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22364 wxDC *arg2 = 0 ;
22365 bool arg3 = (bool) FALSE ;
22366 PyObject * obj0 = 0 ;
22367 PyObject * obj1 = 0 ;
22368 PyObject * obj2 = 0 ;
22369 char *kwnames[] = {
22370 (char *) "self",(char *) "dc",(char *) "erase", NULL
22371 };
22372
22373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22377 SWIG_POINTER_EXCEPTION | 0)) == -1)
22378 SWIG_fail;
22379 if (arg2 == NULL) {
22380 PyErr_SetString(PyExc_TypeError,"null reference");
22381 SWIG_fail;
22382 }
22383 if (obj2) {
22384 arg3 = (bool) SWIG_AsBool(obj2);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 (arg1)->base_OnDrawBranches(*arg2,arg3);
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 Py_INCREF(Py_None); resultobj = Py_None;
22395 return resultobj;
22396 fail:
22397 return NULL;
22398 }
22399
22400
22401 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj;
22403 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22404 wxDC *arg2 = 0 ;
22405 PyObject * obj0 = 0 ;
22406 PyObject * obj1 = 0 ;
22407 char *kwnames[] = {
22408 (char *) "self",(char *) "dc", NULL
22409 };
22410
22411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1)
22416 SWIG_fail;
22417 if (arg2 == NULL) {
22418 PyErr_SetString(PyExc_TypeError,"null reference");
22419 SWIG_fail;
22420 }
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 (arg1)->base_OnMoveLinks(*arg2);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 Py_INCREF(Py_None); resultobj = Py_None;
22429 return resultobj;
22430 fail:
22431 return NULL;
22432 }
22433
22434
22435 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22436 PyObject *resultobj;
22437 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22438 wxDC *arg2 = 0 ;
22439 PyObject * obj0 = 0 ;
22440 PyObject * obj1 = 0 ;
22441 char *kwnames[] = {
22442 (char *) "self",(char *) "dc", NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22449 SWIG_POINTER_EXCEPTION | 0)) == -1)
22450 SWIG_fail;
22451 if (arg2 == NULL) {
22452 PyErr_SetString(PyExc_TypeError,"null reference");
22453 SWIG_fail;
22454 }
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 (arg1)->base_OnErase(*arg2);
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 Py_INCREF(Py_None); resultobj = Py_None;
22463 return resultobj;
22464 fail:
22465 return NULL;
22466 }
22467
22468
22469 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22470 PyObject *resultobj;
22471 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22472 wxDC *arg2 = 0 ;
22473 PyObject * obj0 = 0 ;
22474 PyObject * obj1 = 0 ;
22475 char *kwnames[] = {
22476 (char *) "self",(char *) "dc", NULL
22477 };
22478
22479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22483 SWIG_POINTER_EXCEPTION | 0)) == -1)
22484 SWIG_fail;
22485 if (arg2 == NULL) {
22486 PyErr_SetString(PyExc_TypeError,"null reference");
22487 SWIG_fail;
22488 }
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 (arg1)->base_OnEraseContents(*arg2);
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 Py_INCREF(Py_None); resultobj = Py_None;
22497 return resultobj;
22498 fail:
22499 return NULL;
22500 }
22501
22502
22503 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj;
22505 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22506 wxDC *arg2 = 0 ;
22507 PyObject * obj0 = 0 ;
22508 PyObject * obj1 = 0 ;
22509 char *kwnames[] = {
22510 (char *) "self",(char *) "dc", NULL
22511 };
22512
22513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22517 SWIG_POINTER_EXCEPTION | 0)) == -1)
22518 SWIG_fail;
22519 if (arg2 == NULL) {
22520 PyErr_SetString(PyExc_TypeError,"null reference");
22521 SWIG_fail;
22522 }
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 (arg1)->base_OnHighlight(*arg2);
22526
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 Py_INCREF(Py_None); resultobj = Py_None;
22531 return resultobj;
22532 fail:
22533 return NULL;
22534 }
22535
22536
22537 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22538 PyObject *resultobj;
22539 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22540 double arg2 ;
22541 double arg3 ;
22542 int arg4 = (int) 0 ;
22543 int arg5 = (int) 0 ;
22544 PyObject * obj0 = 0 ;
22545 PyObject * obj1 = 0 ;
22546 PyObject * obj2 = 0 ;
22547 PyObject * obj3 = 0 ;
22548 PyObject * obj4 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22556 arg2 = (double) SWIG_AsDouble(obj1);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 arg3 = (double) SWIG_AsDouble(obj2);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 if (obj3) {
22561 arg4 = (int) SWIG_AsInt(obj3);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 if (obj4) {
22565 arg5 = (int) SWIG_AsInt(obj4);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22571
22572 wxPyEndAllowThreads(__tstate);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 }
22575 Py_INCREF(Py_None); resultobj = Py_None;
22576 return resultobj;
22577 fail:
22578 return NULL;
22579 }
22580
22581
22582 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22583 PyObject *resultobj;
22584 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22585 double arg2 ;
22586 double arg3 ;
22587 int arg4 = (int) 0 ;
22588 int arg5 = (int) 0 ;
22589 PyObject * obj0 = 0 ;
22590 PyObject * obj1 = 0 ;
22591 PyObject * obj2 = 0 ;
22592 PyObject * obj3 = 0 ;
22593 PyObject * obj4 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22601 arg2 = (double) SWIG_AsDouble(obj1);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 arg3 = (double) SWIG_AsDouble(obj2);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 if (obj3) {
22606 arg4 = (int) SWIG_AsInt(obj3);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
22609 if (obj4) {
22610 arg5 = (int) SWIG_AsInt(obj4);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 Py_INCREF(Py_None); resultobj = Py_None;
22621 return resultobj;
22622 fail:
22623 return NULL;
22624 }
22625
22626
22627 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22628 PyObject *resultobj;
22629 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22630 double arg2 ;
22631 double arg3 ;
22632 int arg4 = (int) 0 ;
22633 int arg5 = (int) 0 ;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 PyObject * obj2 = 0 ;
22637 PyObject * obj3 = 0 ;
22638 PyObject * obj4 = 0 ;
22639 char *kwnames[] = {
22640 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22641 };
22642
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22646 arg2 = (double) SWIG_AsDouble(obj1);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 arg3 = (double) SWIG_AsDouble(obj2);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 if (obj3) {
22651 arg4 = (int) SWIG_AsInt(obj3);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 if (obj4) {
22655 arg5 = (int) SWIG_AsInt(obj4);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 Py_INCREF(Py_None); resultobj = Py_None;
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22675 double arg2 ;
22676 double arg3 ;
22677 PyObject * obj0 = 0 ;
22678 PyObject * obj1 = 0 ;
22679 PyObject * obj2 = 0 ;
22680 char *kwnames[] = {
22681 (char *) "self",(char *) "x",(char *) "y", NULL
22682 };
22683
22684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22687 arg2 = (double) SWIG_AsDouble(obj1);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 arg3 = (double) SWIG_AsDouble(obj2);
22690 if (PyErr_Occurred()) SWIG_fail;
22691 {
22692 PyThreadState* __tstate = wxPyBeginAllowThreads();
22693 (arg1)->base_OnSize(arg2,arg3);
22694
22695 wxPyEndAllowThreads(__tstate);
22696 if (PyErr_Occurred()) SWIG_fail;
22697 }
22698 Py_INCREF(Py_None); resultobj = Py_None;
22699 return resultobj;
22700 fail:
22701 return NULL;
22702 }
22703
22704
22705 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22706 PyObject *resultobj;
22707 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22708 wxDC *arg2 = 0 ;
22709 double arg3 ;
22710 double arg4 ;
22711 double arg5 ;
22712 double arg6 ;
22713 bool arg7 = (bool) True ;
22714 bool result;
22715 PyObject * obj0 = 0 ;
22716 PyObject * obj1 = 0 ;
22717 PyObject * obj2 = 0 ;
22718 PyObject * obj3 = 0 ;
22719 PyObject * obj4 = 0 ;
22720 PyObject * obj5 = 0 ;
22721 PyObject * obj6 = 0 ;
22722 char *kwnames[] = {
22723 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22724 };
22725
22726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22730 SWIG_POINTER_EXCEPTION | 0)) == -1)
22731 SWIG_fail;
22732 if (arg2 == NULL) {
22733 PyErr_SetString(PyExc_TypeError,"null reference");
22734 SWIG_fail;
22735 }
22736 arg3 = (double) SWIG_AsDouble(obj2);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 arg4 = (double) SWIG_AsDouble(obj3);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 arg5 = (double) SWIG_AsDouble(obj4);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 arg6 = (double) SWIG_AsDouble(obj5);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 if (obj6) {
22745 arg7 = (bool) SWIG_AsBool(obj6);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 {
22756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22757 }
22758 return resultobj;
22759 fail:
22760 return NULL;
22761 }
22762
22763
22764 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj;
22766 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22767 wxDC *arg2 = 0 ;
22768 double arg3 ;
22769 double arg4 ;
22770 double arg5 ;
22771 double arg6 ;
22772 bool arg7 = (bool) True ;
22773 PyObject * obj0 = 0 ;
22774 PyObject * obj1 = 0 ;
22775 PyObject * obj2 = 0 ;
22776 PyObject * obj3 = 0 ;
22777 PyObject * obj4 = 0 ;
22778 PyObject * obj5 = 0 ;
22779 PyObject * obj6 = 0 ;
22780 char *kwnames[] = {
22781 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22782 };
22783
22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22788 SWIG_POINTER_EXCEPTION | 0)) == -1)
22789 SWIG_fail;
22790 if (arg2 == NULL) {
22791 PyErr_SetString(PyExc_TypeError,"null reference");
22792 SWIG_fail;
22793 }
22794 arg3 = (double) SWIG_AsDouble(obj2);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 arg4 = (double) SWIG_AsDouble(obj3);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 arg5 = (double) SWIG_AsDouble(obj4);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 arg6 = (double) SWIG_AsDouble(obj5);
22801 if (PyErr_Occurred()) SWIG_fail;
22802 if (obj6) {
22803 arg7 = (bool) SWIG_AsBool(obj6);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22809
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
22813 Py_INCREF(Py_None); resultobj = Py_None;
22814 return resultobj;
22815 fail:
22816 return NULL;
22817 }
22818
22819
22820 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22823 bool arg2 ;
22824 double arg3 ;
22825 double arg4 ;
22826 int arg5 = (int) 0 ;
22827 int arg6 = (int) 0 ;
22828 PyObject * obj0 = 0 ;
22829 PyObject * obj1 = 0 ;
22830 PyObject * obj2 = 0 ;
22831 PyObject * obj3 = 0 ;
22832 PyObject * obj4 = 0 ;
22833 PyObject * obj5 = 0 ;
22834 char *kwnames[] = {
22835 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22836 };
22837
22838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22841 arg2 = (bool) SWIG_AsBool(obj1);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 arg3 = (double) SWIG_AsDouble(obj2);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 arg4 = (double) SWIG_AsDouble(obj3);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 if (obj4) {
22848 arg5 = (int) SWIG_AsInt(obj4);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
22851 if (obj5) {
22852 arg6 = (int) SWIG_AsInt(obj5);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 }
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 Py_INCREF(Py_None); resultobj = Py_None;
22863 return resultobj;
22864 fail:
22865 return NULL;
22866 }
22867
22868
22869 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22870 PyObject *resultobj;
22871 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22872 double arg2 ;
22873 double arg3 ;
22874 int arg4 = (int) 0 ;
22875 int arg5 = (int) 0 ;
22876 PyObject * obj0 = 0 ;
22877 PyObject * obj1 = 0 ;
22878 PyObject * obj2 = 0 ;
22879 PyObject * obj3 = 0 ;
22880 PyObject * obj4 = 0 ;
22881 char *kwnames[] = {
22882 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22883 };
22884
22885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22888 arg2 = (double) SWIG_AsDouble(obj1);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 arg3 = (double) SWIG_AsDouble(obj2);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 if (obj3) {
22893 arg4 = (int) SWIG_AsInt(obj3);
22894 if (PyErr_Occurred()) SWIG_fail;
22895 }
22896 if (obj4) {
22897 arg5 = (int) SWIG_AsInt(obj4);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 Py_INCREF(Py_None); resultobj = Py_None;
22908 return resultobj;
22909 fail:
22910 return NULL;
22911 }
22912
22913
22914 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj;
22916 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22917 double arg2 ;
22918 double arg3 ;
22919 int arg4 = (int) 0 ;
22920 int arg5 = (int) 0 ;
22921 PyObject * obj0 = 0 ;
22922 PyObject * obj1 = 0 ;
22923 PyObject * obj2 = 0 ;
22924 PyObject * obj3 = 0 ;
22925 PyObject * obj4 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22933 arg2 = (double) SWIG_AsDouble(obj1);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 arg3 = (double) SWIG_AsDouble(obj2);
22936 if (PyErr_Occurred()) SWIG_fail;
22937 if (obj3) {
22938 arg4 = (int) SWIG_AsInt(obj3);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 if (obj4) {
22942 arg5 = (int) SWIG_AsInt(obj4);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22948
22949 wxPyEndAllowThreads(__tstate);
22950 if (PyErr_Occurred()) SWIG_fail;
22951 }
22952 Py_INCREF(Py_None); resultobj = Py_None;
22953 return resultobj;
22954 fail:
22955 return NULL;
22956 }
22957
22958
22959 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22960 PyObject *resultobj;
22961 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22962 bool arg2 ;
22963 double arg3 ;
22964 double arg4 ;
22965 int arg5 = (int) 0 ;
22966 int arg6 = (int) 0 ;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969 PyObject * obj2 = 0 ;
22970 PyObject * obj3 = 0 ;
22971 PyObject * obj4 = 0 ;
22972 PyObject * obj5 = 0 ;
22973 char *kwnames[] = {
22974 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22975 };
22976
22977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22980 arg2 = (bool) SWIG_AsBool(obj1);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 arg3 = (double) SWIG_AsDouble(obj2);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 arg4 = (double) SWIG_AsDouble(obj3);
22985 if (PyErr_Occurred()) SWIG_fail;
22986 if (obj4) {
22987 arg5 = (int) SWIG_AsInt(obj4);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 }
22990 if (obj5) {
22991 arg6 = (int) SWIG_AsInt(obj5);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22997
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 Py_INCREF(Py_None); resultobj = Py_None;
23002 return resultobj;
23003 fail:
23004 return NULL;
23005 }
23006
23007
23008 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23009 PyObject *resultobj;
23010 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23011 double arg2 ;
23012 double arg3 ;
23013 int arg4 = (int) 0 ;
23014 int arg5 = (int) 0 ;
23015 PyObject * obj0 = 0 ;
23016 PyObject * obj1 = 0 ;
23017 PyObject * obj2 = 0 ;
23018 PyObject * obj3 = 0 ;
23019 PyObject * obj4 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23027 arg2 = (double) SWIG_AsDouble(obj1);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 arg3 = (double) SWIG_AsDouble(obj2);
23030 if (PyErr_Occurred()) SWIG_fail;
23031 if (obj3) {
23032 arg4 = (int) SWIG_AsInt(obj3);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 if (obj4) {
23036 arg5 = (int) SWIG_AsInt(obj4);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23042
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 Py_INCREF(Py_None); resultobj = Py_None;
23047 return resultobj;
23048 fail:
23049 return NULL;
23050 }
23051
23052
23053 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj;
23055 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23056 double arg2 ;
23057 double arg3 ;
23058 int arg4 = (int) 0 ;
23059 int arg5 = (int) 0 ;
23060 PyObject * obj0 = 0 ;
23061 PyObject * obj1 = 0 ;
23062 PyObject * obj2 = 0 ;
23063 PyObject * obj3 = 0 ;
23064 PyObject * obj4 = 0 ;
23065 char *kwnames[] = {
23066 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23067 };
23068
23069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23072 arg2 = (double) SWIG_AsDouble(obj1);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 arg3 = (double) SWIG_AsDouble(obj2);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 if (obj3) {
23077 arg4 = (int) SWIG_AsInt(obj3);
23078 if (PyErr_Occurred()) SWIG_fail;
23079 }
23080 if (obj4) {
23081 arg5 = (int) SWIG_AsInt(obj4);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 {
23085 PyThreadState* __tstate = wxPyBeginAllowThreads();
23086 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23087
23088 wxPyEndAllowThreads(__tstate);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 }
23091 Py_INCREF(Py_None); resultobj = Py_None;
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23101 wxDC *arg2 = 0 ;
23102 double arg3 ;
23103 double arg4 ;
23104 double arg5 ;
23105 double arg6 ;
23106 PyObject * obj0 = 0 ;
23107 PyObject * obj1 = 0 ;
23108 PyObject * obj2 = 0 ;
23109 PyObject * obj3 = 0 ;
23110 PyObject * obj4 = 0 ;
23111 PyObject * obj5 = 0 ;
23112 char *kwnames[] = {
23113 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23114 };
23115
23116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23120 SWIG_POINTER_EXCEPTION | 0)) == -1)
23121 SWIG_fail;
23122 if (arg2 == NULL) {
23123 PyErr_SetString(PyExc_TypeError,"null reference");
23124 SWIG_fail;
23125 }
23126 arg3 = (double) SWIG_AsDouble(obj2);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 arg4 = (double) SWIG_AsDouble(obj3);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 arg5 = (double) SWIG_AsDouble(obj4);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 arg6 = (double) SWIG_AsDouble(obj5);
23133 if (PyErr_Occurred()) SWIG_fail;
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 Py_INCREF(Py_None); resultobj = Py_None;
23142 return resultobj;
23143 fail:
23144 return NULL;
23145 }
23146
23147
23148 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23149 PyObject *resultobj;
23150 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23151 wxDC *arg2 = 0 ;
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj1 = 0 ;
23154 char *kwnames[] = {
23155 (char *) "self",(char *) "dc", NULL
23156 };
23157
23158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23161 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23162 SWIG_POINTER_EXCEPTION | 0)) == -1)
23163 SWIG_fail;
23164 if (arg2 == NULL) {
23165 PyErr_SetString(PyExc_TypeError,"null reference");
23166 SWIG_fail;
23167 }
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->base_OnDrawControlPoints(*arg2);
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 Py_INCREF(Py_None); resultobj = Py_None;
23176 return resultobj;
23177 fail:
23178 return NULL;
23179 }
23180
23181
23182 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23183 PyObject *resultobj;
23184 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23185 wxDC *arg2 = 0 ;
23186 PyObject * obj0 = 0 ;
23187 PyObject * obj1 = 0 ;
23188 char *kwnames[] = {
23189 (char *) "self",(char *) "dc", NULL
23190 };
23191
23192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23196 SWIG_POINTER_EXCEPTION | 0)) == -1)
23197 SWIG_fail;
23198 if (arg2 == NULL) {
23199 PyErr_SetString(PyExc_TypeError,"null reference");
23200 SWIG_fail;
23201 }
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 (arg1)->base_OnEraseControlPoints(*arg2);
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 Py_INCREF(Py_None); resultobj = Py_None;
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23219 wxDC *arg2 = 0 ;
23220 bool arg3 = (bool) True ;
23221 PyObject * obj0 = 0 ;
23222 PyObject * obj1 = 0 ;
23223 PyObject * obj2 = 0 ;
23224 char *kwnames[] = {
23225 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23226 };
23227
23228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23232 SWIG_POINTER_EXCEPTION | 0)) == -1)
23233 SWIG_fail;
23234 if (arg2 == NULL) {
23235 PyErr_SetString(PyExc_TypeError,"null reference");
23236 SWIG_fail;
23237 }
23238 if (obj2) {
23239 arg3 = (bool) SWIG_AsBool(obj2);
23240 if (PyErr_Occurred()) SWIG_fail;
23241 }
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 (arg1)->base_OnMoveLink(*arg2,arg3);
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 Py_INCREF(Py_None); resultobj = Py_None;
23250 return resultobj;
23251 fail:
23252 return NULL;
23253 }
23254
23255
23256 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23259 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23260 bool arg3 ;
23261 double arg4 ;
23262 double arg5 ;
23263 int arg6 = (int) 0 ;
23264 int arg7 = (int) 0 ;
23265 PyObject * obj0 = 0 ;
23266 PyObject * obj1 = 0 ;
23267 PyObject * obj2 = 0 ;
23268 PyObject * obj3 = 0 ;
23269 PyObject * obj4 = 0 ;
23270 PyObject * obj5 = 0 ;
23271 PyObject * obj6 = 0 ;
23272 char *kwnames[] = {
23273 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23274 };
23275
23276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23281 arg3 = (bool) SWIG_AsBool(obj2);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 arg4 = (double) SWIG_AsDouble(obj3);
23284 if (PyErr_Occurred()) SWIG_fail;
23285 arg5 = (double) SWIG_AsDouble(obj4);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 if (obj5) {
23288 arg6 = (int) SWIG_AsInt(obj5);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 if (obj6) {
23292 arg7 = (int) SWIG_AsInt(obj6);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 Py_INCREF(Py_None); resultobj = Py_None;
23303 return resultobj;
23304 fail:
23305 return NULL;
23306 }
23307
23308
23309 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23310 PyObject *resultobj;
23311 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23312 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23313 double arg3 ;
23314 double arg4 ;
23315 int arg5 = (int) 0 ;
23316 int arg6 = (int) 0 ;
23317 PyObject * obj0 = 0 ;
23318 PyObject * obj1 = 0 ;
23319 PyObject * obj2 = 0 ;
23320 PyObject * obj3 = 0 ;
23321 PyObject * obj4 = 0 ;
23322 PyObject * obj5 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23332 arg3 = (double) SWIG_AsDouble(obj2);
23333 if (PyErr_Occurred()) SWIG_fail;
23334 arg4 = (double) SWIG_AsDouble(obj3);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 if (obj4) {
23337 arg5 = (int) SWIG_AsInt(obj4);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 if (obj5) {
23341 arg6 = (int) SWIG_AsInt(obj5);
23342 if (PyErr_Occurred()) SWIG_fail;
23343 }
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23347
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 Py_INCREF(Py_None); resultobj = Py_None;
23352 return resultobj;
23353 fail:
23354 return NULL;
23355 }
23356
23357
23358 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23359 PyObject *resultobj;
23360 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23361 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23362 double arg3 ;
23363 double arg4 ;
23364 int arg5 = (int) 0 ;
23365 int arg6 = (int) 0 ;
23366 PyObject * obj0 = 0 ;
23367 PyObject * obj1 = 0 ;
23368 PyObject * obj2 = 0 ;
23369 PyObject * obj3 = 0 ;
23370 PyObject * obj4 = 0 ;
23371 PyObject * obj5 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23381 arg3 = (double) SWIG_AsDouble(obj2);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 arg4 = (double) SWIG_AsDouble(obj3);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 if (obj4) {
23386 arg5 = (int) SWIG_AsInt(obj4);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 if (obj5) {
23390 arg6 = (int) SWIG_AsInt(obj5);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 Py_INCREF(Py_None); resultobj = Py_None;
23401 return resultobj;
23402 fail:
23403 return NULL;
23404 }
23405
23406
23407 static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23408 PyObject *resultobj;
23409 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23410 double arg2 ;
23411 double arg3 ;
23412 PyObject * obj0 = 0 ;
23413 PyObject * obj1 = 0 ;
23414 PyObject * obj2 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self",(char *) "w",(char *) "h", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23422 arg2 = (double) SWIG_AsDouble(obj1);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 arg3 = (double) SWIG_AsDouble(obj2);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 (arg1)->base_OnBeginSize(arg2,arg3);
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 Py_INCREF(Py_None); resultobj = Py_None;
23434 return resultobj;
23435 fail:
23436 return NULL;
23437 }
23438
23439
23440 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23441 PyObject *resultobj;
23442 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23443 double arg2 ;
23444 double arg3 ;
23445 PyObject * obj0 = 0 ;
23446 PyObject * obj1 = 0 ;
23447 PyObject * obj2 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self",(char *) "w",(char *) "h", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23455 arg2 = (double) SWIG_AsDouble(obj1);
23456 if (PyErr_Occurred()) SWIG_fail;
23457 arg3 = (double) SWIG_AsDouble(obj2);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 (arg1)->base_OnEndSize(arg2,arg3);
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 Py_INCREF(Py_None); resultobj = Py_None;
23467 return resultobj;
23468 fail:
23469 return NULL;
23470 }
23471
23472
23473 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
23474 PyObject *obj;
23475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23476 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23477 Py_INCREF(obj);
23478 return Py_BuildValue((char *)"");
23479 }
23480 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23481 PyObject *resultobj;
23482 double arg1 = (double) 0.0 ;
23483 wxPyCircleShape *result;
23484 PyObject * obj0 = 0 ;
23485 char *kwnames[] = {
23486 (char *) "width", NULL
23487 };
23488
23489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23490 if (obj0) {
23491 arg1 = (double) SWIG_AsDouble(obj0);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
23502 return resultobj;
23503 fail:
23504 return NULL;
23505 }
23506
23507
23508 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23509 PyObject *resultobj;
23510 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23511 PyObject *arg2 = (PyObject *) 0 ;
23512 PyObject *arg3 = (PyObject *) 0 ;
23513 PyObject * obj0 = 0 ;
23514 PyObject * obj1 = 0 ;
23515 PyObject * obj2 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self",(char *) "self",(char *) "_class", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23523 arg2 = obj1;
23524 arg3 = obj2;
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 (arg1)->_setCallbackInfo(arg2,arg3);
23528
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 Py_INCREF(Py_None); resultobj = Py_None;
23533 return resultobj;
23534 fail:
23535 return NULL;
23536 }
23537
23538
23539 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23540 PyObject *resultobj;
23541 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23542 wxDC *arg2 = 0 ;
23543 PyObject * obj0 = 0 ;
23544 PyObject * obj1 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self",(char *) "dc", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23553 SWIG_POINTER_EXCEPTION | 0)) == -1)
23554 SWIG_fail;
23555 if (arg2 == NULL) {
23556 PyErr_SetString(PyExc_TypeError,"null reference");
23557 SWIG_fail;
23558 }
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 (arg1)->base_OnDraw(*arg2);
23562
23563 wxPyEndAllowThreads(__tstate);
23564 if (PyErr_Occurred()) SWIG_fail;
23565 }
23566 Py_INCREF(Py_None); resultobj = Py_None;
23567 return resultobj;
23568 fail:
23569 return NULL;
23570 }
23571
23572
23573 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23576 wxDC *arg2 = 0 ;
23577 PyObject * obj0 = 0 ;
23578 PyObject * obj1 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self",(char *) "dc", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23587 SWIG_POINTER_EXCEPTION | 0)) == -1)
23588 SWIG_fail;
23589 if (arg2 == NULL) {
23590 PyErr_SetString(PyExc_TypeError,"null reference");
23591 SWIG_fail;
23592 }
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 (arg1)->base_OnDrawContents(*arg2);
23596
23597 wxPyEndAllowThreads(__tstate);
23598 if (PyErr_Occurred()) SWIG_fail;
23599 }
23600 Py_INCREF(Py_None); resultobj = Py_None;
23601 return resultobj;
23602 fail:
23603 return NULL;
23604 }
23605
23606
23607 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23610 wxDC *arg2 = 0 ;
23611 bool arg3 = (bool) FALSE ;
23612 PyObject * obj0 = 0 ;
23613 PyObject * obj1 = 0 ;
23614 PyObject * obj2 = 0 ;
23615 char *kwnames[] = {
23616 (char *) "self",(char *) "dc",(char *) "erase", NULL
23617 };
23618
23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23623 SWIG_POINTER_EXCEPTION | 0)) == -1)
23624 SWIG_fail;
23625 if (arg2 == NULL) {
23626 PyErr_SetString(PyExc_TypeError,"null reference");
23627 SWIG_fail;
23628 }
23629 if (obj2) {
23630 arg3 = (bool) SWIG_AsBool(obj2);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 (arg1)->base_OnDrawBranches(*arg2,arg3);
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 Py_INCREF(Py_None); resultobj = Py_None;
23641 return resultobj;
23642 fail:
23643 return NULL;
23644 }
23645
23646
23647 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23648 PyObject *resultobj;
23649 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23650 wxDC *arg2 = 0 ;
23651 PyObject * obj0 = 0 ;
23652 PyObject * obj1 = 0 ;
23653 char *kwnames[] = {
23654 (char *) "self",(char *) "dc", NULL
23655 };
23656
23657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23661 SWIG_POINTER_EXCEPTION | 0)) == -1)
23662 SWIG_fail;
23663 if (arg2 == NULL) {
23664 PyErr_SetString(PyExc_TypeError,"null reference");
23665 SWIG_fail;
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 (arg1)->base_OnMoveLinks(*arg2);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 Py_INCREF(Py_None); resultobj = Py_None;
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23684 wxDC *arg2 = 0 ;
23685 PyObject * obj0 = 0 ;
23686 PyObject * obj1 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "dc", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23695 SWIG_POINTER_EXCEPTION | 0)) == -1)
23696 SWIG_fail;
23697 if (arg2 == NULL) {
23698 PyErr_SetString(PyExc_TypeError,"null reference");
23699 SWIG_fail;
23700 }
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 (arg1)->base_OnErase(*arg2);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 Py_INCREF(Py_None); resultobj = Py_None;
23709 return resultobj;
23710 fail:
23711 return NULL;
23712 }
23713
23714
23715 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23718 wxDC *arg2 = 0 ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "dc", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1)
23730 SWIG_fail;
23731 if (arg2 == NULL) {
23732 PyErr_SetString(PyExc_TypeError,"null reference");
23733 SWIG_fail;
23734 }
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 (arg1)->base_OnEraseContents(*arg2);
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 Py_INCREF(Py_None); resultobj = Py_None;
23743 return resultobj;
23744 fail:
23745 return NULL;
23746 }
23747
23748
23749 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23750 PyObject *resultobj;
23751 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23752 wxDC *arg2 = 0 ;
23753 PyObject * obj0 = 0 ;
23754 PyObject * obj1 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self",(char *) "dc", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23763 SWIG_POINTER_EXCEPTION | 0)) == -1)
23764 SWIG_fail;
23765 if (arg2 == NULL) {
23766 PyErr_SetString(PyExc_TypeError,"null reference");
23767 SWIG_fail;
23768 }
23769 {
23770 PyThreadState* __tstate = wxPyBeginAllowThreads();
23771 (arg1)->base_OnHighlight(*arg2);
23772
23773 wxPyEndAllowThreads(__tstate);
23774 if (PyErr_Occurred()) SWIG_fail;
23775 }
23776 Py_INCREF(Py_None); resultobj = Py_None;
23777 return resultobj;
23778 fail:
23779 return NULL;
23780 }
23781
23782
23783 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23784 PyObject *resultobj;
23785 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23786 double arg2 ;
23787 double arg3 ;
23788 int arg4 = (int) 0 ;
23789 int arg5 = (int) 0 ;
23790 PyObject * obj0 = 0 ;
23791 PyObject * obj1 = 0 ;
23792 PyObject * obj2 = 0 ;
23793 PyObject * obj3 = 0 ;
23794 PyObject * obj4 = 0 ;
23795 char *kwnames[] = {
23796 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23797 };
23798
23799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23802 arg2 = (double) SWIG_AsDouble(obj1);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 arg3 = (double) SWIG_AsDouble(obj2);
23805 if (PyErr_Occurred()) SWIG_fail;
23806 if (obj3) {
23807 arg4 = (int) SWIG_AsInt(obj3);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 if (obj4) {
23811 arg5 = (int) SWIG_AsInt(obj4);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 Py_INCREF(Py_None); resultobj = Py_None;
23822 return resultobj;
23823 fail:
23824 return NULL;
23825 }
23826
23827
23828 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23831 double arg2 ;
23832 double arg3 ;
23833 int arg4 = (int) 0 ;
23834 int arg5 = (int) 0 ;
23835 PyObject * obj0 = 0 ;
23836 PyObject * obj1 = 0 ;
23837 PyObject * obj2 = 0 ;
23838 PyObject * obj3 = 0 ;
23839 PyObject * obj4 = 0 ;
23840 char *kwnames[] = {
23841 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23842 };
23843
23844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23847 arg2 = (double) SWIG_AsDouble(obj1);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 arg3 = (double) SWIG_AsDouble(obj2);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 if (obj3) {
23852 arg4 = (int) SWIG_AsInt(obj3);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 if (obj4) {
23856 arg5 = (int) SWIG_AsInt(obj4);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
23859 {
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23862
23863 wxPyEndAllowThreads(__tstate);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 }
23866 Py_INCREF(Py_None); resultobj = Py_None;
23867 return resultobj;
23868 fail:
23869 return NULL;
23870 }
23871
23872
23873 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23874 PyObject *resultobj;
23875 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23876 double arg2 ;
23877 double arg3 ;
23878 int arg4 = (int) 0 ;
23879 int arg5 = (int) 0 ;
23880 PyObject * obj0 = 0 ;
23881 PyObject * obj1 = 0 ;
23882 PyObject * obj2 = 0 ;
23883 PyObject * obj3 = 0 ;
23884 PyObject * obj4 = 0 ;
23885 char *kwnames[] = {
23886 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23887 };
23888
23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23892 arg2 = (double) SWIG_AsDouble(obj1);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 arg3 = (double) SWIG_AsDouble(obj2);
23895 if (PyErr_Occurred()) SWIG_fail;
23896 if (obj3) {
23897 arg4 = (int) SWIG_AsInt(obj3);
23898 if (PyErr_Occurred()) SWIG_fail;
23899 }
23900 if (obj4) {
23901 arg5 = (int) SWIG_AsInt(obj4);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23907
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 Py_INCREF(Py_None); resultobj = Py_None;
23912 return resultobj;
23913 fail:
23914 return NULL;
23915 }
23916
23917
23918 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23919 PyObject *resultobj;
23920 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23921 double arg2 ;
23922 double arg3 ;
23923 PyObject * obj0 = 0 ;
23924 PyObject * obj1 = 0 ;
23925 PyObject * obj2 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self",(char *) "x",(char *) "y", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23933 arg2 = (double) SWIG_AsDouble(obj1);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 arg3 = (double) SWIG_AsDouble(obj2);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 {
23938 PyThreadState* __tstate = wxPyBeginAllowThreads();
23939 (arg1)->base_OnSize(arg2,arg3);
23940
23941 wxPyEndAllowThreads(__tstate);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 Py_INCREF(Py_None); resultobj = Py_None;
23945 return resultobj;
23946 fail:
23947 return NULL;
23948 }
23949
23950
23951 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23952 PyObject *resultobj;
23953 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23954 wxDC *arg2 = 0 ;
23955 double arg3 ;
23956 double arg4 ;
23957 double arg5 ;
23958 double arg6 ;
23959 bool arg7 = (bool) True ;
23960 bool result;
23961 PyObject * obj0 = 0 ;
23962 PyObject * obj1 = 0 ;
23963 PyObject * obj2 = 0 ;
23964 PyObject * obj3 = 0 ;
23965 PyObject * obj4 = 0 ;
23966 PyObject * obj5 = 0 ;
23967 PyObject * obj6 = 0 ;
23968 char *kwnames[] = {
23969 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23970 };
23971
23972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23976 SWIG_POINTER_EXCEPTION | 0)) == -1)
23977 SWIG_fail;
23978 if (arg2 == NULL) {
23979 PyErr_SetString(PyExc_TypeError,"null reference");
23980 SWIG_fail;
23981 }
23982 arg3 = (double) SWIG_AsDouble(obj2);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 arg4 = (double) SWIG_AsDouble(obj3);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 arg5 = (double) SWIG_AsDouble(obj4);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 arg6 = (double) SWIG_AsDouble(obj5);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 if (obj6) {
23991 arg7 = (bool) SWIG_AsBool(obj6);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23997
23998 wxPyEndAllowThreads(__tstate);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 }
24001 {
24002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24003 }
24004 return resultobj;
24005 fail:
24006 return NULL;
24007 }
24008
24009
24010 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
24011 PyObject *resultobj;
24012 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24013 wxDC *arg2 = 0 ;
24014 double arg3 ;
24015 double arg4 ;
24016 double arg5 ;
24017 double arg6 ;
24018 bool arg7 = (bool) True ;
24019 PyObject * obj0 = 0 ;
24020 PyObject * obj1 = 0 ;
24021 PyObject * obj2 = 0 ;
24022 PyObject * obj3 = 0 ;
24023 PyObject * obj4 = 0 ;
24024 PyObject * obj5 = 0 ;
24025 PyObject * obj6 = 0 ;
24026 char *kwnames[] = {
24027 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24028 };
24029
24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24034 SWIG_POINTER_EXCEPTION | 0)) == -1)
24035 SWIG_fail;
24036 if (arg2 == NULL) {
24037 PyErr_SetString(PyExc_TypeError,"null reference");
24038 SWIG_fail;
24039 }
24040 arg3 = (double) SWIG_AsDouble(obj2);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 arg4 = (double) SWIG_AsDouble(obj3);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 arg5 = (double) SWIG_AsDouble(obj4);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 arg6 = (double) SWIG_AsDouble(obj5);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 if (obj6) {
24049 arg7 = (bool) SWIG_AsBool(obj6);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 Py_INCREF(Py_None); resultobj = Py_None;
24060 return resultobj;
24061 fail:
24062 return NULL;
24063 }
24064
24065
24066 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24067 PyObject *resultobj;
24068 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24069 bool arg2 ;
24070 double arg3 ;
24071 double arg4 ;
24072 int arg5 = (int) 0 ;
24073 int arg6 = (int) 0 ;
24074 PyObject * obj0 = 0 ;
24075 PyObject * obj1 = 0 ;
24076 PyObject * obj2 = 0 ;
24077 PyObject * obj3 = 0 ;
24078 PyObject * obj4 = 0 ;
24079 PyObject * obj5 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24087 arg2 = (bool) SWIG_AsBool(obj1);
24088 if (PyErr_Occurred()) SWIG_fail;
24089 arg3 = (double) SWIG_AsDouble(obj2);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 arg4 = (double) SWIG_AsDouble(obj3);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 if (obj4) {
24094 arg5 = (int) SWIG_AsInt(obj4);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 if (obj5) {
24098 arg6 = (int) SWIG_AsInt(obj5);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 }
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24104
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 Py_INCREF(Py_None); resultobj = Py_None;
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj;
24117 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24118 double arg2 ;
24119 double arg3 ;
24120 int arg4 = (int) 0 ;
24121 int arg5 = (int) 0 ;
24122 PyObject * obj0 = 0 ;
24123 PyObject * obj1 = 0 ;
24124 PyObject * obj2 = 0 ;
24125 PyObject * obj3 = 0 ;
24126 PyObject * obj4 = 0 ;
24127 char *kwnames[] = {
24128 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24129 };
24130
24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24134 arg2 = (double) SWIG_AsDouble(obj1);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 arg3 = (double) SWIG_AsDouble(obj2);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 if (obj3) {
24139 arg4 = (int) SWIG_AsInt(obj3);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 if (obj4) {
24143 arg5 = (int) SWIG_AsInt(obj4);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24149
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 Py_INCREF(Py_None); resultobj = Py_None;
24154 return resultobj;
24155 fail:
24156 return NULL;
24157 }
24158
24159
24160 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24161 PyObject *resultobj;
24162 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24163 double arg2 ;
24164 double arg3 ;
24165 int arg4 = (int) 0 ;
24166 int arg5 = (int) 0 ;
24167 PyObject * obj0 = 0 ;
24168 PyObject * obj1 = 0 ;
24169 PyObject * obj2 = 0 ;
24170 PyObject * obj3 = 0 ;
24171 PyObject * obj4 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24179 arg2 = (double) SWIG_AsDouble(obj1);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 arg3 = (double) SWIG_AsDouble(obj2);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 if (obj3) {
24184 arg4 = (int) SWIG_AsInt(obj3);
24185 if (PyErr_Occurred()) SWIG_fail;
24186 }
24187 if (obj4) {
24188 arg5 = (int) SWIG_AsInt(obj4);
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24194
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 Py_INCREF(Py_None); resultobj = Py_None;
24199 return resultobj;
24200 fail:
24201 return NULL;
24202 }
24203
24204
24205 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj;
24207 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24208 bool arg2 ;
24209 double arg3 ;
24210 double arg4 ;
24211 int arg5 = (int) 0 ;
24212 int arg6 = (int) 0 ;
24213 PyObject * obj0 = 0 ;
24214 PyObject * obj1 = 0 ;
24215 PyObject * obj2 = 0 ;
24216 PyObject * obj3 = 0 ;
24217 PyObject * obj4 = 0 ;
24218 PyObject * obj5 = 0 ;
24219 char *kwnames[] = {
24220 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24221 };
24222
24223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24226 arg2 = (bool) SWIG_AsBool(obj1);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 arg3 = (double) SWIG_AsDouble(obj2);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 arg4 = (double) SWIG_AsDouble(obj3);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 if (obj4) {
24233 arg5 = (int) SWIG_AsInt(obj4);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 if (obj5) {
24237 arg6 = (int) SWIG_AsInt(obj5);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 Py_INCREF(Py_None); resultobj = Py_None;
24248 return resultobj;
24249 fail:
24250 return NULL;
24251 }
24252
24253
24254 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24255 PyObject *resultobj;
24256 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24257 double arg2 ;
24258 double arg3 ;
24259 int arg4 = (int) 0 ;
24260 int arg5 = (int) 0 ;
24261 PyObject * obj0 = 0 ;
24262 PyObject * obj1 = 0 ;
24263 PyObject * obj2 = 0 ;
24264 PyObject * obj3 = 0 ;
24265 PyObject * obj4 = 0 ;
24266 char *kwnames[] = {
24267 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24273 arg2 = (double) SWIG_AsDouble(obj1);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 arg3 = (double) SWIG_AsDouble(obj2);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 if (obj3) {
24278 arg4 = (int) SWIG_AsInt(obj3);
24279 if (PyErr_Occurred()) SWIG_fail;
24280 }
24281 if (obj4) {
24282 arg5 = (int) SWIG_AsInt(obj4);
24283 if (PyErr_Occurred()) SWIG_fail;
24284 }
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24288
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 Py_INCREF(Py_None); resultobj = Py_None;
24293 return resultobj;
24294 fail:
24295 return NULL;
24296 }
24297
24298
24299 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24302 double arg2 ;
24303 double arg3 ;
24304 int arg4 = (int) 0 ;
24305 int arg5 = (int) 0 ;
24306 PyObject * obj0 = 0 ;
24307 PyObject * obj1 = 0 ;
24308 PyObject * obj2 = 0 ;
24309 PyObject * obj3 = 0 ;
24310 PyObject * obj4 = 0 ;
24311 char *kwnames[] = {
24312 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24313 };
24314
24315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24318 arg2 = (double) SWIG_AsDouble(obj1);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 arg3 = (double) SWIG_AsDouble(obj2);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 if (obj3) {
24323 arg4 = (int) SWIG_AsInt(obj3);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
24326 if (obj4) {
24327 arg5 = (int) SWIG_AsInt(obj4);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 Py_INCREF(Py_None); resultobj = Py_None;
24338 return resultobj;
24339 fail:
24340 return NULL;
24341 }
24342
24343
24344 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24345 PyObject *resultobj;
24346 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24347 wxDC *arg2 = 0 ;
24348 double arg3 ;
24349 double arg4 ;
24350 double arg5 ;
24351 double arg6 ;
24352 PyObject * obj0 = 0 ;
24353 PyObject * obj1 = 0 ;
24354 PyObject * obj2 = 0 ;
24355 PyObject * obj3 = 0 ;
24356 PyObject * obj4 = 0 ;
24357 PyObject * obj5 = 0 ;
24358 char *kwnames[] = {
24359 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24360 };
24361
24362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24366 SWIG_POINTER_EXCEPTION | 0)) == -1)
24367 SWIG_fail;
24368 if (arg2 == NULL) {
24369 PyErr_SetString(PyExc_TypeError,"null reference");
24370 SWIG_fail;
24371 }
24372 arg3 = (double) SWIG_AsDouble(obj2);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 arg4 = (double) SWIG_AsDouble(obj3);
24375 if (PyErr_Occurred()) SWIG_fail;
24376 arg5 = (double) SWIG_AsDouble(obj4);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 arg6 = (double) SWIG_AsDouble(obj5);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 {
24381 PyThreadState* __tstate = wxPyBeginAllowThreads();
24382 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24383
24384 wxPyEndAllowThreads(__tstate);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 }
24387 Py_INCREF(Py_None); resultobj = Py_None;
24388 return resultobj;
24389 fail:
24390 return NULL;
24391 }
24392
24393
24394 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24395 PyObject *resultobj;
24396 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24397 wxDC *arg2 = 0 ;
24398 PyObject * obj0 = 0 ;
24399 PyObject * obj1 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self",(char *) "dc", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24408 SWIG_POINTER_EXCEPTION | 0)) == -1)
24409 SWIG_fail;
24410 if (arg2 == NULL) {
24411 PyErr_SetString(PyExc_TypeError,"null reference");
24412 SWIG_fail;
24413 }
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 (arg1)->base_OnDrawControlPoints(*arg2);
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 Py_INCREF(Py_None); resultobj = Py_None;
24422 return resultobj;
24423 fail:
24424 return NULL;
24425 }
24426
24427
24428 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24429 PyObject *resultobj;
24430 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24431 wxDC *arg2 = 0 ;
24432 PyObject * obj0 = 0 ;
24433 PyObject * obj1 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self",(char *) "dc", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24442 SWIG_POINTER_EXCEPTION | 0)) == -1)
24443 SWIG_fail;
24444 if (arg2 == NULL) {
24445 PyErr_SetString(PyExc_TypeError,"null reference");
24446 SWIG_fail;
24447 }
24448 {
24449 PyThreadState* __tstate = wxPyBeginAllowThreads();
24450 (arg1)->base_OnEraseControlPoints(*arg2);
24451
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 Py_INCREF(Py_None); resultobj = Py_None;
24456 return resultobj;
24457 fail:
24458 return NULL;
24459 }
24460
24461
24462 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24463 PyObject *resultobj;
24464 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24465 wxDC *arg2 = 0 ;
24466 bool arg3 = (bool) True ;
24467 PyObject * obj0 = 0 ;
24468 PyObject * obj1 = 0 ;
24469 PyObject * obj2 = 0 ;
24470 char *kwnames[] = {
24471 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24472 };
24473
24474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24478 SWIG_POINTER_EXCEPTION | 0)) == -1)
24479 SWIG_fail;
24480 if (arg2 == NULL) {
24481 PyErr_SetString(PyExc_TypeError,"null reference");
24482 SWIG_fail;
24483 }
24484 if (obj2) {
24485 arg3 = (bool) SWIG_AsBool(obj2);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 (arg1)->base_OnMoveLink(*arg2,arg3);
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 Py_INCREF(Py_None); resultobj = Py_None;
24496 return resultobj;
24497 fail:
24498 return NULL;
24499 }
24500
24501
24502 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24503 PyObject *resultobj;
24504 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24505 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24506 bool arg3 ;
24507 double arg4 ;
24508 double arg5 ;
24509 int arg6 = (int) 0 ;
24510 int arg7 = (int) 0 ;
24511 PyObject * obj0 = 0 ;
24512 PyObject * obj1 = 0 ;
24513 PyObject * obj2 = 0 ;
24514 PyObject * obj3 = 0 ;
24515 PyObject * obj4 = 0 ;
24516 PyObject * obj5 = 0 ;
24517 PyObject * obj6 = 0 ;
24518 char *kwnames[] = {
24519 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24520 };
24521
24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24527 arg3 = (bool) SWIG_AsBool(obj2);
24528 if (PyErr_Occurred()) SWIG_fail;
24529 arg4 = (double) SWIG_AsDouble(obj3);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 arg5 = (double) SWIG_AsDouble(obj4);
24532 if (PyErr_Occurred()) SWIG_fail;
24533 if (obj5) {
24534 arg6 = (int) SWIG_AsInt(obj5);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 if (obj6) {
24538 arg7 = (int) SWIG_AsInt(obj6);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 {
24542 PyThreadState* __tstate = wxPyBeginAllowThreads();
24543 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24544
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 Py_INCREF(Py_None); resultobj = Py_None;
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj;
24557 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24558 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24559 double arg3 ;
24560 double arg4 ;
24561 int arg5 = (int) 0 ;
24562 int arg6 = (int) 0 ;
24563 PyObject * obj0 = 0 ;
24564 PyObject * obj1 = 0 ;
24565 PyObject * obj2 = 0 ;
24566 PyObject * obj3 = 0 ;
24567 PyObject * obj4 = 0 ;
24568 PyObject * obj5 = 0 ;
24569 char *kwnames[] = {
24570 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24571 };
24572
24573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24578 arg3 = (double) SWIG_AsDouble(obj2);
24579 if (PyErr_Occurred()) SWIG_fail;
24580 arg4 = (double) SWIG_AsDouble(obj3);
24581 if (PyErr_Occurred()) SWIG_fail;
24582 if (obj4) {
24583 arg5 = (int) SWIG_AsInt(obj4);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 if (obj5) {
24587 arg6 = (int) SWIG_AsInt(obj5);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 {
24591 PyThreadState* __tstate = wxPyBeginAllowThreads();
24592 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24593
24594 wxPyEndAllowThreads(__tstate);
24595 if (PyErr_Occurred()) SWIG_fail;
24596 }
24597 Py_INCREF(Py_None); resultobj = Py_None;
24598 return resultobj;
24599 fail:
24600 return NULL;
24601 }
24602
24603
24604 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24605 PyObject *resultobj;
24606 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24607 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24608 double arg3 ;
24609 double arg4 ;
24610 int arg5 = (int) 0 ;
24611 int arg6 = (int) 0 ;
24612 PyObject * obj0 = 0 ;
24613 PyObject * obj1 = 0 ;
24614 PyObject * obj2 = 0 ;
24615 PyObject * obj3 = 0 ;
24616 PyObject * obj4 = 0 ;
24617 PyObject * obj5 = 0 ;
24618 char *kwnames[] = {
24619 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24620 };
24621
24622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24627 arg3 = (double) SWIG_AsDouble(obj2);
24628 if (PyErr_Occurred()) SWIG_fail;
24629 arg4 = (double) SWIG_AsDouble(obj3);
24630 if (PyErr_Occurred()) SWIG_fail;
24631 if (obj4) {
24632 arg5 = (int) SWIG_AsInt(obj4);
24633 if (PyErr_Occurred()) SWIG_fail;
24634 }
24635 if (obj5) {
24636 arg6 = (int) SWIG_AsInt(obj5);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 {
24640 PyThreadState* __tstate = wxPyBeginAllowThreads();
24641 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24642
24643 wxPyEndAllowThreads(__tstate);
24644 if (PyErr_Occurred()) SWIG_fail;
24645 }
24646 Py_INCREF(Py_None); resultobj = Py_None;
24647 return resultobj;
24648 fail:
24649 return NULL;
24650 }
24651
24652
24653 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24654 PyObject *resultobj;
24655 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24656 double arg2 ;
24657 double arg3 ;
24658 PyObject * obj0 = 0 ;
24659 PyObject * obj1 = 0 ;
24660 PyObject * obj2 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self",(char *) "w",(char *) "h", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24668 arg2 = (double) SWIG_AsDouble(obj1);
24669 if (PyErr_Occurred()) SWIG_fail;
24670 arg3 = (double) SWIG_AsDouble(obj2);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 (arg1)->base_OnBeginSize(arg2,arg3);
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
24679 Py_INCREF(Py_None); resultobj = Py_None;
24680 return resultobj;
24681 fail:
24682 return NULL;
24683 }
24684
24685
24686 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24687 PyObject *resultobj;
24688 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24689 double arg2 ;
24690 double arg3 ;
24691 PyObject * obj0 = 0 ;
24692 PyObject * obj1 = 0 ;
24693 PyObject * obj2 = 0 ;
24694 char *kwnames[] = {
24695 (char *) "self",(char *) "w",(char *) "h", NULL
24696 };
24697
24698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24701 arg2 = (double) SWIG_AsDouble(obj1);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 arg3 = (double) SWIG_AsDouble(obj2);
24704 if (PyErr_Occurred()) SWIG_fail;
24705 {
24706 PyThreadState* __tstate = wxPyBeginAllowThreads();
24707 (arg1)->base_OnEndSize(arg2,arg3);
24708
24709 wxPyEndAllowThreads(__tstate);
24710 if (PyErr_Occurred()) SWIG_fail;
24711 }
24712 Py_INCREF(Py_None); resultobj = Py_None;
24713 return resultobj;
24714 fail:
24715 return NULL;
24716 }
24717
24718
24719 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
24720 PyObject *obj;
24721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24722 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
24723 Py_INCREF(obj);
24724 return Py_BuildValue((char *)"");
24725 }
24726 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24727 PyObject *resultobj;
24728 int arg1 = (int) 0 ;
24729 int arg2 = (int) 0 ;
24730 double arg3 = (double) 0.0 ;
24731 double arg4 = (double) 0.0 ;
24732 wxString const &arg5_defvalue = wxPyEmptyString ;
24733 wxString *arg5 = (wxString *) &arg5_defvalue ;
24734 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
24735 long arg7 = (long) -1 ;
24736 wxArrowHead *result;
24737 bool temp5 = False ;
24738 PyObject * obj0 = 0 ;
24739 PyObject * obj1 = 0 ;
24740 PyObject * obj2 = 0 ;
24741 PyObject * obj3 = 0 ;
24742 PyObject * obj4 = 0 ;
24743 PyObject * obj5 = 0 ;
24744 PyObject * obj6 = 0 ;
24745 char *kwnames[] = {
24746 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24750 if (obj0) {
24751 arg1 = (int) SWIG_AsInt(obj0);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 if (obj1) {
24755 arg2 = (int) SWIG_AsInt(obj1);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 if (obj2) {
24759 arg3 = (double) SWIG_AsDouble(obj2);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 if (obj3) {
24763 arg4 = (double) SWIG_AsDouble(obj3);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 if (obj4) {
24767 {
24768 arg5 = wxString_in_helper(obj4);
24769 if (arg5 == NULL) SWIG_fail;
24770 temp5 = True;
24771 }
24772 }
24773 if (obj5) {
24774 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPseudoMetaFile,
24775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24776 }
24777 if (obj6) {
24778 arg7 = (long) SWIG_AsLong(obj6);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 {
24789 resultobj = wxPyMake_wxObject(result, 1);
24790 }
24791 {
24792 if (temp5)
24793 delete arg5;
24794 }
24795 return resultobj;
24796 fail:
24797 {
24798 if (temp5)
24799 delete arg5;
24800 }
24801 return NULL;
24802 }
24803
24804
24805 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj;
24807 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24808 PyObject * obj0 = 0 ;
24809 char *kwnames[] = {
24810 (char *) "self", NULL
24811 };
24812
24813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
24814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 delete arg1;
24819
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 Py_INCREF(Py_None); resultobj = Py_None;
24824 return resultobj;
24825 fail:
24826 return NULL;
24827 }
24828
24829
24830 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj;
24832 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24833 int result;
24834 PyObject * obj0 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
24840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 result = (int)(arg1)->_GetType();
24845
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
24849 resultobj = SWIG_FromInt((int)result);
24850 return resultobj;
24851 fail:
24852 return NULL;
24853 }
24854
24855
24856 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24857 PyObject *resultobj;
24858 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24859 int result;
24860 PyObject * obj0 = 0 ;
24861 char *kwnames[] = {
24862 (char *) "self", NULL
24863 };
24864
24865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
24866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 result = (int)(arg1)->GetPosition();
24871
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 resultobj = SWIG_FromInt((int)result);
24876 return resultobj;
24877 fail:
24878 return NULL;
24879 }
24880
24881
24882 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24883 PyObject *resultobj;
24884 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24885 int arg2 ;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 char *kwnames[] = {
24889 (char *) "self",(char *) "pos", NULL
24890 };
24891
24892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24895 arg2 = (int) SWIG_AsInt(obj1);
24896 if (PyErr_Occurred()) SWIG_fail;
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 (arg1)->SetPosition(arg2);
24900
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 Py_INCREF(Py_None); resultobj = Py_None;
24905 return resultobj;
24906 fail:
24907 return NULL;
24908 }
24909
24910
24911 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24914 double result;
24915 PyObject * obj0 = 0 ;
24916 char *kwnames[] = {
24917 (char *) "self", NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
24921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 result = (double)(arg1)->GetXOffset();
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 resultobj = SWIG_FromDouble((double)result);
24931 return resultobj;
24932 fail:
24933 return NULL;
24934 }
24935
24936
24937 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24938 PyObject *resultobj;
24939 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24940 double result;
24941 PyObject * obj0 = 0 ;
24942 char *kwnames[] = {
24943 (char *) "self", NULL
24944 };
24945
24946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
24947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 result = (double)(arg1)->GetYOffset();
24952
24953 wxPyEndAllowThreads(__tstate);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
24956 resultobj = SWIG_FromDouble((double)result);
24957 return resultobj;
24958 fail:
24959 return NULL;
24960 }
24961
24962
24963 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24964 PyObject *resultobj;
24965 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24966 double result;
24967 PyObject * obj0 = 0 ;
24968 char *kwnames[] = {
24969 (char *) "self", NULL
24970 };
24971
24972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
24973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 result = (double)(arg1)->GetSpacing();
24978
24979 wxPyEndAllowThreads(__tstate);
24980 if (PyErr_Occurred()) SWIG_fail;
24981 }
24982 resultobj = SWIG_FromDouble((double)result);
24983 return resultobj;
24984 fail:
24985 return NULL;
24986 }
24987
24988
24989 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24990 PyObject *resultobj;
24991 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24992 double result;
24993 PyObject * obj0 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
24999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 result = (double)(arg1)->GetSize();
25004
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 resultobj = SWIG_FromDouble((double)result);
25009 return resultobj;
25010 fail:
25011 return NULL;
25012 }
25013
25014
25015 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
25016 PyObject *resultobj;
25017 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25018 wxString result;
25019 PyObject * obj0 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "self", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
25025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = (arg1)->GetName();
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 {
25035 #if wxUSE_UNICODE
25036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25037 #else
25038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25039 #endif
25040 }
25041 return resultobj;
25042 fail:
25043 return NULL;
25044 }
25045
25046
25047 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25048 PyObject *resultobj;
25049 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25050 double arg2 ;
25051 PyObject * obj0 = 0 ;
25052 PyObject * obj1 = 0 ;
25053 char *kwnames[] = {
25054 (char *) "self",(char *) "x", NULL
25055 };
25056
25057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
25058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25060 arg2 = (double) SWIG_AsDouble(obj1);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 (arg1)->SetXOffset(arg2);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 Py_INCREF(Py_None); resultobj = Py_None;
25070 return resultobj;
25071 fail:
25072 return NULL;
25073 }
25074
25075
25076 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25077 PyObject *resultobj;
25078 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25079 double arg2 ;
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj1 = 0 ;
25082 char *kwnames[] = {
25083 (char *) "self",(char *) "y", NULL
25084 };
25085
25086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
25087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25089 arg2 = (double) SWIG_AsDouble(obj1);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 {
25092 PyThreadState* __tstate = wxPyBeginAllowThreads();
25093 (arg1)->SetYOffset(arg2);
25094
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 Py_INCREF(Py_None); resultobj = Py_None;
25099 return resultobj;
25100 fail:
25101 return NULL;
25102 }
25103
25104
25105 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25106 PyObject *resultobj;
25107 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25108 wxPseudoMetaFile *result;
25109 PyObject * obj0 = 0 ;
25110 char *kwnames[] = {
25111 (char *) "self", NULL
25112 };
25113
25114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
25115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
25120
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 {
25125 resultobj = wxPyMake_wxObject(result, 0);
25126 }
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj;
25135 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25136 long result;
25137 PyObject * obj0 = 0 ;
25138 char *kwnames[] = {
25139 (char *) "self", NULL
25140 };
25141
25142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
25143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25145 {
25146 PyThreadState* __tstate = wxPyBeginAllowThreads();
25147 result = (long)(arg1)->GetId();
25148
25149 wxPyEndAllowThreads(__tstate);
25150 if (PyErr_Occurred()) SWIG_fail;
25151 }
25152 resultobj = SWIG_FromLong((long)result);
25153 return resultobj;
25154 fail:
25155 return NULL;
25156 }
25157
25158
25159 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
25160 PyObject *resultobj;
25161 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25162 int result;
25163 PyObject * obj0 = 0 ;
25164 char *kwnames[] = {
25165 (char *) "self", NULL
25166 };
25167
25168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
25169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25171 {
25172 PyThreadState* __tstate = wxPyBeginAllowThreads();
25173 result = (int)(arg1)->GetArrowEnd();
25174
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 resultobj = SWIG_FromInt((int)result);
25179 return resultobj;
25180 fail:
25181 return NULL;
25182 }
25183
25184
25185 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25186 PyObject *resultobj;
25187 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25188 double result;
25189 PyObject * obj0 = 0 ;
25190 char *kwnames[] = {
25191 (char *) "self", NULL
25192 };
25193
25194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
25195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 result = (double)(arg1)->GetArrowSize();
25200
25201 wxPyEndAllowThreads(__tstate);
25202 if (PyErr_Occurred()) SWIG_fail;
25203 }
25204 resultobj = SWIG_FromDouble((double)result);
25205 return resultobj;
25206 fail:
25207 return NULL;
25208 }
25209
25210
25211 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25212 PyObject *resultobj;
25213 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25214 double arg2 ;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 char *kwnames[] = {
25218 (char *) "self",(char *) "size", NULL
25219 };
25220
25221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
25222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25224 arg2 = (double) SWIG_AsDouble(obj1);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 (arg1)->SetSize(arg2);
25229
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
25233 Py_INCREF(Py_None); resultobj = Py_None;
25234 return resultobj;
25235 fail:
25236 return NULL;
25237 }
25238
25239
25240 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25241 PyObject *resultobj;
25242 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25243 double arg2 ;
25244 PyObject * obj0 = 0 ;
25245 PyObject * obj1 = 0 ;
25246 char *kwnames[] = {
25247 (char *) "self",(char *) "sp", NULL
25248 };
25249
25250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25253 arg2 = (double) SWIG_AsDouble(obj1);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 (arg1)->SetSpacing(arg2);
25258
25259 wxPyEndAllowThreads(__tstate);
25260 if (PyErr_Occurred()) SWIG_fail;
25261 }
25262 Py_INCREF(Py_None); resultobj = Py_None;
25263 return resultobj;
25264 fail:
25265 return NULL;
25266 }
25267
25268
25269 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
25270 PyObject *obj;
25271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25272 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25273 Py_INCREF(obj);
25274 return Py_BuildValue((char *)"");
25275 }
25276 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25277 PyObject *resultobj;
25278 wxPyLineShape *result;
25279 char *kwnames[] = {
25280 NULL
25281 };
25282
25283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (wxPyLineShape *)new wxPyLineShape();
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
25292 return resultobj;
25293 fail:
25294 return NULL;
25295 }
25296
25297
25298 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj;
25300 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25301 PyObject *arg2 = (PyObject *) 0 ;
25302 PyObject *arg3 = (PyObject *) 0 ;
25303 PyObject * obj0 = 0 ;
25304 PyObject * obj1 = 0 ;
25305 PyObject * obj2 = 0 ;
25306 char *kwnames[] = {
25307 (char *) "self",(char *) "self",(char *) "_class", NULL
25308 };
25309
25310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25313 arg2 = obj1;
25314 arg3 = obj2;
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 (arg1)->_setCallbackInfo(arg2,arg3);
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 Py_INCREF(Py_None); resultobj = Py_None;
25323 return resultobj;
25324 fail:
25325 return NULL;
25326 }
25327
25328
25329 static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25330 PyObject *resultobj;
25331 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25332 int arg2 ;
25333 int arg3 = (int) ARROW_POSITION_END ;
25334 double arg4 = (double) 10.0 ;
25335 double arg5 = (double) 0.0 ;
25336 wxString const &arg6_defvalue = wxPyEmptyString ;
25337 wxString *arg6 = (wxString *) &arg6_defvalue ;
25338 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25339 long arg8 = (long) -1 ;
25340 bool temp6 = False ;
25341 PyObject * obj0 = 0 ;
25342 PyObject * obj1 = 0 ;
25343 PyObject * obj2 = 0 ;
25344 PyObject * obj3 = 0 ;
25345 PyObject * obj4 = 0 ;
25346 PyObject * obj5 = 0 ;
25347 PyObject * obj6 = 0 ;
25348 PyObject * obj7 = 0 ;
25349 char *kwnames[] = {
25350 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25356 arg2 = (int) SWIG_AsInt(obj1);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 if (obj2) {
25359 arg3 = (int) SWIG_AsInt(obj2);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 if (obj3) {
25363 arg4 = (double) SWIG_AsDouble(obj3);
25364 if (PyErr_Occurred()) SWIG_fail;
25365 }
25366 if (obj4) {
25367 arg5 = (double) SWIG_AsDouble(obj4);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 if (obj5) {
25371 {
25372 arg6 = wxString_in_helper(obj5);
25373 if (arg6 == NULL) SWIG_fail;
25374 temp6 = True;
25375 }
25376 }
25377 if (obj6) {
25378 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPseudoMetaFile,
25379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25380 }
25381 if (obj7) {
25382 arg8 = (long) SWIG_AsLong(obj7);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 }
25385 {
25386 PyThreadState* __tstate = wxPyBeginAllowThreads();
25387 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25388
25389 wxPyEndAllowThreads(__tstate);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 }
25392 Py_INCREF(Py_None); resultobj = Py_None;
25393 {
25394 if (temp6)
25395 delete arg6;
25396 }
25397 return resultobj;
25398 fail:
25399 {
25400 if (temp6)
25401 delete arg6;
25402 }
25403 return NULL;
25404 }
25405
25406
25407 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25410 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25411 PyObject *arg3 = (PyObject *) 0 ;
25412 int arg4 ;
25413 PyObject * obj0 = 0 ;
25414 PyObject * obj1 = 0 ;
25415 PyObject * obj2 = 0 ;
25416 PyObject * obj3 = 0 ;
25417 char *kwnames[] = {
25418 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25419 };
25420
25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
25425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25426 arg3 = obj2;
25427 arg4 = (int) SWIG_AsInt(obj3);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25432
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
25436 Py_INCREF(Py_None); resultobj = Py_None;
25437 return resultobj;
25438 fail:
25439 return NULL;
25440 }
25441
25442
25443 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25444 PyObject *resultobj;
25445 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25446 wxString *arg2 = 0 ;
25447 bool result;
25448 bool temp2 = False ;
25449 PyObject * obj0 = 0 ;
25450 PyObject * obj1 = 0 ;
25451 char *kwnames[] = {
25452 (char *) "self",(char *) "name", NULL
25453 };
25454
25455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
25456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25458 {
25459 arg2 = wxString_in_helper(obj1);
25460 if (arg2 == NULL) SWIG_fail;
25461 temp2 = True;
25462 }
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
25466
25467 wxPyEndAllowThreads(__tstate);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
25470 {
25471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25472 }
25473 {
25474 if (temp2)
25475 delete arg2;
25476 }
25477 return resultobj;
25478 fail:
25479 {
25480 if (temp2)
25481 delete arg2;
25482 }
25483 return NULL;
25484 }
25485
25486
25487 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25488 PyObject *resultobj;
25489 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25490 int arg2 = (int) -1 ;
25491 PyObject * obj0 = 0 ;
25492 PyObject * obj1 = 0 ;
25493 char *kwnames[] = {
25494 (char *) "self",(char *) "position", NULL
25495 };
25496
25497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
25498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25500 if (obj1) {
25501 arg2 = (int) SWIG_AsInt(obj1);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 }
25504 {
25505 PyThreadState* __tstate = wxPyBeginAllowThreads();
25506 (arg1)->ClearArrowsAtPosition(arg2);
25507
25508 wxPyEndAllowThreads(__tstate);
25509 if (PyErr_Occurred()) SWIG_fail;
25510 }
25511 Py_INCREF(Py_None); resultobj = Py_None;
25512 return resultobj;
25513 fail:
25514 return NULL;
25515 }
25516
25517
25518 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25519 PyObject *resultobj;
25520 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25521 wxDC *arg2 = 0 ;
25522 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
25523 double arg4 ;
25524 bool arg5 ;
25525 PyObject * obj0 = 0 ;
25526 PyObject * obj1 = 0 ;
25527 PyObject * obj2 = 0 ;
25528 PyObject * obj3 = 0 ;
25529 PyObject * obj4 = 0 ;
25530 char *kwnames[] = {
25531 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25532 };
25533
25534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25538 SWIG_POINTER_EXCEPTION | 0)) == -1)
25539 SWIG_fail;
25540 if (arg2 == NULL) {
25541 PyErr_SetString(PyExc_TypeError,"null reference");
25542 SWIG_fail;
25543 }
25544 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
25545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25546 arg4 = (double) SWIG_AsDouble(obj3);
25547 if (PyErr_Occurred()) SWIG_fail;
25548 arg5 = (bool) SWIG_AsBool(obj4);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
25553
25554 wxPyEndAllowThreads(__tstate);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
25557 Py_INCREF(Py_None); resultobj = Py_None;
25558 return resultobj;
25559 fail:
25560 return NULL;
25561 }
25562
25563
25564 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25565 PyObject *resultobj;
25566 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25567 long arg2 ;
25568 bool result;
25569 PyObject * obj0 = 0 ;
25570 PyObject * obj1 = 0 ;
25571 char *kwnames[] = {
25572 (char *) "self",(char *) "arrowId", NULL
25573 };
25574
25575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25578 arg2 = (long) SWIG_AsLong(obj1);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 {
25581 PyThreadState* __tstate = wxPyBeginAllowThreads();
25582 result = (bool)(arg1)->DeleteArrowHead(arg2);
25583
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 {
25588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25589 }
25590 return resultobj;
25591 fail:
25592 return NULL;
25593 }
25594
25595
25596 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj;
25598 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25599 int arg2 ;
25600 wxString *arg3 = 0 ;
25601 bool result;
25602 bool temp3 = False ;
25603 PyObject * obj0 = 0 ;
25604 PyObject * obj1 = 0 ;
25605 PyObject * obj2 = 0 ;
25606 char *kwnames[] = {
25607 (char *) "self",(char *) "position",(char *) "name", NULL
25608 };
25609
25610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25613 arg2 = (int) SWIG_AsInt(obj1);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 {
25616 arg3 = wxString_in_helper(obj2);
25617 if (arg3 == NULL) SWIG_fail;
25618 temp3 = True;
25619 }
25620 {
25621 PyThreadState* __tstate = wxPyBeginAllowThreads();
25622 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
25623
25624 wxPyEndAllowThreads(__tstate);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 }
25627 {
25628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25629 }
25630 {
25631 if (temp3)
25632 delete arg3;
25633 }
25634 return resultobj;
25635 fail:
25636 {
25637 if (temp3)
25638 delete arg3;
25639 }
25640 return NULL;
25641 }
25642
25643
25644 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25645 PyObject *resultobj;
25646 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25647 bool result;
25648 PyObject * obj0 = 0 ;
25649 char *kwnames[] = {
25650 (char *) "self", NULL
25651 };
25652
25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
25654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25656 {
25657 PyThreadState* __tstate = wxPyBeginAllowThreads();
25658 result = (bool)(arg1)->DeleteLineControlPoint();
25659
25660 wxPyEndAllowThreads(__tstate);
25661 if (PyErr_Occurred()) SWIG_fail;
25662 }
25663 {
25664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25665 }
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
25673 PyObject *resultobj;
25674 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25675 wxDC *arg2 = 0 ;
25676 PyObject * obj0 = 0 ;
25677 PyObject * obj1 = 0 ;
25678 char *kwnames[] = {
25679 (char *) "self",(char *) "dc", NULL
25680 };
25681
25682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
25683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25686 SWIG_POINTER_EXCEPTION | 0)) == -1)
25687 SWIG_fail;
25688 if (arg2 == NULL) {
25689 PyErr_SetString(PyExc_TypeError,"null reference");
25690 SWIG_fail;
25691 }
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 (arg1)->DrawArrows(*arg2);
25695
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 Py_INCREF(Py_None); resultobj = Py_None;
25700 return resultobj;
25701 fail:
25702 return NULL;
25703 }
25704
25705
25706 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25707 PyObject *resultobj;
25708 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25709 wxDC *arg2 = 0 ;
25710 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25711 double arg4 ;
25712 double arg5 ;
25713 PyObject * obj0 = 0 ;
25714 PyObject * obj1 = 0 ;
25715 PyObject * obj2 = 0 ;
25716 PyObject * obj3 = 0 ;
25717 PyObject * obj4 = 0 ;
25718 char *kwnames[] = {
25719 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25720 };
25721
25722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25726 SWIG_POINTER_EXCEPTION | 0)) == -1)
25727 SWIG_fail;
25728 if (arg2 == NULL) {
25729 PyErr_SetString(PyExc_TypeError,"null reference");
25730 SWIG_fail;
25731 }
25732 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25734 arg4 = (double) SWIG_AsDouble(obj3);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 arg5 = (double) SWIG_AsDouble(obj4);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 {
25739 PyThreadState* __tstate = wxPyBeginAllowThreads();
25740 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
25741
25742 wxPyEndAllowThreads(__tstate);
25743 if (PyErr_Occurred()) SWIG_fail;
25744 }
25745 Py_INCREF(Py_None); resultobj = Py_None;
25746 return resultobj;
25747 fail:
25748 return NULL;
25749 }
25750
25751
25752 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25753 PyObject *resultobj;
25754 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25755 wxDC *arg2 = 0 ;
25756 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25757 double arg4 ;
25758 double arg5 ;
25759 PyObject * obj0 = 0 ;
25760 PyObject * obj1 = 0 ;
25761 PyObject * obj2 = 0 ;
25762 PyObject * obj3 = 0 ;
25763 PyObject * obj4 = 0 ;
25764 char *kwnames[] = {
25765 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25766 };
25767
25768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25772 SWIG_POINTER_EXCEPTION | 0)) == -1)
25773 SWIG_fail;
25774 if (arg2 == NULL) {
25775 PyErr_SetString(PyExc_TypeError,"null reference");
25776 SWIG_fail;
25777 }
25778 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25780 arg4 = (double) SWIG_AsDouble(obj3);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 arg5 = (double) SWIG_AsDouble(obj4);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
25787
25788 wxPyEndAllowThreads(__tstate);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
25791 Py_INCREF(Py_None); resultobj = Py_None;
25792 return resultobj;
25793 fail:
25794 return NULL;
25795 }
25796
25797
25798 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25799 PyObject *resultobj;
25800 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25801 long arg2 ;
25802 wxArrowHead *result;
25803 PyObject * obj0 = 0 ;
25804 PyObject * obj1 = 0 ;
25805 char *kwnames[] = {
25806 (char *) "self",(char *) "arrowId", NULL
25807 };
25808
25809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25812 arg2 = (long) SWIG_AsLong(obj1);
25813 if (PyErr_Occurred()) SWIG_fail;
25814 {
25815 PyThreadState* __tstate = wxPyBeginAllowThreads();
25816 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
25817
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
25821 {
25822 resultobj = wxPyMake_wxObject(result, 0);
25823 }
25824 return resultobj;
25825 fail:
25826 return NULL;
25827 }
25828
25829
25830 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25831 PyObject *resultobj;
25832 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25833 int arg2 ;
25834 wxString *arg3 = 0 ;
25835 wxArrowHead *result;
25836 bool temp3 = False ;
25837 PyObject * obj0 = 0 ;
25838 PyObject * obj1 = 0 ;
25839 PyObject * obj2 = 0 ;
25840 char *kwnames[] = {
25841 (char *) "self",(char *) "position",(char *) "name", NULL
25842 };
25843
25844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25847 arg2 = (int) SWIG_AsInt(obj1);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 {
25850 arg3 = wxString_in_helper(obj2);
25851 if (arg3 == NULL) SWIG_fail;
25852 temp3 = True;
25853 }
25854 {
25855 PyThreadState* __tstate = wxPyBeginAllowThreads();
25856 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
25857
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
25861 {
25862 resultobj = wxPyMake_wxObject(result, 0);
25863 }
25864 {
25865 if (temp3)
25866 delete arg3;
25867 }
25868 return resultobj;
25869 fail:
25870 {
25871 if (temp3)
25872 delete arg3;
25873 }
25874 return NULL;
25875 }
25876
25877
25878 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
25879 PyObject *resultobj;
25880 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25881 double *arg2 = (double *) 0 ;
25882 double *arg3 = (double *) 0 ;
25883 double *arg4 = (double *) 0 ;
25884 double *arg5 = (double *) 0 ;
25885 double temp2 ;
25886 double temp3 ;
25887 double temp4 ;
25888 double temp5 ;
25889 PyObject * obj0 = 0 ;
25890 char *kwnames[] = {
25891 (char *) "self", NULL
25892 };
25893
25894 arg2 = &temp2;
25895 arg3 = &temp3;
25896 arg4 = &temp4;
25897 arg5 = &temp5;
25898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
25899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
25904
25905 wxPyEndAllowThreads(__tstate);
25906 if (PyErr_Occurred()) SWIG_fail;
25907 }
25908 Py_INCREF(Py_None); resultobj = Py_None;
25909 {
25910 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25911 resultobj = t_output_helper(resultobj,o);
25912 }
25913 {
25914 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25915 resultobj = t_output_helper(resultobj,o);
25916 }
25917 {
25918 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25919 resultobj = t_output_helper(resultobj,o);
25920 }
25921 {
25922 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25923 resultobj = t_output_helper(resultobj,o);
25924 }
25925 return resultobj;
25926 fail:
25927 return NULL;
25928 }
25929
25930
25931 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25932 PyObject *resultobj;
25933 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25934 double arg2 ;
25935 double arg3 ;
25936 int result;
25937 PyObject * obj0 = 0 ;
25938 PyObject * obj1 = 0 ;
25939 PyObject * obj2 = 0 ;
25940 char *kwnames[] = {
25941 (char *) "self",(char *) "x",(char *) "y", NULL
25942 };
25943
25944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
25945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25947 arg2 = (double) SWIG_AsDouble(obj1);
25948 if (PyErr_Occurred()) SWIG_fail;
25949 arg3 = (double) SWIG_AsDouble(obj2);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 result = (int)(arg1)->FindLinePosition(arg2,arg3);
25954
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 resultobj = SWIG_FromInt((int)result);
25959 return resultobj;
25960 fail:
25961 return NULL;
25962 }
25963
25964
25965 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
25966 PyObject *resultobj;
25967 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25968 double result;
25969 PyObject * obj0 = 0 ;
25970 char *kwnames[] = {
25971 (char *) "self", NULL
25972 };
25973
25974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
25975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 result = (double)(arg1)->FindMinimumWidth();
25980
25981 wxPyEndAllowThreads(__tstate);
25982 if (PyErr_Occurred()) SWIG_fail;
25983 }
25984 resultobj = SWIG_FromDouble((double)result);
25985 return resultobj;
25986 fail:
25987 return NULL;
25988 }
25989
25990
25991 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
25992 PyObject *resultobj;
25993 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25994 wxPyShape *arg2 = (wxPyShape *) 0 ;
25995 int *arg3 = (int *) 0 ;
25996 int *arg4 = (int *) 0 ;
25997 bool arg5 ;
25998 int temp3 ;
25999 int temp4 ;
26000 PyObject * obj0 = 0 ;
26001 PyObject * obj1 = 0 ;
26002 PyObject * obj2 = 0 ;
26003 char *kwnames[] = {
26004 (char *) "self",(char *) "image",(char *) "incoming", NULL
26005 };
26006
26007 arg3 = &temp3;
26008 arg4 = &temp4;
26009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
26010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26014 arg5 = (bool) SWIG_AsBool(obj2);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 (arg1)->FindNth(arg2,arg3,arg4,arg5);
26019
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 Py_INCREF(Py_None); resultobj = Py_None;
26024 {
26025 PyObject *o = PyInt_FromLong((long) (*arg3));
26026 resultobj = t_output_helper(resultobj,o);
26027 }
26028 {
26029 PyObject *o = PyInt_FromLong((long) (*arg4));
26030 resultobj = t_output_helper(resultobj,o);
26031 }
26032 return resultobj;
26033 fail:
26034 return NULL;
26035 }
26036
26037
26038 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26039 PyObject *resultobj;
26040 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26041 int result;
26042 PyObject * obj0 = 0 ;
26043 char *kwnames[] = {
26044 (char *) "self", NULL
26045 };
26046
26047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
26048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (int)(arg1)->GetAttachmentFrom();
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 resultobj = SWIG_FromInt((int)result);
26058 return resultobj;
26059 fail:
26060 return NULL;
26061 }
26062
26063
26064 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj;
26066 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26067 int result;
26068 PyObject * obj0 = 0 ;
26069 char *kwnames[] = {
26070 (char *) "self", NULL
26071 };
26072
26073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
26074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26076 {
26077 PyThreadState* __tstate = wxPyBeginAllowThreads();
26078 result = (int)(arg1)->GetAttachmentTo();
26079
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 resultobj = SWIG_FromInt((int)result);
26084 return resultobj;
26085 fail:
26086 return NULL;
26087 }
26088
26089
26090 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26091 PyObject *resultobj;
26092 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26093 double *arg2 = (double *) 0 ;
26094 double *arg3 = (double *) 0 ;
26095 double *arg4 = (double *) 0 ;
26096 double *arg5 = (double *) 0 ;
26097 double temp2 ;
26098 double temp3 ;
26099 double temp4 ;
26100 double temp5 ;
26101 PyObject * obj0 = 0 ;
26102 char *kwnames[] = {
26103 (char *) "self", NULL
26104 };
26105
26106 arg2 = &temp2;
26107 arg3 = &temp3;
26108 arg4 = &temp4;
26109 arg5 = &temp5;
26110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
26111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 Py_INCREF(Py_None); resultobj = Py_None;
26121 {
26122 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26123 resultobj = t_output_helper(resultobj,o);
26124 }
26125 {
26126 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26127 resultobj = t_output_helper(resultobj,o);
26128 }
26129 {
26130 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26131 resultobj = t_output_helper(resultobj,o);
26132 }
26133 {
26134 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26135 resultobj = t_output_helper(resultobj,o);
26136 }
26137 return resultobj;
26138 fail:
26139 return NULL;
26140 }
26141
26142
26143 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26144 PyObject *resultobj;
26145 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26146 wxPyShape *result;
26147 PyObject * obj0 = 0 ;
26148 char *kwnames[] = {
26149 (char *) "self", NULL
26150 };
26151
26152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
26153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26155 {
26156 PyThreadState* __tstate = wxPyBeginAllowThreads();
26157 result = (wxPyShape *)(arg1)->GetFrom();
26158
26159 wxPyEndAllowThreads(__tstate);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
26162 {
26163 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
26164 }
26165 return resultobj;
26166 fail:
26167 return NULL;
26168 }
26169
26170
26171 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26172 PyObject *resultobj;
26173 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26174 int arg2 ;
26175 double *arg3 = (double *) 0 ;
26176 double *arg4 = (double *) 0 ;
26177 double temp3 ;
26178 double temp4 ;
26179 PyObject * obj0 = 0 ;
26180 PyObject * obj1 = 0 ;
26181 char *kwnames[] = {
26182 (char *) "self",(char *) "position", NULL
26183 };
26184
26185 arg3 = &temp3;
26186 arg4 = &temp4;
26187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
26188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26190 arg2 = (int) SWIG_AsInt(obj1);
26191 if (PyErr_Occurred()) SWIG_fail;
26192 {
26193 PyThreadState* __tstate = wxPyBeginAllowThreads();
26194 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26195
26196 wxPyEndAllowThreads(__tstate);
26197 if (PyErr_Occurred()) SWIG_fail;
26198 }
26199 Py_INCREF(Py_None); resultobj = Py_None;
26200 {
26201 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26202 resultobj = t_output_helper(resultobj,o);
26203 }
26204 {
26205 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26206 resultobj = t_output_helper(resultobj,o);
26207 }
26208 return resultobj;
26209 fail:
26210 return NULL;
26211 }
26212
26213
26214 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26215 PyObject *resultobj;
26216 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26217 wxPyShape *arg2 = (wxPyShape *) 0 ;
26218 wxRealPoint *result;
26219 PyObject * obj0 = 0 ;
26220 PyObject * obj1 = 0 ;
26221 char *kwnames[] = {
26222 (char *) "self",(char *) "shape", NULL
26223 };
26224
26225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
26226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26233
26234 wxPyEndAllowThreads(__tstate);
26235 if (PyErr_Occurred()) SWIG_fail;
26236 }
26237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
26238 return resultobj;
26239 fail:
26240 return NULL;
26241 }
26242
26243
26244 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26245 PyObject *resultobj;
26246 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26247 wxPyShape *result;
26248 PyObject * obj0 = 0 ;
26249 char *kwnames[] = {
26250 (char *) "self", NULL
26251 };
26252
26253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
26254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 result = (wxPyShape *)(arg1)->GetTo();
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 {
26264 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
26265 }
26266 return resultobj;
26267 fail:
26268 return NULL;
26269 }
26270
26271
26272 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
26273 PyObject *resultobj;
26274 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26275 PyObject * obj0 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
26281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26283 {
26284 PyThreadState* __tstate = wxPyBeginAllowThreads();
26285 (arg1)->Initialise();
26286
26287 wxPyEndAllowThreads(__tstate);
26288 if (PyErr_Occurred()) SWIG_fail;
26289 }
26290 Py_INCREF(Py_None); resultobj = Py_None;
26291 return resultobj;
26292 fail:
26293 return NULL;
26294 }
26295
26296
26297 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26298 PyObject *resultobj;
26299 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26300 wxDC *arg2 = (wxDC *) 0 ;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self",(char *) "dc", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
26308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 (arg1)->InsertLineControlPoint(arg2);
26315
26316 wxPyEndAllowThreads(__tstate);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
26319 Py_INCREF(Py_None); resultobj = Py_None;
26320 return resultobj;
26321 fail:
26322 return NULL;
26323 }
26324
26325
26326 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26327 PyObject *resultobj;
26328 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26329 wxPyShape *arg2 = (wxPyShape *) 0 ;
26330 bool result;
26331 PyObject * obj0 = 0 ;
26332 PyObject * obj1 = 0 ;
26333 char *kwnames[] = {
26334 (char *) "self",(char *) "shape", NULL
26335 };
26336
26337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
26338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26342 {
26343 PyThreadState* __tstate = wxPyBeginAllowThreads();
26344 result = (bool)(arg1)->IsEnd(arg2);
26345
26346 wxPyEndAllowThreads(__tstate);
26347 if (PyErr_Occurred()) SWIG_fail;
26348 }
26349 {
26350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26351 }
26352 return resultobj;
26353 fail:
26354 return NULL;
26355 }
26356
26357
26358 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26359 PyObject *resultobj;
26360 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26361 bool result;
26362 PyObject * obj0 = 0 ;
26363 char *kwnames[] = {
26364 (char *) "self", NULL
26365 };
26366
26367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
26368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26370 {
26371 PyThreadState* __tstate = wxPyBeginAllowThreads();
26372 result = (bool)(arg1)->IsSpline();
26373
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 {
26378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26379 }
26380 return resultobj;
26381 fail:
26382 return NULL;
26383 }
26384
26385
26386 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26387 PyObject *resultobj;
26388 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26389 int arg2 ;
26390 PyObject * obj0 = 0 ;
26391 PyObject * obj1 = 0 ;
26392 char *kwnames[] = {
26393 (char *) "self",(char *) "n", NULL
26394 };
26395
26396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26399 arg2 = (int) SWIG_AsInt(obj1);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 {
26402 PyThreadState* __tstate = wxPyBeginAllowThreads();
26403 (arg1)->MakeLineControlPoints(arg2);
26404
26405 wxPyEndAllowThreads(__tstate);
26406 if (PyErr_Occurred()) SWIG_fail;
26407 }
26408 Py_INCREF(Py_None); resultobj = Py_None;
26409 return resultobj;
26410 fail:
26411 return NULL;
26412 }
26413
26414
26415 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26416 PyObject *resultobj;
26417 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26418 PyObject *result;
26419 PyObject * obj0 = 0 ;
26420 char *kwnames[] = {
26421 (char *) "self", NULL
26422 };
26423
26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
26425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26427 {
26428 PyThreadState* __tstate = wxPyBeginAllowThreads();
26429 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26430
26431 wxPyEndAllowThreads(__tstate);
26432 if (PyErr_Occurred()) SWIG_fail;
26433 }
26434 resultobj = result;
26435 return resultobj;
26436 fail:
26437 return NULL;
26438 }
26439
26440
26441 static PyObject *_wrap_PyLineShape_SetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26442 PyObject *resultobj;
26443 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26444 PyObject *arg2 = (PyObject *) 0 ;
26445 PyObject * obj0 = 0 ;
26446 PyObject * obj1 = 0 ;
26447 char *kwnames[] = {
26448 (char *) "self",(char *) "list", NULL
26449 };
26450
26451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26454 arg2 = obj1;
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
26457 wxPyLineShape_SetLineControlPoints(arg1,arg2);
26458
26459 wxPyEndAllowThreads(__tstate);
26460 if (PyErr_Occurred()) SWIG_fail;
26461 }
26462 Py_INCREF(Py_None); resultobj = Py_None;
26463 return resultobj;
26464 fail:
26465 return NULL;
26466 }
26467
26468
26469 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26470 PyObject *resultobj;
26471 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26472 int arg2 ;
26473 PyObject * obj0 = 0 ;
26474 PyObject * obj1 = 0 ;
26475 char *kwnames[] = {
26476 (char *) "self",(char *) "fromAttach", NULL
26477 };
26478
26479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
26480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26482 arg2 = (int) SWIG_AsInt(obj1);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 (arg1)->SetAttachmentFrom(arg2);
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 Py_INCREF(Py_None); resultobj = Py_None;
26492 return resultobj;
26493 fail:
26494 return NULL;
26495 }
26496
26497
26498 static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj;
26500 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26501 int arg2 ;
26502 int arg3 ;
26503 PyObject * obj0 = 0 ;
26504 PyObject * obj1 = 0 ;
26505 PyObject * obj2 = 0 ;
26506 char *kwnames[] = {
26507 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26508 };
26509
26510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
26511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26513 arg2 = (int) SWIG_AsInt(obj1);
26514 if (PyErr_Occurred()) SWIG_fail;
26515 arg3 = (int) SWIG_AsInt(obj2);
26516 if (PyErr_Occurred()) SWIG_fail;
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 (arg1)->SetAttachments(arg2,arg3);
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 Py_INCREF(Py_None); resultobj = Py_None;
26525 return resultobj;
26526 fail:
26527 return NULL;
26528 }
26529
26530
26531 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26532 PyObject *resultobj;
26533 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26534 int arg2 ;
26535 PyObject * obj0 = 0 ;
26536 PyObject * obj1 = 0 ;
26537 char *kwnames[] = {
26538 (char *) "self",(char *) "toAttach", NULL
26539 };
26540
26541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
26542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26544 arg2 = (int) SWIG_AsInt(obj1);
26545 if (PyErr_Occurred()) SWIG_fail;
26546 {
26547 PyThreadState* __tstate = wxPyBeginAllowThreads();
26548 (arg1)->SetAttachmentTo(arg2);
26549
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 Py_INCREF(Py_None); resultobj = Py_None;
26554 return resultobj;
26555 fail:
26556 return NULL;
26557 }
26558
26559
26560 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj;
26562 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26563 double arg2 ;
26564 double arg3 ;
26565 double arg4 ;
26566 double arg5 ;
26567 PyObject * obj0 = 0 ;
26568 PyObject * obj1 = 0 ;
26569 PyObject * obj2 = 0 ;
26570 PyObject * obj3 = 0 ;
26571 PyObject * obj4 = 0 ;
26572 char *kwnames[] = {
26573 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26574 };
26575
26576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26579 arg2 = (double) SWIG_AsDouble(obj1);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 arg3 = (double) SWIG_AsDouble(obj2);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 arg4 = (double) SWIG_AsDouble(obj3);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 arg5 = (double) SWIG_AsDouble(obj4);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 {
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 Py_INCREF(Py_None); resultobj = Py_None;
26595 return resultobj;
26596 fail:
26597 return NULL;
26598 }
26599
26600
26601 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26604 wxPyShape *arg2 = (wxPyShape *) 0 ;
26605 PyObject * obj0 = 0 ;
26606 PyObject * obj1 = 0 ;
26607 char *kwnames[] = {
26608 (char *) "self",(char *) "object", NULL
26609 };
26610
26611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
26612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26616 {
26617 PyThreadState* __tstate = wxPyBeginAllowThreads();
26618 (arg1)->SetFrom(arg2);
26619
26620 wxPyEndAllowThreads(__tstate);
26621 if (PyErr_Occurred()) SWIG_fail;
26622 }
26623 Py_INCREF(Py_None); resultobj = Py_None;
26624 return resultobj;
26625 fail:
26626 return NULL;
26627 }
26628
26629
26630 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
26631 PyObject *resultobj;
26632 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26633 bool arg2 ;
26634 PyObject * obj0 = 0 ;
26635 PyObject * obj1 = 0 ;
26636 char *kwnames[] = {
26637 (char *) "self",(char *) "ignore", NULL
26638 };
26639
26640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
26641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26643 arg2 = (bool) SWIG_AsBool(obj1);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->SetIgnoreOffsets(arg2);
26648
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 Py_INCREF(Py_None); resultobj = Py_None;
26653 return resultobj;
26654 fail:
26655 return NULL;
26656 }
26657
26658
26659 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26660 PyObject *resultobj;
26661 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26662 bool arg2 ;
26663 PyObject * obj0 = 0 ;
26664 PyObject * obj1 = 0 ;
26665 char *kwnames[] = {
26666 (char *) "self",(char *) "spline", NULL
26667 };
26668
26669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
26670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26672 arg2 = (bool) SWIG_AsBool(obj1);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 {
26675 PyThreadState* __tstate = wxPyBeginAllowThreads();
26676 (arg1)->SetSpline(arg2);
26677
26678 wxPyEndAllowThreads(__tstate);
26679 if (PyErr_Occurred()) SWIG_fail;
26680 }
26681 Py_INCREF(Py_None); resultobj = Py_None;
26682 return resultobj;
26683 fail:
26684 return NULL;
26685 }
26686
26687
26688 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26689 PyObject *resultobj;
26690 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26691 wxPyShape *arg2 = (wxPyShape *) 0 ;
26692 PyObject * obj0 = 0 ;
26693 PyObject * obj1 = 0 ;
26694 char *kwnames[] = {
26695 (char *) "self",(char *) "object", NULL
26696 };
26697
26698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
26699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 (arg1)->SetTo(arg2);
26706
26707 wxPyEndAllowThreads(__tstate);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 }
26710 Py_INCREF(Py_None); resultobj = Py_None;
26711 return resultobj;
26712 fail:
26713 return NULL;
26714 }
26715
26716
26717 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
26718 PyObject *resultobj;
26719 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26720 wxDC *arg2 = (wxDC *) NULL ;
26721 PyObject * obj0 = 0 ;
26722 PyObject * obj1 = 0 ;
26723 char *kwnames[] = {
26724 (char *) "self",(char *) "dc", NULL
26725 };
26726
26727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
26728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26730 if (obj1) {
26731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26733 }
26734 {
26735 PyThreadState* __tstate = wxPyBeginAllowThreads();
26736 (arg1)->Straighten(arg2);
26737
26738 wxPyEndAllowThreads(__tstate);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 }
26741 Py_INCREF(Py_None); resultobj = Py_None;
26742 return resultobj;
26743 fail:
26744 return NULL;
26745 }
26746
26747
26748 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
26749 PyObject *resultobj;
26750 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26751 PyObject * obj0 = 0 ;
26752 char *kwnames[] = {
26753 (char *) "self", NULL
26754 };
26755
26756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
26757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26759 {
26760 PyThreadState* __tstate = wxPyBeginAllowThreads();
26761 (arg1)->Unlink();
26762
26763 wxPyEndAllowThreads(__tstate);
26764 if (PyErr_Occurred()) SWIG_fail;
26765 }
26766 Py_INCREF(Py_None); resultobj = Py_None;
26767 return resultobj;
26768 fail:
26769 return NULL;
26770 }
26771
26772
26773 static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26774 PyObject *resultobj;
26775 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26776 bool arg2 ;
26777 bool arg3 ;
26778 PyObject * obj0 = 0 ;
26779 PyObject * obj1 = 0 ;
26780 PyObject * obj2 = 0 ;
26781 char *kwnames[] = {
26782 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26783 };
26784
26785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
26786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26788 arg2 = (bool) SWIG_AsBool(obj1);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 arg3 = (bool) SWIG_AsBool(obj2);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 {
26793 PyThreadState* __tstate = wxPyBeginAllowThreads();
26794 (arg1)->SetAlignmentOrientation(arg2,arg3);
26795
26796 wxPyEndAllowThreads(__tstate);
26797 if (PyErr_Occurred()) SWIG_fail;
26798 }
26799 Py_INCREF(Py_None); resultobj = Py_None;
26800 return resultobj;
26801 fail:
26802 return NULL;
26803 }
26804
26805
26806 static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26807 PyObject *resultobj;
26808 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26809 bool arg2 ;
26810 int arg3 ;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 PyObject * obj2 = 0 ;
26814 char *kwnames[] = {
26815 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26816 };
26817
26818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
26819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26821 arg2 = (bool) SWIG_AsBool(obj1);
26822 if (PyErr_Occurred()) SWIG_fail;
26823 arg3 = (int) SWIG_AsInt(obj2);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 (arg1)->SetAlignmentType(arg2,arg3);
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
26832 Py_INCREF(Py_None); resultobj = Py_None;
26833 return resultobj;
26834 fail:
26835 return NULL;
26836 }
26837
26838
26839 static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26840 PyObject *resultobj;
26841 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26842 bool arg2 ;
26843 bool result;
26844 PyObject * obj0 = 0 ;
26845 PyObject * obj1 = 0 ;
26846 char *kwnames[] = {
26847 (char *) "self",(char *) "isEnd", NULL
26848 };
26849
26850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
26851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26853 arg2 = (bool) SWIG_AsBool(obj1);
26854 if (PyErr_Occurred()) SWIG_fail;
26855 {
26856 PyThreadState* __tstate = wxPyBeginAllowThreads();
26857 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
26858
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 {
26863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26864 }
26865 return resultobj;
26866 fail:
26867 return NULL;
26868 }
26869
26870
26871 static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26872 PyObject *resultobj;
26873 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26874 bool arg2 ;
26875 int result;
26876 PyObject * obj0 = 0 ;
26877 PyObject * obj1 = 0 ;
26878 char *kwnames[] = {
26879 (char *) "self",(char *) "isEnd", NULL
26880 };
26881
26882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
26883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26885 arg2 = (bool) SWIG_AsBool(obj1);
26886 if (PyErr_Occurred()) SWIG_fail;
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 result = (int)(arg1)->GetAlignmentType(arg2);
26890
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
26894 resultobj = SWIG_FromInt((int)result);
26895 return resultobj;
26896 fail:
26897 return NULL;
26898 }
26899
26900
26901 static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
26902 PyObject *resultobj;
26903 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26904 int result;
26905 PyObject * obj0 = 0 ;
26906 char *kwnames[] = {
26907 (char *) "self", NULL
26908 };
26909
26910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
26911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26913 {
26914 PyThreadState* __tstate = wxPyBeginAllowThreads();
26915 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
26916
26917 wxPyEndAllowThreads(__tstate);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 resultobj = SWIG_FromInt((int)result);
26921 return resultobj;
26922 fail:
26923 return NULL;
26924 }
26925
26926
26927 static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26928 PyObject *resultobj;
26929 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26930 int result;
26931 PyObject * obj0 = 0 ;
26932 char *kwnames[] = {
26933 (char *) "self", NULL
26934 };
26935
26936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
26937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26939 {
26940 PyThreadState* __tstate = wxPyBeginAllowThreads();
26941 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
26942
26943 wxPyEndAllowThreads(__tstate);
26944 if (PyErr_Occurred()) SWIG_fail;
26945 }
26946 resultobj = SWIG_FromInt((int)result);
26947 return resultobj;
26948 fail:
26949 return NULL;
26950 }
26951
26952
26953 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
26954 PyObject *resultobj;
26955 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26956 wxDC *arg2 = 0 ;
26957 PyObject * obj0 = 0 ;
26958 PyObject * obj1 = 0 ;
26959 char *kwnames[] = {
26960 (char *) "self",(char *) "dc", NULL
26961 };
26962
26963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
26964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26967 SWIG_POINTER_EXCEPTION | 0)) == -1)
26968 SWIG_fail;
26969 if (arg2 == NULL) {
26970 PyErr_SetString(PyExc_TypeError,"null reference");
26971 SWIG_fail;
26972 }
26973 {
26974 PyThreadState* __tstate = wxPyBeginAllowThreads();
26975 (arg1)->base_OnDraw(*arg2);
26976
26977 wxPyEndAllowThreads(__tstate);
26978 if (PyErr_Occurred()) SWIG_fail;
26979 }
26980 Py_INCREF(Py_None); resultobj = Py_None;
26981 return resultobj;
26982 fail:
26983 return NULL;
26984 }
26985
26986
26987 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
26988 PyObject *resultobj;
26989 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26990 wxDC *arg2 = 0 ;
26991 PyObject * obj0 = 0 ;
26992 PyObject * obj1 = 0 ;
26993 char *kwnames[] = {
26994 (char *) "self",(char *) "dc", NULL
26995 };
26996
26997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
26998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27001 SWIG_POINTER_EXCEPTION | 0)) == -1)
27002 SWIG_fail;
27003 if (arg2 == NULL) {
27004 PyErr_SetString(PyExc_TypeError,"null reference");
27005 SWIG_fail;
27006 }
27007 {
27008 PyThreadState* __tstate = wxPyBeginAllowThreads();
27009 (arg1)->base_OnDrawContents(*arg2);
27010
27011 wxPyEndAllowThreads(__tstate);
27012 if (PyErr_Occurred()) SWIG_fail;
27013 }
27014 Py_INCREF(Py_None); resultobj = Py_None;
27015 return resultobj;
27016 fail:
27017 return NULL;
27018 }
27019
27020
27021 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
27022 PyObject *resultobj;
27023 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27024 wxDC *arg2 = 0 ;
27025 bool arg3 = (bool) FALSE ;
27026 PyObject * obj0 = 0 ;
27027 PyObject * obj1 = 0 ;
27028 PyObject * obj2 = 0 ;
27029 char *kwnames[] = {
27030 (char *) "self",(char *) "dc",(char *) "erase", NULL
27031 };
27032
27033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
27034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27037 SWIG_POINTER_EXCEPTION | 0)) == -1)
27038 SWIG_fail;
27039 if (arg2 == NULL) {
27040 PyErr_SetString(PyExc_TypeError,"null reference");
27041 SWIG_fail;
27042 }
27043 if (obj2) {
27044 arg3 = (bool) SWIG_AsBool(obj2);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 {
27048 PyThreadState* __tstate = wxPyBeginAllowThreads();
27049 (arg1)->base_OnDrawBranches(*arg2,arg3);
27050
27051 wxPyEndAllowThreads(__tstate);
27052 if (PyErr_Occurred()) SWIG_fail;
27053 }
27054 Py_INCREF(Py_None); resultobj = Py_None;
27055 return resultobj;
27056 fail:
27057 return NULL;
27058 }
27059
27060
27061 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
27062 PyObject *resultobj;
27063 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27064 wxDC *arg2 = 0 ;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj1 = 0 ;
27067 char *kwnames[] = {
27068 (char *) "self",(char *) "dc", NULL
27069 };
27070
27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
27072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27075 SWIG_POINTER_EXCEPTION | 0)) == -1)
27076 SWIG_fail;
27077 if (arg2 == NULL) {
27078 PyErr_SetString(PyExc_TypeError,"null reference");
27079 SWIG_fail;
27080 }
27081 {
27082 PyThreadState* __tstate = wxPyBeginAllowThreads();
27083 (arg1)->base_OnMoveLinks(*arg2);
27084
27085 wxPyEndAllowThreads(__tstate);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
27088 Py_INCREF(Py_None); resultobj = Py_None;
27089 return resultobj;
27090 fail:
27091 return NULL;
27092 }
27093
27094
27095 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
27096 PyObject *resultobj;
27097 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27098 wxDC *arg2 = 0 ;
27099 PyObject * obj0 = 0 ;
27100 PyObject * obj1 = 0 ;
27101 char *kwnames[] = {
27102 (char *) "self",(char *) "dc", NULL
27103 };
27104
27105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
27106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27109 SWIG_POINTER_EXCEPTION | 0)) == -1)
27110 SWIG_fail;
27111 if (arg2 == NULL) {
27112 PyErr_SetString(PyExc_TypeError,"null reference");
27113 SWIG_fail;
27114 }
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 (arg1)->base_OnErase(*arg2);
27118
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 Py_INCREF(Py_None); resultobj = Py_None;
27123 return resultobj;
27124 fail:
27125 return NULL;
27126 }
27127
27128
27129 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
27130 PyObject *resultobj;
27131 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27132 wxDC *arg2 = 0 ;
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 char *kwnames[] = {
27136 (char *) "self",(char *) "dc", NULL
27137 };
27138
27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
27140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27143 SWIG_POINTER_EXCEPTION | 0)) == -1)
27144 SWIG_fail;
27145 if (arg2 == NULL) {
27146 PyErr_SetString(PyExc_TypeError,"null reference");
27147 SWIG_fail;
27148 }
27149 {
27150 PyThreadState* __tstate = wxPyBeginAllowThreads();
27151 (arg1)->base_OnEraseContents(*arg2);
27152
27153 wxPyEndAllowThreads(__tstate);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 Py_INCREF(Py_None); resultobj = Py_None;
27157 return resultobj;
27158 fail:
27159 return NULL;
27160 }
27161
27162
27163 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
27164 PyObject *resultobj;
27165 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27166 wxDC *arg2 = 0 ;
27167 PyObject * obj0 = 0 ;
27168 PyObject * obj1 = 0 ;
27169 char *kwnames[] = {
27170 (char *) "self",(char *) "dc", NULL
27171 };
27172
27173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
27174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27177 SWIG_POINTER_EXCEPTION | 0)) == -1)
27178 SWIG_fail;
27179 if (arg2 == NULL) {
27180 PyErr_SetString(PyExc_TypeError,"null reference");
27181 SWIG_fail;
27182 }
27183 {
27184 PyThreadState* __tstate = wxPyBeginAllowThreads();
27185 (arg1)->base_OnHighlight(*arg2);
27186
27187 wxPyEndAllowThreads(__tstate);
27188 if (PyErr_Occurred()) SWIG_fail;
27189 }
27190 Py_INCREF(Py_None); resultobj = Py_None;
27191 return resultobj;
27192 fail:
27193 return NULL;
27194 }
27195
27196
27197 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27198 PyObject *resultobj;
27199 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27200 double arg2 ;
27201 double arg3 ;
27202 int arg4 = (int) 0 ;
27203 int arg5 = (int) 0 ;
27204 PyObject * obj0 = 0 ;
27205 PyObject * obj1 = 0 ;
27206 PyObject * obj2 = 0 ;
27207 PyObject * obj3 = 0 ;
27208 PyObject * obj4 = 0 ;
27209 char *kwnames[] = {
27210 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27211 };
27212
27213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27216 arg2 = (double) SWIG_AsDouble(obj1);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 arg3 = (double) SWIG_AsDouble(obj2);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 if (obj3) {
27221 arg4 = (int) SWIG_AsInt(obj3);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 if (obj4) {
27225 arg5 = (int) SWIG_AsInt(obj4);
27226 if (PyErr_Occurred()) SWIG_fail;
27227 }
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 Py_INCREF(Py_None); resultobj = Py_None;
27236 return resultobj;
27237 fail:
27238 return NULL;
27239 }
27240
27241
27242 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj;
27244 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27245 double arg2 ;
27246 double arg3 ;
27247 int arg4 = (int) 0 ;
27248 int arg5 = (int) 0 ;
27249 PyObject * obj0 = 0 ;
27250 PyObject * obj1 = 0 ;
27251 PyObject * obj2 = 0 ;
27252 PyObject * obj3 = 0 ;
27253 PyObject * obj4 = 0 ;
27254 char *kwnames[] = {
27255 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27256 };
27257
27258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27261 arg2 = (double) SWIG_AsDouble(obj1);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 arg3 = (double) SWIG_AsDouble(obj2);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 if (obj3) {
27266 arg4 = (int) SWIG_AsInt(obj3);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 }
27269 if (obj4) {
27270 arg5 = (int) SWIG_AsInt(obj4);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 Py_INCREF(Py_None); resultobj = Py_None;
27281 return resultobj;
27282 fail:
27283 return NULL;
27284 }
27285
27286
27287 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27288 PyObject *resultobj;
27289 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27290 double arg2 ;
27291 double arg3 ;
27292 int arg4 = (int) 0 ;
27293 int arg5 = (int) 0 ;
27294 PyObject * obj0 = 0 ;
27295 PyObject * obj1 = 0 ;
27296 PyObject * obj2 = 0 ;
27297 PyObject * obj3 = 0 ;
27298 PyObject * obj4 = 0 ;
27299 char *kwnames[] = {
27300 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27301 };
27302
27303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27306 arg2 = (double) SWIG_AsDouble(obj1);
27307 if (PyErr_Occurred()) SWIG_fail;
27308 arg3 = (double) SWIG_AsDouble(obj2);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 if (obj3) {
27311 arg4 = (int) SWIG_AsInt(obj3);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 }
27314 if (obj4) {
27315 arg5 = (int) SWIG_AsInt(obj4);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 }
27318 {
27319 PyThreadState* __tstate = wxPyBeginAllowThreads();
27320 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27321
27322 wxPyEndAllowThreads(__tstate);
27323 if (PyErr_Occurred()) SWIG_fail;
27324 }
27325 Py_INCREF(Py_None); resultobj = Py_None;
27326 return resultobj;
27327 fail:
27328 return NULL;
27329 }
27330
27331
27332 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27333 PyObject *resultobj;
27334 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27335 double arg2 ;
27336 double arg3 ;
27337 PyObject * obj0 = 0 ;
27338 PyObject * obj1 = 0 ;
27339 PyObject * obj2 = 0 ;
27340 char *kwnames[] = {
27341 (char *) "self",(char *) "x",(char *) "y", NULL
27342 };
27343
27344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27347 arg2 = (double) SWIG_AsDouble(obj1);
27348 if (PyErr_Occurred()) SWIG_fail;
27349 arg3 = (double) SWIG_AsDouble(obj2);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 {
27352 PyThreadState* __tstate = wxPyBeginAllowThreads();
27353 (arg1)->base_OnSize(arg2,arg3);
27354
27355 wxPyEndAllowThreads(__tstate);
27356 if (PyErr_Occurred()) SWIG_fail;
27357 }
27358 Py_INCREF(Py_None); resultobj = Py_None;
27359 return resultobj;
27360 fail:
27361 return NULL;
27362 }
27363
27364
27365 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
27366 PyObject *resultobj;
27367 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27368 wxDC *arg2 = 0 ;
27369 double arg3 ;
27370 double arg4 ;
27371 double arg5 ;
27372 double arg6 ;
27373 bool arg7 = (bool) True ;
27374 bool result;
27375 PyObject * obj0 = 0 ;
27376 PyObject * obj1 = 0 ;
27377 PyObject * obj2 = 0 ;
27378 PyObject * obj3 = 0 ;
27379 PyObject * obj4 = 0 ;
27380 PyObject * obj5 = 0 ;
27381 PyObject * obj6 = 0 ;
27382 char *kwnames[] = {
27383 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27384 };
27385
27386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27390 SWIG_POINTER_EXCEPTION | 0)) == -1)
27391 SWIG_fail;
27392 if (arg2 == NULL) {
27393 PyErr_SetString(PyExc_TypeError,"null reference");
27394 SWIG_fail;
27395 }
27396 arg3 = (double) SWIG_AsDouble(obj2);
27397 if (PyErr_Occurred()) SWIG_fail;
27398 arg4 = (double) SWIG_AsDouble(obj3);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 arg5 = (double) SWIG_AsDouble(obj4);
27401 if (PyErr_Occurred()) SWIG_fail;
27402 arg6 = (double) SWIG_AsDouble(obj5);
27403 if (PyErr_Occurred()) SWIG_fail;
27404 if (obj6) {
27405 arg7 = (bool) SWIG_AsBool(obj6);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 {
27409 PyThreadState* __tstate = wxPyBeginAllowThreads();
27410 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27411
27412 wxPyEndAllowThreads(__tstate);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 }
27415 {
27416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27417 }
27418 return resultobj;
27419 fail:
27420 return NULL;
27421 }
27422
27423
27424 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
27425 PyObject *resultobj;
27426 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27427 wxDC *arg2 = 0 ;
27428 double arg3 ;
27429 double arg4 ;
27430 double arg5 ;
27431 double arg6 ;
27432 bool arg7 = (bool) True ;
27433 PyObject * obj0 = 0 ;
27434 PyObject * obj1 = 0 ;
27435 PyObject * obj2 = 0 ;
27436 PyObject * obj3 = 0 ;
27437 PyObject * obj4 = 0 ;
27438 PyObject * obj5 = 0 ;
27439 PyObject * obj6 = 0 ;
27440 char *kwnames[] = {
27441 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27442 };
27443
27444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27448 SWIG_POINTER_EXCEPTION | 0)) == -1)
27449 SWIG_fail;
27450 if (arg2 == NULL) {
27451 PyErr_SetString(PyExc_TypeError,"null reference");
27452 SWIG_fail;
27453 }
27454 arg3 = (double) SWIG_AsDouble(obj2);
27455 if (PyErr_Occurred()) SWIG_fail;
27456 arg4 = (double) SWIG_AsDouble(obj3);
27457 if (PyErr_Occurred()) SWIG_fail;
27458 arg5 = (double) SWIG_AsDouble(obj4);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 arg6 = (double) SWIG_AsDouble(obj5);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 if (obj6) {
27463 arg7 = (bool) SWIG_AsBool(obj6);
27464 if (PyErr_Occurred()) SWIG_fail;
27465 }
27466 {
27467 PyThreadState* __tstate = wxPyBeginAllowThreads();
27468 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27469
27470 wxPyEndAllowThreads(__tstate);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 Py_INCREF(Py_None); resultobj = Py_None;
27474 return resultobj;
27475 fail:
27476 return NULL;
27477 }
27478
27479
27480 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27481 PyObject *resultobj;
27482 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27483 bool arg2 ;
27484 double arg3 ;
27485 double arg4 ;
27486 int arg5 = (int) 0 ;
27487 int arg6 = (int) 0 ;
27488 PyObject * obj0 = 0 ;
27489 PyObject * obj1 = 0 ;
27490 PyObject * obj2 = 0 ;
27491 PyObject * obj3 = 0 ;
27492 PyObject * obj4 = 0 ;
27493 PyObject * obj5 = 0 ;
27494 char *kwnames[] = {
27495 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27496 };
27497
27498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27501 arg2 = (bool) SWIG_AsBool(obj1);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 arg3 = (double) SWIG_AsDouble(obj2);
27504 if (PyErr_Occurred()) SWIG_fail;
27505 arg4 = (double) SWIG_AsDouble(obj3);
27506 if (PyErr_Occurred()) SWIG_fail;
27507 if (obj4) {
27508 arg5 = (int) SWIG_AsInt(obj4);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 if (obj5) {
27512 arg6 = (int) SWIG_AsInt(obj5);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27518
27519 wxPyEndAllowThreads(__tstate);
27520 if (PyErr_Occurred()) SWIG_fail;
27521 }
27522 Py_INCREF(Py_None); resultobj = Py_None;
27523 return resultobj;
27524 fail:
27525 return NULL;
27526 }
27527
27528
27529 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27530 PyObject *resultobj;
27531 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27532 double arg2 ;
27533 double arg3 ;
27534 int arg4 = (int) 0 ;
27535 int arg5 = (int) 0 ;
27536 PyObject * obj0 = 0 ;
27537 PyObject * obj1 = 0 ;
27538 PyObject * obj2 = 0 ;
27539 PyObject * obj3 = 0 ;
27540 PyObject * obj4 = 0 ;
27541 char *kwnames[] = {
27542 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27543 };
27544
27545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27548 arg2 = (double) SWIG_AsDouble(obj1);
27549 if (PyErr_Occurred()) SWIG_fail;
27550 arg3 = (double) SWIG_AsDouble(obj2);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 if (obj3) {
27553 arg4 = (int) SWIG_AsInt(obj3);
27554 if (PyErr_Occurred()) SWIG_fail;
27555 }
27556 if (obj4) {
27557 arg5 = (int) SWIG_AsInt(obj4);
27558 if (PyErr_Occurred()) SWIG_fail;
27559 }
27560 {
27561 PyThreadState* __tstate = wxPyBeginAllowThreads();
27562 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27563
27564 wxPyEndAllowThreads(__tstate);
27565 if (PyErr_Occurred()) SWIG_fail;
27566 }
27567 Py_INCREF(Py_None); resultobj = Py_None;
27568 return resultobj;
27569 fail:
27570 return NULL;
27571 }
27572
27573
27574 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27575 PyObject *resultobj;
27576 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27577 double arg2 ;
27578 double arg3 ;
27579 int arg4 = (int) 0 ;
27580 int arg5 = (int) 0 ;
27581 PyObject * obj0 = 0 ;
27582 PyObject * obj1 = 0 ;
27583 PyObject * obj2 = 0 ;
27584 PyObject * obj3 = 0 ;
27585 PyObject * obj4 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27593 arg2 = (double) SWIG_AsDouble(obj1);
27594 if (PyErr_Occurred()) SWIG_fail;
27595 arg3 = (double) SWIG_AsDouble(obj2);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 if (obj3) {
27598 arg4 = (int) SWIG_AsInt(obj3);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 if (obj4) {
27602 arg5 = (int) SWIG_AsInt(obj4);
27603 if (PyErr_Occurred()) SWIG_fail;
27604 }
27605 {
27606 PyThreadState* __tstate = wxPyBeginAllowThreads();
27607 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27608
27609 wxPyEndAllowThreads(__tstate);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
27612 Py_INCREF(Py_None); resultobj = Py_None;
27613 return resultobj;
27614 fail:
27615 return NULL;
27616 }
27617
27618
27619 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27620 PyObject *resultobj;
27621 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27622 bool arg2 ;
27623 double arg3 ;
27624 double arg4 ;
27625 int arg5 = (int) 0 ;
27626 int arg6 = (int) 0 ;
27627 PyObject * obj0 = 0 ;
27628 PyObject * obj1 = 0 ;
27629 PyObject * obj2 = 0 ;
27630 PyObject * obj3 = 0 ;
27631 PyObject * obj4 = 0 ;
27632 PyObject * obj5 = 0 ;
27633 char *kwnames[] = {
27634 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27635 };
27636
27637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27640 arg2 = (bool) SWIG_AsBool(obj1);
27641 if (PyErr_Occurred()) SWIG_fail;
27642 arg3 = (double) SWIG_AsDouble(obj2);
27643 if (PyErr_Occurred()) SWIG_fail;
27644 arg4 = (double) SWIG_AsDouble(obj3);
27645 if (PyErr_Occurred()) SWIG_fail;
27646 if (obj4) {
27647 arg5 = (int) SWIG_AsInt(obj4);
27648 if (PyErr_Occurred()) SWIG_fail;
27649 }
27650 if (obj5) {
27651 arg6 = (int) SWIG_AsInt(obj5);
27652 if (PyErr_Occurred()) SWIG_fail;
27653 }
27654 {
27655 PyThreadState* __tstate = wxPyBeginAllowThreads();
27656 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27657
27658 wxPyEndAllowThreads(__tstate);
27659 if (PyErr_Occurred()) SWIG_fail;
27660 }
27661 Py_INCREF(Py_None); resultobj = Py_None;
27662 return resultobj;
27663 fail:
27664 return NULL;
27665 }
27666
27667
27668 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27669 PyObject *resultobj;
27670 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27671 double arg2 ;
27672 double arg3 ;
27673 int arg4 = (int) 0 ;
27674 int arg5 = (int) 0 ;
27675 PyObject * obj0 = 0 ;
27676 PyObject * obj1 = 0 ;
27677 PyObject * obj2 = 0 ;
27678 PyObject * obj3 = 0 ;
27679 PyObject * obj4 = 0 ;
27680 char *kwnames[] = {
27681 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27682 };
27683
27684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27687 arg2 = (double) SWIG_AsDouble(obj1);
27688 if (PyErr_Occurred()) SWIG_fail;
27689 arg3 = (double) SWIG_AsDouble(obj2);
27690 if (PyErr_Occurred()) SWIG_fail;
27691 if (obj3) {
27692 arg4 = (int) SWIG_AsInt(obj3);
27693 if (PyErr_Occurred()) SWIG_fail;
27694 }
27695 if (obj4) {
27696 arg5 = (int) SWIG_AsInt(obj4);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 {
27700 PyThreadState* __tstate = wxPyBeginAllowThreads();
27701 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27702
27703 wxPyEndAllowThreads(__tstate);
27704 if (PyErr_Occurred()) SWIG_fail;
27705 }
27706 Py_INCREF(Py_None); resultobj = Py_None;
27707 return resultobj;
27708 fail:
27709 return NULL;
27710 }
27711
27712
27713 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27714 PyObject *resultobj;
27715 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27716 double arg2 ;
27717 double arg3 ;
27718 int arg4 = (int) 0 ;
27719 int arg5 = (int) 0 ;
27720 PyObject * obj0 = 0 ;
27721 PyObject * obj1 = 0 ;
27722 PyObject * obj2 = 0 ;
27723 PyObject * obj3 = 0 ;
27724 PyObject * obj4 = 0 ;
27725 char *kwnames[] = {
27726 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27727 };
27728
27729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27732 arg2 = (double) SWIG_AsDouble(obj1);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 arg3 = (double) SWIG_AsDouble(obj2);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 if (obj3) {
27737 arg4 = (int) SWIG_AsInt(obj3);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 if (obj4) {
27741 arg5 = (int) SWIG_AsInt(obj4);
27742 if (PyErr_Occurred()) SWIG_fail;
27743 }
27744 {
27745 PyThreadState* __tstate = wxPyBeginAllowThreads();
27746 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27747
27748 wxPyEndAllowThreads(__tstate);
27749 if (PyErr_Occurred()) SWIG_fail;
27750 }
27751 Py_INCREF(Py_None); resultobj = Py_None;
27752 return resultobj;
27753 fail:
27754 return NULL;
27755 }
27756
27757
27758 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
27759 PyObject *resultobj;
27760 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27761 wxDC *arg2 = 0 ;
27762 double arg3 ;
27763 double arg4 ;
27764 double arg5 ;
27765 double arg6 ;
27766 PyObject * obj0 = 0 ;
27767 PyObject * obj1 = 0 ;
27768 PyObject * obj2 = 0 ;
27769 PyObject * obj3 = 0 ;
27770 PyObject * obj4 = 0 ;
27771 PyObject * obj5 = 0 ;
27772 char *kwnames[] = {
27773 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27774 };
27775
27776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27780 SWIG_POINTER_EXCEPTION | 0)) == -1)
27781 SWIG_fail;
27782 if (arg2 == NULL) {
27783 PyErr_SetString(PyExc_TypeError,"null reference");
27784 SWIG_fail;
27785 }
27786 arg3 = (double) SWIG_AsDouble(obj2);
27787 if (PyErr_Occurred()) SWIG_fail;
27788 arg4 = (double) SWIG_AsDouble(obj3);
27789 if (PyErr_Occurred()) SWIG_fail;
27790 arg5 = (double) SWIG_AsDouble(obj4);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 arg6 = (double) SWIG_AsDouble(obj5);
27793 if (PyErr_Occurred()) SWIG_fail;
27794 {
27795 PyThreadState* __tstate = wxPyBeginAllowThreads();
27796 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27797
27798 wxPyEndAllowThreads(__tstate);
27799 if (PyErr_Occurred()) SWIG_fail;
27800 }
27801 Py_INCREF(Py_None); resultobj = Py_None;
27802 return resultobj;
27803 fail:
27804 return NULL;
27805 }
27806
27807
27808 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27809 PyObject *resultobj;
27810 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27811 wxDC *arg2 = 0 ;
27812 PyObject * obj0 = 0 ;
27813 PyObject * obj1 = 0 ;
27814 char *kwnames[] = {
27815 (char *) "self",(char *) "dc", NULL
27816 };
27817
27818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
27819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27822 SWIG_POINTER_EXCEPTION | 0)) == -1)
27823 SWIG_fail;
27824 if (arg2 == NULL) {
27825 PyErr_SetString(PyExc_TypeError,"null reference");
27826 SWIG_fail;
27827 }
27828 {
27829 PyThreadState* __tstate = wxPyBeginAllowThreads();
27830 (arg1)->base_OnDrawControlPoints(*arg2);
27831
27832 wxPyEndAllowThreads(__tstate);
27833 if (PyErr_Occurred()) SWIG_fail;
27834 }
27835 Py_INCREF(Py_None); resultobj = Py_None;
27836 return resultobj;
27837 fail:
27838 return NULL;
27839 }
27840
27841
27842 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27843 PyObject *resultobj;
27844 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27845 wxDC *arg2 = 0 ;
27846 PyObject * obj0 = 0 ;
27847 PyObject * obj1 = 0 ;
27848 char *kwnames[] = {
27849 (char *) "self",(char *) "dc", NULL
27850 };
27851
27852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
27853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27856 SWIG_POINTER_EXCEPTION | 0)) == -1)
27857 SWIG_fail;
27858 if (arg2 == NULL) {
27859 PyErr_SetString(PyExc_TypeError,"null reference");
27860 SWIG_fail;
27861 }
27862 {
27863 PyThreadState* __tstate = wxPyBeginAllowThreads();
27864 (arg1)->base_OnEraseControlPoints(*arg2);
27865
27866 wxPyEndAllowThreads(__tstate);
27867 if (PyErr_Occurred()) SWIG_fail;
27868 }
27869 Py_INCREF(Py_None); resultobj = Py_None;
27870 return resultobj;
27871 fail:
27872 return NULL;
27873 }
27874
27875
27876 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27877 PyObject *resultobj;
27878 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27879 wxDC *arg2 = 0 ;
27880 bool arg3 = (bool) True ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 PyObject * obj2 = 0 ;
27884 char *kwnames[] = {
27885 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27886 };
27887
27888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
27889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27892 SWIG_POINTER_EXCEPTION | 0)) == -1)
27893 SWIG_fail;
27894 if (arg2 == NULL) {
27895 PyErr_SetString(PyExc_TypeError,"null reference");
27896 SWIG_fail;
27897 }
27898 if (obj2) {
27899 arg3 = (bool) SWIG_AsBool(obj2);
27900 if (PyErr_Occurred()) SWIG_fail;
27901 }
27902 {
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 (arg1)->base_OnMoveLink(*arg2,arg3);
27905
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 Py_INCREF(Py_None); resultobj = Py_None;
27910 return resultobj;
27911 fail:
27912 return NULL;
27913 }
27914
27915
27916 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27917 PyObject *resultobj;
27918 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27919 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27920 bool arg3 ;
27921 double arg4 ;
27922 double arg5 ;
27923 int arg6 = (int) 0 ;
27924 int arg7 = (int) 0 ;
27925 PyObject * obj0 = 0 ;
27926 PyObject * obj1 = 0 ;
27927 PyObject * obj2 = 0 ;
27928 PyObject * obj3 = 0 ;
27929 PyObject * obj4 = 0 ;
27930 PyObject * obj5 = 0 ;
27931 PyObject * obj6 = 0 ;
27932 char *kwnames[] = {
27933 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27934 };
27935
27936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27941 arg3 = (bool) SWIG_AsBool(obj2);
27942 if (PyErr_Occurred()) SWIG_fail;
27943 arg4 = (double) SWIG_AsDouble(obj3);
27944 if (PyErr_Occurred()) SWIG_fail;
27945 arg5 = (double) SWIG_AsDouble(obj4);
27946 if (PyErr_Occurred()) SWIG_fail;
27947 if (obj5) {
27948 arg6 = (int) SWIG_AsInt(obj5);
27949 if (PyErr_Occurred()) SWIG_fail;
27950 }
27951 if (obj6) {
27952 arg7 = (int) SWIG_AsInt(obj6);
27953 if (PyErr_Occurred()) SWIG_fail;
27954 }
27955 {
27956 PyThreadState* __tstate = wxPyBeginAllowThreads();
27957 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
27958
27959 wxPyEndAllowThreads(__tstate);
27960 if (PyErr_Occurred()) SWIG_fail;
27961 }
27962 Py_INCREF(Py_None); resultobj = Py_None;
27963 return resultobj;
27964 fail:
27965 return NULL;
27966 }
27967
27968
27969 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27970 PyObject *resultobj;
27971 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27972 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27973 double arg3 ;
27974 double arg4 ;
27975 int arg5 = (int) 0 ;
27976 int arg6 = (int) 0 ;
27977 PyObject * obj0 = 0 ;
27978 PyObject * obj1 = 0 ;
27979 PyObject * obj2 = 0 ;
27980 PyObject * obj3 = 0 ;
27981 PyObject * obj4 = 0 ;
27982 PyObject * obj5 = 0 ;
27983 char *kwnames[] = {
27984 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27985 };
27986
27987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27992 arg3 = (double) SWIG_AsDouble(obj2);
27993 if (PyErr_Occurred()) SWIG_fail;
27994 arg4 = (double) SWIG_AsDouble(obj3);
27995 if (PyErr_Occurred()) SWIG_fail;
27996 if (obj4) {
27997 arg5 = (int) SWIG_AsInt(obj4);
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 if (obj5) {
28001 arg6 = (int) SWIG_AsInt(obj5);
28002 if (PyErr_Occurred()) SWIG_fail;
28003 }
28004 {
28005 PyThreadState* __tstate = wxPyBeginAllowThreads();
28006 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
28007
28008 wxPyEndAllowThreads(__tstate);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 }
28011 Py_INCREF(Py_None); resultobj = Py_None;
28012 return resultobj;
28013 fail:
28014 return NULL;
28015 }
28016
28017
28018 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28019 PyObject *resultobj;
28020 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28021 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28022 double arg3 ;
28023 double arg4 ;
28024 int arg5 = (int) 0 ;
28025 int arg6 = (int) 0 ;
28026 PyObject * obj0 = 0 ;
28027 PyObject * obj1 = 0 ;
28028 PyObject * obj2 = 0 ;
28029 PyObject * obj3 = 0 ;
28030 PyObject * obj4 = 0 ;
28031 PyObject * obj5 = 0 ;
28032 char *kwnames[] = {
28033 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28034 };
28035
28036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
28040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28041 arg3 = (double) SWIG_AsDouble(obj2);
28042 if (PyErr_Occurred()) SWIG_fail;
28043 arg4 = (double) SWIG_AsDouble(obj3);
28044 if (PyErr_Occurred()) SWIG_fail;
28045 if (obj4) {
28046 arg5 = (int) SWIG_AsInt(obj4);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 if (obj5) {
28050 arg6 = (int) SWIG_AsInt(obj5);
28051 if (PyErr_Occurred()) SWIG_fail;
28052 }
28053 {
28054 PyThreadState* __tstate = wxPyBeginAllowThreads();
28055 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
28056
28057 wxPyEndAllowThreads(__tstate);
28058 if (PyErr_Occurred()) SWIG_fail;
28059 }
28060 Py_INCREF(Py_None); resultobj = Py_None;
28061 return resultobj;
28062 fail:
28063 return NULL;
28064 }
28065
28066
28067 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28068 PyObject *resultobj;
28069 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28070 double arg2 ;
28071 double arg3 ;
28072 PyObject * obj0 = 0 ;
28073 PyObject * obj1 = 0 ;
28074 PyObject * obj2 = 0 ;
28075 char *kwnames[] = {
28076 (char *) "self",(char *) "w",(char *) "h", NULL
28077 };
28078
28079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28082 arg2 = (double) SWIG_AsDouble(obj1);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 arg3 = (double) SWIG_AsDouble(obj2);
28085 if (PyErr_Occurred()) SWIG_fail;
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 (arg1)->base_OnBeginSize(arg2,arg3);
28089
28090 wxPyEndAllowThreads(__tstate);
28091 if (PyErr_Occurred()) SWIG_fail;
28092 }
28093 Py_INCREF(Py_None); resultobj = Py_None;
28094 return resultobj;
28095 fail:
28096 return NULL;
28097 }
28098
28099
28100 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28101 PyObject *resultobj;
28102 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28103 double arg2 ;
28104 double arg3 ;
28105 PyObject * obj0 = 0 ;
28106 PyObject * obj1 = 0 ;
28107 PyObject * obj2 = 0 ;
28108 char *kwnames[] = {
28109 (char *) "self",(char *) "w",(char *) "h", NULL
28110 };
28111
28112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28115 arg2 = (double) SWIG_AsDouble(obj1);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 arg3 = (double) SWIG_AsDouble(obj2);
28118 if (PyErr_Occurred()) SWIG_fail;
28119 {
28120 PyThreadState* __tstate = wxPyBeginAllowThreads();
28121 (arg1)->base_OnEndSize(arg2,arg3);
28122
28123 wxPyEndAllowThreads(__tstate);
28124 if (PyErr_Occurred()) SWIG_fail;
28125 }
28126 Py_INCREF(Py_None); resultobj = Py_None;
28127 return resultobj;
28128 fail:
28129 return NULL;
28130 }
28131
28132
28133 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
28134 PyObject *obj;
28135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28136 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
28137 Py_INCREF(obj);
28138 return Py_BuildValue((char *)"");
28139 }
28140 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
28141 PyObject *resultobj;
28142 wxPyPolygonShape *result;
28143 char *kwnames[] = {
28144 NULL
28145 };
28146
28147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
28148 {
28149 PyThreadState* __tstate = wxPyBeginAllowThreads();
28150 result = (wxPyPolygonShape *)new wxPyPolygonShape();
28151
28152 wxPyEndAllowThreads(__tstate);
28153 if (PyErr_Occurred()) SWIG_fail;
28154 }
28155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
28156 return resultobj;
28157 fail:
28158 return NULL;
28159 }
28160
28161
28162 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28163 PyObject *resultobj;
28164 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28165 PyObject *arg2 = (PyObject *) 0 ;
28166 PyObject *arg3 = (PyObject *) 0 ;
28167 PyObject * obj0 = 0 ;
28168 PyObject * obj1 = 0 ;
28169 PyObject * obj2 = 0 ;
28170 char *kwnames[] = {
28171 (char *) "self",(char *) "self",(char *) "_class", NULL
28172 };
28173
28174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28177 arg2 = obj1;
28178 arg3 = obj2;
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
28181 (arg1)->_setCallbackInfo(arg2,arg3);
28182
28183 wxPyEndAllowThreads(__tstate);
28184 if (PyErr_Occurred()) SWIG_fail;
28185 }
28186 Py_INCREF(Py_None); resultobj = Py_None;
28187 return resultobj;
28188 fail:
28189 return NULL;
28190 }
28191
28192
28193 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28194 PyObject *resultobj;
28195 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28196 PyObject *arg2 = (PyObject *) 0 ;
28197 PyObject *result;
28198 PyObject * obj0 = 0 ;
28199 PyObject * obj1 = 0 ;
28200 char *kwnames[] = {
28201 (char *) "self",(char *) "points", NULL
28202 };
28203
28204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
28205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28207 arg2 = obj1;
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 resultobj = result;
28216 return resultobj;
28217 fail:
28218 return NULL;
28219 }
28220
28221
28222 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28223 PyObject *resultobj;
28224 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28225 int arg2 = (int) 0 ;
28226 PyObject * obj0 = 0 ;
28227 PyObject * obj1 = 0 ;
28228 char *kwnames[] = {
28229 (char *) "self",(char *) "pos", NULL
28230 };
28231
28232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28235 if (obj1) {
28236 arg2 = (int) SWIG_AsInt(obj1);
28237 if (PyErr_Occurred()) SWIG_fail;
28238 }
28239 {
28240 PyThreadState* __tstate = wxPyBeginAllowThreads();
28241 (arg1)->AddPolygonPoint(arg2);
28242
28243 wxPyEndAllowThreads(__tstate);
28244 if (PyErr_Occurred()) SWIG_fail;
28245 }
28246 Py_INCREF(Py_None); resultobj = Py_None;
28247 return resultobj;
28248 fail:
28249 return NULL;
28250 }
28251
28252
28253 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
28254 PyObject *resultobj;
28255 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28256 PyObject * obj0 = 0 ;
28257 char *kwnames[] = {
28258 (char *) "self", NULL
28259 };
28260
28261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
28262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28264 {
28265 PyThreadState* __tstate = wxPyBeginAllowThreads();
28266 (arg1)->CalculatePolygonCentre();
28267
28268 wxPyEndAllowThreads(__tstate);
28269 if (PyErr_Occurred()) SWIG_fail;
28270 }
28271 Py_INCREF(Py_None); resultobj = Py_None;
28272 return resultobj;
28273 fail:
28274 return NULL;
28275 }
28276
28277
28278 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28279 PyObject *resultobj;
28280 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28281 int arg2 = (int) 0 ;
28282 PyObject * obj0 = 0 ;
28283 PyObject * obj1 = 0 ;
28284 char *kwnames[] = {
28285 (char *) "self",(char *) "pos", NULL
28286 };
28287
28288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28291 if (obj1) {
28292 arg2 = (int) SWIG_AsInt(obj1);
28293 if (PyErr_Occurred()) SWIG_fail;
28294 }
28295 {
28296 PyThreadState* __tstate = wxPyBeginAllowThreads();
28297 (arg1)->DeletePolygonPoint(arg2);
28298
28299 wxPyEndAllowThreads(__tstate);
28300 if (PyErr_Occurred()) SWIG_fail;
28301 }
28302 Py_INCREF(Py_None); resultobj = Py_None;
28303 return resultobj;
28304 fail:
28305 return NULL;
28306 }
28307
28308
28309 static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28310 PyObject *resultobj;
28311 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28312 PyObject *result;
28313 PyObject * obj0 = 0 ;
28314 char *kwnames[] = {
28315 (char *) "self", NULL
28316 };
28317
28318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
28319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28321 {
28322 PyThreadState* __tstate = wxPyBeginAllowThreads();
28323 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28324
28325 wxPyEndAllowThreads(__tstate);
28326 if (PyErr_Occurred()) SWIG_fail;
28327 }
28328 resultobj = result;
28329 return resultobj;
28330 fail:
28331 return NULL;
28332 }
28333
28334
28335 static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28336 PyObject *resultobj;
28337 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28338 PyObject *result;
28339 PyObject * obj0 = 0 ;
28340 char *kwnames[] = {
28341 (char *) "self", NULL
28342 };
28343
28344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
28345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28347 {
28348 PyThreadState* __tstate = wxPyBeginAllowThreads();
28349 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28350
28351 wxPyEndAllowThreads(__tstate);
28352 if (PyErr_Occurred()) SWIG_fail;
28353 }
28354 resultobj = result;
28355 return resultobj;
28356 fail:
28357 return NULL;
28358 }
28359
28360
28361 static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28362 PyObject *resultobj;
28363 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28364 double result;
28365 PyObject * obj0 = 0 ;
28366 char *kwnames[] = {
28367 (char *) "self", NULL
28368 };
28369
28370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
28371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28373 {
28374 PyThreadState* __tstate = wxPyBeginAllowThreads();
28375 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28376
28377 wxPyEndAllowThreads(__tstate);
28378 if (PyErr_Occurred()) SWIG_fail;
28379 }
28380 resultobj = SWIG_FromDouble((double)result);
28381 return resultobj;
28382 fail:
28383 return NULL;
28384 }
28385
28386
28387 static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28388 PyObject *resultobj;
28389 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28390 double result;
28391 PyObject * obj0 = 0 ;
28392 char *kwnames[] = {
28393 (char *) "self", NULL
28394 };
28395
28396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
28397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28399 {
28400 PyThreadState* __tstate = wxPyBeginAllowThreads();
28401 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28402
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 resultobj = SWIG_FromDouble((double)result);
28407 return resultobj;
28408 fail:
28409 return NULL;
28410 }
28411
28412
28413 static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28414 PyObject *resultobj;
28415 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28416 double arg2 ;
28417 PyObject * obj0 = 0 ;
28418 PyObject * obj1 = 0 ;
28419 char *kwnames[] = {
28420 (char *) "self",(char *) "w", NULL
28421 };
28422
28423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
28424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28426 arg2 = (double) SWIG_AsDouble(obj1);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 {
28429 PyThreadState* __tstate = wxPyBeginAllowThreads();
28430 (arg1)->SetOriginalWidth(arg2);
28431
28432 wxPyEndAllowThreads(__tstate);
28433 if (PyErr_Occurred()) SWIG_fail;
28434 }
28435 Py_INCREF(Py_None); resultobj = Py_None;
28436 return resultobj;
28437 fail:
28438 return NULL;
28439 }
28440
28441
28442 static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28443 PyObject *resultobj;
28444 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28445 double arg2 ;
28446 PyObject * obj0 = 0 ;
28447 PyObject * obj1 = 0 ;
28448 char *kwnames[] = {
28449 (char *) "self",(char *) "h", NULL
28450 };
28451
28452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
28453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28455 arg2 = (double) SWIG_AsDouble(obj1);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 {
28458 PyThreadState* __tstate = wxPyBeginAllowThreads();
28459 (arg1)->SetOriginalHeight(arg2);
28460
28461 wxPyEndAllowThreads(__tstate);
28462 if (PyErr_Occurred()) SWIG_fail;
28463 }
28464 Py_INCREF(Py_None); resultobj = Py_None;
28465 return resultobj;
28466 fail:
28467 return NULL;
28468 }
28469
28470
28471 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28472 PyObject *resultobj;
28473 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28474 PyObject * obj0 = 0 ;
28475 char *kwnames[] = {
28476 (char *) "self", NULL
28477 };
28478
28479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
28480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 (arg1)->UpdateOriginalPoints();
28485
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 Py_INCREF(Py_None); resultobj = Py_None;
28490 return resultobj;
28491 fail:
28492 return NULL;
28493 }
28494
28495
28496 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
28497 PyObject *resultobj;
28498 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28499 wxDC *arg2 = 0 ;
28500 PyObject * obj0 = 0 ;
28501 PyObject * obj1 = 0 ;
28502 char *kwnames[] = {
28503 (char *) "self",(char *) "dc", NULL
28504 };
28505
28506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
28507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28510 SWIG_POINTER_EXCEPTION | 0)) == -1)
28511 SWIG_fail;
28512 if (arg2 == NULL) {
28513 PyErr_SetString(PyExc_TypeError,"null reference");
28514 SWIG_fail;
28515 }
28516 {
28517 PyThreadState* __tstate = wxPyBeginAllowThreads();
28518 (arg1)->base_OnDraw(*arg2);
28519
28520 wxPyEndAllowThreads(__tstate);
28521 if (PyErr_Occurred()) SWIG_fail;
28522 }
28523 Py_INCREF(Py_None); resultobj = Py_None;
28524 return resultobj;
28525 fail:
28526 return NULL;
28527 }
28528
28529
28530 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28531 PyObject *resultobj;
28532 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28533 wxDC *arg2 = 0 ;
28534 PyObject * obj0 = 0 ;
28535 PyObject * obj1 = 0 ;
28536 char *kwnames[] = {
28537 (char *) "self",(char *) "dc", NULL
28538 };
28539
28540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
28541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28544 SWIG_POINTER_EXCEPTION | 0)) == -1)
28545 SWIG_fail;
28546 if (arg2 == NULL) {
28547 PyErr_SetString(PyExc_TypeError,"null reference");
28548 SWIG_fail;
28549 }
28550 {
28551 PyThreadState* __tstate = wxPyBeginAllowThreads();
28552 (arg1)->base_OnDrawContents(*arg2);
28553
28554 wxPyEndAllowThreads(__tstate);
28555 if (PyErr_Occurred()) SWIG_fail;
28556 }
28557 Py_INCREF(Py_None); resultobj = Py_None;
28558 return resultobj;
28559 fail:
28560 return NULL;
28561 }
28562
28563
28564 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
28565 PyObject *resultobj;
28566 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28567 wxDC *arg2 = 0 ;
28568 bool arg3 = (bool) FALSE ;
28569 PyObject * obj0 = 0 ;
28570 PyObject * obj1 = 0 ;
28571 PyObject * obj2 = 0 ;
28572 char *kwnames[] = {
28573 (char *) "self",(char *) "dc",(char *) "erase", NULL
28574 };
28575
28576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
28577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28580 SWIG_POINTER_EXCEPTION | 0)) == -1)
28581 SWIG_fail;
28582 if (arg2 == NULL) {
28583 PyErr_SetString(PyExc_TypeError,"null reference");
28584 SWIG_fail;
28585 }
28586 if (obj2) {
28587 arg3 = (bool) SWIG_AsBool(obj2);
28588 if (PyErr_Occurred()) SWIG_fail;
28589 }
28590 {
28591 PyThreadState* __tstate = wxPyBeginAllowThreads();
28592 (arg1)->base_OnDrawBranches(*arg2,arg3);
28593
28594 wxPyEndAllowThreads(__tstate);
28595 if (PyErr_Occurred()) SWIG_fail;
28596 }
28597 Py_INCREF(Py_None); resultobj = Py_None;
28598 return resultobj;
28599 fail:
28600 return NULL;
28601 }
28602
28603
28604 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
28605 PyObject *resultobj;
28606 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28607 wxDC *arg2 = 0 ;
28608 PyObject * obj0 = 0 ;
28609 PyObject * obj1 = 0 ;
28610 char *kwnames[] = {
28611 (char *) "self",(char *) "dc", NULL
28612 };
28613
28614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
28615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28618 SWIG_POINTER_EXCEPTION | 0)) == -1)
28619 SWIG_fail;
28620 if (arg2 == NULL) {
28621 PyErr_SetString(PyExc_TypeError,"null reference");
28622 SWIG_fail;
28623 }
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 (arg1)->base_OnMoveLinks(*arg2);
28627
28628 wxPyEndAllowThreads(__tstate);
28629 if (PyErr_Occurred()) SWIG_fail;
28630 }
28631 Py_INCREF(Py_None); resultobj = Py_None;
28632 return resultobj;
28633 fail:
28634 return NULL;
28635 }
28636
28637
28638 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
28639 PyObject *resultobj;
28640 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28641 wxDC *arg2 = 0 ;
28642 PyObject * obj0 = 0 ;
28643 PyObject * obj1 = 0 ;
28644 char *kwnames[] = {
28645 (char *) "self",(char *) "dc", NULL
28646 };
28647
28648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
28649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28652 SWIG_POINTER_EXCEPTION | 0)) == -1)
28653 SWIG_fail;
28654 if (arg2 == NULL) {
28655 PyErr_SetString(PyExc_TypeError,"null reference");
28656 SWIG_fail;
28657 }
28658 {
28659 PyThreadState* __tstate = wxPyBeginAllowThreads();
28660 (arg1)->base_OnErase(*arg2);
28661
28662 wxPyEndAllowThreads(__tstate);
28663 if (PyErr_Occurred()) SWIG_fail;
28664 }
28665 Py_INCREF(Py_None); resultobj = Py_None;
28666 return resultobj;
28667 fail:
28668 return NULL;
28669 }
28670
28671
28672 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28673 PyObject *resultobj;
28674 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28675 wxDC *arg2 = 0 ;
28676 PyObject * obj0 = 0 ;
28677 PyObject * obj1 = 0 ;
28678 char *kwnames[] = {
28679 (char *) "self",(char *) "dc", NULL
28680 };
28681
28682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
28683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28686 SWIG_POINTER_EXCEPTION | 0)) == -1)
28687 SWIG_fail;
28688 if (arg2 == NULL) {
28689 PyErr_SetString(PyExc_TypeError,"null reference");
28690 SWIG_fail;
28691 }
28692 {
28693 PyThreadState* __tstate = wxPyBeginAllowThreads();
28694 (arg1)->base_OnEraseContents(*arg2);
28695
28696 wxPyEndAllowThreads(__tstate);
28697 if (PyErr_Occurred()) SWIG_fail;
28698 }
28699 Py_INCREF(Py_None); resultobj = Py_None;
28700 return resultobj;
28701 fail:
28702 return NULL;
28703 }
28704
28705
28706 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
28707 PyObject *resultobj;
28708 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28709 wxDC *arg2 = 0 ;
28710 PyObject * obj0 = 0 ;
28711 PyObject * obj1 = 0 ;
28712 char *kwnames[] = {
28713 (char *) "self",(char *) "dc", NULL
28714 };
28715
28716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
28717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28720 SWIG_POINTER_EXCEPTION | 0)) == -1)
28721 SWIG_fail;
28722 if (arg2 == NULL) {
28723 PyErr_SetString(PyExc_TypeError,"null reference");
28724 SWIG_fail;
28725 }
28726 {
28727 PyThreadState* __tstate = wxPyBeginAllowThreads();
28728 (arg1)->base_OnHighlight(*arg2);
28729
28730 wxPyEndAllowThreads(__tstate);
28731 if (PyErr_Occurred()) SWIG_fail;
28732 }
28733 Py_INCREF(Py_None); resultobj = Py_None;
28734 return resultobj;
28735 fail:
28736 return NULL;
28737 }
28738
28739
28740 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28741 PyObject *resultobj;
28742 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28743 double arg2 ;
28744 double arg3 ;
28745 int arg4 = (int) 0 ;
28746 int arg5 = (int) 0 ;
28747 PyObject * obj0 = 0 ;
28748 PyObject * obj1 = 0 ;
28749 PyObject * obj2 = 0 ;
28750 PyObject * obj3 = 0 ;
28751 PyObject * obj4 = 0 ;
28752 char *kwnames[] = {
28753 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28754 };
28755
28756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28759 arg2 = (double) SWIG_AsDouble(obj1);
28760 if (PyErr_Occurred()) SWIG_fail;
28761 arg3 = (double) SWIG_AsDouble(obj2);
28762 if (PyErr_Occurred()) SWIG_fail;
28763 if (obj3) {
28764 arg4 = (int) SWIG_AsInt(obj3);
28765 if (PyErr_Occurred()) SWIG_fail;
28766 }
28767 if (obj4) {
28768 arg5 = (int) SWIG_AsInt(obj4);
28769 if (PyErr_Occurred()) SWIG_fail;
28770 }
28771 {
28772 PyThreadState* __tstate = wxPyBeginAllowThreads();
28773 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
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_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28786 PyObject *resultobj;
28787 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28788 double arg2 ;
28789 double arg3 ;
28790 int arg4 = (int) 0 ;
28791 int arg5 = (int) 0 ;
28792 PyObject * obj0 = 0 ;
28793 PyObject * obj1 = 0 ;
28794 PyObject * obj2 = 0 ;
28795 PyObject * obj3 = 0 ;
28796 PyObject * obj4 = 0 ;
28797 char *kwnames[] = {
28798 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28799 };
28800
28801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28804 arg2 = (double) SWIG_AsDouble(obj1);
28805 if (PyErr_Occurred()) SWIG_fail;
28806 arg3 = (double) SWIG_AsDouble(obj2);
28807 if (PyErr_Occurred()) SWIG_fail;
28808 if (obj3) {
28809 arg4 = (int) SWIG_AsInt(obj3);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 if (obj4) {
28813 arg5 = (int) SWIG_AsInt(obj4);
28814 if (PyErr_Occurred()) SWIG_fail;
28815 }
28816 {
28817 PyThreadState* __tstate = wxPyBeginAllowThreads();
28818 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
28819
28820 wxPyEndAllowThreads(__tstate);
28821 if (PyErr_Occurred()) SWIG_fail;
28822 }
28823 Py_INCREF(Py_None); resultobj = Py_None;
28824 return resultobj;
28825 fail:
28826 return NULL;
28827 }
28828
28829
28830 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28831 PyObject *resultobj;
28832 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28833 double arg2 ;
28834 double arg3 ;
28835 int arg4 = (int) 0 ;
28836 int arg5 = (int) 0 ;
28837 PyObject * obj0 = 0 ;
28838 PyObject * obj1 = 0 ;
28839 PyObject * obj2 = 0 ;
28840 PyObject * obj3 = 0 ;
28841 PyObject * obj4 = 0 ;
28842 char *kwnames[] = {
28843 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28844 };
28845
28846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28849 arg2 = (double) SWIG_AsDouble(obj1);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 arg3 = (double) SWIG_AsDouble(obj2);
28852 if (PyErr_Occurred()) SWIG_fail;
28853 if (obj3) {
28854 arg4 = (int) SWIG_AsInt(obj3);
28855 if (PyErr_Occurred()) SWIG_fail;
28856 }
28857 if (obj4) {
28858 arg5 = (int) SWIG_AsInt(obj4);
28859 if (PyErr_Occurred()) SWIG_fail;
28860 }
28861 {
28862 PyThreadState* __tstate = wxPyBeginAllowThreads();
28863 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
28864
28865 wxPyEndAllowThreads(__tstate);
28866 if (PyErr_Occurred()) SWIG_fail;
28867 }
28868 Py_INCREF(Py_None); resultobj = Py_None;
28869 return resultobj;
28870 fail:
28871 return NULL;
28872 }
28873
28874
28875 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28876 PyObject *resultobj;
28877 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28878 double arg2 ;
28879 double arg3 ;
28880 PyObject * obj0 = 0 ;
28881 PyObject * obj1 = 0 ;
28882 PyObject * obj2 = 0 ;
28883 char *kwnames[] = {
28884 (char *) "self",(char *) "x",(char *) "y", NULL
28885 };
28886
28887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28890 arg2 = (double) SWIG_AsDouble(obj1);
28891 if (PyErr_Occurred()) SWIG_fail;
28892 arg3 = (double) SWIG_AsDouble(obj2);
28893 if (PyErr_Occurred()) SWIG_fail;
28894 {
28895 PyThreadState* __tstate = wxPyBeginAllowThreads();
28896 (arg1)->base_OnSize(arg2,arg3);
28897
28898 wxPyEndAllowThreads(__tstate);
28899 if (PyErr_Occurred()) SWIG_fail;
28900 }
28901 Py_INCREF(Py_None); resultobj = Py_None;
28902 return resultobj;
28903 fail:
28904 return NULL;
28905 }
28906
28907
28908 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
28909 PyObject *resultobj;
28910 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28911 wxDC *arg2 = 0 ;
28912 double arg3 ;
28913 double arg4 ;
28914 double arg5 ;
28915 double arg6 ;
28916 bool arg7 = (bool) True ;
28917 bool result;
28918 PyObject * obj0 = 0 ;
28919 PyObject * obj1 = 0 ;
28920 PyObject * obj2 = 0 ;
28921 PyObject * obj3 = 0 ;
28922 PyObject * obj4 = 0 ;
28923 PyObject * obj5 = 0 ;
28924 PyObject * obj6 = 0 ;
28925 char *kwnames[] = {
28926 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28927 };
28928
28929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28933 SWIG_POINTER_EXCEPTION | 0)) == -1)
28934 SWIG_fail;
28935 if (arg2 == NULL) {
28936 PyErr_SetString(PyExc_TypeError,"null reference");
28937 SWIG_fail;
28938 }
28939 arg3 = (double) SWIG_AsDouble(obj2);
28940 if (PyErr_Occurred()) SWIG_fail;
28941 arg4 = (double) SWIG_AsDouble(obj3);
28942 if (PyErr_Occurred()) SWIG_fail;
28943 arg5 = (double) SWIG_AsDouble(obj4);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 arg6 = (double) SWIG_AsDouble(obj5);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 if (obj6) {
28948 arg7 = (bool) SWIG_AsBool(obj6);
28949 if (PyErr_Occurred()) SWIG_fail;
28950 }
28951 {
28952 PyThreadState* __tstate = wxPyBeginAllowThreads();
28953 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
28954
28955 wxPyEndAllowThreads(__tstate);
28956 if (PyErr_Occurred()) SWIG_fail;
28957 }
28958 {
28959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28960 }
28961 return resultobj;
28962 fail:
28963 return NULL;
28964 }
28965
28966
28967 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
28968 PyObject *resultobj;
28969 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28970 wxDC *arg2 = 0 ;
28971 double arg3 ;
28972 double arg4 ;
28973 double arg5 ;
28974 double arg6 ;
28975 bool arg7 = (bool) True ;
28976 PyObject * obj0 = 0 ;
28977 PyObject * obj1 = 0 ;
28978 PyObject * obj2 = 0 ;
28979 PyObject * obj3 = 0 ;
28980 PyObject * obj4 = 0 ;
28981 PyObject * obj5 = 0 ;
28982 PyObject * obj6 = 0 ;
28983 char *kwnames[] = {
28984 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28985 };
28986
28987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28991 SWIG_POINTER_EXCEPTION | 0)) == -1)
28992 SWIG_fail;
28993 if (arg2 == NULL) {
28994 PyErr_SetString(PyExc_TypeError,"null reference");
28995 SWIG_fail;
28996 }
28997 arg3 = (double) SWIG_AsDouble(obj2);
28998 if (PyErr_Occurred()) SWIG_fail;
28999 arg4 = (double) SWIG_AsDouble(obj3);
29000 if (PyErr_Occurred()) SWIG_fail;
29001 arg5 = (double) SWIG_AsDouble(obj4);
29002 if (PyErr_Occurred()) SWIG_fail;
29003 arg6 = (double) SWIG_AsDouble(obj5);
29004 if (PyErr_Occurred()) SWIG_fail;
29005 if (obj6) {
29006 arg7 = (bool) SWIG_AsBool(obj6);
29007 if (PyErr_Occurred()) SWIG_fail;
29008 }
29009 {
29010 PyThreadState* __tstate = wxPyBeginAllowThreads();
29011 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
29012
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 Py_INCREF(Py_None); resultobj = Py_None;
29017 return resultobj;
29018 fail:
29019 return NULL;
29020 }
29021
29022
29023 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29024 PyObject *resultobj;
29025 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29026 bool arg2 ;
29027 double arg3 ;
29028 double arg4 ;
29029 int arg5 = (int) 0 ;
29030 int arg6 = (int) 0 ;
29031 PyObject * obj0 = 0 ;
29032 PyObject * obj1 = 0 ;
29033 PyObject * obj2 = 0 ;
29034 PyObject * obj3 = 0 ;
29035 PyObject * obj4 = 0 ;
29036 PyObject * obj5 = 0 ;
29037 char *kwnames[] = {
29038 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29039 };
29040
29041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29044 arg2 = (bool) SWIG_AsBool(obj1);
29045 if (PyErr_Occurred()) SWIG_fail;
29046 arg3 = (double) SWIG_AsDouble(obj2);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 arg4 = (double) SWIG_AsDouble(obj3);
29049 if (PyErr_Occurred()) SWIG_fail;
29050 if (obj4) {
29051 arg5 = (int) SWIG_AsInt(obj4);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 if (obj5) {
29055 arg6 = (int) SWIG_AsInt(obj5);
29056 if (PyErr_Occurred()) SWIG_fail;
29057 }
29058 {
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
29061
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 Py_INCREF(Py_None); resultobj = Py_None;
29066 return resultobj;
29067 fail:
29068 return NULL;
29069 }
29070
29071
29072 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29073 PyObject *resultobj;
29074 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29075 double arg2 ;
29076 double arg3 ;
29077 int arg4 = (int) 0 ;
29078 int arg5 = (int) 0 ;
29079 PyObject * obj0 = 0 ;
29080 PyObject * obj1 = 0 ;
29081 PyObject * obj2 = 0 ;
29082 PyObject * obj3 = 0 ;
29083 PyObject * obj4 = 0 ;
29084 char *kwnames[] = {
29085 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29086 };
29087
29088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29091 arg2 = (double) SWIG_AsDouble(obj1);
29092 if (PyErr_Occurred()) SWIG_fail;
29093 arg3 = (double) SWIG_AsDouble(obj2);
29094 if (PyErr_Occurred()) SWIG_fail;
29095 if (obj3) {
29096 arg4 = (int) SWIG_AsInt(obj3);
29097 if (PyErr_Occurred()) SWIG_fail;
29098 }
29099 if (obj4) {
29100 arg5 = (int) SWIG_AsInt(obj4);
29101 if (PyErr_Occurred()) SWIG_fail;
29102 }
29103 {
29104 PyThreadState* __tstate = wxPyBeginAllowThreads();
29105 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
29106
29107 wxPyEndAllowThreads(__tstate);
29108 if (PyErr_Occurred()) SWIG_fail;
29109 }
29110 Py_INCREF(Py_None); resultobj = Py_None;
29111 return resultobj;
29112 fail:
29113 return NULL;
29114 }
29115
29116
29117 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29118 PyObject *resultobj;
29119 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29120 double arg2 ;
29121 double arg3 ;
29122 int arg4 = (int) 0 ;
29123 int arg5 = (int) 0 ;
29124 PyObject * obj0 = 0 ;
29125 PyObject * obj1 = 0 ;
29126 PyObject * obj2 = 0 ;
29127 PyObject * obj3 = 0 ;
29128 PyObject * obj4 = 0 ;
29129 char *kwnames[] = {
29130 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29131 };
29132
29133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29136 arg2 = (double) SWIG_AsDouble(obj1);
29137 if (PyErr_Occurred()) SWIG_fail;
29138 arg3 = (double) SWIG_AsDouble(obj2);
29139 if (PyErr_Occurred()) SWIG_fail;
29140 if (obj3) {
29141 arg4 = (int) SWIG_AsInt(obj3);
29142 if (PyErr_Occurred()) SWIG_fail;
29143 }
29144 if (obj4) {
29145 arg5 = (int) SWIG_AsInt(obj4);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 {
29149 PyThreadState* __tstate = wxPyBeginAllowThreads();
29150 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
29151
29152 wxPyEndAllowThreads(__tstate);
29153 if (PyErr_Occurred()) SWIG_fail;
29154 }
29155 Py_INCREF(Py_None); resultobj = Py_None;
29156 return resultobj;
29157 fail:
29158 return NULL;
29159 }
29160
29161
29162 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29163 PyObject *resultobj;
29164 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29165 bool arg2 ;
29166 double arg3 ;
29167 double arg4 ;
29168 int arg5 = (int) 0 ;
29169 int arg6 = (int) 0 ;
29170 PyObject * obj0 = 0 ;
29171 PyObject * obj1 = 0 ;
29172 PyObject * obj2 = 0 ;
29173 PyObject * obj3 = 0 ;
29174 PyObject * obj4 = 0 ;
29175 PyObject * obj5 = 0 ;
29176 char *kwnames[] = {
29177 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29178 };
29179
29180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29183 arg2 = (bool) SWIG_AsBool(obj1);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 arg3 = (double) SWIG_AsDouble(obj2);
29186 if (PyErr_Occurred()) SWIG_fail;
29187 arg4 = (double) SWIG_AsDouble(obj3);
29188 if (PyErr_Occurred()) SWIG_fail;
29189 if (obj4) {
29190 arg5 = (int) SWIG_AsInt(obj4);
29191 if (PyErr_Occurred()) SWIG_fail;
29192 }
29193 if (obj5) {
29194 arg6 = (int) SWIG_AsInt(obj5);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 }
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 Py_INCREF(Py_None); resultobj = Py_None;
29205 return resultobj;
29206 fail:
29207 return NULL;
29208 }
29209
29210
29211 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29212 PyObject *resultobj;
29213 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29214 double arg2 ;
29215 double arg3 ;
29216 int arg4 = (int) 0 ;
29217 int arg5 = (int) 0 ;
29218 PyObject * obj0 = 0 ;
29219 PyObject * obj1 = 0 ;
29220 PyObject * obj2 = 0 ;
29221 PyObject * obj3 = 0 ;
29222 PyObject * obj4 = 0 ;
29223 char *kwnames[] = {
29224 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29225 };
29226
29227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29230 arg2 = (double) SWIG_AsDouble(obj1);
29231 if (PyErr_Occurred()) SWIG_fail;
29232 arg3 = (double) SWIG_AsDouble(obj2);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 if (obj3) {
29235 arg4 = (int) SWIG_AsInt(obj3);
29236 if (PyErr_Occurred()) SWIG_fail;
29237 }
29238 if (obj4) {
29239 arg5 = (int) SWIG_AsInt(obj4);
29240 if (PyErr_Occurred()) SWIG_fail;
29241 }
29242 {
29243 PyThreadState* __tstate = wxPyBeginAllowThreads();
29244 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29245
29246 wxPyEndAllowThreads(__tstate);
29247 if (PyErr_Occurred()) SWIG_fail;
29248 }
29249 Py_INCREF(Py_None); resultobj = Py_None;
29250 return resultobj;
29251 fail:
29252 return NULL;
29253 }
29254
29255
29256 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29257 PyObject *resultobj;
29258 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29259 double arg2 ;
29260 double arg3 ;
29261 int arg4 = (int) 0 ;
29262 int arg5 = (int) 0 ;
29263 PyObject * obj0 = 0 ;
29264 PyObject * obj1 = 0 ;
29265 PyObject * obj2 = 0 ;
29266 PyObject * obj3 = 0 ;
29267 PyObject * obj4 = 0 ;
29268 char *kwnames[] = {
29269 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29270 };
29271
29272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29275 arg2 = (double) SWIG_AsDouble(obj1);
29276 if (PyErr_Occurred()) SWIG_fail;
29277 arg3 = (double) SWIG_AsDouble(obj2);
29278 if (PyErr_Occurred()) SWIG_fail;
29279 if (obj3) {
29280 arg4 = (int) SWIG_AsInt(obj3);
29281 if (PyErr_Occurred()) SWIG_fail;
29282 }
29283 if (obj4) {
29284 arg5 = (int) SWIG_AsInt(obj4);
29285 if (PyErr_Occurred()) SWIG_fail;
29286 }
29287 {
29288 PyThreadState* __tstate = wxPyBeginAllowThreads();
29289 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29290
29291 wxPyEndAllowThreads(__tstate);
29292 if (PyErr_Occurred()) SWIG_fail;
29293 }
29294 Py_INCREF(Py_None); resultobj = Py_None;
29295 return resultobj;
29296 fail:
29297 return NULL;
29298 }
29299
29300
29301 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
29302 PyObject *resultobj;
29303 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29304 wxDC *arg2 = 0 ;
29305 double arg3 ;
29306 double arg4 ;
29307 double arg5 ;
29308 double arg6 ;
29309 PyObject * obj0 = 0 ;
29310 PyObject * obj1 = 0 ;
29311 PyObject * obj2 = 0 ;
29312 PyObject * obj3 = 0 ;
29313 PyObject * obj4 = 0 ;
29314 PyObject * obj5 = 0 ;
29315 char *kwnames[] = {
29316 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29317 };
29318
29319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29323 SWIG_POINTER_EXCEPTION | 0)) == -1)
29324 SWIG_fail;
29325 if (arg2 == NULL) {
29326 PyErr_SetString(PyExc_TypeError,"null reference");
29327 SWIG_fail;
29328 }
29329 arg3 = (double) SWIG_AsDouble(obj2);
29330 if (PyErr_Occurred()) SWIG_fail;
29331 arg4 = (double) SWIG_AsDouble(obj3);
29332 if (PyErr_Occurred()) SWIG_fail;
29333 arg5 = (double) SWIG_AsDouble(obj4);
29334 if (PyErr_Occurred()) SWIG_fail;
29335 arg6 = (double) SWIG_AsDouble(obj5);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 {
29338 PyThreadState* __tstate = wxPyBeginAllowThreads();
29339 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29340
29341 wxPyEndAllowThreads(__tstate);
29342 if (PyErr_Occurred()) SWIG_fail;
29343 }
29344 Py_INCREF(Py_None); resultobj = Py_None;
29345 return resultobj;
29346 fail:
29347 return NULL;
29348 }
29349
29350
29351 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29352 PyObject *resultobj;
29353 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29354 wxDC *arg2 = 0 ;
29355 PyObject * obj0 = 0 ;
29356 PyObject * obj1 = 0 ;
29357 char *kwnames[] = {
29358 (char *) "self",(char *) "dc", NULL
29359 };
29360
29361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
29362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29365 SWIG_POINTER_EXCEPTION | 0)) == -1)
29366 SWIG_fail;
29367 if (arg2 == NULL) {
29368 PyErr_SetString(PyExc_TypeError,"null reference");
29369 SWIG_fail;
29370 }
29371 {
29372 PyThreadState* __tstate = wxPyBeginAllowThreads();
29373 (arg1)->base_OnDrawControlPoints(*arg2);
29374
29375 wxPyEndAllowThreads(__tstate);
29376 if (PyErr_Occurred()) SWIG_fail;
29377 }
29378 Py_INCREF(Py_None); resultobj = Py_None;
29379 return resultobj;
29380 fail:
29381 return NULL;
29382 }
29383
29384
29385 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29386 PyObject *resultobj;
29387 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29388 wxDC *arg2 = 0 ;
29389 PyObject * obj0 = 0 ;
29390 PyObject * obj1 = 0 ;
29391 char *kwnames[] = {
29392 (char *) "self",(char *) "dc", NULL
29393 };
29394
29395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
29396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29399 SWIG_POINTER_EXCEPTION | 0)) == -1)
29400 SWIG_fail;
29401 if (arg2 == NULL) {
29402 PyErr_SetString(PyExc_TypeError,"null reference");
29403 SWIG_fail;
29404 }
29405 {
29406 PyThreadState* __tstate = wxPyBeginAllowThreads();
29407 (arg1)->base_OnEraseControlPoints(*arg2);
29408
29409 wxPyEndAllowThreads(__tstate);
29410 if (PyErr_Occurred()) SWIG_fail;
29411 }
29412 Py_INCREF(Py_None); resultobj = Py_None;
29413 return resultobj;
29414 fail:
29415 return NULL;
29416 }
29417
29418
29419 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29420 PyObject *resultobj;
29421 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29422 wxDC *arg2 = 0 ;
29423 bool arg3 = (bool) True ;
29424 PyObject * obj0 = 0 ;
29425 PyObject * obj1 = 0 ;
29426 PyObject * obj2 = 0 ;
29427 char *kwnames[] = {
29428 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29429 };
29430
29431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
29432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29435 SWIG_POINTER_EXCEPTION | 0)) == -1)
29436 SWIG_fail;
29437 if (arg2 == NULL) {
29438 PyErr_SetString(PyExc_TypeError,"null reference");
29439 SWIG_fail;
29440 }
29441 if (obj2) {
29442 arg3 = (bool) SWIG_AsBool(obj2);
29443 if (PyErr_Occurred()) SWIG_fail;
29444 }
29445 {
29446 PyThreadState* __tstate = wxPyBeginAllowThreads();
29447 (arg1)->base_OnMoveLink(*arg2,arg3);
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_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29460 PyObject *resultobj;
29461 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29462 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29463 bool arg3 ;
29464 double arg4 ;
29465 double arg5 ;
29466 int arg6 = (int) 0 ;
29467 int arg7 = (int) 0 ;
29468 PyObject * obj0 = 0 ;
29469 PyObject * obj1 = 0 ;
29470 PyObject * obj2 = 0 ;
29471 PyObject * obj3 = 0 ;
29472 PyObject * obj4 = 0 ;
29473 PyObject * obj5 = 0 ;
29474 PyObject * obj6 = 0 ;
29475 char *kwnames[] = {
29476 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29477 };
29478
29479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29484 arg3 = (bool) SWIG_AsBool(obj2);
29485 if (PyErr_Occurred()) SWIG_fail;
29486 arg4 = (double) SWIG_AsDouble(obj3);
29487 if (PyErr_Occurred()) SWIG_fail;
29488 arg5 = (double) SWIG_AsDouble(obj4);
29489 if (PyErr_Occurred()) SWIG_fail;
29490 if (obj5) {
29491 arg6 = (int) SWIG_AsInt(obj5);
29492 if (PyErr_Occurred()) SWIG_fail;
29493 }
29494 if (obj6) {
29495 arg7 = (int) SWIG_AsInt(obj6);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 }
29498 {
29499 PyThreadState* __tstate = wxPyBeginAllowThreads();
29500 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
29501
29502 wxPyEndAllowThreads(__tstate);
29503 if (PyErr_Occurred()) SWIG_fail;
29504 }
29505 Py_INCREF(Py_None); resultobj = Py_None;
29506 return resultobj;
29507 fail:
29508 return NULL;
29509 }
29510
29511
29512 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29513 PyObject *resultobj;
29514 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29515 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29516 double arg3 ;
29517 double arg4 ;
29518 int arg5 = (int) 0 ;
29519 int arg6 = (int) 0 ;
29520 PyObject * obj0 = 0 ;
29521 PyObject * obj1 = 0 ;
29522 PyObject * obj2 = 0 ;
29523 PyObject * obj3 = 0 ;
29524 PyObject * obj4 = 0 ;
29525 PyObject * obj5 = 0 ;
29526 char *kwnames[] = {
29527 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29528 };
29529
29530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29535 arg3 = (double) SWIG_AsDouble(obj2);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 arg4 = (double) SWIG_AsDouble(obj3);
29538 if (PyErr_Occurred()) SWIG_fail;
29539 if (obj4) {
29540 arg5 = (int) SWIG_AsInt(obj4);
29541 if (PyErr_Occurred()) SWIG_fail;
29542 }
29543 if (obj5) {
29544 arg6 = (int) SWIG_AsInt(obj5);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 }
29547 {
29548 PyThreadState* __tstate = wxPyBeginAllowThreads();
29549 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
29550
29551 wxPyEndAllowThreads(__tstate);
29552 if (PyErr_Occurred()) SWIG_fail;
29553 }
29554 Py_INCREF(Py_None); resultobj = Py_None;
29555 return resultobj;
29556 fail:
29557 return NULL;
29558 }
29559
29560
29561 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29562 PyObject *resultobj;
29563 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29564 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29565 double arg3 ;
29566 double arg4 ;
29567 int arg5 = (int) 0 ;
29568 int arg6 = (int) 0 ;
29569 PyObject * obj0 = 0 ;
29570 PyObject * obj1 = 0 ;
29571 PyObject * obj2 = 0 ;
29572 PyObject * obj3 = 0 ;
29573 PyObject * obj4 = 0 ;
29574 PyObject * obj5 = 0 ;
29575 char *kwnames[] = {
29576 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29577 };
29578
29579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29584 arg3 = (double) SWIG_AsDouble(obj2);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 arg4 = (double) SWIG_AsDouble(obj3);
29587 if (PyErr_Occurred()) SWIG_fail;
29588 if (obj4) {
29589 arg5 = (int) SWIG_AsInt(obj4);
29590 if (PyErr_Occurred()) SWIG_fail;
29591 }
29592 if (obj5) {
29593 arg6 = (int) SWIG_AsInt(obj5);
29594 if (PyErr_Occurred()) SWIG_fail;
29595 }
29596 {
29597 PyThreadState* __tstate = wxPyBeginAllowThreads();
29598 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
29599
29600 wxPyEndAllowThreads(__tstate);
29601 if (PyErr_Occurred()) SWIG_fail;
29602 }
29603 Py_INCREF(Py_None); resultobj = Py_None;
29604 return resultobj;
29605 fail:
29606 return NULL;
29607 }
29608
29609
29610 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29611 PyObject *resultobj;
29612 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29613 double arg2 ;
29614 double arg3 ;
29615 PyObject * obj0 = 0 ;
29616 PyObject * obj1 = 0 ;
29617 PyObject * obj2 = 0 ;
29618 char *kwnames[] = {
29619 (char *) "self",(char *) "w",(char *) "h", NULL
29620 };
29621
29622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29625 arg2 = (double) SWIG_AsDouble(obj1);
29626 if (PyErr_Occurred()) SWIG_fail;
29627 arg3 = (double) SWIG_AsDouble(obj2);
29628 if (PyErr_Occurred()) SWIG_fail;
29629 {
29630 PyThreadState* __tstate = wxPyBeginAllowThreads();
29631 (arg1)->base_OnBeginSize(arg2,arg3);
29632
29633 wxPyEndAllowThreads(__tstate);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 }
29636 Py_INCREF(Py_None); resultobj = Py_None;
29637 return resultobj;
29638 fail:
29639 return NULL;
29640 }
29641
29642
29643 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29644 PyObject *resultobj;
29645 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29646 double arg2 ;
29647 double arg3 ;
29648 PyObject * obj0 = 0 ;
29649 PyObject * obj1 = 0 ;
29650 PyObject * obj2 = 0 ;
29651 char *kwnames[] = {
29652 (char *) "self",(char *) "w",(char *) "h", NULL
29653 };
29654
29655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29658 arg2 = (double) SWIG_AsDouble(obj1);
29659 if (PyErr_Occurred()) SWIG_fail;
29660 arg3 = (double) SWIG_AsDouble(obj2);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 {
29663 PyThreadState* __tstate = wxPyBeginAllowThreads();
29664 (arg1)->base_OnEndSize(arg2,arg3);
29665
29666 wxPyEndAllowThreads(__tstate);
29667 if (PyErr_Occurred()) SWIG_fail;
29668 }
29669 Py_INCREF(Py_None); resultobj = Py_None;
29670 return resultobj;
29671 fail:
29672 return NULL;
29673 }
29674
29675
29676 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
29677 PyObject *obj;
29678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29679 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
29680 Py_INCREF(obj);
29681 return Py_BuildValue((char *)"");
29682 }
29683 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
29684 PyObject *resultobj;
29685 double arg1 = (double) 0.0 ;
29686 double arg2 = (double) 0.0 ;
29687 wxPyTextShape *result;
29688 PyObject * obj0 = 0 ;
29689 PyObject * obj1 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "width",(char *) "height", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
29695 if (obj0) {
29696 arg1 = (double) SWIG_AsDouble(obj0);
29697 if (PyErr_Occurred()) SWIG_fail;
29698 }
29699 if (obj1) {
29700 arg2 = (double) SWIG_AsDouble(obj1);
29701 if (PyErr_Occurred()) SWIG_fail;
29702 }
29703 {
29704 PyThreadState* __tstate = wxPyBeginAllowThreads();
29705 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
29706
29707 wxPyEndAllowThreads(__tstate);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 }
29710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
29711 return resultobj;
29712 fail:
29713 return NULL;
29714 }
29715
29716
29717 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29718 PyObject *resultobj;
29719 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29720 PyObject *arg2 = (PyObject *) 0 ;
29721 PyObject *arg3 = (PyObject *) 0 ;
29722 PyObject * obj0 = 0 ;
29723 PyObject * obj1 = 0 ;
29724 PyObject * obj2 = 0 ;
29725 char *kwnames[] = {
29726 (char *) "self",(char *) "self",(char *) "_class", NULL
29727 };
29728
29729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29732 arg2 = obj1;
29733 arg3 = obj2;
29734 {
29735 PyThreadState* __tstate = wxPyBeginAllowThreads();
29736 (arg1)->_setCallbackInfo(arg2,arg3);
29737
29738 wxPyEndAllowThreads(__tstate);
29739 if (PyErr_Occurred()) SWIG_fail;
29740 }
29741 Py_INCREF(Py_None); resultobj = Py_None;
29742 return resultobj;
29743 fail:
29744 return NULL;
29745 }
29746
29747
29748 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
29749 PyObject *resultobj;
29750 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29751 PyObject * obj0 = 0 ;
29752 char *kwnames[] = {
29753 (char *) "self", NULL
29754 };
29755
29756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
29757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29759 {
29760 PyThreadState* __tstate = wxPyBeginAllowThreads();
29761 (arg1)->base_OnDelete();
29762
29763 wxPyEndAllowThreads(__tstate);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 Py_INCREF(Py_None); resultobj = Py_None;
29767 return resultobj;
29768 fail:
29769 return NULL;
29770 }
29771
29772
29773 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
29774 PyObject *resultobj;
29775 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29776 wxDC *arg2 = 0 ;
29777 PyObject * obj0 = 0 ;
29778 PyObject * obj1 = 0 ;
29779 char *kwnames[] = {
29780 (char *) "self",(char *) "dc", NULL
29781 };
29782
29783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
29784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29787 SWIG_POINTER_EXCEPTION | 0)) == -1)
29788 SWIG_fail;
29789 if (arg2 == NULL) {
29790 PyErr_SetString(PyExc_TypeError,"null reference");
29791 SWIG_fail;
29792 }
29793 {
29794 PyThreadState* __tstate = wxPyBeginAllowThreads();
29795 (arg1)->base_OnDraw(*arg2);
29796
29797 wxPyEndAllowThreads(__tstate);
29798 if (PyErr_Occurred()) SWIG_fail;
29799 }
29800 Py_INCREF(Py_None); resultobj = Py_None;
29801 return resultobj;
29802 fail:
29803 return NULL;
29804 }
29805
29806
29807 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29808 PyObject *resultobj;
29809 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29810 wxDC *arg2 = 0 ;
29811 PyObject * obj0 = 0 ;
29812 PyObject * obj1 = 0 ;
29813 char *kwnames[] = {
29814 (char *) "self",(char *) "dc", NULL
29815 };
29816
29817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
29818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29821 SWIG_POINTER_EXCEPTION | 0)) == -1)
29822 SWIG_fail;
29823 if (arg2 == NULL) {
29824 PyErr_SetString(PyExc_TypeError,"null reference");
29825 SWIG_fail;
29826 }
29827 {
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 (arg1)->base_OnDrawContents(*arg2);
29830
29831 wxPyEndAllowThreads(__tstate);
29832 if (PyErr_Occurred()) SWIG_fail;
29833 }
29834 Py_INCREF(Py_None); resultobj = Py_None;
29835 return resultobj;
29836 fail:
29837 return NULL;
29838 }
29839
29840
29841 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
29842 PyObject *resultobj;
29843 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29844 wxDC *arg2 = 0 ;
29845 bool arg3 = (bool) FALSE ;
29846 PyObject * obj0 = 0 ;
29847 PyObject * obj1 = 0 ;
29848 PyObject * obj2 = 0 ;
29849 char *kwnames[] = {
29850 (char *) "self",(char *) "dc",(char *) "erase", NULL
29851 };
29852
29853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
29854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29857 SWIG_POINTER_EXCEPTION | 0)) == -1)
29858 SWIG_fail;
29859 if (arg2 == NULL) {
29860 PyErr_SetString(PyExc_TypeError,"null reference");
29861 SWIG_fail;
29862 }
29863 if (obj2) {
29864 arg3 = (bool) SWIG_AsBool(obj2);
29865 if (PyErr_Occurred()) SWIG_fail;
29866 }
29867 {
29868 PyThreadState* __tstate = wxPyBeginAllowThreads();
29869 (arg1)->base_OnDrawBranches(*arg2,arg3);
29870
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 Py_INCREF(Py_None); resultobj = Py_None;
29875 return resultobj;
29876 fail:
29877 return NULL;
29878 }
29879
29880
29881 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
29882 PyObject *resultobj;
29883 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29884 wxDC *arg2 = 0 ;
29885 PyObject * obj0 = 0 ;
29886 PyObject * obj1 = 0 ;
29887 char *kwnames[] = {
29888 (char *) "self",(char *) "dc", NULL
29889 };
29890
29891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
29892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29895 SWIG_POINTER_EXCEPTION | 0)) == -1)
29896 SWIG_fail;
29897 if (arg2 == NULL) {
29898 PyErr_SetString(PyExc_TypeError,"null reference");
29899 SWIG_fail;
29900 }
29901 {
29902 PyThreadState* __tstate = wxPyBeginAllowThreads();
29903 (arg1)->base_OnMoveLinks(*arg2);
29904
29905 wxPyEndAllowThreads(__tstate);
29906 if (PyErr_Occurred()) SWIG_fail;
29907 }
29908 Py_INCREF(Py_None); resultobj = Py_None;
29909 return resultobj;
29910 fail:
29911 return NULL;
29912 }
29913
29914
29915 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
29916 PyObject *resultobj;
29917 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29918 wxDC *arg2 = 0 ;
29919 PyObject * obj0 = 0 ;
29920 PyObject * obj1 = 0 ;
29921 char *kwnames[] = {
29922 (char *) "self",(char *) "dc", NULL
29923 };
29924
29925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
29926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29929 SWIG_POINTER_EXCEPTION | 0)) == -1)
29930 SWIG_fail;
29931 if (arg2 == NULL) {
29932 PyErr_SetString(PyExc_TypeError,"null reference");
29933 SWIG_fail;
29934 }
29935 {
29936 PyThreadState* __tstate = wxPyBeginAllowThreads();
29937 (arg1)->base_OnErase(*arg2);
29938
29939 wxPyEndAllowThreads(__tstate);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
29942 Py_INCREF(Py_None); resultobj = Py_None;
29943 return resultobj;
29944 fail:
29945 return NULL;
29946 }
29947
29948
29949 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29950 PyObject *resultobj;
29951 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29952 wxDC *arg2 = 0 ;
29953 PyObject * obj0 = 0 ;
29954 PyObject * obj1 = 0 ;
29955 char *kwnames[] = {
29956 (char *) "self",(char *) "dc", NULL
29957 };
29958
29959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
29960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29963 SWIG_POINTER_EXCEPTION | 0)) == -1)
29964 SWIG_fail;
29965 if (arg2 == NULL) {
29966 PyErr_SetString(PyExc_TypeError,"null reference");
29967 SWIG_fail;
29968 }
29969 {
29970 PyThreadState* __tstate = wxPyBeginAllowThreads();
29971 (arg1)->base_OnEraseContents(*arg2);
29972
29973 wxPyEndAllowThreads(__tstate);
29974 if (PyErr_Occurred()) SWIG_fail;
29975 }
29976 Py_INCREF(Py_None); resultobj = Py_None;
29977 return resultobj;
29978 fail:
29979 return NULL;
29980 }
29981
29982
29983 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
29984 PyObject *resultobj;
29985 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29986 wxDC *arg2 = 0 ;
29987 PyObject * obj0 = 0 ;
29988 PyObject * obj1 = 0 ;
29989 char *kwnames[] = {
29990 (char *) "self",(char *) "dc", NULL
29991 };
29992
29993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
29994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29997 SWIG_POINTER_EXCEPTION | 0)) == -1)
29998 SWIG_fail;
29999 if (arg2 == NULL) {
30000 PyErr_SetString(PyExc_TypeError,"null reference");
30001 SWIG_fail;
30002 }
30003 {
30004 PyThreadState* __tstate = wxPyBeginAllowThreads();
30005 (arg1)->base_OnHighlight(*arg2);
30006
30007 wxPyEndAllowThreads(__tstate);
30008 if (PyErr_Occurred()) SWIG_fail;
30009 }
30010 Py_INCREF(Py_None); resultobj = Py_None;
30011 return resultobj;
30012 fail:
30013 return NULL;
30014 }
30015
30016
30017 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30018 PyObject *resultobj;
30019 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30020 double arg2 ;
30021 double arg3 ;
30022 int arg4 = (int) 0 ;
30023 int arg5 = (int) 0 ;
30024 PyObject * obj0 = 0 ;
30025 PyObject * obj1 = 0 ;
30026 PyObject * obj2 = 0 ;
30027 PyObject * obj3 = 0 ;
30028 PyObject * obj4 = 0 ;
30029 char *kwnames[] = {
30030 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30031 };
30032
30033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30036 arg2 = (double) SWIG_AsDouble(obj1);
30037 if (PyErr_Occurred()) SWIG_fail;
30038 arg3 = (double) SWIG_AsDouble(obj2);
30039 if (PyErr_Occurred()) SWIG_fail;
30040 if (obj3) {
30041 arg4 = (int) SWIG_AsInt(obj3);
30042 if (PyErr_Occurred()) SWIG_fail;
30043 }
30044 if (obj4) {
30045 arg5 = (int) SWIG_AsInt(obj4);
30046 if (PyErr_Occurred()) SWIG_fail;
30047 }
30048 {
30049 PyThreadState* __tstate = wxPyBeginAllowThreads();
30050 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
30051
30052 wxPyEndAllowThreads(__tstate);
30053 if (PyErr_Occurred()) SWIG_fail;
30054 }
30055 Py_INCREF(Py_None); resultobj = Py_None;
30056 return resultobj;
30057 fail:
30058 return NULL;
30059 }
30060
30061
30062 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30063 PyObject *resultobj;
30064 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30065 double arg2 ;
30066 double arg3 ;
30067 int arg4 = (int) 0 ;
30068 int arg5 = (int) 0 ;
30069 PyObject * obj0 = 0 ;
30070 PyObject * obj1 = 0 ;
30071 PyObject * obj2 = 0 ;
30072 PyObject * obj3 = 0 ;
30073 PyObject * obj4 = 0 ;
30074 char *kwnames[] = {
30075 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30076 };
30077
30078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30081 arg2 = (double) SWIG_AsDouble(obj1);
30082 if (PyErr_Occurred()) SWIG_fail;
30083 arg3 = (double) SWIG_AsDouble(obj2);
30084 if (PyErr_Occurred()) SWIG_fail;
30085 if (obj3) {
30086 arg4 = (int) SWIG_AsInt(obj3);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 if (obj4) {
30090 arg5 = (int) SWIG_AsInt(obj4);
30091 if (PyErr_Occurred()) SWIG_fail;
30092 }
30093 {
30094 PyThreadState* __tstate = wxPyBeginAllowThreads();
30095 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30096
30097 wxPyEndAllowThreads(__tstate);
30098 if (PyErr_Occurred()) SWIG_fail;
30099 }
30100 Py_INCREF(Py_None); resultobj = Py_None;
30101 return resultobj;
30102 fail:
30103 return NULL;
30104 }
30105
30106
30107 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30108 PyObject *resultobj;
30109 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30110 double arg2 ;
30111 double arg3 ;
30112 int arg4 = (int) 0 ;
30113 int arg5 = (int) 0 ;
30114 PyObject * obj0 = 0 ;
30115 PyObject * obj1 = 0 ;
30116 PyObject * obj2 = 0 ;
30117 PyObject * obj3 = 0 ;
30118 PyObject * obj4 = 0 ;
30119 char *kwnames[] = {
30120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30121 };
30122
30123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30126 arg2 = (double) SWIG_AsDouble(obj1);
30127 if (PyErr_Occurred()) SWIG_fail;
30128 arg3 = (double) SWIG_AsDouble(obj2);
30129 if (PyErr_Occurred()) SWIG_fail;
30130 if (obj3) {
30131 arg4 = (int) SWIG_AsInt(obj3);
30132 if (PyErr_Occurred()) SWIG_fail;
30133 }
30134 if (obj4) {
30135 arg5 = (int) SWIG_AsInt(obj4);
30136 if (PyErr_Occurred()) SWIG_fail;
30137 }
30138 {
30139 PyThreadState* __tstate = wxPyBeginAllowThreads();
30140 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30141
30142 wxPyEndAllowThreads(__tstate);
30143 if (PyErr_Occurred()) SWIG_fail;
30144 }
30145 Py_INCREF(Py_None); resultobj = Py_None;
30146 return resultobj;
30147 fail:
30148 return NULL;
30149 }
30150
30151
30152 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30153 PyObject *resultobj;
30154 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30155 double arg2 ;
30156 double arg3 ;
30157 PyObject * obj0 = 0 ;
30158 PyObject * obj1 = 0 ;
30159 PyObject * obj2 = 0 ;
30160 char *kwnames[] = {
30161 (char *) "self",(char *) "x",(char *) "y", NULL
30162 };
30163
30164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30167 arg2 = (double) SWIG_AsDouble(obj1);
30168 if (PyErr_Occurred()) SWIG_fail;
30169 arg3 = (double) SWIG_AsDouble(obj2);
30170 if (PyErr_Occurred()) SWIG_fail;
30171 {
30172 PyThreadState* __tstate = wxPyBeginAllowThreads();
30173 (arg1)->base_OnSize(arg2,arg3);
30174
30175 wxPyEndAllowThreads(__tstate);
30176 if (PyErr_Occurred()) SWIG_fail;
30177 }
30178 Py_INCREF(Py_None); resultobj = Py_None;
30179 return resultobj;
30180 fail:
30181 return NULL;
30182 }
30183
30184
30185 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
30186 PyObject *resultobj;
30187 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30188 wxDC *arg2 = 0 ;
30189 double arg3 ;
30190 double arg4 ;
30191 double arg5 ;
30192 double arg6 ;
30193 bool arg7 = (bool) True ;
30194 bool result;
30195 PyObject * obj0 = 0 ;
30196 PyObject * obj1 = 0 ;
30197 PyObject * obj2 = 0 ;
30198 PyObject * obj3 = 0 ;
30199 PyObject * obj4 = 0 ;
30200 PyObject * obj5 = 0 ;
30201 PyObject * obj6 = 0 ;
30202 char *kwnames[] = {
30203 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30204 };
30205
30206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30210 SWIG_POINTER_EXCEPTION | 0)) == -1)
30211 SWIG_fail;
30212 if (arg2 == NULL) {
30213 PyErr_SetString(PyExc_TypeError,"null reference");
30214 SWIG_fail;
30215 }
30216 arg3 = (double) SWIG_AsDouble(obj2);
30217 if (PyErr_Occurred()) SWIG_fail;
30218 arg4 = (double) SWIG_AsDouble(obj3);
30219 if (PyErr_Occurred()) SWIG_fail;
30220 arg5 = (double) SWIG_AsDouble(obj4);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 arg6 = (double) SWIG_AsDouble(obj5);
30223 if (PyErr_Occurred()) SWIG_fail;
30224 if (obj6) {
30225 arg7 = (bool) SWIG_AsBool(obj6);
30226 if (PyErr_Occurred()) SWIG_fail;
30227 }
30228 {
30229 PyThreadState* __tstate = wxPyBeginAllowThreads();
30230 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30231
30232 wxPyEndAllowThreads(__tstate);
30233 if (PyErr_Occurred()) SWIG_fail;
30234 }
30235 {
30236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30237 }
30238 return resultobj;
30239 fail:
30240 return NULL;
30241 }
30242
30243
30244 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj;
30246 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30247 wxDC *arg2 = 0 ;
30248 double arg3 ;
30249 double arg4 ;
30250 double arg5 ;
30251 double arg6 ;
30252 bool arg7 = (bool) True ;
30253 PyObject * obj0 = 0 ;
30254 PyObject * obj1 = 0 ;
30255 PyObject * obj2 = 0 ;
30256 PyObject * obj3 = 0 ;
30257 PyObject * obj4 = 0 ;
30258 PyObject * obj5 = 0 ;
30259 PyObject * obj6 = 0 ;
30260 char *kwnames[] = {
30261 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30262 };
30263
30264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30268 SWIG_POINTER_EXCEPTION | 0)) == -1)
30269 SWIG_fail;
30270 if (arg2 == NULL) {
30271 PyErr_SetString(PyExc_TypeError,"null reference");
30272 SWIG_fail;
30273 }
30274 arg3 = (double) SWIG_AsDouble(obj2);
30275 if (PyErr_Occurred()) SWIG_fail;
30276 arg4 = (double) SWIG_AsDouble(obj3);
30277 if (PyErr_Occurred()) SWIG_fail;
30278 arg5 = (double) SWIG_AsDouble(obj4);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 arg6 = (double) SWIG_AsDouble(obj5);
30281 if (PyErr_Occurred()) SWIG_fail;
30282 if (obj6) {
30283 arg7 = (bool) SWIG_AsBool(obj6);
30284 if (PyErr_Occurred()) SWIG_fail;
30285 }
30286 {
30287 PyThreadState* __tstate = wxPyBeginAllowThreads();
30288 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30289
30290 wxPyEndAllowThreads(__tstate);
30291 if (PyErr_Occurred()) SWIG_fail;
30292 }
30293 Py_INCREF(Py_None); resultobj = Py_None;
30294 return resultobj;
30295 fail:
30296 return NULL;
30297 }
30298
30299
30300 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30301 PyObject *resultobj;
30302 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30303 bool arg2 ;
30304 double arg3 ;
30305 double arg4 ;
30306 int arg5 = (int) 0 ;
30307 int arg6 = (int) 0 ;
30308 PyObject * obj0 = 0 ;
30309 PyObject * obj1 = 0 ;
30310 PyObject * obj2 = 0 ;
30311 PyObject * obj3 = 0 ;
30312 PyObject * obj4 = 0 ;
30313 PyObject * obj5 = 0 ;
30314 char *kwnames[] = {
30315 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30316 };
30317
30318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30321 arg2 = (bool) SWIG_AsBool(obj1);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 arg3 = (double) SWIG_AsDouble(obj2);
30324 if (PyErr_Occurred()) SWIG_fail;
30325 arg4 = (double) SWIG_AsDouble(obj3);
30326 if (PyErr_Occurred()) SWIG_fail;
30327 if (obj4) {
30328 arg5 = (int) SWIG_AsInt(obj4);
30329 if (PyErr_Occurred()) SWIG_fail;
30330 }
30331 if (obj5) {
30332 arg6 = (int) SWIG_AsInt(obj5);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 }
30335 {
30336 PyThreadState* __tstate = wxPyBeginAllowThreads();
30337 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
30338
30339 wxPyEndAllowThreads(__tstate);
30340 if (PyErr_Occurred()) SWIG_fail;
30341 }
30342 Py_INCREF(Py_None); resultobj = Py_None;
30343 return resultobj;
30344 fail:
30345 return NULL;
30346 }
30347
30348
30349 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30350 PyObject *resultobj;
30351 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30352 double arg2 ;
30353 double arg3 ;
30354 int arg4 = (int) 0 ;
30355 int arg5 = (int) 0 ;
30356 PyObject * obj0 = 0 ;
30357 PyObject * obj1 = 0 ;
30358 PyObject * obj2 = 0 ;
30359 PyObject * obj3 = 0 ;
30360 PyObject * obj4 = 0 ;
30361 char *kwnames[] = {
30362 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30363 };
30364
30365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30368 arg2 = (double) SWIG_AsDouble(obj1);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 arg3 = (double) SWIG_AsDouble(obj2);
30371 if (PyErr_Occurred()) SWIG_fail;
30372 if (obj3) {
30373 arg4 = (int) SWIG_AsInt(obj3);
30374 if (PyErr_Occurred()) SWIG_fail;
30375 }
30376 if (obj4) {
30377 arg5 = (int) SWIG_AsInt(obj4);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 }
30380 {
30381 PyThreadState* __tstate = wxPyBeginAllowThreads();
30382 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
30383
30384 wxPyEndAllowThreads(__tstate);
30385 if (PyErr_Occurred()) SWIG_fail;
30386 }
30387 Py_INCREF(Py_None); resultobj = Py_None;
30388 return resultobj;
30389 fail:
30390 return NULL;
30391 }
30392
30393
30394 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30395 PyObject *resultobj;
30396 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30397 double arg2 ;
30398 double arg3 ;
30399 int arg4 = (int) 0 ;
30400 int arg5 = (int) 0 ;
30401 PyObject * obj0 = 0 ;
30402 PyObject * obj1 = 0 ;
30403 PyObject * obj2 = 0 ;
30404 PyObject * obj3 = 0 ;
30405 PyObject * obj4 = 0 ;
30406 char *kwnames[] = {
30407 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30408 };
30409
30410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30413 arg2 = (double) SWIG_AsDouble(obj1);
30414 if (PyErr_Occurred()) SWIG_fail;
30415 arg3 = (double) SWIG_AsDouble(obj2);
30416 if (PyErr_Occurred()) SWIG_fail;
30417 if (obj3) {
30418 arg4 = (int) SWIG_AsInt(obj3);
30419 if (PyErr_Occurred()) SWIG_fail;
30420 }
30421 if (obj4) {
30422 arg5 = (int) SWIG_AsInt(obj4);
30423 if (PyErr_Occurred()) SWIG_fail;
30424 }
30425 {
30426 PyThreadState* __tstate = wxPyBeginAllowThreads();
30427 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
30428
30429 wxPyEndAllowThreads(__tstate);
30430 if (PyErr_Occurred()) SWIG_fail;
30431 }
30432 Py_INCREF(Py_None); resultobj = Py_None;
30433 return resultobj;
30434 fail:
30435 return NULL;
30436 }
30437
30438
30439 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30440 PyObject *resultobj;
30441 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30442 bool arg2 ;
30443 double arg3 ;
30444 double arg4 ;
30445 int arg5 = (int) 0 ;
30446 int arg6 = (int) 0 ;
30447 PyObject * obj0 = 0 ;
30448 PyObject * obj1 = 0 ;
30449 PyObject * obj2 = 0 ;
30450 PyObject * obj3 = 0 ;
30451 PyObject * obj4 = 0 ;
30452 PyObject * obj5 = 0 ;
30453 char *kwnames[] = {
30454 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30455 };
30456
30457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30460 arg2 = (bool) SWIG_AsBool(obj1);
30461 if (PyErr_Occurred()) SWIG_fail;
30462 arg3 = (double) SWIG_AsDouble(obj2);
30463 if (PyErr_Occurred()) SWIG_fail;
30464 arg4 = (double) SWIG_AsDouble(obj3);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 if (obj4) {
30467 arg5 = (int) SWIG_AsInt(obj4);
30468 if (PyErr_Occurred()) SWIG_fail;
30469 }
30470 if (obj5) {
30471 arg6 = (int) SWIG_AsInt(obj5);
30472 if (PyErr_Occurred()) SWIG_fail;
30473 }
30474 {
30475 PyThreadState* __tstate = wxPyBeginAllowThreads();
30476 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
30477
30478 wxPyEndAllowThreads(__tstate);
30479 if (PyErr_Occurred()) SWIG_fail;
30480 }
30481 Py_INCREF(Py_None); resultobj = Py_None;
30482 return resultobj;
30483 fail:
30484 return NULL;
30485 }
30486
30487
30488 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30489 PyObject *resultobj;
30490 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30491 double arg2 ;
30492 double arg3 ;
30493 int arg4 = (int) 0 ;
30494 int arg5 = (int) 0 ;
30495 PyObject * obj0 = 0 ;
30496 PyObject * obj1 = 0 ;
30497 PyObject * obj2 = 0 ;
30498 PyObject * obj3 = 0 ;
30499 PyObject * obj4 = 0 ;
30500 char *kwnames[] = {
30501 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30502 };
30503
30504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30507 arg2 = (double) SWIG_AsDouble(obj1);
30508 if (PyErr_Occurred()) SWIG_fail;
30509 arg3 = (double) SWIG_AsDouble(obj2);
30510 if (PyErr_Occurred()) SWIG_fail;
30511 if (obj3) {
30512 arg4 = (int) SWIG_AsInt(obj3);
30513 if (PyErr_Occurred()) SWIG_fail;
30514 }
30515 if (obj4) {
30516 arg5 = (int) SWIG_AsInt(obj4);
30517 if (PyErr_Occurred()) SWIG_fail;
30518 }
30519 {
30520 PyThreadState* __tstate = wxPyBeginAllowThreads();
30521 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
30522
30523 wxPyEndAllowThreads(__tstate);
30524 if (PyErr_Occurred()) SWIG_fail;
30525 }
30526 Py_INCREF(Py_None); resultobj = Py_None;
30527 return resultobj;
30528 fail:
30529 return NULL;
30530 }
30531
30532
30533 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30534 PyObject *resultobj;
30535 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30536 double arg2 ;
30537 double arg3 ;
30538 int arg4 = (int) 0 ;
30539 int arg5 = (int) 0 ;
30540 PyObject * obj0 = 0 ;
30541 PyObject * obj1 = 0 ;
30542 PyObject * obj2 = 0 ;
30543 PyObject * obj3 = 0 ;
30544 PyObject * obj4 = 0 ;
30545 char *kwnames[] = {
30546 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30547 };
30548
30549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30552 arg2 = (double) SWIG_AsDouble(obj1);
30553 if (PyErr_Occurred()) SWIG_fail;
30554 arg3 = (double) SWIG_AsDouble(obj2);
30555 if (PyErr_Occurred()) SWIG_fail;
30556 if (obj3) {
30557 arg4 = (int) SWIG_AsInt(obj3);
30558 if (PyErr_Occurred()) SWIG_fail;
30559 }
30560 if (obj4) {
30561 arg5 = (int) SWIG_AsInt(obj4);
30562 if (PyErr_Occurred()) SWIG_fail;
30563 }
30564 {
30565 PyThreadState* __tstate = wxPyBeginAllowThreads();
30566 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
30567
30568 wxPyEndAllowThreads(__tstate);
30569 if (PyErr_Occurred()) SWIG_fail;
30570 }
30571 Py_INCREF(Py_None); resultobj = Py_None;
30572 return resultobj;
30573 fail:
30574 return NULL;
30575 }
30576
30577
30578 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30579 PyObject *resultobj;
30580 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30581 wxDC *arg2 = 0 ;
30582 double arg3 ;
30583 double arg4 ;
30584 double arg5 ;
30585 double arg6 ;
30586 PyObject * obj0 = 0 ;
30587 PyObject * obj1 = 0 ;
30588 PyObject * obj2 = 0 ;
30589 PyObject * obj3 = 0 ;
30590 PyObject * obj4 = 0 ;
30591 PyObject * obj5 = 0 ;
30592 char *kwnames[] = {
30593 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30594 };
30595
30596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30600 SWIG_POINTER_EXCEPTION | 0)) == -1)
30601 SWIG_fail;
30602 if (arg2 == NULL) {
30603 PyErr_SetString(PyExc_TypeError,"null reference");
30604 SWIG_fail;
30605 }
30606 arg3 = (double) SWIG_AsDouble(obj2);
30607 if (PyErr_Occurred()) SWIG_fail;
30608 arg4 = (double) SWIG_AsDouble(obj3);
30609 if (PyErr_Occurred()) SWIG_fail;
30610 arg5 = (double) SWIG_AsDouble(obj4);
30611 if (PyErr_Occurred()) SWIG_fail;
30612 arg6 = (double) SWIG_AsDouble(obj5);
30613 if (PyErr_Occurred()) SWIG_fail;
30614 {
30615 PyThreadState* __tstate = wxPyBeginAllowThreads();
30616 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
30617
30618 wxPyEndAllowThreads(__tstate);
30619 if (PyErr_Occurred()) SWIG_fail;
30620 }
30621 Py_INCREF(Py_None); resultobj = Py_None;
30622 return resultobj;
30623 fail:
30624 return NULL;
30625 }
30626
30627
30628 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30629 PyObject *resultobj;
30630 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30631 wxDC *arg2 = 0 ;
30632 PyObject * obj0 = 0 ;
30633 PyObject * obj1 = 0 ;
30634 char *kwnames[] = {
30635 (char *) "self",(char *) "dc", NULL
30636 };
30637
30638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
30639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30642 SWIG_POINTER_EXCEPTION | 0)) == -1)
30643 SWIG_fail;
30644 if (arg2 == NULL) {
30645 PyErr_SetString(PyExc_TypeError,"null reference");
30646 SWIG_fail;
30647 }
30648 {
30649 PyThreadState* __tstate = wxPyBeginAllowThreads();
30650 (arg1)->base_OnDrawControlPoints(*arg2);
30651
30652 wxPyEndAllowThreads(__tstate);
30653 if (PyErr_Occurred()) SWIG_fail;
30654 }
30655 Py_INCREF(Py_None); resultobj = Py_None;
30656 return resultobj;
30657 fail:
30658 return NULL;
30659 }
30660
30661
30662 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30663 PyObject *resultobj;
30664 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30665 wxDC *arg2 = 0 ;
30666 PyObject * obj0 = 0 ;
30667 PyObject * obj1 = 0 ;
30668 char *kwnames[] = {
30669 (char *) "self",(char *) "dc", NULL
30670 };
30671
30672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
30673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30676 SWIG_POINTER_EXCEPTION | 0)) == -1)
30677 SWIG_fail;
30678 if (arg2 == NULL) {
30679 PyErr_SetString(PyExc_TypeError,"null reference");
30680 SWIG_fail;
30681 }
30682 {
30683 PyThreadState* __tstate = wxPyBeginAllowThreads();
30684 (arg1)->base_OnEraseControlPoints(*arg2);
30685
30686 wxPyEndAllowThreads(__tstate);
30687 if (PyErr_Occurred()) SWIG_fail;
30688 }
30689 Py_INCREF(Py_None); resultobj = Py_None;
30690 return resultobj;
30691 fail:
30692 return NULL;
30693 }
30694
30695
30696 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30697 PyObject *resultobj;
30698 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30699 wxDC *arg2 = 0 ;
30700 bool arg3 = (bool) True ;
30701 PyObject * obj0 = 0 ;
30702 PyObject * obj1 = 0 ;
30703 PyObject * obj2 = 0 ;
30704 char *kwnames[] = {
30705 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30706 };
30707
30708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
30709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30711 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30712 SWIG_POINTER_EXCEPTION | 0)) == -1)
30713 SWIG_fail;
30714 if (arg2 == NULL) {
30715 PyErr_SetString(PyExc_TypeError,"null reference");
30716 SWIG_fail;
30717 }
30718 if (obj2) {
30719 arg3 = (bool) SWIG_AsBool(obj2);
30720 if (PyErr_Occurred()) SWIG_fail;
30721 }
30722 {
30723 PyThreadState* __tstate = wxPyBeginAllowThreads();
30724 (arg1)->base_OnMoveLink(*arg2,arg3);
30725
30726 wxPyEndAllowThreads(__tstate);
30727 if (PyErr_Occurred()) SWIG_fail;
30728 }
30729 Py_INCREF(Py_None); resultobj = Py_None;
30730 return resultobj;
30731 fail:
30732 return NULL;
30733 }
30734
30735
30736 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30737 PyObject *resultobj;
30738 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30739 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30740 bool arg3 ;
30741 double arg4 ;
30742 double arg5 ;
30743 int arg6 = (int) 0 ;
30744 int arg7 = (int) 0 ;
30745 PyObject * obj0 = 0 ;
30746 PyObject * obj1 = 0 ;
30747 PyObject * obj2 = 0 ;
30748 PyObject * obj3 = 0 ;
30749 PyObject * obj4 = 0 ;
30750 PyObject * obj5 = 0 ;
30751 PyObject * obj6 = 0 ;
30752 char *kwnames[] = {
30753 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30761 arg3 = (bool) SWIG_AsBool(obj2);
30762 if (PyErr_Occurred()) SWIG_fail;
30763 arg4 = (double) SWIG_AsDouble(obj3);
30764 if (PyErr_Occurred()) SWIG_fail;
30765 arg5 = (double) SWIG_AsDouble(obj4);
30766 if (PyErr_Occurred()) SWIG_fail;
30767 if (obj5) {
30768 arg6 = (int) SWIG_AsInt(obj5);
30769 if (PyErr_Occurred()) SWIG_fail;
30770 }
30771 if (obj6) {
30772 arg7 = (int) SWIG_AsInt(obj6);
30773 if (PyErr_Occurred()) SWIG_fail;
30774 }
30775 {
30776 PyThreadState* __tstate = wxPyBeginAllowThreads();
30777 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30778
30779 wxPyEndAllowThreads(__tstate);
30780 if (PyErr_Occurred()) SWIG_fail;
30781 }
30782 Py_INCREF(Py_None); resultobj = Py_None;
30783 return resultobj;
30784 fail:
30785 return NULL;
30786 }
30787
30788
30789 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30790 PyObject *resultobj;
30791 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30792 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30793 double arg3 ;
30794 double arg4 ;
30795 int arg5 = (int) 0 ;
30796 int arg6 = (int) 0 ;
30797 PyObject * obj0 = 0 ;
30798 PyObject * obj1 = 0 ;
30799 PyObject * obj2 = 0 ;
30800 PyObject * obj3 = 0 ;
30801 PyObject * obj4 = 0 ;
30802 PyObject * obj5 = 0 ;
30803 char *kwnames[] = {
30804 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30805 };
30806
30807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30812 arg3 = (double) SWIG_AsDouble(obj2);
30813 if (PyErr_Occurred()) SWIG_fail;
30814 arg4 = (double) SWIG_AsDouble(obj3);
30815 if (PyErr_Occurred()) SWIG_fail;
30816 if (obj4) {
30817 arg5 = (int) SWIG_AsInt(obj4);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 }
30820 if (obj5) {
30821 arg6 = (int) SWIG_AsInt(obj5);
30822 if (PyErr_Occurred()) SWIG_fail;
30823 }
30824 {
30825 PyThreadState* __tstate = wxPyBeginAllowThreads();
30826 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30827
30828 wxPyEndAllowThreads(__tstate);
30829 if (PyErr_Occurred()) SWIG_fail;
30830 }
30831 Py_INCREF(Py_None); resultobj = Py_None;
30832 return resultobj;
30833 fail:
30834 return NULL;
30835 }
30836
30837
30838 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30839 PyObject *resultobj;
30840 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30841 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30842 double arg3 ;
30843 double arg4 ;
30844 int arg5 = (int) 0 ;
30845 int arg6 = (int) 0 ;
30846 PyObject * obj0 = 0 ;
30847 PyObject * obj1 = 0 ;
30848 PyObject * obj2 = 0 ;
30849 PyObject * obj3 = 0 ;
30850 PyObject * obj4 = 0 ;
30851 PyObject * obj5 = 0 ;
30852 char *kwnames[] = {
30853 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30854 };
30855
30856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30861 arg3 = (double) SWIG_AsDouble(obj2);
30862 if (PyErr_Occurred()) SWIG_fail;
30863 arg4 = (double) SWIG_AsDouble(obj3);
30864 if (PyErr_Occurred()) SWIG_fail;
30865 if (obj4) {
30866 arg5 = (int) SWIG_AsInt(obj4);
30867 if (PyErr_Occurred()) SWIG_fail;
30868 }
30869 if (obj5) {
30870 arg6 = (int) SWIG_AsInt(obj5);
30871 if (PyErr_Occurred()) SWIG_fail;
30872 }
30873 {
30874 PyThreadState* __tstate = wxPyBeginAllowThreads();
30875 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30876
30877 wxPyEndAllowThreads(__tstate);
30878 if (PyErr_Occurred()) SWIG_fail;
30879 }
30880 Py_INCREF(Py_None); resultobj = Py_None;
30881 return resultobj;
30882 fail:
30883 return NULL;
30884 }
30885
30886
30887 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30888 PyObject *resultobj;
30889 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30890 double arg2 ;
30891 double arg3 ;
30892 PyObject * obj0 = 0 ;
30893 PyObject * obj1 = 0 ;
30894 PyObject * obj2 = 0 ;
30895 char *kwnames[] = {
30896 (char *) "self",(char *) "w",(char *) "h", NULL
30897 };
30898
30899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30902 arg2 = (double) SWIG_AsDouble(obj1);
30903 if (PyErr_Occurred()) SWIG_fail;
30904 arg3 = (double) SWIG_AsDouble(obj2);
30905 if (PyErr_Occurred()) SWIG_fail;
30906 {
30907 PyThreadState* __tstate = wxPyBeginAllowThreads();
30908 (arg1)->base_OnBeginSize(arg2,arg3);
30909
30910 wxPyEndAllowThreads(__tstate);
30911 if (PyErr_Occurred()) SWIG_fail;
30912 }
30913 Py_INCREF(Py_None); resultobj = Py_None;
30914 return resultobj;
30915 fail:
30916 return NULL;
30917 }
30918
30919
30920 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30921 PyObject *resultobj;
30922 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30923 double arg2 ;
30924 double arg3 ;
30925 PyObject * obj0 = 0 ;
30926 PyObject * obj1 = 0 ;
30927 PyObject * obj2 = 0 ;
30928 char *kwnames[] = {
30929 (char *) "self",(char *) "w",(char *) "h", NULL
30930 };
30931
30932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30935 arg2 = (double) SWIG_AsDouble(obj1);
30936 if (PyErr_Occurred()) SWIG_fail;
30937 arg3 = (double) SWIG_AsDouble(obj2);
30938 if (PyErr_Occurred()) SWIG_fail;
30939 {
30940 PyThreadState* __tstate = wxPyBeginAllowThreads();
30941 (arg1)->base_OnEndSize(arg2,arg3);
30942
30943 wxPyEndAllowThreads(__tstate);
30944 if (PyErr_Occurred()) SWIG_fail;
30945 }
30946 Py_INCREF(Py_None); resultobj = Py_None;
30947 return resultobj;
30948 fail:
30949 return NULL;
30950 }
30951
30952
30953 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
30954 PyObject *obj;
30955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30956 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
30957 Py_INCREF(obj);
30958 return Py_BuildValue((char *)"");
30959 }
30960 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
30961 PyObject *resultobj;
30962 wxDiagram *result;
30963 char *kwnames[] = {
30964 NULL
30965 };
30966
30967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
30968 {
30969 PyThreadState* __tstate = wxPyBeginAllowThreads();
30970 result = (wxDiagram *)new wxDiagram();
30971
30972 wxPyEndAllowThreads(__tstate);
30973 if (PyErr_Occurred()) SWIG_fail;
30974 }
30975 {
30976 resultobj = wxPyMake_wxObject(result, 1);
30977 }
30978 return resultobj;
30979 fail:
30980 return NULL;
30981 }
30982
30983
30984 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30985 PyObject *resultobj;
30986 wxDiagram *arg1 = (wxDiagram *) 0 ;
30987 wxPyShape *arg2 = (wxPyShape *) 0 ;
30988 wxPyShape *arg3 = (wxPyShape *) NULL ;
30989 PyObject * obj0 = 0 ;
30990 PyObject * obj1 = 0 ;
30991 PyObject * obj2 = 0 ;
30992 char *kwnames[] = {
30993 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30994 };
30995
30996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
30997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31001 if (obj2) {
31002 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31004 }
31005 {
31006 PyThreadState* __tstate = wxPyBeginAllowThreads();
31007 (arg1)->AddShape(arg2,arg3);
31008
31009 wxPyEndAllowThreads(__tstate);
31010 if (PyErr_Occurred()) SWIG_fail;
31011 }
31012 Py_INCREF(Py_None); resultobj = Py_None;
31013 return resultobj;
31014 fail:
31015 return NULL;
31016 }
31017
31018
31019 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
31020 PyObject *resultobj;
31021 wxDiagram *arg1 = (wxDiagram *) 0 ;
31022 wxDC *arg2 = 0 ;
31023 PyObject * obj0 = 0 ;
31024 PyObject * obj1 = 0 ;
31025 char *kwnames[] = {
31026 (char *) "self",(char *) "dc", NULL
31027 };
31028
31029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
31030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31033 SWIG_POINTER_EXCEPTION | 0)) == -1)
31034 SWIG_fail;
31035 if (arg2 == NULL) {
31036 PyErr_SetString(PyExc_TypeError,"null reference");
31037 SWIG_fail;
31038 }
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
31041 (arg1)->Clear(*arg2);
31042
31043 wxPyEndAllowThreads(__tstate);
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
31046 Py_INCREF(Py_None); resultobj = Py_None;
31047 return resultobj;
31048 fail:
31049 return NULL;
31050 }
31051
31052
31053 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
31054 PyObject *resultobj;
31055 wxDiagram *arg1 = (wxDiagram *) 0 ;
31056 PyObject * obj0 = 0 ;
31057 char *kwnames[] = {
31058 (char *) "self", NULL
31059 };
31060
31061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
31062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31064 {
31065 PyThreadState* __tstate = wxPyBeginAllowThreads();
31066 (arg1)->DeleteAllShapes();
31067
31068 wxPyEndAllowThreads(__tstate);
31069 if (PyErr_Occurred()) SWIG_fail;
31070 }
31071 Py_INCREF(Py_None); resultobj = Py_None;
31072 return resultobj;
31073 fail:
31074 return NULL;
31075 }
31076
31077
31078 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
31079 PyObject *resultobj;
31080 wxDiagram *arg1 = (wxDiagram *) 0 ;
31081 wxDC *arg2 = 0 ;
31082 double arg3 ;
31083 double arg4 ;
31084 double arg5 ;
31085 double arg6 ;
31086 PyObject * obj0 = 0 ;
31087 PyObject * obj1 = 0 ;
31088 PyObject * obj2 = 0 ;
31089 PyObject * obj3 = 0 ;
31090 PyObject * obj4 = 0 ;
31091 PyObject * obj5 = 0 ;
31092 char *kwnames[] = {
31093 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31094 };
31095
31096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31100 SWIG_POINTER_EXCEPTION | 0)) == -1)
31101 SWIG_fail;
31102 if (arg2 == NULL) {
31103 PyErr_SetString(PyExc_TypeError,"null reference");
31104 SWIG_fail;
31105 }
31106 arg3 = (double) SWIG_AsDouble(obj2);
31107 if (PyErr_Occurred()) SWIG_fail;
31108 arg4 = (double) SWIG_AsDouble(obj3);
31109 if (PyErr_Occurred()) SWIG_fail;
31110 arg5 = (double) SWIG_AsDouble(obj4);
31111 if (PyErr_Occurred()) SWIG_fail;
31112 arg6 = (double) SWIG_AsDouble(obj5);
31113 if (PyErr_Occurred()) SWIG_fail;
31114 {
31115 PyThreadState* __tstate = wxPyBeginAllowThreads();
31116 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
31117
31118 wxPyEndAllowThreads(__tstate);
31119 if (PyErr_Occurred()) SWIG_fail;
31120 }
31121 Py_INCREF(Py_None); resultobj = Py_None;
31122 return resultobj;
31123 fail:
31124 return NULL;
31125 }
31126
31127
31128 static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31129 PyObject *resultobj;
31130 wxDiagram *arg1 = (wxDiagram *) 0 ;
31131 long arg2 ;
31132 wxPyShape *result;
31133 PyObject * obj0 = 0 ;
31134 PyObject * obj1 = 0 ;
31135 char *kwnames[] = {
31136 (char *) "self",(char *) "id", NULL
31137 };
31138
31139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
31140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31142 arg2 = (long) SWIG_AsLong(obj1);
31143 if (PyErr_Occurred()) SWIG_fail;
31144 {
31145 PyThreadState* __tstate = wxPyBeginAllowThreads();
31146 result = (wxPyShape *)(arg1)->FindShape(arg2);
31147
31148 wxPyEndAllowThreads(__tstate);
31149 if (PyErr_Occurred()) SWIG_fail;
31150 }
31151 {
31152 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
31153 }
31154 return resultobj;
31155 fail:
31156 return NULL;
31157 }
31158
31159
31160 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31161 PyObject *resultobj;
31162 wxDiagram *arg1 = (wxDiagram *) 0 ;
31163 wxPyShapeCanvas *result;
31164 PyObject * obj0 = 0 ;
31165 char *kwnames[] = {
31166 (char *) "self", NULL
31167 };
31168
31169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
31170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31172 {
31173 PyThreadState* __tstate = wxPyBeginAllowThreads();
31174 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
31175
31176 wxPyEndAllowThreads(__tstate);
31177 if (PyErr_Occurred()) SWIG_fail;
31178 }
31179 {
31180 resultobj = wxPyMake_wxObject(result, 0);
31181 }
31182 return resultobj;
31183 fail:
31184 return NULL;
31185 }
31186
31187
31188 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
31189 PyObject *resultobj;
31190 wxDiagram *arg1 = (wxDiagram *) 0 ;
31191 int result;
31192 PyObject * obj0 = 0 ;
31193 char *kwnames[] = {
31194 (char *) "self", NULL
31195 };
31196
31197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
31198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31200 {
31201 PyThreadState* __tstate = wxPyBeginAllowThreads();
31202 result = (int)(arg1)->GetCount();
31203
31204 wxPyEndAllowThreads(__tstate);
31205 if (PyErr_Occurred()) SWIG_fail;
31206 }
31207 resultobj = SWIG_FromInt((int)result);
31208 return resultobj;
31209 fail:
31210 return NULL;
31211 }
31212
31213
31214 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31215 PyObject *resultobj;
31216 wxDiagram *arg1 = (wxDiagram *) 0 ;
31217 double result;
31218 PyObject * obj0 = 0 ;
31219 char *kwnames[] = {
31220 (char *) "self", NULL
31221 };
31222
31223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
31224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31226 {
31227 PyThreadState* __tstate = wxPyBeginAllowThreads();
31228 result = (double)(arg1)->GetGridSpacing();
31229
31230 wxPyEndAllowThreads(__tstate);
31231 if (PyErr_Occurred()) SWIG_fail;
31232 }
31233 resultobj = SWIG_FromDouble((double)result);
31234 return resultobj;
31235 fail:
31236 return NULL;
31237 }
31238
31239
31240 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31241 PyObject *resultobj;
31242 wxDiagram *arg1 = (wxDiagram *) 0 ;
31243 int result;
31244 PyObject * obj0 = 0 ;
31245 char *kwnames[] = {
31246 (char *) "self", NULL
31247 };
31248
31249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
31250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31252 {
31253 PyThreadState* __tstate = wxPyBeginAllowThreads();
31254 result = (int)(arg1)->GetMouseTolerance();
31255
31256 wxPyEndAllowThreads(__tstate);
31257 if (PyErr_Occurred()) SWIG_fail;
31258 }
31259 resultobj = SWIG_FromInt((int)result);
31260 return resultobj;
31261 fail:
31262 return NULL;
31263 }
31264
31265
31266 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
31267 PyObject *resultobj;
31268 wxDiagram *arg1 = (wxDiagram *) 0 ;
31269 PyObject *result;
31270 PyObject * obj0 = 0 ;
31271 char *kwnames[] = {
31272 (char *) "self", NULL
31273 };
31274
31275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
31276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31278 {
31279 PyThreadState* __tstate = wxPyBeginAllowThreads();
31280 result = (PyObject *)wxDiagram_GetShapeList(arg1);
31281
31282 wxPyEndAllowThreads(__tstate);
31283 if (PyErr_Occurred()) SWIG_fail;
31284 }
31285 resultobj = result;
31286 return resultobj;
31287 fail:
31288 return NULL;
31289 }
31290
31291
31292 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31293 PyObject *resultobj;
31294 wxDiagram *arg1 = (wxDiagram *) 0 ;
31295 bool result;
31296 PyObject * obj0 = 0 ;
31297 char *kwnames[] = {
31298 (char *) "self", NULL
31299 };
31300
31301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
31302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31304 {
31305 PyThreadState* __tstate = wxPyBeginAllowThreads();
31306 result = (bool)(arg1)->GetQuickEditMode();
31307
31308 wxPyEndAllowThreads(__tstate);
31309 if (PyErr_Occurred()) SWIG_fail;
31310 }
31311 {
31312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31313 }
31314 return resultobj;
31315 fail:
31316 return NULL;
31317 }
31318
31319
31320 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31321 PyObject *resultobj;
31322 wxDiagram *arg1 = (wxDiagram *) 0 ;
31323 bool result;
31324 PyObject * obj0 = 0 ;
31325 char *kwnames[] = {
31326 (char *) "self", NULL
31327 };
31328
31329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
31330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31332 {
31333 PyThreadState* __tstate = wxPyBeginAllowThreads();
31334 result = (bool)(arg1)->GetSnapToGrid();
31335
31336 wxPyEndAllowThreads(__tstate);
31337 if (PyErr_Occurred()) SWIG_fail;
31338 }
31339 {
31340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31341 }
31342 return resultobj;
31343 fail:
31344 return NULL;
31345 }
31346
31347
31348 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31349 PyObject *resultobj;
31350 wxDiagram *arg1 = (wxDiagram *) 0 ;
31351 wxPyShape *arg2 = (wxPyShape *) 0 ;
31352 PyObject * obj0 = 0 ;
31353 PyObject * obj1 = 0 ;
31354 char *kwnames[] = {
31355 (char *) "self",(char *) "shape", NULL
31356 };
31357
31358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31363 {
31364 PyThreadState* __tstate = wxPyBeginAllowThreads();
31365 (arg1)->InsertShape(arg2);
31366
31367 wxPyEndAllowThreads(__tstate);
31368 if (PyErr_Occurred()) SWIG_fail;
31369 }
31370 Py_INCREF(Py_None); resultobj = Py_None;
31371 return resultobj;
31372 fail:
31373 return NULL;
31374 }
31375
31376
31377 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31378 PyObject *resultobj;
31379 wxDiagram *arg1 = (wxDiagram *) 0 ;
31380 wxDC *arg2 = 0 ;
31381 PyObject * obj0 = 0 ;
31382 PyObject * obj1 = 0 ;
31383 char *kwnames[] = {
31384 (char *) "self",(char *) "dc", NULL
31385 };
31386
31387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
31388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31391 SWIG_POINTER_EXCEPTION | 0)) == -1)
31392 SWIG_fail;
31393 if (arg2 == NULL) {
31394 PyErr_SetString(PyExc_TypeError,"null reference");
31395 SWIG_fail;
31396 }
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 (arg1)->RecentreAll(*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_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
31412 PyObject *resultobj;
31413 wxDiagram *arg1 = (wxDiagram *) 0 ;
31414 wxDC *arg2 = 0 ;
31415 PyObject * obj0 = 0 ;
31416 PyObject * obj1 = 0 ;
31417 char *kwnames[] = {
31418 (char *) "self",(char *) "dc", NULL
31419 };
31420
31421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
31422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31425 SWIG_POINTER_EXCEPTION | 0)) == -1)
31426 SWIG_fail;
31427 if (arg2 == NULL) {
31428 PyErr_SetString(PyExc_TypeError,"null reference");
31429 SWIG_fail;
31430 }
31431 {
31432 PyThreadState* __tstate = wxPyBeginAllowThreads();
31433 (arg1)->Redraw(*arg2);
31434
31435 wxPyEndAllowThreads(__tstate);
31436 if (PyErr_Occurred()) SWIG_fail;
31437 }
31438 Py_INCREF(Py_None); resultobj = Py_None;
31439 return resultobj;
31440 fail:
31441 return NULL;
31442 }
31443
31444
31445 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
31446 PyObject *resultobj;
31447 wxDiagram *arg1 = (wxDiagram *) 0 ;
31448 PyObject * obj0 = 0 ;
31449 char *kwnames[] = {
31450 (char *) "self", NULL
31451 };
31452
31453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
31454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31456 {
31457 PyThreadState* __tstate = wxPyBeginAllowThreads();
31458 (arg1)->RemoveAllShapes();
31459
31460 wxPyEndAllowThreads(__tstate);
31461 if (PyErr_Occurred()) SWIG_fail;
31462 }
31463 Py_INCREF(Py_None); resultobj = Py_None;
31464 return resultobj;
31465 fail:
31466 return NULL;
31467 }
31468
31469
31470 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31471 PyObject *resultobj;
31472 wxDiagram *arg1 = (wxDiagram *) 0 ;
31473 wxPyShape *arg2 = (wxPyShape *) 0 ;
31474 PyObject * obj0 = 0 ;
31475 PyObject * obj1 = 0 ;
31476 char *kwnames[] = {
31477 (char *) "self",(char *) "shape", NULL
31478 };
31479
31480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
31481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31485 {
31486 PyThreadState* __tstate = wxPyBeginAllowThreads();
31487 (arg1)->RemoveShape(arg2);
31488
31489 wxPyEndAllowThreads(__tstate);
31490 if (PyErr_Occurred()) SWIG_fail;
31491 }
31492 Py_INCREF(Py_None); resultobj = Py_None;
31493 return resultobj;
31494 fail:
31495 return NULL;
31496 }
31497
31498
31499 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31500 PyObject *resultobj;
31501 wxDiagram *arg1 = (wxDiagram *) 0 ;
31502 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
31503 PyObject * obj0 = 0 ;
31504 PyObject * obj1 = 0 ;
31505 char *kwnames[] = {
31506 (char *) "self",(char *) "canvas", NULL
31507 };
31508
31509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
31510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
31513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31514 {
31515 PyThreadState* __tstate = wxPyBeginAllowThreads();
31516 (arg1)->SetCanvas(arg2);
31517
31518 wxPyEndAllowThreads(__tstate);
31519 if (PyErr_Occurred()) SWIG_fail;
31520 }
31521 Py_INCREF(Py_None); resultobj = Py_None;
31522 return resultobj;
31523 fail:
31524 return NULL;
31525 }
31526
31527
31528 static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31529 PyObject *resultobj;
31530 wxDiagram *arg1 = (wxDiagram *) 0 ;
31531 double arg2 ;
31532 PyObject * obj0 = 0 ;
31533 PyObject * obj1 = 0 ;
31534 char *kwnames[] = {
31535 (char *) "self",(char *) "spacing", NULL
31536 };
31537
31538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
31539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31541 arg2 = (double) SWIG_AsDouble(obj1);
31542 if (PyErr_Occurred()) SWIG_fail;
31543 {
31544 PyThreadState* __tstate = wxPyBeginAllowThreads();
31545 (arg1)->SetGridSpacing(arg2);
31546
31547 wxPyEndAllowThreads(__tstate);
31548 if (PyErr_Occurred()) SWIG_fail;
31549 }
31550 Py_INCREF(Py_None); resultobj = Py_None;
31551 return resultobj;
31552 fail:
31553 return NULL;
31554 }
31555
31556
31557 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31558 PyObject *resultobj;
31559 wxDiagram *arg1 = (wxDiagram *) 0 ;
31560 int arg2 ;
31561 PyObject * obj0 = 0 ;
31562 PyObject * obj1 = 0 ;
31563 char *kwnames[] = {
31564 (char *) "self",(char *) "tolerance", NULL
31565 };
31566
31567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
31568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31570 arg2 = (int) SWIG_AsInt(obj1);
31571 if (PyErr_Occurred()) SWIG_fail;
31572 {
31573 PyThreadState* __tstate = wxPyBeginAllowThreads();
31574 (arg1)->SetMouseTolerance(arg2);
31575
31576 wxPyEndAllowThreads(__tstate);
31577 if (PyErr_Occurred()) SWIG_fail;
31578 }
31579 Py_INCREF(Py_None); resultobj = Py_None;
31580 return resultobj;
31581 fail:
31582 return NULL;
31583 }
31584
31585
31586 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31587 PyObject *resultobj;
31588 wxDiagram *arg1 = (wxDiagram *) 0 ;
31589 bool arg2 ;
31590 PyObject * obj0 = 0 ;
31591 PyObject * obj1 = 0 ;
31592 char *kwnames[] = {
31593 (char *) "self",(char *) "mode", NULL
31594 };
31595
31596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
31597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31599 arg2 = (bool) SWIG_AsBool(obj1);
31600 if (PyErr_Occurred()) SWIG_fail;
31601 {
31602 PyThreadState* __tstate = wxPyBeginAllowThreads();
31603 (arg1)->SetQuickEditMode(arg2);
31604
31605 wxPyEndAllowThreads(__tstate);
31606 if (PyErr_Occurred()) SWIG_fail;
31607 }
31608 Py_INCREF(Py_None); resultobj = Py_None;
31609 return resultobj;
31610 fail:
31611 return NULL;
31612 }
31613
31614
31615 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31616 PyObject *resultobj;
31617 wxDiagram *arg1 = (wxDiagram *) 0 ;
31618 bool arg2 ;
31619 PyObject * obj0 = 0 ;
31620 PyObject * obj1 = 0 ;
31621 char *kwnames[] = {
31622 (char *) "self",(char *) "snap", NULL
31623 };
31624
31625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
31626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31628 arg2 = (bool) SWIG_AsBool(obj1);
31629 if (PyErr_Occurred()) SWIG_fail;
31630 {
31631 PyThreadState* __tstate = wxPyBeginAllowThreads();
31632 (arg1)->SetSnapToGrid(arg2);
31633
31634 wxPyEndAllowThreads(__tstate);
31635 if (PyErr_Occurred()) SWIG_fail;
31636 }
31637 Py_INCREF(Py_None); resultobj = Py_None;
31638 return resultobj;
31639 fail:
31640 return NULL;
31641 }
31642
31643
31644 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31645 PyObject *resultobj;
31646 wxDiagram *arg1 = (wxDiagram *) 0 ;
31647 bool arg2 ;
31648 PyObject * obj0 = 0 ;
31649 PyObject * obj1 = 0 ;
31650 char *kwnames[] = {
31651 (char *) "self",(char *) "show", NULL
31652 };
31653
31654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
31655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31657 arg2 = (bool) SWIG_AsBool(obj1);
31658 if (PyErr_Occurred()) SWIG_fail;
31659 {
31660 PyThreadState* __tstate = wxPyBeginAllowThreads();
31661 (arg1)->ShowAll(arg2);
31662
31663 wxPyEndAllowThreads(__tstate);
31664 if (PyErr_Occurred()) SWIG_fail;
31665 }
31666 Py_INCREF(Py_None); resultobj = Py_None;
31667 return resultobj;
31668 fail:
31669 return NULL;
31670 }
31671
31672
31673 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
31674 PyObject *resultobj;
31675 wxDiagram *arg1 = (wxDiagram *) 0 ;
31676 double *arg2 = (double *) 0 ;
31677 double *arg3 = (double *) 0 ;
31678 double temp2 ;
31679 double temp3 ;
31680 PyObject * obj0 = 0 ;
31681 PyObject * obj1 = 0 ;
31682 PyObject * obj2 = 0 ;
31683 char *kwnames[] = {
31684 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31685 };
31686
31687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
31688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31690 {
31691 temp2 = PyFloat_AsDouble(obj1);
31692 if (PyErr_Occurred()) SWIG_fail;
31693 arg2 = &temp2;
31694 }
31695 {
31696 temp3 = PyFloat_AsDouble(obj2);
31697 if (PyErr_Occurred()) SWIG_fail;
31698 arg3 = &temp3;
31699 }
31700 {
31701 PyThreadState* __tstate = wxPyBeginAllowThreads();
31702 (arg1)->Snap(arg2,arg3);
31703
31704 wxPyEndAllowThreads(__tstate);
31705 if (PyErr_Occurred()) SWIG_fail;
31706 }
31707 Py_INCREF(Py_None); resultobj = Py_None;
31708 {
31709 PyObject *o = PyFloat_FromDouble((double) (*arg2));
31710 resultobj = t_output_helper(resultobj,o);
31711 }
31712 {
31713 PyObject *o = PyFloat_FromDouble((double) (*arg3));
31714 resultobj = t_output_helper(resultobj,o);
31715 }
31716 return resultobj;
31717 fail:
31718 return NULL;
31719 }
31720
31721
31722 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
31723 PyObject *obj;
31724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31725 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
31726 Py_INCREF(obj);
31727 return Py_BuildValue((char *)"");
31728 }
31729 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31730 PyObject *resultobj;
31731 wxWindow *arg1 = (wxWindow *) NULL ;
31732 int arg2 = (int) -1 ;
31733 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31734 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31735 wxSize const &arg4_defvalue = wxDefaultSize ;
31736 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31737 long arg5 = (long) wxBORDER ;
31738 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
31739 wxString *arg6 = (wxString *) &arg6_defvalue ;
31740 wxPyShapeCanvas *result;
31741 wxPoint temp3 ;
31742 wxSize temp4 ;
31743 bool temp6 = False ;
31744 PyObject * obj0 = 0 ;
31745 PyObject * obj1 = 0 ;
31746 PyObject * obj2 = 0 ;
31747 PyObject * obj3 = 0 ;
31748 PyObject * obj4 = 0 ;
31749 PyObject * obj5 = 0 ;
31750 char *kwnames[] = {
31751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31752 };
31753
31754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31755 if (obj0) {
31756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31758 }
31759 if (obj1) {
31760 arg2 = (int) SWIG_AsInt(obj1);
31761 if (PyErr_Occurred()) SWIG_fail;
31762 }
31763 if (obj2) {
31764 {
31765 arg3 = &temp3;
31766 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31767 }
31768 }
31769 if (obj3) {
31770 {
31771 arg4 = &temp4;
31772 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31773 }
31774 }
31775 if (obj4) {
31776 arg5 = (long) SWIG_AsLong(obj4);
31777 if (PyErr_Occurred()) SWIG_fail;
31778 }
31779 if (obj5) {
31780 {
31781 arg6 = wxString_in_helper(obj5);
31782 if (arg6 == NULL) SWIG_fail;
31783 temp6 = True;
31784 }
31785 }
31786 {
31787 if (!wxPyCheckForApp()) SWIG_fail;
31788 PyThreadState* __tstate = wxPyBeginAllowThreads();
31789 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31790
31791 wxPyEndAllowThreads(__tstate);
31792 if (PyErr_Occurred()) SWIG_fail;
31793 }
31794 {
31795 resultobj = wxPyMake_wxObject(result, 1);
31796 }
31797 {
31798 if (temp6)
31799 delete arg6;
31800 }
31801 return resultobj;
31802 fail:
31803 {
31804 if (temp6)
31805 delete arg6;
31806 }
31807 return NULL;
31808 }
31809
31810
31811 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31812 PyObject *resultobj;
31813 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31814 PyObject *arg2 = (PyObject *) 0 ;
31815 PyObject *arg3 = (PyObject *) 0 ;
31816 PyObject * obj0 = 0 ;
31817 PyObject * obj1 = 0 ;
31818 PyObject * obj2 = 0 ;
31819 char *kwnames[] = {
31820 (char *) "self",(char *) "self",(char *) "_class", NULL
31821 };
31822
31823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31826 arg2 = obj1;
31827 arg3 = obj2;
31828 {
31829 PyThreadState* __tstate = wxPyBeginAllowThreads();
31830 (arg1)->_setCallbackInfo(arg2,arg3);
31831
31832 wxPyEndAllowThreads(__tstate);
31833 if (PyErr_Occurred()) SWIG_fail;
31834 }
31835 Py_INCREF(Py_None); resultobj = Py_None;
31836 return resultobj;
31837 fail:
31838 return NULL;
31839 }
31840
31841
31842 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31843 PyObject *resultobj;
31844 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31845 wxPyShape *arg2 = (wxPyShape *) 0 ;
31846 wxPyShape *arg3 = (wxPyShape *) NULL ;
31847 PyObject * obj0 = 0 ;
31848 PyObject * obj1 = 0 ;
31849 PyObject * obj2 = 0 ;
31850 char *kwnames[] = {
31851 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31852 };
31853
31854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
31855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31859 if (obj2) {
31860 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31862 }
31863 {
31864 PyThreadState* __tstate = wxPyBeginAllowThreads();
31865 (arg1)->AddShape(arg2,arg3);
31866
31867 wxPyEndAllowThreads(__tstate);
31868 if (PyErr_Occurred()) SWIG_fail;
31869 }
31870 Py_INCREF(Py_None); resultobj = Py_None;
31871 return resultobj;
31872 fail:
31873 return NULL;
31874 }
31875
31876
31877 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31878 PyObject *resultobj;
31879 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31880 double arg2 ;
31881 double arg3 ;
31882 int *arg4 = (int *) 0 ;
31883 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
31884 wxPyShape *arg6 = (wxPyShape *) NULL ;
31885 wxPyShape *result;
31886 int temp4 ;
31887 PyObject * obj0 = 0 ;
31888 PyObject * obj1 = 0 ;
31889 PyObject * obj2 = 0 ;
31890 PyObject * obj3 = 0 ;
31891 PyObject * obj4 = 0 ;
31892 char *kwnames[] = {
31893 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31894 };
31895
31896 arg4 = &temp4;
31897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31900 arg2 = (double) SWIG_AsDouble(obj1);
31901 if (PyErr_Occurred()) SWIG_fail;
31902 arg3 = (double) SWIG_AsDouble(obj2);
31903 if (PyErr_Occurred()) SWIG_fail;
31904 if (obj3) {
31905 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
31906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31907 }
31908 if (obj4) {
31909 if ((SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_wxPyShape,
31910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31911 }
31912 {
31913 PyThreadState* __tstate = wxPyBeginAllowThreads();
31914 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
31915
31916 wxPyEndAllowThreads(__tstate);
31917 if (PyErr_Occurred()) SWIG_fail;
31918 }
31919 {
31920 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
31921 }
31922 {
31923 PyObject *o = PyInt_FromLong((long) (*arg4));
31924 resultobj = t_output_helper(resultobj,o);
31925 }
31926 return resultobj;
31927 fail:
31928 return NULL;
31929 }
31930
31931
31932 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31933 PyObject *resultobj;
31934 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31935 double arg2 ;
31936 double arg3 ;
31937 int *arg4 = (int *) 0 ;
31938 int arg5 ;
31939 wxPyShape *result;
31940 int temp4 ;
31941 PyObject * obj0 = 0 ;
31942 PyObject * obj1 = 0 ;
31943 PyObject * obj2 = 0 ;
31944 PyObject * obj3 = 0 ;
31945 char *kwnames[] = {
31946 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31947 };
31948
31949 arg4 = &temp4;
31950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31953 arg2 = (double) SWIG_AsDouble(obj1);
31954 if (PyErr_Occurred()) SWIG_fail;
31955 arg3 = (double) SWIG_AsDouble(obj2);
31956 if (PyErr_Occurred()) SWIG_fail;
31957 arg5 = (int) SWIG_AsInt(obj3);
31958 if (PyErr_Occurred()) SWIG_fail;
31959 {
31960 PyThreadState* __tstate = wxPyBeginAllowThreads();
31961 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
31962
31963 wxPyEndAllowThreads(__tstate);
31964 if (PyErr_Occurred()) SWIG_fail;
31965 }
31966 {
31967 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
31968 }
31969 {
31970 PyObject *o = PyInt_FromLong((long) (*arg4));
31971 resultobj = t_output_helper(resultobj,o);
31972 }
31973 return resultobj;
31974 fail:
31975 return NULL;
31976 }
31977
31978
31979 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
31980 PyObject *resultobj;
31981 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31982 wxDiagram *result;
31983 PyObject * obj0 = 0 ;
31984 char *kwnames[] = {
31985 (char *) "self", NULL
31986 };
31987
31988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
31989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31991 {
31992 PyThreadState* __tstate = wxPyBeginAllowThreads();
31993 result = (wxDiagram *)(arg1)->GetDiagram();
31994
31995 wxPyEndAllowThreads(__tstate);
31996 if (PyErr_Occurred()) SWIG_fail;
31997 }
31998 {
31999 resultobj = wxPyMake_wxObject(result, 0);
32000 }
32001 return resultobj;
32002 fail:
32003 return NULL;
32004 }
32005
32006
32007 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32008 PyObject *resultobj;
32009 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32010 bool result;
32011 PyObject * obj0 = 0 ;
32012 char *kwnames[] = {
32013 (char *) "self", NULL
32014 };
32015
32016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
32017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32019 {
32020 PyThreadState* __tstate = wxPyBeginAllowThreads();
32021 result = (bool)(arg1)->GetQuickEditMode();
32022
32023 wxPyEndAllowThreads(__tstate);
32024 if (PyErr_Occurred()) SWIG_fail;
32025 }
32026 {
32027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32028 }
32029 return resultobj;
32030 fail:
32031 return NULL;
32032 }
32033
32034
32035 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32036 PyObject *resultobj;
32037 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32038 wxPyShape *arg2 = (wxPyShape *) 0 ;
32039 PyObject * obj0 = 0 ;
32040 PyObject * obj1 = 0 ;
32041 char *kwnames[] = {
32042 (char *) "self",(char *) "shape", NULL
32043 };
32044
32045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
32046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32050 {
32051 PyThreadState* __tstate = wxPyBeginAllowThreads();
32052 (arg1)->InsertShape(arg2);
32053
32054 wxPyEndAllowThreads(__tstate);
32055 if (PyErr_Occurred()) SWIG_fail;
32056 }
32057 Py_INCREF(Py_None); resultobj = Py_None;
32058 return resultobj;
32059 fail:
32060 return NULL;
32061 }
32062
32063
32064 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32065 PyObject *resultobj;
32066 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32067 double arg2 ;
32068 double arg3 ;
32069 int arg4 = (int) 0 ;
32070 PyObject * obj0 = 0 ;
32071 PyObject * obj1 = 0 ;
32072 PyObject * obj2 = 0 ;
32073 PyObject * obj3 = 0 ;
32074 char *kwnames[] = {
32075 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32076 };
32077
32078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32081 arg2 = (double) SWIG_AsDouble(obj1);
32082 if (PyErr_Occurred()) SWIG_fail;
32083 arg3 = (double) SWIG_AsDouble(obj2);
32084 if (PyErr_Occurred()) SWIG_fail;
32085 if (obj3) {
32086 arg4 = (int) SWIG_AsInt(obj3);
32087 if (PyErr_Occurred()) SWIG_fail;
32088 }
32089 {
32090 PyThreadState* __tstate = wxPyBeginAllowThreads();
32091 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
32092
32093 wxPyEndAllowThreads(__tstate);
32094 if (PyErr_Occurred()) SWIG_fail;
32095 }
32096 Py_INCREF(Py_None); resultobj = Py_None;
32097 return resultobj;
32098 fail:
32099 return NULL;
32100 }
32101
32102
32103 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32104 PyObject *resultobj;
32105 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32106 double arg2 ;
32107 double arg3 ;
32108 int arg4 = (int) 0 ;
32109 PyObject * obj0 = 0 ;
32110 PyObject * obj1 = 0 ;
32111 PyObject * obj2 = 0 ;
32112 PyObject * obj3 = 0 ;
32113 char *kwnames[] = {
32114 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32115 };
32116
32117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32120 arg2 = (double) SWIG_AsDouble(obj1);
32121 if (PyErr_Occurred()) SWIG_fail;
32122 arg3 = (double) SWIG_AsDouble(obj2);
32123 if (PyErr_Occurred()) SWIG_fail;
32124 if (obj3) {
32125 arg4 = (int) SWIG_AsInt(obj3);
32126 if (PyErr_Occurred()) SWIG_fail;
32127 }
32128 {
32129 PyThreadState* __tstate = wxPyBeginAllowThreads();
32130 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
32131
32132 wxPyEndAllowThreads(__tstate);
32133 if (PyErr_Occurred()) SWIG_fail;
32134 }
32135 Py_INCREF(Py_None); resultobj = Py_None;
32136 return resultobj;
32137 fail:
32138 return NULL;
32139 }
32140
32141
32142 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32143 PyObject *resultobj;
32144 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32145 double arg2 ;
32146 double arg3 ;
32147 int arg4 = (int) 0 ;
32148 PyObject * obj0 = 0 ;
32149 PyObject * obj1 = 0 ;
32150 PyObject * obj2 = 0 ;
32151 PyObject * obj3 = 0 ;
32152 char *kwnames[] = {
32153 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32154 };
32155
32156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32159 arg2 = (double) SWIG_AsDouble(obj1);
32160 if (PyErr_Occurred()) SWIG_fail;
32161 arg3 = (double) SWIG_AsDouble(obj2);
32162 if (PyErr_Occurred()) SWIG_fail;
32163 if (obj3) {
32164 arg4 = (int) SWIG_AsInt(obj3);
32165 if (PyErr_Occurred()) SWIG_fail;
32166 }
32167 {
32168 PyThreadState* __tstate = wxPyBeginAllowThreads();
32169 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
32170
32171 wxPyEndAllowThreads(__tstate);
32172 if (PyErr_Occurred()) SWIG_fail;
32173 }
32174 Py_INCREF(Py_None); resultobj = Py_None;
32175 return resultobj;
32176 fail:
32177 return NULL;
32178 }
32179
32180
32181 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32182 PyObject *resultobj;
32183 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32184 double arg2 ;
32185 double arg3 ;
32186 int arg4 = (int) 0 ;
32187 PyObject * obj0 = 0 ;
32188 PyObject * obj1 = 0 ;
32189 PyObject * obj2 = 0 ;
32190 PyObject * obj3 = 0 ;
32191 char *kwnames[] = {
32192 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32193 };
32194
32195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32198 arg2 = (double) SWIG_AsDouble(obj1);
32199 if (PyErr_Occurred()) SWIG_fail;
32200 arg3 = (double) SWIG_AsDouble(obj2);
32201 if (PyErr_Occurred()) SWIG_fail;
32202 if (obj3) {
32203 arg4 = (int) SWIG_AsInt(obj3);
32204 if (PyErr_Occurred()) SWIG_fail;
32205 }
32206 {
32207 PyThreadState* __tstate = wxPyBeginAllowThreads();
32208 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32209
32210 wxPyEndAllowThreads(__tstate);
32211 if (PyErr_Occurred()) SWIG_fail;
32212 }
32213 Py_INCREF(Py_None); resultobj = Py_None;
32214 return resultobj;
32215 fail:
32216 return NULL;
32217 }
32218
32219
32220 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32221 PyObject *resultobj;
32222 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32223 bool arg2 ;
32224 double arg3 ;
32225 double arg4 ;
32226 int arg5 = (int) 0 ;
32227 PyObject * obj0 = 0 ;
32228 PyObject * obj1 = 0 ;
32229 PyObject * obj2 = 0 ;
32230 PyObject * obj3 = 0 ;
32231 PyObject * obj4 = 0 ;
32232 char *kwnames[] = {
32233 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32234 };
32235
32236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32239 arg2 = (bool) SWIG_AsBool(obj1);
32240 if (PyErr_Occurred()) SWIG_fail;
32241 arg3 = (double) SWIG_AsDouble(obj2);
32242 if (PyErr_Occurred()) SWIG_fail;
32243 arg4 = (double) SWIG_AsDouble(obj3);
32244 if (PyErr_Occurred()) SWIG_fail;
32245 if (obj4) {
32246 arg5 = (int) SWIG_AsInt(obj4);
32247 if (PyErr_Occurred()) SWIG_fail;
32248 }
32249 {
32250 PyThreadState* __tstate = wxPyBeginAllowThreads();
32251 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32252
32253 wxPyEndAllowThreads(__tstate);
32254 if (PyErr_Occurred()) SWIG_fail;
32255 }
32256 Py_INCREF(Py_None); resultobj = Py_None;
32257 return resultobj;
32258 fail:
32259 return NULL;
32260 }
32261
32262
32263 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32264 PyObject *resultobj;
32265 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32266 bool arg2 ;
32267 double arg3 ;
32268 double arg4 ;
32269 int arg5 = (int) 0 ;
32270 PyObject * obj0 = 0 ;
32271 PyObject * obj1 = 0 ;
32272 PyObject * obj2 = 0 ;
32273 PyObject * obj3 = 0 ;
32274 PyObject * obj4 = 0 ;
32275 char *kwnames[] = {
32276 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32277 };
32278
32279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32282 arg2 = (bool) SWIG_AsBool(obj1);
32283 if (PyErr_Occurred()) SWIG_fail;
32284 arg3 = (double) SWIG_AsDouble(obj2);
32285 if (PyErr_Occurred()) SWIG_fail;
32286 arg4 = (double) SWIG_AsDouble(obj3);
32287 if (PyErr_Occurred()) SWIG_fail;
32288 if (obj4) {
32289 arg5 = (int) SWIG_AsInt(obj4);
32290 if (PyErr_Occurred()) SWIG_fail;
32291 }
32292 {
32293 PyThreadState* __tstate = wxPyBeginAllowThreads();
32294 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
32295
32296 wxPyEndAllowThreads(__tstate);
32297 if (PyErr_Occurred()) SWIG_fail;
32298 }
32299 Py_INCREF(Py_None); resultobj = Py_None;
32300 return resultobj;
32301 fail:
32302 return NULL;
32303 }
32304
32305
32306 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32307 PyObject *resultobj;
32308 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32309 double arg2 ;
32310 double arg3 ;
32311 int arg4 = (int) 0 ;
32312 PyObject * obj0 = 0 ;
32313 PyObject * obj1 = 0 ;
32314 PyObject * obj2 = 0 ;
32315 PyObject * obj3 = 0 ;
32316 char *kwnames[] = {
32317 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32318 };
32319
32320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32323 arg2 = (double) SWIG_AsDouble(obj1);
32324 if (PyErr_Occurred()) SWIG_fail;
32325 arg3 = (double) SWIG_AsDouble(obj2);
32326 if (PyErr_Occurred()) SWIG_fail;
32327 if (obj3) {
32328 arg4 = (int) SWIG_AsInt(obj3);
32329 if (PyErr_Occurred()) SWIG_fail;
32330 }
32331 {
32332 PyThreadState* __tstate = wxPyBeginAllowThreads();
32333 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
32334
32335 wxPyEndAllowThreads(__tstate);
32336 if (PyErr_Occurred()) SWIG_fail;
32337 }
32338 Py_INCREF(Py_None); resultobj = Py_None;
32339 return resultobj;
32340 fail:
32341 return NULL;
32342 }
32343
32344
32345 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32346 PyObject *resultobj;
32347 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32348 double arg2 ;
32349 double arg3 ;
32350 int arg4 = (int) 0 ;
32351 PyObject * obj0 = 0 ;
32352 PyObject * obj1 = 0 ;
32353 PyObject * obj2 = 0 ;
32354 PyObject * obj3 = 0 ;
32355 char *kwnames[] = {
32356 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32357 };
32358
32359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32362 arg2 = (double) SWIG_AsDouble(obj1);
32363 if (PyErr_Occurred()) SWIG_fail;
32364 arg3 = (double) SWIG_AsDouble(obj2);
32365 if (PyErr_Occurred()) SWIG_fail;
32366 if (obj3) {
32367 arg4 = (int) SWIG_AsInt(obj3);
32368 if (PyErr_Occurred()) SWIG_fail;
32369 }
32370 {
32371 PyThreadState* __tstate = wxPyBeginAllowThreads();
32372 (arg1)->base_OnRightClick(arg2,arg3,arg4);
32373
32374 wxPyEndAllowThreads(__tstate);
32375 if (PyErr_Occurred()) SWIG_fail;
32376 }
32377 Py_INCREF(Py_None); resultobj = Py_None;
32378 return resultobj;
32379 fail:
32380 return NULL;
32381 }
32382
32383
32384 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
32385 PyObject *resultobj;
32386 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32387 wxDC *arg2 = 0 ;
32388 PyObject * obj0 = 0 ;
32389 PyObject * obj1 = 0 ;
32390 char *kwnames[] = {
32391 (char *) "self",(char *) "dc", NULL
32392 };
32393
32394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
32395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
32398 SWIG_POINTER_EXCEPTION | 0)) == -1)
32399 SWIG_fail;
32400 if (arg2 == NULL) {
32401 PyErr_SetString(PyExc_TypeError,"null reference");
32402 SWIG_fail;
32403 }
32404 {
32405 PyThreadState* __tstate = wxPyBeginAllowThreads();
32406 (arg1)->Redraw(*arg2);
32407
32408 wxPyEndAllowThreads(__tstate);
32409 if (PyErr_Occurred()) SWIG_fail;
32410 }
32411 Py_INCREF(Py_None); resultobj = Py_None;
32412 return resultobj;
32413 fail:
32414 return NULL;
32415 }
32416
32417
32418 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32419 PyObject *resultobj;
32420 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32421 wxPyShape *arg2 = (wxPyShape *) 0 ;
32422 PyObject * obj0 = 0 ;
32423 PyObject * obj1 = 0 ;
32424 char *kwnames[] = {
32425 (char *) "self",(char *) "shape", NULL
32426 };
32427
32428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
32429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32433 {
32434 PyThreadState* __tstate = wxPyBeginAllowThreads();
32435 (arg1)->RemoveShape(arg2);
32436
32437 wxPyEndAllowThreads(__tstate);
32438 if (PyErr_Occurred()) SWIG_fail;
32439 }
32440 Py_INCREF(Py_None); resultobj = Py_None;
32441 return resultobj;
32442 fail:
32443 return NULL;
32444 }
32445
32446
32447 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
32448 PyObject *resultobj;
32449 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32450 wxDiagram *arg2 = (wxDiagram *) 0 ;
32451 PyObject * obj0 = 0 ;
32452 PyObject * obj1 = 0 ;
32453 char *kwnames[] = {
32454 (char *) "self",(char *) "diagram", NULL
32455 };
32456
32457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
32458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDiagram,
32461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32462 {
32463 PyThreadState* __tstate = wxPyBeginAllowThreads();
32464 (arg1)->SetDiagram(arg2);
32465
32466 wxPyEndAllowThreads(__tstate);
32467 if (PyErr_Occurred()) SWIG_fail;
32468 }
32469 Py_INCREF(Py_None); resultobj = Py_None;
32470 return resultobj;
32471 fail:
32472 return NULL;
32473 }
32474
32475
32476 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
32477 PyObject *resultobj;
32478 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32479 double *arg2 = (double *) 0 ;
32480 double *arg3 = (double *) 0 ;
32481 double temp2 ;
32482 double temp3 ;
32483 PyObject * obj0 = 0 ;
32484 PyObject * obj1 = 0 ;
32485 PyObject * obj2 = 0 ;
32486 char *kwnames[] = {
32487 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32488 };
32489
32490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
32491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32493 {
32494 temp2 = PyFloat_AsDouble(obj1);
32495 if (PyErr_Occurred()) SWIG_fail;
32496 arg2 = &temp2;
32497 }
32498 {
32499 temp3 = PyFloat_AsDouble(obj2);
32500 if (PyErr_Occurred()) SWIG_fail;
32501 arg3 = &temp3;
32502 }
32503 {
32504 PyThreadState* __tstate = wxPyBeginAllowThreads();
32505 (arg1)->Snap(arg2,arg3);
32506
32507 wxPyEndAllowThreads(__tstate);
32508 if (PyErr_Occurred()) SWIG_fail;
32509 }
32510 Py_INCREF(Py_None); resultobj = Py_None;
32511 {
32512 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32513 resultobj = t_output_helper(resultobj,o);
32514 }
32515 {
32516 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32517 resultobj = t_output_helper(resultobj,o);
32518 }
32519 return resultobj;
32520 fail:
32521 return NULL;
32522 }
32523
32524
32525 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
32526 PyObject *obj;
32527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32528 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
32529 Py_INCREF(obj);
32530 return Py_BuildValue((char *)"");
32531 }
32532 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
32533 PyObject *resultobj;
32534 char *kwnames[] = {
32535 NULL
32536 };
32537
32538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
32539 {
32540 if (!wxPyCheckForApp()) SWIG_fail;
32541 PyThreadState* __tstate = wxPyBeginAllowThreads();
32542 wxOGLInitialize();
32543
32544 wxPyEndAllowThreads(__tstate);
32545 if (PyErr_Occurred()) SWIG_fail;
32546 }
32547 Py_INCREF(Py_None); resultobj = Py_None;
32548 return resultobj;
32549 fail:
32550 return NULL;
32551 }
32552
32553
32554 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
32555 PyObject *resultobj;
32556 char *kwnames[] = {
32557 NULL
32558 };
32559
32560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
32561 {
32562 if (!wxPyCheckForApp()) SWIG_fail;
32563 PyThreadState* __tstate = wxPyBeginAllowThreads();
32564 wxOGLCleanUp();
32565
32566 wxPyEndAllowThreads(__tstate);
32567 if (PyErr_Occurred()) SWIG_fail;
32568 }
32569 Py_INCREF(Py_None); resultobj = Py_None;
32570 return resultobj;
32571 fail:
32572 return NULL;
32573 }
32574
32575
32576 static PyMethodDef SwigMethods[] = {
32577 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
32578 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
32579 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
32580 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
32581 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
32582 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
32583 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
32584 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32585 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
32586 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
32587 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
32588 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
32589 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
32590 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
32591 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
32592 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
32593 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32594 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
32595 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
32596 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
32597 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
32598 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
32599 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
32600 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
32601 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
32602 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
32603 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
32604 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
32605 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
32606 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
32607 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32608 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
32609 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
32610 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
32611 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
32612 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
32613 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
32614 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
32615 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
32616 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32617 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
32618 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
32619 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
32620 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32621 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32622 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32623 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32624 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32625 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32626 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32627 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32628 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32629 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32630 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32631 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32632 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32633 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32634 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32635 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32636 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32637 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32638 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32639 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32640 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32641 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32642 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32643 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32644 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32645 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32646 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32647 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32648 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32649 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32650 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32651 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32652 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
32653 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
32654 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32655 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
32656 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
32657 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
32658 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
32659 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
32660 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
32661 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
32662 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
32663 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
32664 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
32665 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
32666 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
32667 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
32668 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
32669 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
32670 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
32671 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
32672 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32673 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32674 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
32675 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
32676 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
32677 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
32678 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
32679 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32680 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32681 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32682 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32683 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
32684 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
32685 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
32686 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
32687 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
32688 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32689 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32690 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
32691 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
32692 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
32693 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
32694 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
32695 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32696 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32697 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
32698 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
32699 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
32700 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
32701 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
32702 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32703 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32704 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
32705 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32706 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32707 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32708 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32709 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
32710 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
32711 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
32712 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
32713 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
32714 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
32715 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
32716 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
32717 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
32718 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
32719 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
32720 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
32721 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
32722 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
32723 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
32724 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
32725 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
32726 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
32727 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
32728 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
32729 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
32730 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
32731 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
32732 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
32733 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
32734 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32735 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32736 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
32737 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
32738 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32739 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32740 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
32741 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
32742 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
32743 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
32744 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
32745 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
32746 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
32747 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
32748 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
32749 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
32750 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
32751 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
32752 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
32753 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
32754 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
32755 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
32756 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
32757 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
32758 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
32759 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
32760 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
32761 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
32762 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
32763 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
32764 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
32765 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
32766 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32767 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
32768 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32769 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32770 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32771 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32772 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32773 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32774 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32775 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32776 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
32777 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
32778 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
32779 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
32780 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32781 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
32782 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
32783 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32784 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32785 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
32786 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
32787 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
32788 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
32789 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
32790 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
32791 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32792 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32793 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32794 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32795 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32796 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32797 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32798 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32799 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32800 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32801 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32802 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32803 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32804 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32805 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32806 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32807 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32808 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32809 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32810 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32811 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32812 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32813 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32814 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32815 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32816 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32817 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32818 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32819 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32820 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
32821 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32822 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32823 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
32824 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
32825 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
32826 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
32827 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
32828 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
32829 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
32830 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32831 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
32832 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32833 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
32834 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
32835 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
32836 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
32837 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
32838 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32839 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32840 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32841 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32842 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
32843 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
32844 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32845 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32846 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
32847 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32848 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
32849 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32850 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
32851 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
32852 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32853 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32854 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32855 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32856 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
32857 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
32858 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
32859 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32860 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32861 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32862 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
32863 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
32864 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32865 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32866 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32867 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32868 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32869 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32870 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32871 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32872 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32873 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32874 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32875 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32876 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32877 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32878 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32879 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32880 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32881 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32882 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32883 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32884 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32885 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32886 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32887 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32888 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32889 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32890 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32891 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32892 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32893 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32894 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32895 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32896 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
32897 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
32898 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32899 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32900 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32901 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32902 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32903 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32904 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32905 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32906 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32907 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32908 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32909 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32910 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32911 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32912 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32913 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32914 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32915 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32916 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32917 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32918 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32919 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32920 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32921 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32922 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32923 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32924 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32925 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32926 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32927 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32928 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32929 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
32930 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
32931 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32932 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
32933 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
32934 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
32935 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
32936 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32937 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32938 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32939 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32940 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32941 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32942 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32943 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32944 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32945 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32946 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32947 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32948 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32949 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32950 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32951 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32952 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32953 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32954 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32955 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32956 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32957 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32958 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32959 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32960 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32961 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32962 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32963 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32964 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32965 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
32966 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
32967 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32968 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32969 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32970 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
32971 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
32972 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32973 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
32974 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
32975 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32976 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32977 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32978 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32979 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32980 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
32981 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
32982 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
32983 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32984 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32985 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32986 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32987 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32988 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32989 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
32990 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
32991 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
32992 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
32993 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
32994 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
32995 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
32996 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32997 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32998 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32999 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33000 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33001 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33002 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33003 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33004 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33005 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33006 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33007 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33008 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33009 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33010 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33011 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33012 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33013 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33014 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33015 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33016 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33017 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33018 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33019 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33020 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33021 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33022 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33023 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33024 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33025 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
33026 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
33027 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
33028 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33029 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
33030 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
33031 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
33032 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33033 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
33034 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
33035 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
33036 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
33037 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33038 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
33039 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
33040 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
33041 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
33042 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
33043 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
33044 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
33045 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
33046 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
33047 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33048 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33049 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33050 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33051 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33052 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33053 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33054 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33055 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33056 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33057 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33058 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33059 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33060 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33061 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33062 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33063 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33064 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33065 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33066 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33067 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33068 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33069 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33070 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33071 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33072 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33073 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33074 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33075 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33076 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
33077 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
33078 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33079 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
33080 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
33081 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33082 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33083 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33084 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33085 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33086 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33087 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33088 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33089 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33090 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33091 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33092 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33093 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33094 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33095 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33096 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33097 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33098 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33099 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33100 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33101 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33102 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33103 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33104 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33105 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33106 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33107 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33108 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33109 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33110 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
33111 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
33112 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33113 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
33114 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
33115 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
33116 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
33117 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
33118 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
33119 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
33120 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
33121 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
33122 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33123 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33124 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
33125 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
33126 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33127 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
33128 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
33129 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
33130 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
33131 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
33132 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33133 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33134 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
33135 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
33136 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
33137 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33138 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33139 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33140 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33141 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33142 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33143 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33144 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33145 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33146 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33147 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33148 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33149 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33150 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33151 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33152 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33153 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33154 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33155 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33156 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33157 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33158 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33159 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33160 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33161 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33162 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33163 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33164 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33165 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33166 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33167 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
33168 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
33169 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33170 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33171 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33172 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33173 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33174 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33175 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33176 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33177 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33178 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33179 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33180 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33181 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33182 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33183 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33184 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33185 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33186 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33187 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33188 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33189 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33190 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33191 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33192 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33193 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33194 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33195 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33196 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33197 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33198 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
33199 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
33200 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33201 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33202 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33203 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33204 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33205 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33206 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33207 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33208 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33209 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33210 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33211 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33212 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33213 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33214 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33215 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33216 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33217 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33218 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33219 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33220 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33221 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33222 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33223 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33224 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33225 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33226 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33227 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33228 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33229 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33230 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33231 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33232 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33233 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33234 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33235 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33236 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33237 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33238 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33239 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33240 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33241 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33242 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33243 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33244 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
33245 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
33246 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
33247 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33248 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
33249 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
33250 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33251 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
33252 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
33253 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
33254 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
33255 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
33256 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33257 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
33258 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33259 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
33260 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
33261 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
33262 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33263 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
33264 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
33265 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
33266 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
33267 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
33268 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33269 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33270 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
33271 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
33272 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
33273 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
33274 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
33275 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
33276 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33277 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
33278 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
33279 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33280 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33281 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction) _wrap_PyLineShape_SetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33282 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33283 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
33284 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33285 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
33286 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
33287 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
33288 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
33289 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
33290 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
33291 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33292 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33293 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33294 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33295 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33296 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
33297 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
33298 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33299 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33300 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33301 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33302 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33303 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33304 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33305 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33306 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33307 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33308 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33309 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33310 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33311 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33312 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33313 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33314 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33315 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33316 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33317 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33318 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33319 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33320 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33321 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33322 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33323 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33324 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33325 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33326 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
33327 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
33328 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33329 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
33330 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
33331 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
33332 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
33333 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
33334 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33335 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33336 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33337 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33338 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33339 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33340 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33341 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33342 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33343 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33344 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33345 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33346 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33347 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33348 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33349 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33350 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33351 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33352 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33353 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33354 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33355 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33356 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33357 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33358 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33359 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33360 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33361 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33362 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33363 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33364 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33365 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33366 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33367 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33368 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
33369 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
33370 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33371 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33372 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33373 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33374 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33375 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33376 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33377 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33378 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33379 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33380 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33381 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33382 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33383 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33384 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33385 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33386 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33387 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33388 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33389 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33390 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33391 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33392 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33393 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33394 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33395 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33396 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33397 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33398 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33399 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33400 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
33401 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
33402 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
33403 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
33404 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
33405 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
33406 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
33407 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33408 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
33409 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33410 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33411 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
33412 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33413 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33414 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
33415 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
33416 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
33417 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
33418 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33419 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33420 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33421 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33422 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33423 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33424 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
33425 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
33426 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
33427 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
33428 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33429 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
33430 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
33431 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
33432 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
33433 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33434 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
33435 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33436 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33437 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33438 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33439 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33440 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33441 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33442 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33443 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
33444 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33445 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
33446 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
33447 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
33448 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
33449 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
33450 { NULL, NULL }
33451 };
33452
33453
33454 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33455
33456 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33457 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33458 }
33459 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33460 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33461 }
33462 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33463 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33464 }
33465 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33466 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33467 }
33468 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33469 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33470 }
33471 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33472 return (void *)((wxPanel *) ((wxPyPanel *) x));
33473 }
33474 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33475 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33476 }
33477 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33478 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33479 }
33480 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33481 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33482 }
33483 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
33484 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33485 }
33486 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33487 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33488 }
33489 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33490 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33491 }
33492 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
33493 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33494 }
33495 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33496 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33497 }
33498 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33499 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33500 }
33501 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33502 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33503 }
33504 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33505 return (void *)((wxWindow *) ((wxMenuBar *) x));
33506 }
33507 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33508 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33509 }
33510 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33511 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33512 }
33513 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33514 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33515 }
33516 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33517 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33518 }
33519 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33520 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33521 }
33522 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33523 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33524 }
33525 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33526 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33527 }
33528 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33529 return (void *)((wxWindow *) ((wxPanel *) x));
33530 }
33531 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33532 return (void *)((wxWindow *) ((wxStatusBar *) x));
33533 }
33534 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33535 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33536 }
33537 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33538 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33539 }
33540 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33541 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33542 }
33543 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33544 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33545 }
33546 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33547 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33548 }
33549 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33550 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33551 }
33552 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33553 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33554 }
33555 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33556 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33557 }
33558 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33559 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33560 }
33561 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33562 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33563 }
33564 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33565 return (void *)((wxWindow *) ((wxSashWindow *) x));
33566 }
33567 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33568 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33569 }
33570 static void *_p_wxControlTo_p_wxWindow(void *x) {
33571 return (void *)((wxWindow *) ((wxControl *) x));
33572 }
33573 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33574 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33575 }
33576 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33577 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33578 }
33579 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33580 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33581 }
33582 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33583 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33584 }
33585 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33586 return (void *)((wxWindow *) ((wxPyWindow *) x));
33587 }
33588 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33589 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33590 }
33591 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
33592 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33593 }
33594 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33595 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33596 }
33597 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33598 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33599 }
33600 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33601 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33602 }
33603 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33604 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33605 }
33606 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33607 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33608 }
33609 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33610 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33611 }
33612 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33613 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33614 }
33615 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33616 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33617 }
33618 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33619 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33620 }
33621 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
33622 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33623 }
33624 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
33625 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33626 }
33627 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33628 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33629 }
33630 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33631 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33632 }
33633 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33634 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33635 }
33636 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
33637 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33638 }
33639 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33641 }
33642 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33644 }
33645 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33646 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33647 }
33648 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33649 return (void *)((wxObject *) ((wxSizerItem *) x));
33650 }
33651 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33652 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33653 }
33654 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33655 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33656 }
33657 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
33658 return (void *)((wxObject *) ((wxOGLConstraint *) x));
33659 }
33660 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33661 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33662 }
33663 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33664 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33665 }
33666 static void *_p_wxSizerTo_p_wxObject(void *x) {
33667 return (void *)((wxObject *) ((wxSizer *) x));
33668 }
33669 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
33670 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33671 }
33672 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
33673 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33674 }
33675 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
33676 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
33677 }
33678 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33679 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33680 }
33681 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33682 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33683 }
33684 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
33685 return (void *)((wxObject *) ((wxArrowHead *) x));
33686 }
33687 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33689 }
33690 static void *_p_wxEventTo_p_wxObject(void *x) {
33691 return (void *)((wxObject *) ((wxEvent *) x));
33692 }
33693 static void *_p_wxFontDataTo_p_wxObject(void *x) {
33694 return (void *)((wxObject *) ((wxFontData *) x));
33695 }
33696 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33697 return (void *)((wxObject *) ((wxPrintData *) x));
33698 }
33699 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33700 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33701 }
33702 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33703 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33704 }
33705 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33706 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33707 }
33708 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33709 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33710 }
33711 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
33712 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
33713 }
33714 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33715 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33716 }
33717 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33718 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33719 }
33720 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33721 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33722 }
33723 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33724 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33725 }
33726 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33727 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33728 }
33729 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33730 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33731 }
33732 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33733 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33734 }
33735 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33737 }
33738 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
33739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33740 }
33741 static void *_p_wxControlTo_p_wxObject(void *x) {
33742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33743 }
33744 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
33745 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
33746 }
33747 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33748 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33749 }
33750 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33751 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33752 }
33753 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33754 return (void *)((wxObject *) ((wxFSFile *) x));
33755 }
33756 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33757 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33758 }
33759 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
33760 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33761 }
33762 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33763 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33764 }
33765 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33767 }
33768 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33769 return (void *)((wxObject *) ((wxColourData *) x));
33770 }
33771 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33772 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33773 }
33774 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33775 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33776 }
33777 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33779 }
33780 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33782 }
33783 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33785 }
33786 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33788 }
33789 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33791 }
33792 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33794 }
33795 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33797 }
33798 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33800 }
33801 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33803 }
33804 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33805 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33806 }
33807 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33808 return (void *)((wxObject *) ((wxPrinter *) x));
33809 }
33810 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33811 return (void *)((wxObject *) ((wxMenuItem *) x));
33812 }
33813 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33814 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33815 }
33816 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33818 }
33819 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33820 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33821 }
33822 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33823 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33824 }
33825 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33826 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33827 }
33828 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33829 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33830 }
33831 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33832 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33833 }
33834 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33835 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33836 }
33837 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33838 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33839 }
33840 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33841 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33842 }
33843 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33844 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33845 }
33846 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33847 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33848 }
33849 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33850 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33851 }
33852 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33853 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33854 }
33855 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33856 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33857 }
33858 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33859 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33860 }
33861 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33862 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33863 }
33864 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33865 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33866 }
33867 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33868 return (void *)((wxObject *) ((wxImageHandler *) x));
33869 }
33870 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33871 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33872 }
33873 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33874 return (void *)((wxObject *) ((wxEvtHandler *) x));
33875 }
33876 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33877 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33878 }
33879 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
33880 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
33881 }
33882 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33884 }
33885 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33887 }
33888 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
33889 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33890 }
33891 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33892 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33893 }
33894 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
33895 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33896 }
33897 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33899 }
33900 static void *_p_wxImageTo_p_wxObject(void *x) {
33901 return (void *)((wxObject *) ((wxImage *) x));
33902 }
33903 static void *_p_wxFrameTo_p_wxObject(void *x) {
33904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33905 }
33906 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33907 return (void *)((wxObject *) ((wxPyPrintout *) x));
33908 }
33909 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33910 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33911 }
33912 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33913 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33914 }
33915 static void *_p_wxDiagramTo_p_wxObject(void *x) {
33916 return (void *)((wxObject *) ((wxDiagram *) x));
33917 }
33918 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33920 }
33921 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33923 }
33924 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33925 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33926 }
33927 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33928 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33929 }
33930 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33931 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33932 }
33933 static void *_p_wxWindowTo_p_wxObject(void *x) {
33934 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33935 }
33936 static void *_p_wxMenuTo_p_wxObject(void *x) {
33937 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33938 }
33939 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33941 }
33942 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33944 }
33945 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33947 }
33948 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33950 }
33951 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33953 }
33954 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33956 }
33957 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33959 }
33960 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33962 }
33963 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33965 }
33966 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33968 }
33969 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33971 }
33972 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33974 }
33975 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33977 }
33978 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33979 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33980 }
33981 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33982 return (void *)((wxObject *) ((wxPrintPreview *) x));
33983 }
33984 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33985 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33986 }
33987 static void *_p_wxPanelTo_p_wxObject(void *x) {
33988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33989 }
33990 static void *_p_wxDialogTo_p_wxObject(void *x) {
33991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33992 }
33993 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33995 }
33996 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33998 }
33999 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
34000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34001 }
34002 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
34003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34004 }
34005 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
34006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34007 }
34008 static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
34009 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
34010 }
34011 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
34012 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
34013 }
34014 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
34015 return (void *)((wxObject *) ((wxFileSystem *) x));
34016 }
34017 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
34018 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
34019 }
34020 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
34021 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
34022 }
34023 static void *_p_wxPyAppTo_p_wxObject(void *x) {
34024 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
34025 }
34026 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
34027 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
34028 }
34029 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
34030 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
34031 }
34032 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34033 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34034 }
34035 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34036 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34037 }
34038 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34039 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34040 }
34041 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
34042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34043 }
34044 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
34045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34046 }
34047 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34048 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34049 }
34050 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34051 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34052 }
34053 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34054 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34055 }
34056 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
34057 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
34058 }
34059 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
34060 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34061 }
34062 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
34063 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34064 }
34065 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
34066 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
34067 }
34068 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
34069 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
34070 }
34071 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34073 }
34074 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
34075 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
34076 }
34077 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
34078 return (void *)((wxObject *) ((wxPrintDialogData *) x));
34079 }
34080 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34081 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34082 }
34083 static void *_p_wxValidatorTo_p_wxObject(void *x) {
34084 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34085 }
34086 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
34087 return (void *)((wxObject *) ((wxShapeRegion *) x));
34088 }
34089 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34090 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
34091 }
34092 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
34093 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34094 }
34095 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
34096 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34097 }
34098 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34099 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34100 }
34101 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
34102 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
34103 }
34104 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
34105 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34106 }
34107 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
34108 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34109 }
34110 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
34111 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34112 }
34113 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
34114 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34115 }
34116 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
34117 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
34118 }
34119 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
34120 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34121 }
34122 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
34123 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
34124 }
34125 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
34126 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
34127 }
34128 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34129 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34130 }
34131 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34133 }
34134 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34135 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34136 }
34137 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34139 }
34140 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34141 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34142 }
34143 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34144 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34145 }
34146 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34147 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34148 }
34149 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34151 }
34152 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34153 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34154 }
34155 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34156 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34157 }
34158 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34159 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34160 }
34161 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34162 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34163 }
34164 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34165 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34166 }
34167 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34169 }
34170 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34171 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34172 }
34173 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34174 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34175 }
34176 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34177 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34178 }
34179 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34180 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34181 }
34182 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34183 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34184 }
34185 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34186 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34187 }
34188 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34189 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34190 }
34191 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34192 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34193 }
34194 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34195 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34196 }
34197 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34198 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34199 }
34200 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34201 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34202 }
34203 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34204 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34205 }
34206 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34207 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34208 }
34209 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34210 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34211 }
34212 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
34213 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34214 }
34215 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34216 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34217 }
34218 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34219 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34220 }
34221 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34222 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34223 }
34224 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34225 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34226 }
34227 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34228 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34229 }
34230 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34231 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34232 }
34233 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34234 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34235 }
34236 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34237 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34238 }
34239 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34240 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34241 }
34242 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34243 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34244 }
34245 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34246 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34247 }
34248 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34249 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34250 }
34251 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34252 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34253 }
34254 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34255 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34256 }
34257 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34259 }
34260 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34261 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34262 }
34263 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34264 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34265 }
34266 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34267 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34268 }
34269 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34270 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34271 }
34272 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
34273 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34274 }
34275 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
34276 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34277 }
34278 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34279 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34280 }
34281 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
34282 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
34283 }
34284 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
34285 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
34286 }
34287 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
34288 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34289 }
34290 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
34291 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34292 }
34293 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
34294 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
34295 }
34296 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
34297 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
34298 }
34299 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
34300 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
34301 }
34302 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
34303 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
34304 }
34305 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
34306 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34307 }
34308 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
34309 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34310 }
34311 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
34312 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
34313 }
34314 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
34315 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
34316 }
34317 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
34318 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
34319 }
34320 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
34321 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34322 }
34323 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
34324 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34325 }
34326 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
34327 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
34328 }
34329 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
34330 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
34331 }
34332 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
34333 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34334 }
34335 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
34336 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34337 }
34338 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
34339 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
34340 }
34341 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
34342 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34343 }
34344 static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0, 0, 0, 0},{"_p_wxOGLConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34345 static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34346 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34347 static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0, 0, 0, 0},{"_p_wxShapeRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34348 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34349 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34350 static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0, 0, 0, 0},{"_p_wxPyControlPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34351 static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0, 0, 0, 0},{"_p_wxArrowHead", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34352 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34353 static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0, 0, 0, 0},{"_p_wxStringList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34354 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34355 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34356 static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0, 0, 0, 0},{"_p_wxList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34357 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34358 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34359 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34360 static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34361 static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0, 0, 0, 0},{"_p_wxPyDivisionShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34362 static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0, 0, 0, 0},{"_p_wxPyDrawnShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34363 static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0, 0, 0, 0},{"_p_wxPyPolygonShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34364 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34365 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34366 static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0, 0, 0, 0},{"_p_wxPyBitmapShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34367 static swig_type_info _swigt__p_wxPyShapeEvtHandler[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34368 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34369 static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34370 static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0, 0, 0, 0},{"_p_wxPyShapeCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34371 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34372 static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0, 0, 0, 0},{"_p_wxDiagram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34373 static swig_type_info _swigt__p_wxPyShape[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34374 static swig_type_info _swigt__p_wxAttachmentPoint[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0, 0, 0, 0},{"_p_wxAttachmentPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34375 static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0, 0, 0, 0},{"_p_wxClassInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34376 static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0, 0, 0, 0},{"_p_wxPyLineShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34377 static swig_type_info _swigt__p_wxPyRectangleShape[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34378 static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0, 0, 0, 0},{"_p_wxPyCompositeShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34379 static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34380 static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34381 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34382 static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0, 0, 0, 0},{"_p_wxPseudoMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34383 static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0, 0, 0, 0},{"_p_wxPyTextShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34384 static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0, 0, 0, 0},{"_p_wxPyDividedShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34385
34386 static swig_type_info *swig_types_initial[] = {
34387 _swigt__p_wxOGLConstraint,
34388 _swigt__p_wxBrush,
34389 _swigt__p_wxColour,
34390 _swigt__p_wxShapeRegion,
34391 _swigt__p_wxDC,
34392 _swigt__p_wxRealPoint,
34393 _swigt__p_wxPyControlPoint,
34394 _swigt__p_wxArrowHead,
34395 _swigt__p_char,
34396 _swigt__p_wxStringList,
34397 _swigt__p_wxPanel,
34398 _swigt__p_bool,
34399 _swigt__p_wxList,
34400 _swigt__p_wxFont,
34401 _swigt__p_wxScrolledWindow,
34402 _swigt__p_wxWindow,
34403 _swigt__p_double,
34404 _swigt__p_wxPyDivisionShape,
34405 _swigt__p_wxPyDrawnShape,
34406 _swigt__p_wxPyPolygonShape,
34407 _swigt__p_wxBitmap,
34408 _swigt__p_wxObject,
34409 _swigt__p_wxPyBitmapShape,
34410 _swigt__p_wxPyShapeEvtHandler,
34411 _swigt__p_wxEvtHandler,
34412 _swigt__p_wxPyEllipseShape,
34413 _swigt__p_wxPyShapeCanvas,
34414 _swigt__p_wxPoint,
34415 _swigt__p_wxDiagram,
34416 _swigt__p_wxPyShape,
34417 _swigt__p_wxAttachmentPoint,
34418 _swigt__p_wxClassInfo,
34419 _swigt__p_wxPyLineShape,
34420 _swigt__p_wxPyRectangleShape,
34421 _swigt__p_wxPyCompositeShape,
34422 _swigt__p_wxPyCircleShape,
34423 _swigt__p_wxPen,
34424 _swigt__p_int,
34425 _swigt__p_wxPseudoMetaFile,
34426 _swigt__p_wxPyTextShape,
34427 _swigt__p_wxPyDividedShape,
34428 0
34429 };
34430
34431
34432 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34433
34434 static swig_const_info swig_const_table[] = {
34435 {0}};
34436
34437 #ifdef __cplusplus
34438 }
34439 #endif
34440
34441 #ifdef __cplusplus
34442 extern "C"
34443 #endif
34444 SWIGEXPORT(void) SWIG_init(void) {
34445 static PyObject *SWIG_globals = 0;
34446 static int typeinit = 0;
34447 PyObject *m, *d;
34448 int i;
34449 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34450 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34451 d = PyModule_GetDict(m);
34452
34453 if (!typeinit) {
34454 for (i = 0; swig_types_initial[i]; i++) {
34455 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34456 }
34457 typeinit = 1;
34458 }
34459 SWIG_InstallConstants(d,swig_const_table);
34460
34461 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE));
34462 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
34463 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT));
34464 PyDict_SetItemString(d,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL));
34465 PyDict_SetItemString(d,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE));
34466 PyDict_SetItemString(d,"ARROW_END", SWIG_FromInt((int)ARROW_END));
34467 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH));
34468 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE));
34469 PyDict_SetItemString(d,"ARROW_START", SWIG_FromInt((int)ARROW_START));
34470 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE));
34471 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE));
34472 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW));
34473 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE));
34474 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE));
34475 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE));
34476 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END));
34477 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START));
34478 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL));
34479 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL));
34480 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL));
34481 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
34482 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
34483 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE));
34484 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE));
34485 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ));
34486 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT));
34487 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
34488 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ));
34489 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT));
34490 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
34491 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE));
34492 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE));
34493 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT));
34494 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT));
34495 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT));
34496 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT));
34497 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT));
34498 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT));
34499 PyDict_SetItemString(d,"OP_ALL", SWIG_FromInt((int)OP_ALL));
34500 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE));
34501 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE));
34502 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING));
34503 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
34504 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
34505 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
34506 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
34507 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
34508 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF));
34509 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF));
34510 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE));
34511 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW));
34512 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
34513 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
34514 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
34515 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
34516 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
34517 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
34518 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
34519 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
34520 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE));
34521 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT));
34522 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP));
34523 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT));
34524 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM));
34525
34526
34527 // initoglbasicc();
34528 // initoglshapesc();
34529 // initoglshapes2c();
34530 // initoglcanvasc();
34531
34532
34533 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34534 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34535 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34536 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34537 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34538 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34539 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34540 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34541 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34542 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34543 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34544 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34545 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34546 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
34547
34548
34549 }
34550