]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/msw/ogl_wrap.cpp
Corrected _setCallbackInfo code so GiveFeedback can work
[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_ConvertShapeList(list);
588 }
589
590 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
591
592 PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
593 wxList* list = wxPy_wxRealPoint_ListHelper(points);
594 if (list) {
595 self->Create(list);
596 Py_INCREF(Py_None);
597 return Py_None;
598 }
599 else return NULL;
600 }
601 PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
602 wxList* list = self->GetPoints();
603 PyObject* pyList;
604 PyObject* pyObj;
605 wxObject* wxObj;
606 wxNode* node = list->GetFirst();
607
608 bool blocked = wxPyBeginBlockThreads();
609 pyList = PyList_New(0);
610 while (node) {
611 wxObj = node->GetData();
612 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
613 PyList_Append(pyList, pyObj);
614 node = node->GetNext();
615 }
616 wxPyEndBlockThreads(blocked);
617 return pyList;
618 }
619 PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
620 wxList* list = self->GetOriginalPoints();
621 PyObject* pyList;
622 PyObject* pyObj;
623 wxObject* wxObj;
624 wxNode* node = list->GetFirst();
625
626 bool blocked = wxPyBeginBlockThreads();
627 pyList = PyList_New(0);
628 while (node) {
629 wxObj = node->GetData();
630 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
631 PyList_Append(pyList, pyObj);
632 node = node->GetNext();
633 }
634 wxPyEndBlockThreads(blocked);
635 return pyList;
636 }
637
638 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
639
640
641 // Put some wx default wxChar* values into wxStrings.
642 DECLARE_DEF_STRING(ShapeCanvasNameStr);
643
644 PyObject *wxDiagram_GetShapeList(wxDiagram *self){
645 wxList* list = self->GetShapeList();
646 return wxPy_ConvertShapeList(list);
647 }
648
649 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
650 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
651 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
652 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
653 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
654 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
655 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
656 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
657
658
659 //---------------------------------------------------------------------------
660
661 // Convert from a Python list to a list of className objects. This one will
662 // work for any class for the VERY generic cases, but beyond that the helper
663 // needs to know more about the type.
664 wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
665 bool blocked = wxPyBeginBlockThreads();
666 if (!PyList_Check(pyList)) {
667 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
668 wxPyEndBlockThreads(blocked);
669 return NULL;
670 }
671 int count = PyList_Size(pyList);
672 wxList* list = new wxList;
673 if (! list) {
674 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
675 wxPyEndBlockThreads(blocked);
676 return NULL;
677 }
678 for (int x=0; x<count; x++) {
679 PyObject* pyo = PyList_GetItem(pyList, x);
680 wxObject* wxo = NULL;
681
682 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
683 wxString errmsg;
684 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
685 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
686 wxPyEndBlockThreads(blocked);
687 return NULL;
688 }
689 list->Append(wxo);
690 }
691 wxPyEndBlockThreads(blocked);
692 return list;
693 }
694
695 //---------------------------------------------------------------------------
696
697 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
698 bool blocked = wxPyBeginBlockThreads();
699 if (!PyList_Check(pyList)) {
700 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
701 wxPyEndBlockThreads(blocked);
702 return NULL;
703 }
704 int count = PyList_Size(pyList);
705 wxList* list = new wxList;
706 if (! list) {
707 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
708 wxPyEndBlockThreads(blocked);
709 return NULL;
710 }
711 for (int x=0; x<count; x++) {
712 PyObject* pyo = PyList_GetItem(pyList, x);
713
714 if (PyTuple_Check(pyo)) {
715 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
716 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
717
718 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
719 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
720
721 list->Append((wxObject*) new wxRealPoint(val1, val2));
722
723 } else {
724 wxRealPoint* wxo = NULL;
725 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
726 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
727 wxPyEndBlockThreads(blocked);
728 return NULL;
729 }
730 list->Append((wxObject*) new wxRealPoint(*wxo));
731 }
732 }
733 wxPyEndBlockThreads(blocked);
734 return list;
735 }
736
737 //---------------------------------------------------------------------------
738
739 PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
740 PyObject* target = NULL;
741
742 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
743 // If it's derived from wxShapeEvtHandler then there may
744 // already be a pointer to a Python object that we can use
745 // in the OOR data.
746 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
747 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
748 if (data) {
749 target = data->m_obj;
750 Py_INCREF(target);
751 }
752 }
753 if (! target) {
754 target = wxPyMake_wxObject2(source, FALSE);
755 if (target != Py_None)
756 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
757 }
758 return target;
759 }
760
761 //---------------------------------------------------------------------------
762
763 PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
764 wxList* list = (wxList*)listbase;
765 PyObject* pyList;
766 PyObject* pyObj;
767 wxObject* wxObj;
768 wxNode* node = list->GetFirst();
769
770 bool blocked = wxPyBeginBlockThreads();
771 pyList = PyList_New(0);
772 while (node) {
773 wxObj = node->GetData();
774 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
775 PyList_Append(pyList, pyObj);
776 node = node->GetNext();
777 }
778 wxPyEndBlockThreads(blocked);
779 return pyList;
780 }
781
782
783 //---------------------------------------------------------------------------
784
785 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
786 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
787 IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
788 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
789 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
790 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
791 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
793 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
794 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
795 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
796 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
797 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
798 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
799 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
800
801 //---------------------------------------------------------------------------
802
803 // extern "C" SWIGEXPORT(void) initoglbasicc();
804 // extern "C" SWIGEXPORT(void) initoglshapesc();
805 // extern "C" SWIGEXPORT(void) initoglshapes2c();
806 // extern "C" SWIGEXPORT(void) initoglcanvasc();
807
808 #ifdef __cplusplus
809 extern "C" {
810 #endif
811 static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
812 PyObject *resultobj;
813 wxShapeRegion *result;
814 char *kwnames[] = {
815 NULL
816 };
817
818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
819 {
820 PyThreadState* __tstate = wxPyBeginAllowThreads();
821 result = (wxShapeRegion *)new wxShapeRegion();
822
823 wxPyEndAllowThreads(__tstate);
824 if (PyErr_Occurred()) SWIG_fail;
825 }
826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShapeRegion, 1);
827 return resultobj;
828 fail:
829 return NULL;
830 }
831
832
833 static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
834 PyObject *resultobj;
835 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
836 wxString *arg2 = 0 ;
837 bool temp2 = False ;
838 PyObject * obj0 = 0 ;
839 PyObject * obj1 = 0 ;
840 char *kwnames[] = {
841 (char *) "self",(char *) "s", NULL
842 };
843
844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
847 {
848 arg2 = wxString_in_helper(obj1);
849 if (arg2 == NULL) SWIG_fail;
850 temp2 = True;
851 }
852 {
853 PyThreadState* __tstate = wxPyBeginAllowThreads();
854 (arg1)->SetText((wxString const &)*arg2);
855
856 wxPyEndAllowThreads(__tstate);
857 if (PyErr_Occurred()) SWIG_fail;
858 }
859 Py_INCREF(Py_None); resultobj = Py_None;
860 {
861 if (temp2)
862 delete arg2;
863 }
864 return resultobj;
865 fail:
866 {
867 if (temp2)
868 delete arg2;
869 }
870 return NULL;
871 }
872
873
874 static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
875 PyObject *resultobj;
876 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
877 wxFont *arg2 = (wxFont *) 0 ;
878 PyObject * obj0 = 0 ;
879 PyObject * obj1 = 0 ;
880 char *kwnames[] = {
881 (char *) "self",(char *) "f", NULL
882 };
883
884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
887 {
888 wxFont* temp;
889 if (obj1) {
890 if (obj1 == Py_None) {
891 temp = NULL;
892 }
893 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
894 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
895 return NULL;
896 }
897 }
898 if (temp)
899 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
900 temp->GetFamily(),
901 temp->GetStyle(),
902 temp->GetWeight(),
903 temp->GetUnderlined(),
904 temp->GetFaceName(),
905 temp->GetEncoding());
906 else
907 arg2 = NULL;
908 }
909 {
910 PyThreadState* __tstate = wxPyBeginAllowThreads();
911 (arg1)->SetFont(arg2);
912
913 wxPyEndAllowThreads(__tstate);
914 if (PyErr_Occurred()) SWIG_fail;
915 }
916 Py_INCREF(Py_None); resultobj = Py_None;
917 return resultobj;
918 fail:
919 return NULL;
920 }
921
922
923 static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
924 PyObject *resultobj;
925 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
926 double arg2 ;
927 double arg3 ;
928 PyObject * obj0 = 0 ;
929 PyObject * obj1 = 0 ;
930 PyObject * obj2 = 0 ;
931 char *kwnames[] = {
932 (char *) "self",(char *) "w",(char *) "h", NULL
933 };
934
935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
938 arg2 = (double) SWIG_AsDouble(obj1);
939 if (PyErr_Occurred()) SWIG_fail;
940 arg3 = (double) SWIG_AsDouble(obj2);
941 if (PyErr_Occurred()) SWIG_fail;
942 {
943 PyThreadState* __tstate = wxPyBeginAllowThreads();
944 (arg1)->SetMinSize(arg2,arg3);
945
946 wxPyEndAllowThreads(__tstate);
947 if (PyErr_Occurred()) SWIG_fail;
948 }
949 Py_INCREF(Py_None); resultobj = Py_None;
950 return resultobj;
951 fail:
952 return NULL;
953 }
954
955
956 static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
957 PyObject *resultobj;
958 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
959 double arg2 ;
960 double arg3 ;
961 PyObject * obj0 = 0 ;
962 PyObject * obj1 = 0 ;
963 PyObject * obj2 = 0 ;
964 char *kwnames[] = {
965 (char *) "self",(char *) "w",(char *) "h", NULL
966 };
967
968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
971 arg2 = (double) SWIG_AsDouble(obj1);
972 if (PyErr_Occurred()) SWIG_fail;
973 arg3 = (double) SWIG_AsDouble(obj2);
974 if (PyErr_Occurred()) SWIG_fail;
975 {
976 PyThreadState* __tstate = wxPyBeginAllowThreads();
977 (arg1)->SetSize(arg2,arg3);
978
979 wxPyEndAllowThreads(__tstate);
980 if (PyErr_Occurred()) SWIG_fail;
981 }
982 Py_INCREF(Py_None); resultobj = Py_None;
983 return resultobj;
984 fail:
985 return NULL;
986 }
987
988
989 static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
990 PyObject *resultobj;
991 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
992 double arg2 ;
993 double arg3 ;
994 PyObject * obj0 = 0 ;
995 PyObject * obj1 = 0 ;
996 PyObject * obj2 = 0 ;
997 char *kwnames[] = {
998 (char *) "self",(char *) "x",(char *) "y", NULL
999 };
1000
1001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
1002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1004 arg2 = (double) SWIG_AsDouble(obj1);
1005 if (PyErr_Occurred()) SWIG_fail;
1006 arg3 = (double) SWIG_AsDouble(obj2);
1007 if (PyErr_Occurred()) SWIG_fail;
1008 {
1009 PyThreadState* __tstate = wxPyBeginAllowThreads();
1010 (arg1)->SetPosition(arg2,arg3);
1011
1012 wxPyEndAllowThreads(__tstate);
1013 if (PyErr_Occurred()) SWIG_fail;
1014 }
1015 Py_INCREF(Py_None); resultobj = Py_None;
1016 return resultobj;
1017 fail:
1018 return NULL;
1019 }
1020
1021
1022 static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
1023 PyObject *resultobj;
1024 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1025 double arg2 ;
1026 double arg3 ;
1027 PyObject * obj0 = 0 ;
1028 PyObject * obj1 = 0 ;
1029 PyObject * obj2 = 0 ;
1030 char *kwnames[] = {
1031 (char *) "self",(char *) "x",(char *) "y", NULL
1032 };
1033
1034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
1035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1037 arg2 = (double) SWIG_AsDouble(obj1);
1038 if (PyErr_Occurred()) SWIG_fail;
1039 arg3 = (double) SWIG_AsDouble(obj2);
1040 if (PyErr_Occurred()) SWIG_fail;
1041 {
1042 PyThreadState* __tstate = wxPyBeginAllowThreads();
1043 (arg1)->SetProportions(arg2,arg3);
1044
1045 wxPyEndAllowThreads(__tstate);
1046 if (PyErr_Occurred()) SWIG_fail;
1047 }
1048 Py_INCREF(Py_None); resultobj = Py_None;
1049 return resultobj;
1050 fail:
1051 return NULL;
1052 }
1053
1054
1055 static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject *resultobj;
1057 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1058 int arg2 ;
1059 PyObject * obj0 = 0 ;
1060 PyObject * obj1 = 0 ;
1061 char *kwnames[] = {
1062 (char *) "self",(char *) "mode", NULL
1063 };
1064
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
1066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1068 arg2 = (int) SWIG_AsInt(obj1);
1069 if (PyErr_Occurred()) SWIG_fail;
1070 {
1071 PyThreadState* __tstate = wxPyBeginAllowThreads();
1072 (arg1)->SetFormatMode(arg2);
1073
1074 wxPyEndAllowThreads(__tstate);
1075 if (PyErr_Occurred()) SWIG_fail;
1076 }
1077 Py_INCREF(Py_None); resultobj = Py_None;
1078 return resultobj;
1079 fail:
1080 return NULL;
1081 }
1082
1083
1084 static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject *resultobj;
1086 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1087 wxString *arg2 = 0 ;
1088 bool temp2 = False ;
1089 PyObject * obj0 = 0 ;
1090 PyObject * obj1 = 0 ;
1091 char *kwnames[] = {
1092 (char *) "self",(char *) "s", NULL
1093 };
1094
1095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
1096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1098 {
1099 arg2 = wxString_in_helper(obj1);
1100 if (arg2 == NULL) SWIG_fail;
1101 temp2 = True;
1102 }
1103 {
1104 PyThreadState* __tstate = wxPyBeginAllowThreads();
1105 (arg1)->SetName((wxString const &)*arg2);
1106
1107 wxPyEndAllowThreads(__tstate);
1108 if (PyErr_Occurred()) SWIG_fail;
1109 }
1110 Py_INCREF(Py_None); resultobj = Py_None;
1111 {
1112 if (temp2)
1113 delete arg2;
1114 }
1115 return resultobj;
1116 fail:
1117 {
1118 if (temp2)
1119 delete arg2;
1120 }
1121 return NULL;
1122 }
1123
1124
1125 static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1126 PyObject *resultobj;
1127 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1128 wxString *arg2 = 0 ;
1129 bool temp2 = False ;
1130 PyObject * obj0 = 0 ;
1131 PyObject * obj1 = 0 ;
1132 char *kwnames[] = {
1133 (char *) "self",(char *) "col", NULL
1134 };
1135
1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
1137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1139 {
1140 arg2 = wxString_in_helper(obj1);
1141 if (arg2 == NULL) SWIG_fail;
1142 temp2 = True;
1143 }
1144 {
1145 PyThreadState* __tstate = wxPyBeginAllowThreads();
1146 (arg1)->SetColour((wxString const &)*arg2);
1147
1148 wxPyEndAllowThreads(__tstate);
1149 if (PyErr_Occurred()) SWIG_fail;
1150 }
1151 Py_INCREF(Py_None); resultobj = Py_None;
1152 {
1153 if (temp2)
1154 delete arg2;
1155 }
1156 return resultobj;
1157 fail:
1158 {
1159 if (temp2)
1160 delete arg2;
1161 }
1162 return NULL;
1163 }
1164
1165
1166 static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1167 PyObject *resultobj;
1168 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1169 wxString result;
1170 PyObject * obj0 = 0 ;
1171 char *kwnames[] = {
1172 (char *) "self", NULL
1173 };
1174
1175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
1176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1178 {
1179 PyThreadState* __tstate = wxPyBeginAllowThreads();
1180 result = (arg1)->GetText();
1181
1182 wxPyEndAllowThreads(__tstate);
1183 if (PyErr_Occurred()) SWIG_fail;
1184 }
1185 {
1186 #if wxUSE_UNICODE
1187 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1188 #else
1189 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1190 #endif
1191 }
1192 return resultobj;
1193 fail:
1194 return NULL;
1195 }
1196
1197
1198 static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject *resultobj;
1200 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1201 wxFont *result;
1202 PyObject * obj0 = 0 ;
1203 char *kwnames[] = {
1204 (char *) "self", NULL
1205 };
1206
1207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
1208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1210 {
1211 PyThreadState* __tstate = wxPyBeginAllowThreads();
1212 result = (wxFont *)(arg1)->GetFont();
1213
1214 wxPyEndAllowThreads(__tstate);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 }
1217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
1218 return resultobj;
1219 fail:
1220 return NULL;
1221 }
1222
1223
1224 static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1225 PyObject *resultobj;
1226 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1227 double *arg2 = (double *) 0 ;
1228 double *arg3 = (double *) 0 ;
1229 double temp2 ;
1230 double temp3 ;
1231 PyObject * obj0 = 0 ;
1232 char *kwnames[] = {
1233 (char *) "self", NULL
1234 };
1235
1236 arg2 = &temp2;
1237 arg3 = &temp3;
1238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1241 {
1242 PyThreadState* __tstate = wxPyBeginAllowThreads();
1243 (arg1)->GetMinSize(arg2,arg3);
1244
1245 wxPyEndAllowThreads(__tstate);
1246 if (PyErr_Occurred()) SWIG_fail;
1247 }
1248 Py_INCREF(Py_None); resultobj = Py_None;
1249 {
1250 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1251 resultobj = t_output_helper(resultobj,o);
1252 }
1253 {
1254 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1255 resultobj = t_output_helper(resultobj,o);
1256 }
1257 return resultobj;
1258 fail:
1259 return NULL;
1260 }
1261
1262
1263 static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1264 PyObject *resultobj;
1265 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1266 double *arg2 = (double *) 0 ;
1267 double *arg3 = (double *) 0 ;
1268 double temp2 ;
1269 double temp3 ;
1270 PyObject * obj0 = 0 ;
1271 char *kwnames[] = {
1272 (char *) "self", NULL
1273 };
1274
1275 arg2 = &temp2;
1276 arg3 = &temp3;
1277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1280 {
1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
1282 (arg1)->GetProportion(arg2,arg3);
1283
1284 wxPyEndAllowThreads(__tstate);
1285 if (PyErr_Occurred()) SWIG_fail;
1286 }
1287 Py_INCREF(Py_None); resultobj = Py_None;
1288 {
1289 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1290 resultobj = t_output_helper(resultobj,o);
1291 }
1292 {
1293 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1294 resultobj = t_output_helper(resultobj,o);
1295 }
1296 return resultobj;
1297 fail:
1298 return NULL;
1299 }
1300
1301
1302 static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1303 PyObject *resultobj;
1304 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1305 double *arg2 = (double *) 0 ;
1306 double *arg3 = (double *) 0 ;
1307 double temp2 ;
1308 double temp3 ;
1309 PyObject * obj0 = 0 ;
1310 char *kwnames[] = {
1311 (char *) "self", NULL
1312 };
1313
1314 arg2 = &temp2;
1315 arg3 = &temp3;
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1319 {
1320 PyThreadState* __tstate = wxPyBeginAllowThreads();
1321 (arg1)->GetSize(arg2,arg3);
1322
1323 wxPyEndAllowThreads(__tstate);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 Py_INCREF(Py_None); resultobj = Py_None;
1327 {
1328 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1329 resultobj = t_output_helper(resultobj,o);
1330 }
1331 {
1332 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1333 resultobj = t_output_helper(resultobj,o);
1334 }
1335 return resultobj;
1336 fail:
1337 return NULL;
1338 }
1339
1340
1341 static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1342 PyObject *resultobj;
1343 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1344 double *arg2 = (double *) 0 ;
1345 double *arg3 = (double *) 0 ;
1346 double temp2 ;
1347 double temp3 ;
1348 PyObject * obj0 = 0 ;
1349 char *kwnames[] = {
1350 (char *) "self", NULL
1351 };
1352
1353 arg2 = &temp2;
1354 arg3 = &temp3;
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1358 {
1359 PyThreadState* __tstate = wxPyBeginAllowThreads();
1360 (arg1)->GetPosition(arg2,arg3);
1361
1362 wxPyEndAllowThreads(__tstate);
1363 if (PyErr_Occurred()) SWIG_fail;
1364 }
1365 Py_INCREF(Py_None); resultobj = Py_None;
1366 {
1367 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1368 resultobj = t_output_helper(resultobj,o);
1369 }
1370 {
1371 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1372 resultobj = t_output_helper(resultobj,o);
1373 }
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject *resultobj;
1382 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1383 int result;
1384 PyObject * obj0 = 0 ;
1385 char *kwnames[] = {
1386 (char *) "self", NULL
1387 };
1388
1389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1392 {
1393 PyThreadState* __tstate = wxPyBeginAllowThreads();
1394 result = (int)(arg1)->GetFormatMode();
1395
1396 wxPyEndAllowThreads(__tstate);
1397 if (PyErr_Occurred()) SWIG_fail;
1398 }
1399 resultobj = SWIG_FromInt((int)result);
1400 return resultobj;
1401 fail:
1402 return NULL;
1403 }
1404
1405
1406 static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject *resultobj;
1408 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1409 wxString result;
1410 PyObject * obj0 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "self", NULL
1413 };
1414
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 result = (arg1)->GetName();
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) SWIG_fail;
1424 }
1425 {
1426 #if wxUSE_UNICODE
1427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1428 #else
1429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1430 #endif
1431 }
1432 return resultobj;
1433 fail:
1434 return NULL;
1435 }
1436
1437
1438 static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1439 PyObject *resultobj;
1440 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1441 wxString result;
1442 PyObject * obj0 = 0 ;
1443 char *kwnames[] = {
1444 (char *) "self", NULL
1445 };
1446
1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1450 {
1451 PyThreadState* __tstate = wxPyBeginAllowThreads();
1452 result = (arg1)->GetColour();
1453
1454 wxPyEndAllowThreads(__tstate);
1455 if (PyErr_Occurred()) SWIG_fail;
1456 }
1457 {
1458 #if wxUSE_UNICODE
1459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1460 #else
1461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1462 #endif
1463 }
1464 return resultobj;
1465 fail:
1466 return NULL;
1467 }
1468
1469
1470 static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject *resultobj;
1472 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1473 wxColour result;
1474 PyObject * obj0 = 0 ;
1475 char *kwnames[] = {
1476 (char *) "self", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1482 {
1483 PyThreadState* __tstate = wxPyBeginAllowThreads();
1484 result = (arg1)->GetActualColourObject();
1485
1486 wxPyEndAllowThreads(__tstate);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 }
1489 {
1490 wxColour * resultptr;
1491 resultptr = new wxColour((wxColour &) result);
1492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1493 }
1494 return resultobj;
1495 fail:
1496 return NULL;
1497 }
1498
1499
1500 static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1501 PyObject *resultobj;
1502 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1503 wxList *result;
1504 PyObject * obj0 = 0 ;
1505 char *kwnames[] = {
1506 (char *) "self", NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1512 {
1513 PyThreadState* __tstate = wxPyBeginAllowThreads();
1514 {
1515 wxList &_result_ref = (arg1)->GetFormattedText();
1516 result = (wxList *) &_result_ref;
1517 }
1518
1519 wxPyEndAllowThreads(__tstate);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxList, 0);
1523 return resultobj;
1524 fail:
1525 return NULL;
1526 }
1527
1528
1529 static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1530 PyObject *resultobj;
1531 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1532 wxString result;
1533 PyObject * obj0 = 0 ;
1534 char *kwnames[] = {
1535 (char *) "self", NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 result = (arg1)->GetPenColour();
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) SWIG_fail;
1547 }
1548 {
1549 #if wxUSE_UNICODE
1550 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1551 #else
1552 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1553 #endif
1554 }
1555 return resultobj;
1556 fail:
1557 return NULL;
1558 }
1559
1560
1561 static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1562 PyObject *resultobj;
1563 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1564 int result;
1565 PyObject * obj0 = 0 ;
1566 char *kwnames[] = {
1567 (char *) "self", NULL
1568 };
1569
1570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1573 {
1574 PyThreadState* __tstate = wxPyBeginAllowThreads();
1575 result = (int)(arg1)->GetPenStyle();
1576
1577 wxPyEndAllowThreads(__tstate);
1578 if (PyErr_Occurred()) SWIG_fail;
1579 }
1580 resultobj = SWIG_FromInt((int)result);
1581 return resultobj;
1582 fail:
1583 return NULL;
1584 }
1585
1586
1587 static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject *resultobj;
1589 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1590 int arg2 ;
1591 PyObject * obj0 = 0 ;
1592 PyObject * obj1 = 0 ;
1593 char *kwnames[] = {
1594 (char *) "self",(char *) "style", NULL
1595 };
1596
1597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
1598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1600 arg2 = (int) SWIG_AsInt(obj1);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 (arg1)->SetPenStyle(arg2);
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 Py_INCREF(Py_None); resultobj = Py_None;
1610 return resultobj;
1611 fail:
1612 return NULL;
1613 }
1614
1615
1616 static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1619 wxString *arg2 = 0 ;
1620 bool temp2 = False ;
1621 PyObject * obj0 = 0 ;
1622 PyObject * obj1 = 0 ;
1623 char *kwnames[] = {
1624 (char *) "self",(char *) "col", NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1630 {
1631 arg2 = wxString_in_helper(obj1);
1632 if (arg2 == NULL) SWIG_fail;
1633 temp2 = True;
1634 }
1635 {
1636 PyThreadState* __tstate = wxPyBeginAllowThreads();
1637 (arg1)->SetPenColour((wxString const &)*arg2);
1638
1639 wxPyEndAllowThreads(__tstate);
1640 if (PyErr_Occurred()) SWIG_fail;
1641 }
1642 Py_INCREF(Py_None); resultobj = Py_None;
1643 {
1644 if (temp2)
1645 delete arg2;
1646 }
1647 return resultobj;
1648 fail:
1649 {
1650 if (temp2)
1651 delete arg2;
1652 }
1653 return NULL;
1654 }
1655
1656
1657 static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1658 PyObject *resultobj;
1659 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1660 wxPen *result;
1661 PyObject * obj0 = 0 ;
1662 char *kwnames[] = {
1663 (char *) "self", NULL
1664 };
1665
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1669 {
1670 PyThreadState* __tstate = wxPyBeginAllowThreads();
1671 result = (wxPen *)(arg1)->GetActualPen();
1672
1673 wxPyEndAllowThreads(__tstate);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 }
1676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
1677 return resultobj;
1678 fail:
1679 return NULL;
1680 }
1681
1682
1683 static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject *resultobj;
1685 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1686 double result;
1687 PyObject * obj0 = 0 ;
1688 char *kwnames[] = {
1689 (char *) "self", NULL
1690 };
1691
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1695 {
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 result = (double)(arg1)->GetWidth();
1698
1699 wxPyEndAllowThreads(__tstate);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 }
1702 resultobj = SWIG_FromDouble((double)result);
1703 return resultobj;
1704 fail:
1705 return NULL;
1706 }
1707
1708
1709 static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject *resultobj;
1711 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1712 double result;
1713 PyObject * obj0 = 0 ;
1714 char *kwnames[] = {
1715 (char *) "self", NULL
1716 };
1717
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1721 {
1722 PyThreadState* __tstate = wxPyBeginAllowThreads();
1723 result = (double)(arg1)->GetHeight();
1724
1725 wxPyEndAllowThreads(__tstate);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 resultobj = SWIG_FromDouble((double)result);
1729 return resultobj;
1730 fail:
1731 return NULL;
1732 }
1733
1734
1735 static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1736 PyObject *resultobj;
1737 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1738 PyObject * obj0 = 0 ;
1739 char *kwnames[] = {
1740 (char *) "self", NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",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 (arg1)->ClearText();
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
1753 Py_INCREF(Py_None); resultobj = Py_None;
1754 return resultobj;
1755 fail:
1756 return NULL;
1757 }
1758
1759
1760 static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1761 PyObject *obj;
1762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1763 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1764 Py_INCREF(obj);
1765 return Py_BuildValue((char *)"");
1766 }
1767 static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 int arg1 = (int) 0 ;
1770 double arg2 = (double) 0.0 ;
1771 double arg3 = (double) 0.0 ;
1772 wxAttachmentPoint *result;
1773 PyObject * obj0 = 0 ;
1774 PyObject * obj1 = 0 ;
1775 PyObject * obj2 = 0 ;
1776 char *kwnames[] = {
1777 (char *) "id",(char *) "x",(char *) "y", NULL
1778 };
1779
1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
1781 if (obj0) {
1782 arg1 = (int) SWIG_AsInt(obj0);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 if (obj1) {
1786 arg2 = (double) SWIG_AsDouble(obj1);
1787 if (PyErr_Occurred()) SWIG_fail;
1788 }
1789 if (obj2) {
1790 arg3 = (double) SWIG_AsDouble(obj2);
1791 if (PyErr_Occurred()) SWIG_fail;
1792 }
1793 {
1794 PyThreadState* __tstate = wxPyBeginAllowThreads();
1795 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1796
1797 wxPyEndAllowThreads(__tstate);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 }
1800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAttachmentPoint, 1);
1801 return resultobj;
1802 fail:
1803 return NULL;
1804 }
1805
1806
1807 static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1808 PyObject *resultobj;
1809 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1810 int arg2 ;
1811 PyObject * obj0 = 0 ;
1812 PyObject * obj1 = 0 ;
1813 char *kwnames[] = {
1814 (char *) "self",(char *) "m_id", NULL
1815 };
1816
1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
1818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1820 arg2 = (int) SWIG_AsInt(obj1);
1821 if (PyErr_Occurred()) SWIG_fail;
1822 if (arg1) (arg1)->m_id = arg2;
1823
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 return resultobj;
1826 fail:
1827 return NULL;
1828 }
1829
1830
1831 static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject *resultobj;
1833 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1834 int result;
1835 PyObject * obj0 = 0 ;
1836 char *kwnames[] = {
1837 (char *) "self", NULL
1838 };
1839
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
1841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1843 result = (int) ((arg1)->m_id);
1844
1845 resultobj = SWIG_FromInt((int)result);
1846 return resultobj;
1847 fail:
1848 return NULL;
1849 }
1850
1851
1852 static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1853 PyObject *resultobj;
1854 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1855 double arg2 ;
1856 PyObject * obj0 = 0 ;
1857 PyObject * obj1 = 0 ;
1858 char *kwnames[] = {
1859 (char *) "self",(char *) "m_x", NULL
1860 };
1861
1862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
1863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1865 arg2 = (double) SWIG_AsDouble(obj1);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 if (arg1) (arg1)->m_x = arg2;
1868
1869 Py_INCREF(Py_None); resultobj = Py_None;
1870 return resultobj;
1871 fail:
1872 return NULL;
1873 }
1874
1875
1876 static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1877 PyObject *resultobj;
1878 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1879 double result;
1880 PyObject * obj0 = 0 ;
1881 char *kwnames[] = {
1882 (char *) "self", NULL
1883 };
1884
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
1886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1888 result = (double) ((arg1)->m_x);
1889
1890 resultobj = SWIG_FromDouble((double)result);
1891 return resultobj;
1892 fail:
1893 return NULL;
1894 }
1895
1896
1897 static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject *resultobj;
1899 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1900 double arg2 ;
1901 PyObject * obj0 = 0 ;
1902 PyObject * obj1 = 0 ;
1903 char *kwnames[] = {
1904 (char *) "self",(char *) "m_y", NULL
1905 };
1906
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
1908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1910 arg2 = (double) SWIG_AsDouble(obj1);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 if (arg1) (arg1)->m_y = arg2;
1913
1914 Py_INCREF(Py_None); resultobj = Py_None;
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1924 double result;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1933 result = (double) ((arg1)->m_y);
1934
1935 resultobj = SWIG_FromDouble((double)result);
1936 return resultobj;
1937 fail:
1938 return NULL;
1939 }
1940
1941
1942 static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
1943 PyObject *obj;
1944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1945 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1946 Py_INCREF(obj);
1947 return Py_BuildValue((char *)"");
1948 }
1949 static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1952 wxPyShape *arg2 = (wxPyShape *) NULL ;
1953 wxPyShapeEvtHandler *result;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "prev",(char *) "shape", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1961 if (obj0) {
1962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
1963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1964 }
1965 if (obj1) {
1966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
1967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1968 }
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 }
1976 {
1977 resultobj = wxPyMake_wxShapeEvtHandler(result);
1978 }
1979 return resultobj;
1980 fail:
1981 return NULL;
1982 }
1983
1984
1985 static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject *resultobj;
1987 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1988 PyObject *arg2 = (PyObject *) 0 ;
1989 PyObject *arg3 = (PyObject *) 0 ;
1990 PyObject * obj0 = 0 ;
1991 PyObject * obj1 = 0 ;
1992 PyObject * obj2 = 0 ;
1993 char *kwnames[] = {
1994 (char *) "self",(char *) "self",(char *) "_class", NULL
1995 };
1996
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
1999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2000 arg2 = obj1;
2001 arg3 = obj2;
2002 {
2003 PyThreadState* __tstate = wxPyBeginAllowThreads();
2004 (arg1)->_setCallbackInfo(arg2,arg3);
2005
2006 wxPyEndAllowThreads(__tstate);
2007 if (PyErr_Occurred()) SWIG_fail;
2008 }
2009 Py_INCREF(Py_None); resultobj = Py_None;
2010 return resultobj;
2011 fail:
2012 return NULL;
2013 }
2014
2015
2016 static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject *resultobj;
2018 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2019 PyObject *arg2 = (PyObject *) 0 ;
2020 PyObject * obj0 = 0 ;
2021 PyObject * obj1 = 0 ;
2022 char *kwnames[] = {
2023 (char *) "self",(char *) "_self", NULL
2024 };
2025
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2029 arg2 = obj1;
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 }
2037 Py_INCREF(Py_None); resultobj = Py_None;
2038 return resultobj;
2039 fail:
2040 return NULL;
2041 }
2042
2043
2044 static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject *resultobj;
2046 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2047 wxPyShape *arg2 = (wxPyShape *) 0 ;
2048 PyObject * obj0 = 0 ;
2049 PyObject * obj1 = 0 ;
2050 char *kwnames[] = {
2051 (char *) "self",(char *) "sh", NULL
2052 };
2053
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
2058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2059 {
2060 PyThreadState* __tstate = wxPyBeginAllowThreads();
2061 (arg1)->SetShape(arg2);
2062
2063 wxPyEndAllowThreads(__tstate);
2064 if (PyErr_Occurred()) SWIG_fail;
2065 }
2066 Py_INCREF(Py_None); resultobj = Py_None;
2067 return resultobj;
2068 fail:
2069 return NULL;
2070 }
2071
2072
2073 static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2074 PyObject *resultobj;
2075 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2076 wxPyShape *result;
2077 PyObject * obj0 = 0 ;
2078 char *kwnames[] = {
2079 (char *) "self", NULL
2080 };
2081
2082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
2083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2085 {
2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
2087 result = (wxPyShape *)(arg1)->GetShape();
2088
2089 wxPyEndAllowThreads(__tstate);
2090 if (PyErr_Occurred()) SWIG_fail;
2091 }
2092 {
2093 resultobj = wxPyMake_wxShapeEvtHandler(result);
2094 }
2095 return resultobj;
2096 fail:
2097 return NULL;
2098 }
2099
2100
2101 static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject *resultobj;
2103 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2104 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2105 PyObject * obj0 = 0 ;
2106 PyObject * obj1 = 0 ;
2107 char *kwnames[] = {
2108 (char *) "self",(char *) "handler", NULL
2109 };
2110
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
2115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 (arg1)->SetPreviousHandler(arg2);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 Py_INCREF(Py_None); resultobj = Py_None;
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2133 wxPyShapeEvtHandler *result;
2134 PyObject * obj0 = 0 ;
2135 char *kwnames[] = {
2136 (char *) "self", NULL
2137 };
2138
2139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2142 {
2143 PyThreadState* __tstate = wxPyBeginAllowThreads();
2144 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2145
2146 wxPyEndAllowThreads(__tstate);
2147 if (PyErr_Occurred()) SWIG_fail;
2148 }
2149 {
2150 resultobj = wxPyMake_wxShapeEvtHandler(result);
2151 }
2152 return resultobj;
2153 fail:
2154 return NULL;
2155 }
2156
2157
2158 static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
2159 PyObject *resultobj;
2160 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2161 wxPyShapeEvtHandler *result;
2162 PyObject * obj0 = 0 ;
2163 char *kwnames[] = {
2164 (char *) "self", NULL
2165 };
2166
2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2170 {
2171 PyThreadState* __tstate = wxPyBeginAllowThreads();
2172 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2173
2174 wxPyEndAllowThreads(__tstate);
2175 if (PyErr_Occurred()) SWIG_fail;
2176 }
2177 {
2178 resultobj = wxPyMake_wxShapeEvtHandler(result);
2179 }
2180 return resultobj;
2181 fail:
2182 return NULL;
2183 }
2184
2185
2186 static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2187 PyObject *resultobj;
2188 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2189 PyObject * obj0 = 0 ;
2190 char *kwnames[] = {
2191 (char *) "self", NULL
2192 };
2193
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 (arg1)->base_OnDelete();
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
2204 Py_INCREF(Py_None); resultobj = Py_None;
2205 return resultobj;
2206 fail:
2207 return NULL;
2208 }
2209
2210
2211 static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject *resultobj;
2213 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2214 wxDC *arg2 = 0 ;
2215 PyObject * obj0 = 0 ;
2216 PyObject * obj1 = 0 ;
2217 char *kwnames[] = {
2218 (char *) "self",(char *) "dc", NULL
2219 };
2220
2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2225 SWIG_POINTER_EXCEPTION | 0)) == -1)
2226 SWIG_fail;
2227 if (arg2 == NULL) {
2228 PyErr_SetString(PyExc_TypeError,"null reference");
2229 SWIG_fail;
2230 }
2231 {
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 (arg1)->base_OnDraw(*arg2);
2234
2235 wxPyEndAllowThreads(__tstate);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 }
2238 Py_INCREF(Py_None); resultobj = Py_None;
2239 return resultobj;
2240 fail:
2241 return NULL;
2242 }
2243
2244
2245 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2246 PyObject *resultobj;
2247 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2248 wxDC *arg2 = 0 ;
2249 PyObject * obj0 = 0 ;
2250 PyObject * obj1 = 0 ;
2251 char *kwnames[] = {
2252 (char *) "self",(char *) "dc", NULL
2253 };
2254
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1)
2260 SWIG_fail;
2261 if (arg2 == NULL) {
2262 PyErr_SetString(PyExc_TypeError,"null reference");
2263 SWIG_fail;
2264 }
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 (arg1)->base_OnDrawContents(*arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 Py_INCREF(Py_None); resultobj = Py_None;
2273 return resultobj;
2274 fail:
2275 return NULL;
2276 }
2277
2278
2279 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2282 wxDC *arg2 = 0 ;
2283 bool arg3 = (bool) False ;
2284 PyObject * obj0 = 0 ;
2285 PyObject * obj1 = 0 ;
2286 PyObject * obj2 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "self",(char *) "dc",(char *) "erase", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2294 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2295 SWIG_POINTER_EXCEPTION | 0)) == -1)
2296 SWIG_fail;
2297 if (arg2 == NULL) {
2298 PyErr_SetString(PyExc_TypeError,"null reference");
2299 SWIG_fail;
2300 }
2301 if (obj2) {
2302 arg3 = (bool) SWIG_AsBool(obj2);
2303 if (PyErr_Occurred()) SWIG_fail;
2304 }
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 (arg1)->base_OnDrawBranches(*arg2,arg3);
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 Py_INCREF(Py_None); resultobj = Py_None;
2313 return resultobj;
2314 fail:
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2322 wxDC *arg2 = 0 ;
2323 PyObject * obj0 = 0 ;
2324 PyObject * obj1 = 0 ;
2325 char *kwnames[] = {
2326 (char *) "self",(char *) "dc", NULL
2327 };
2328
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2333 SWIG_POINTER_EXCEPTION | 0)) == -1)
2334 SWIG_fail;
2335 if (arg2 == NULL) {
2336 PyErr_SetString(PyExc_TypeError,"null reference");
2337 SWIG_fail;
2338 }
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 (arg1)->base_OnMoveLinks(*arg2);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 Py_INCREF(Py_None); resultobj = Py_None;
2347 return resultobj;
2348 fail:
2349 return NULL;
2350 }
2351
2352
2353 static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2356 wxDC *arg2 = 0 ;
2357 PyObject * obj0 = 0 ;
2358 PyObject * obj1 = 0 ;
2359 char *kwnames[] = {
2360 (char *) "self",(char *) "dc", NULL
2361 };
2362
2363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2367 SWIG_POINTER_EXCEPTION | 0)) == -1)
2368 SWIG_fail;
2369 if (arg2 == NULL) {
2370 PyErr_SetString(PyExc_TypeError,"null reference");
2371 SWIG_fail;
2372 }
2373 {
2374 PyThreadState* __tstate = wxPyBeginAllowThreads();
2375 (arg1)->base_OnErase(*arg2);
2376
2377 wxPyEndAllowThreads(__tstate);
2378 if (PyErr_Occurred()) SWIG_fail;
2379 }
2380 Py_INCREF(Py_None); resultobj = Py_None;
2381 return resultobj;
2382 fail:
2383 return NULL;
2384 }
2385
2386
2387 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject *resultobj;
2389 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2390 wxDC *arg2 = 0 ;
2391 PyObject * obj0 = 0 ;
2392 PyObject * obj1 = 0 ;
2393 char *kwnames[] = {
2394 (char *) "self",(char *) "dc", NULL
2395 };
2396
2397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2401 SWIG_POINTER_EXCEPTION | 0)) == -1)
2402 SWIG_fail;
2403 if (arg2 == NULL) {
2404 PyErr_SetString(PyExc_TypeError,"null reference");
2405 SWIG_fail;
2406 }
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 (arg1)->base_OnEraseContents(*arg2);
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 Py_INCREF(Py_None); resultobj = Py_None;
2415 return resultobj;
2416 fail:
2417 return NULL;
2418 }
2419
2420
2421 static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2422 PyObject *resultobj;
2423 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2424 wxDC *arg2 = 0 ;
2425 PyObject * obj0 = 0 ;
2426 PyObject * obj1 = 0 ;
2427 char *kwnames[] = {
2428 (char *) "self",(char *) "dc", NULL
2429 };
2430
2431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2435 SWIG_POINTER_EXCEPTION | 0)) == -1)
2436 SWIG_fail;
2437 if (arg2 == NULL) {
2438 PyErr_SetString(PyExc_TypeError,"null reference");
2439 SWIG_fail;
2440 }
2441 {
2442 PyThreadState* __tstate = wxPyBeginAllowThreads();
2443 (arg1)->base_OnHighlight(*arg2);
2444
2445 wxPyEndAllowThreads(__tstate);
2446 if (PyErr_Occurred()) SWIG_fail;
2447 }
2448 Py_INCREF(Py_None); resultobj = Py_None;
2449 return resultobj;
2450 fail:
2451 return NULL;
2452 }
2453
2454
2455 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject *resultobj;
2457 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2458 double arg2 ;
2459 double arg3 ;
2460 int arg4 = (int) 0 ;
2461 int arg5 = (int) 0 ;
2462 PyObject * obj0 = 0 ;
2463 PyObject * obj1 = 0 ;
2464 PyObject * obj2 = 0 ;
2465 PyObject * obj3 = 0 ;
2466 PyObject * obj4 = 0 ;
2467 char *kwnames[] = {
2468 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2469 };
2470
2471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2474 arg2 = (double) SWIG_AsDouble(obj1);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 arg3 = (double) SWIG_AsDouble(obj2);
2477 if (PyErr_Occurred()) SWIG_fail;
2478 if (obj3) {
2479 arg4 = (int) SWIG_AsInt(obj3);
2480 if (PyErr_Occurred()) SWIG_fail;
2481 }
2482 if (obj4) {
2483 arg5 = (int) SWIG_AsInt(obj4);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 {
2487 PyThreadState* __tstate = wxPyBeginAllowThreads();
2488 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2489
2490 wxPyEndAllowThreads(__tstate);
2491 if (PyErr_Occurred()) SWIG_fail;
2492 }
2493 Py_INCREF(Py_None); resultobj = Py_None;
2494 return resultobj;
2495 fail:
2496 return NULL;
2497 }
2498
2499
2500 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2503 double arg2 ;
2504 double arg3 ;
2505 int arg4 = (int) 0 ;
2506 int arg5 = (int) 0 ;
2507 PyObject * obj0 = 0 ;
2508 PyObject * obj1 = 0 ;
2509 PyObject * obj2 = 0 ;
2510 PyObject * obj3 = 0 ;
2511 PyObject * obj4 = 0 ;
2512 char *kwnames[] = {
2513 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2514 };
2515
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2519 arg2 = (double) SWIG_AsDouble(obj1);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 arg3 = (double) SWIG_AsDouble(obj2);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 if (obj3) {
2524 arg4 = (int) SWIG_AsInt(obj3);
2525 if (PyErr_Occurred()) SWIG_fail;
2526 }
2527 if (obj4) {
2528 arg5 = (int) SWIG_AsInt(obj4);
2529 if (PyErr_Occurred()) SWIG_fail;
2530 }
2531 {
2532 PyThreadState* __tstate = wxPyBeginAllowThreads();
2533 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2534
2535 wxPyEndAllowThreads(__tstate);
2536 if (PyErr_Occurred()) SWIG_fail;
2537 }
2538 Py_INCREF(Py_None); resultobj = Py_None;
2539 return resultobj;
2540 fail:
2541 return NULL;
2542 }
2543
2544
2545 static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2546 PyObject *resultobj;
2547 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2548 double arg2 ;
2549 double arg3 ;
2550 int arg4 = (int) 0 ;
2551 int arg5 = (int) 0 ;
2552 PyObject * obj0 = 0 ;
2553 PyObject * obj1 = 0 ;
2554 PyObject * obj2 = 0 ;
2555 PyObject * obj3 = 0 ;
2556 PyObject * obj4 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2564 arg2 = (double) SWIG_AsDouble(obj1);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 arg3 = (double) SWIG_AsDouble(obj2);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 if (obj3) {
2569 arg4 = (int) SWIG_AsInt(obj3);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 if (obj4) {
2573 arg5 = (int) SWIG_AsInt(obj4);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 Py_INCREF(Py_None); resultobj = Py_None;
2584 return resultobj;
2585 fail:
2586 return NULL;
2587 }
2588
2589
2590 static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2591 PyObject *resultobj;
2592 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2593 double arg2 ;
2594 double arg3 ;
2595 PyObject * obj0 = 0 ;
2596 PyObject * obj1 = 0 ;
2597 PyObject * obj2 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self",(char *) "x",(char *) "y", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2605 arg2 = (double) SWIG_AsDouble(obj1);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 arg3 = (double) SWIG_AsDouble(obj2);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 {
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 (arg1)->base_OnSize(arg2,arg3);
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
2616 Py_INCREF(Py_None); resultobj = Py_None;
2617 return resultobj;
2618 fail:
2619 return NULL;
2620 }
2621
2622
2623 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2626 wxDC *arg2 = 0 ;
2627 double arg3 ;
2628 double arg4 ;
2629 double arg5 ;
2630 double arg6 ;
2631 bool arg7 = (bool) True ;
2632 bool result;
2633 PyObject * obj0 = 0 ;
2634 PyObject * obj1 = 0 ;
2635 PyObject * obj2 = 0 ;
2636 PyObject * obj3 = 0 ;
2637 PyObject * obj4 = 0 ;
2638 PyObject * obj5 = 0 ;
2639 PyObject * obj6 = 0 ;
2640 char *kwnames[] = {
2641 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2642 };
2643
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2648 SWIG_POINTER_EXCEPTION | 0)) == -1)
2649 SWIG_fail;
2650 if (arg2 == NULL) {
2651 PyErr_SetString(PyExc_TypeError,"null reference");
2652 SWIG_fail;
2653 }
2654 arg3 = (double) SWIG_AsDouble(obj2);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 arg4 = (double) SWIG_AsDouble(obj3);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 arg5 = (double) SWIG_AsDouble(obj4);
2659 if (PyErr_Occurred()) SWIG_fail;
2660 arg6 = (double) SWIG_AsDouble(obj5);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 if (obj6) {
2663 arg7 = (bool) SWIG_AsBool(obj6);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2673 {
2674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2675 }
2676 return resultobj;
2677 fail:
2678 return NULL;
2679 }
2680
2681
2682 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2683 PyObject *resultobj;
2684 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2685 wxDC *arg2 = 0 ;
2686 double arg3 ;
2687 double arg4 ;
2688 double arg5 ;
2689 double arg6 ;
2690 bool arg7 = (bool) True ;
2691 PyObject * obj0 = 0 ;
2692 PyObject * obj1 = 0 ;
2693 PyObject * obj2 = 0 ;
2694 PyObject * obj3 = 0 ;
2695 PyObject * obj4 = 0 ;
2696 PyObject * obj5 = 0 ;
2697 PyObject * obj6 = 0 ;
2698 char *kwnames[] = {
2699 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2700 };
2701
2702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2706 SWIG_POINTER_EXCEPTION | 0)) == -1)
2707 SWIG_fail;
2708 if (arg2 == NULL) {
2709 PyErr_SetString(PyExc_TypeError,"null reference");
2710 SWIG_fail;
2711 }
2712 arg3 = (double) SWIG_AsDouble(obj2);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 arg4 = (double) SWIG_AsDouble(obj3);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 arg5 = (double) SWIG_AsDouble(obj4);
2717 if (PyErr_Occurred()) SWIG_fail;
2718 arg6 = (double) SWIG_AsDouble(obj5);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 if (obj6) {
2721 arg7 = (bool) SWIG_AsBool(obj6);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 Py_INCREF(Py_None); resultobj = Py_None;
2732 return resultobj;
2733 fail:
2734 return NULL;
2735 }
2736
2737
2738 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2739 PyObject *resultobj;
2740 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2741 bool arg2 ;
2742 double arg3 ;
2743 double arg4 ;
2744 int arg5 = (int) 0 ;
2745 int arg6 = (int) 0 ;
2746 PyObject * obj0 = 0 ;
2747 PyObject * obj1 = 0 ;
2748 PyObject * obj2 = 0 ;
2749 PyObject * obj3 = 0 ;
2750 PyObject * obj4 = 0 ;
2751 PyObject * obj5 = 0 ;
2752 char *kwnames[] = {
2753 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2754 };
2755
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2759 arg2 = (bool) SWIG_AsBool(obj1);
2760 if (PyErr_Occurred()) SWIG_fail;
2761 arg3 = (double) SWIG_AsDouble(obj2);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 arg4 = (double) SWIG_AsDouble(obj3);
2764 if (PyErr_Occurred()) SWIG_fail;
2765 if (obj4) {
2766 arg5 = (int) SWIG_AsInt(obj4);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 }
2769 if (obj5) {
2770 arg6 = (int) SWIG_AsInt(obj5);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 Py_INCREF(Py_None); resultobj = Py_None;
2781 return resultobj;
2782 fail:
2783 return NULL;
2784 }
2785
2786
2787 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2788 PyObject *resultobj;
2789 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2790 double arg2 ;
2791 double arg3 ;
2792 int arg4 = (int) 0 ;
2793 int arg5 = (int) 0 ;
2794 PyObject * obj0 = 0 ;
2795 PyObject * obj1 = 0 ;
2796 PyObject * obj2 = 0 ;
2797 PyObject * obj3 = 0 ;
2798 PyObject * obj4 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2806 arg2 = (double) SWIG_AsDouble(obj1);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 arg3 = (double) SWIG_AsDouble(obj2);
2809 if (PyErr_Occurred()) SWIG_fail;
2810 if (obj3) {
2811 arg4 = (int) SWIG_AsInt(obj3);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 if (obj4) {
2815 arg5 = (int) SWIG_AsInt(obj4);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 }
2818 {
2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
2820 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2821
2822 wxPyEndAllowThreads(__tstate);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 }
2825 Py_INCREF(Py_None); resultobj = Py_None;
2826 return resultobj;
2827 fail:
2828 return NULL;
2829 }
2830
2831
2832 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2833 PyObject *resultobj;
2834 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2835 double arg2 ;
2836 double arg3 ;
2837 int arg4 = (int) 0 ;
2838 int arg5 = (int) 0 ;
2839 PyObject * obj0 = 0 ;
2840 PyObject * obj1 = 0 ;
2841 PyObject * obj2 = 0 ;
2842 PyObject * obj3 = 0 ;
2843 PyObject * obj4 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2851 arg2 = (double) SWIG_AsDouble(obj1);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 arg3 = (double) SWIG_AsDouble(obj2);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 if (obj3) {
2856 arg4 = (int) SWIG_AsInt(obj3);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 if (obj4) {
2860 arg5 = (int) SWIG_AsInt(obj4);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 {
2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
2865 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2866
2867 wxPyEndAllowThreads(__tstate);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 Py_INCREF(Py_None); resultobj = Py_None;
2871 return resultobj;
2872 fail:
2873 return NULL;
2874 }
2875
2876
2877 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2878 PyObject *resultobj;
2879 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2880 bool arg2 ;
2881 double arg3 ;
2882 double arg4 ;
2883 int arg5 = (int) 0 ;
2884 int arg6 = (int) 0 ;
2885 PyObject * obj0 = 0 ;
2886 PyObject * obj1 = 0 ;
2887 PyObject * obj2 = 0 ;
2888 PyObject * obj3 = 0 ;
2889 PyObject * obj4 = 0 ;
2890 PyObject * obj5 = 0 ;
2891 char *kwnames[] = {
2892 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2893 };
2894
2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2898 arg2 = (bool) SWIG_AsBool(obj1);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 arg3 = (double) SWIG_AsDouble(obj2);
2901 if (PyErr_Occurred()) SWIG_fail;
2902 arg4 = (double) SWIG_AsDouble(obj3);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 if (obj4) {
2905 arg5 = (int) SWIG_AsInt(obj4);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 if (obj5) {
2909 arg6 = (int) SWIG_AsInt(obj5);
2910 if (PyErr_Occurred()) SWIG_fail;
2911 }
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2929 double arg2 ;
2930 double arg3 ;
2931 int arg4 = (int) 0 ;
2932 int arg5 = (int) 0 ;
2933 PyObject * obj0 = 0 ;
2934 PyObject * obj1 = 0 ;
2935 PyObject * obj2 = 0 ;
2936 PyObject * obj3 = 0 ;
2937 PyObject * obj4 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2945 arg2 = (double) SWIG_AsDouble(obj1);
2946 if (PyErr_Occurred()) SWIG_fail;
2947 arg3 = (double) SWIG_AsDouble(obj2);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 if (obj3) {
2950 arg4 = (int) SWIG_AsInt(obj3);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 if (obj4) {
2954 arg5 = (int) SWIG_AsInt(obj4);
2955 if (PyErr_Occurred()) SWIG_fail;
2956 }
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 Py_INCREF(Py_None); resultobj = Py_None;
2965 return resultobj;
2966 fail:
2967 return NULL;
2968 }
2969
2970
2971 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject *resultobj;
2973 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2974 double arg2 ;
2975 double arg3 ;
2976 int arg4 = (int) 0 ;
2977 int arg5 = (int) 0 ;
2978 PyObject * obj0 = 0 ;
2979 PyObject * obj1 = 0 ;
2980 PyObject * obj2 = 0 ;
2981 PyObject * obj3 = 0 ;
2982 PyObject * obj4 = 0 ;
2983 char *kwnames[] = {
2984 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2985 };
2986
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2990 arg2 = (double) SWIG_AsDouble(obj1);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 arg3 = (double) SWIG_AsDouble(obj2);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 if (obj3) {
2995 arg4 = (int) SWIG_AsInt(obj3);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 if (obj4) {
2999 arg5 = (int) SWIG_AsInt(obj4);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 {
3003 PyThreadState* __tstate = wxPyBeginAllowThreads();
3004 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
3005
3006 wxPyEndAllowThreads(__tstate);
3007 if (PyErr_Occurred()) SWIG_fail;
3008 }
3009 Py_INCREF(Py_None); resultobj = Py_None;
3010 return resultobj;
3011 fail:
3012 return NULL;
3013 }
3014
3015
3016 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3017 PyObject *resultobj;
3018 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3019 wxDC *arg2 = 0 ;
3020 double arg3 ;
3021 double arg4 ;
3022 double arg5 ;
3023 double arg6 ;
3024 PyObject * obj0 = 0 ;
3025 PyObject * obj1 = 0 ;
3026 PyObject * obj2 = 0 ;
3027 PyObject * obj3 = 0 ;
3028 PyObject * obj4 = 0 ;
3029 PyObject * obj5 = 0 ;
3030 char *kwnames[] = {
3031 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3032 };
3033
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3038 SWIG_POINTER_EXCEPTION | 0)) == -1)
3039 SWIG_fail;
3040 if (arg2 == NULL) {
3041 PyErr_SetString(PyExc_TypeError,"null reference");
3042 SWIG_fail;
3043 }
3044 arg3 = (double) SWIG_AsDouble(obj2);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 arg4 = (double) SWIG_AsDouble(obj3);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 arg5 = (double) SWIG_AsDouble(obj4);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 arg6 = (double) SWIG_AsDouble(obj5);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 {
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3055
3056 wxPyEndAllowThreads(__tstate);
3057 if (PyErr_Occurred()) SWIG_fail;
3058 }
3059 Py_INCREF(Py_None); resultobj = Py_None;
3060 return resultobj;
3061 fail:
3062 return NULL;
3063 }
3064
3065
3066 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3067 PyObject *resultobj;
3068 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3069 wxDC *arg2 = 0 ;
3070 PyObject * obj0 = 0 ;
3071 PyObject * obj1 = 0 ;
3072 char *kwnames[] = {
3073 (char *) "self",(char *) "dc", NULL
3074 };
3075
3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
3077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3080 SWIG_POINTER_EXCEPTION | 0)) == -1)
3081 SWIG_fail;
3082 if (arg2 == NULL) {
3083 PyErr_SetString(PyExc_TypeError,"null reference");
3084 SWIG_fail;
3085 }
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 (arg1)->base_OnDrawControlPoints(*arg2);
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 Py_INCREF(Py_None); resultobj = Py_None;
3094 return resultobj;
3095 fail:
3096 return NULL;
3097 }
3098
3099
3100 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject *resultobj;
3102 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3103 wxDC *arg2 = 0 ;
3104 PyObject * obj0 = 0 ;
3105 PyObject * obj1 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self",(char *) "dc", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3114 SWIG_POINTER_EXCEPTION | 0)) == -1)
3115 SWIG_fail;
3116 if (arg2 == NULL) {
3117 PyErr_SetString(PyExc_TypeError,"null reference");
3118 SWIG_fail;
3119 }
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 (arg1)->base_OnEraseControlPoints(*arg2);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 Py_INCREF(Py_None); resultobj = Py_None;
3128 return resultobj;
3129 fail:
3130 return NULL;
3131 }
3132
3133
3134 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3135 PyObject *resultobj;
3136 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3137 wxDC *arg2 = 0 ;
3138 bool arg3 = (bool) True ;
3139 PyObject * obj0 = 0 ;
3140 PyObject * obj1 = 0 ;
3141 PyObject * obj2 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
3147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3150 SWIG_POINTER_EXCEPTION | 0)) == -1)
3151 SWIG_fail;
3152 if (arg2 == NULL) {
3153 PyErr_SetString(PyExc_TypeError,"null reference");
3154 SWIG_fail;
3155 }
3156 if (obj2) {
3157 arg3 = (bool) SWIG_AsBool(obj2);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 (arg1)->base_OnMoveLink(*arg2,arg3);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 Py_INCREF(Py_None); resultobj = Py_None;
3168 return resultobj;
3169 fail:
3170 return NULL;
3171 }
3172
3173
3174 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj;
3176 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3177 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3178 bool arg3 ;
3179 double arg4 ;
3180 double arg5 ;
3181 int arg6 = (int) 0 ;
3182 int arg7 = (int) 0 ;
3183 PyObject * obj0 = 0 ;
3184 PyObject * obj1 = 0 ;
3185 PyObject * obj2 = 0 ;
3186 PyObject * obj3 = 0 ;
3187 PyObject * obj4 = 0 ;
3188 PyObject * obj5 = 0 ;
3189 PyObject * obj6 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3199 arg3 = (bool) SWIG_AsBool(obj2);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 arg4 = (double) SWIG_AsDouble(obj3);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 arg5 = (double) SWIG_AsDouble(obj4);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 if (obj5) {
3206 arg6 = (int) SWIG_AsInt(obj5);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 if (obj6) {
3210 arg7 = (int) SWIG_AsInt(obj6);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 Py_INCREF(Py_None); resultobj = Py_None;
3221 return resultobj;
3222 fail:
3223 return NULL;
3224 }
3225
3226
3227 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3230 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3231 double arg3 ;
3232 double arg4 ;
3233 int arg5 = (int) 0 ;
3234 int arg6 = (int) 0 ;
3235 PyObject * obj0 = 0 ;
3236 PyObject * obj1 = 0 ;
3237 PyObject * obj2 = 0 ;
3238 PyObject * obj3 = 0 ;
3239 PyObject * obj4 = 0 ;
3240 PyObject * obj5 = 0 ;
3241 char *kwnames[] = {
3242 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3243 };
3244
3245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3250 arg3 = (double) SWIG_AsDouble(obj2);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 arg4 = (double) SWIG_AsDouble(obj3);
3253 if (PyErr_Occurred()) SWIG_fail;
3254 if (obj4) {
3255 arg5 = (int) SWIG_AsInt(obj4);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 if (obj5) {
3259 arg6 = (int) SWIG_AsInt(obj5);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
3265
3266 wxPyEndAllowThreads(__tstate);
3267 if (PyErr_Occurred()) SWIG_fail;
3268 }
3269 Py_INCREF(Py_None); resultobj = Py_None;
3270 return resultobj;
3271 fail:
3272 return NULL;
3273 }
3274
3275
3276 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3277 PyObject *resultobj;
3278 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3279 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3280 double arg3 ;
3281 double arg4 ;
3282 int arg5 = (int) 0 ;
3283 int arg6 = (int) 0 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 PyObject * obj2 = 0 ;
3287 PyObject * obj3 = 0 ;
3288 PyObject * obj4 = 0 ;
3289 PyObject * obj5 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3299 arg3 = (double) SWIG_AsDouble(obj2);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 arg4 = (double) SWIG_AsDouble(obj3);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 if (obj4) {
3304 arg5 = (int) SWIG_AsInt(obj4);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 if (obj5) {
3308 arg6 = (int) SWIG_AsInt(obj5);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 }
3318 Py_INCREF(Py_None); resultobj = Py_None;
3319 return resultobj;
3320 fail:
3321 return NULL;
3322 }
3323
3324
3325 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3326 PyObject *resultobj;
3327 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3328 double arg2 ;
3329 double arg3 ;
3330 PyObject * obj0 = 0 ;
3331 PyObject * obj1 = 0 ;
3332 PyObject * obj2 = 0 ;
3333 char *kwnames[] = {
3334 (char *) "self",(char *) "w",(char *) "h", NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3340 arg2 = (double) SWIG_AsDouble(obj1);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 arg3 = (double) SWIG_AsDouble(obj2);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 {
3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
3346 (arg1)->base_OnBeginSize(arg2,arg3);
3347
3348 wxPyEndAllowThreads(__tstate);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
3351 Py_INCREF(Py_None); resultobj = Py_None;
3352 return resultobj;
3353 fail:
3354 return NULL;
3355 }
3356
3357
3358 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3359 PyObject *resultobj;
3360 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3361 double arg2 ;
3362 double arg3 ;
3363 PyObject * obj0 = 0 ;
3364 PyObject * obj1 = 0 ;
3365 PyObject * obj2 = 0 ;
3366 char *kwnames[] = {
3367 (char *) "self",(char *) "w",(char *) "h", NULL
3368 };
3369
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3373 arg2 = (double) SWIG_AsDouble(obj1);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 arg3 = (double) SWIG_AsDouble(obj2);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 (arg1)->base_OnEndSize(arg2,arg3);
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 Py_INCREF(Py_None); resultobj = Py_None;
3385 return resultobj;
3386 fail:
3387 return NULL;
3388 }
3389
3390
3391 static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
3392 PyObject *obj;
3393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3394 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3395 Py_INCREF(obj);
3396 return Py_BuildValue((char *)"");
3397 }
3398 static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3401 wxPyShape *result;
3402 PyObject * obj0 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "can", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3408 if (obj0) {
3409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
3410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3411 }
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 result = (wxPyShape *)new wxPyShape(arg1);
3415
3416 wxPyEndAllowThreads(__tstate);
3417 if (PyErr_Occurred()) SWIG_fail;
3418 }
3419 {
3420 resultobj = wxPyMake_wxShapeEvtHandler(result);
3421 }
3422 return resultobj;
3423 fail:
3424 return NULL;
3425 }
3426
3427
3428 static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 wxPyShape *arg1 = (wxPyShape *) 0 ;
3431 PyObject *arg2 = (PyObject *) 0 ;
3432 PyObject *arg3 = (PyObject *) 0 ;
3433 PyObject * obj0 = 0 ;
3434 PyObject * obj1 = 0 ;
3435 PyObject * obj2 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self",(char *) "self",(char *) "_class", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3443 arg2 = obj1;
3444 arg3 = obj2;
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 (arg1)->_setCallbackInfo(arg2,arg3);
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 Py_INCREF(Py_None); resultobj = Py_None;
3453 return resultobj;
3454 fail:
3455 return NULL;
3456 }
3457
3458
3459 static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject *resultobj;
3461 wxPyShape *arg1 = (wxPyShape *) 0 ;
3462 double *arg2 = (double *) 0 ;
3463 double *arg3 = (double *) 0 ;
3464 double temp2 ;
3465 double temp3 ;
3466 PyObject * obj0 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self", NULL
3469 };
3470
3471 arg2 = &temp2;
3472 arg3 = &temp3;
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
3474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 (arg1)->GetBoundingBoxMax(arg2,arg3);
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 Py_INCREF(Py_None); resultobj = Py_None;
3484 {
3485 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3486 resultobj = t_output_helper(resultobj,o);
3487 }
3488 {
3489 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3490 resultobj = t_output_helper(resultobj,o);
3491 }
3492 return resultobj;
3493 fail:
3494 return NULL;
3495 }
3496
3497
3498 static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3499 PyObject *resultobj;
3500 wxPyShape *arg1 = (wxPyShape *) 0 ;
3501 double *arg2 = (double *) 0 ;
3502 double *arg3 = (double *) 0 ;
3503 double temp2 ;
3504 double temp3 ;
3505 PyObject * obj0 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self", NULL
3508 };
3509
3510 arg2 = &temp2;
3511 arg3 = &temp3;
3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
3513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 (arg1)->GetBoundingBoxMin(arg2,arg3);
3518
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
3522 Py_INCREF(Py_None); resultobj = Py_None;
3523 {
3524 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3525 resultobj = t_output_helper(resultobj,o);
3526 }
3527 {
3528 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3529 resultobj = t_output_helper(resultobj,o);
3530 }
3531 return resultobj;
3532 fail:
3533 return NULL;
3534 }
3535
3536
3537 static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxPyShape *arg1 = (wxPyShape *) 0 ;
3540 double arg2 ;
3541 double arg3 ;
3542 double arg4 ;
3543 double arg5 ;
3544 double *arg6 = (double *) 0 ;
3545 double *arg7 = (double *) 0 ;
3546 bool result;
3547 double temp6 ;
3548 double temp7 ;
3549 PyObject * obj0 = 0 ;
3550 PyObject * obj1 = 0 ;
3551 PyObject * obj2 = 0 ;
3552 PyObject * obj3 = 0 ;
3553 PyObject * obj4 = 0 ;
3554 char *kwnames[] = {
3555 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3556 };
3557
3558 arg6 = &temp6;
3559 arg7 = &temp7;
3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3563 arg2 = (double) SWIG_AsDouble(obj1);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 arg3 = (double) SWIG_AsDouble(obj2);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 arg4 = (double) SWIG_AsDouble(obj3);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 arg5 = (double) SWIG_AsDouble(obj4);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 {
3579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3580 }
3581 {
3582 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3583 resultobj = t_output_helper(resultobj,o);
3584 }
3585 {
3586 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3587 resultobj = t_output_helper(resultobj,o);
3588 }
3589 return resultobj;
3590 fail:
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxPyShape *arg1 = (wxPyShape *) 0 ;
3598 wxPyShapeCanvas *result;
3599 PyObject * obj0 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
3614 {
3615 resultobj = wxPyMake_wxObject(result);
3616 }
3617 return resultobj;
3618 fail:
3619 return NULL;
3620 }
3621
3622
3623 static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject *resultobj;
3625 wxPyShape *arg1 = (wxPyShape *) 0 ;
3626 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self",(char *) "the_canvas", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
3634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 (arg1)->SetCanvas(arg2);
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 Py_INCREF(Py_None); resultobj = Py_None;
3646 return resultobj;
3647 fail:
3648 return NULL;
3649 }
3650
3651
3652 static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3653 PyObject *resultobj;
3654 wxPyShape *arg1 = (wxPyShape *) 0 ;
3655 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3656 wxPyShape *arg3 = (wxPyShape *) NULL ;
3657 PyObject * obj0 = 0 ;
3658 PyObject * obj1 = 0 ;
3659 PyObject * obj2 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
3665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3669 if (obj2) {
3670 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
3671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3672 }
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 (arg1)->AddToCanvas(arg2,arg3);
3676
3677 wxPyEndAllowThreads(__tstate);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 Py_INCREF(Py_None); resultobj = Py_None;
3681 return resultobj;
3682 fail:
3683 return NULL;
3684 }
3685
3686
3687 static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3688 PyObject *resultobj;
3689 wxPyShape *arg1 = (wxPyShape *) 0 ;
3690 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3691 PyObject * obj0 = 0 ;
3692 PyObject * obj1 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self",(char *) "the_canvas", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
3698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 (arg1)->InsertInCanvas(arg2);
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 Py_INCREF(Py_None); resultobj = Py_None;
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 wxPyShape *arg1 = (wxPyShape *) 0 ;
3719 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3720 PyObject * obj0 = 0 ;
3721 PyObject * obj1 = 0 ;
3722 char *kwnames[] = {
3723 (char *) "self",(char *) "the_canvas", NULL
3724 };
3725
3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
3727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 (arg1)->RemoveFromCanvas(arg2);
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 Py_INCREF(Py_None); resultobj = Py_None;
3739 return resultobj;
3740 fail:
3741 return NULL;
3742 }
3743
3744
3745 static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject *resultobj;
3747 wxPyShape *arg1 = (wxPyShape *) 0 ;
3748 double result;
3749 PyObject * obj0 = 0 ;
3750 char *kwnames[] = {
3751 (char *) "self", NULL
3752 };
3753
3754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
3755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3757 {
3758 PyThreadState* __tstate = wxPyBeginAllowThreads();
3759 result = (double)(arg1)->GetX();
3760
3761 wxPyEndAllowThreads(__tstate);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 }
3764 resultobj = SWIG_FromDouble((double)result);
3765 return resultobj;
3766 fail:
3767 return NULL;
3768 }
3769
3770
3771 static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3772 PyObject *resultobj;
3773 wxPyShape *arg1 = (wxPyShape *) 0 ;
3774 double result;
3775 PyObject * obj0 = 0 ;
3776 char *kwnames[] = {
3777 (char *) "self", NULL
3778 };
3779
3780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
3781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 result = (double)(arg1)->GetY();
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 resultobj = SWIG_FromDouble((double)result);
3791 return resultobj;
3792 fail:
3793 return NULL;
3794 }
3795
3796
3797 static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject *resultobj;
3799 wxPyShape *arg1 = (wxPyShape *) 0 ;
3800 double arg2 ;
3801 PyObject * obj0 = 0 ;
3802 PyObject * obj1 = 0 ;
3803 char *kwnames[] = {
3804 (char *) "self",(char *) "x", NULL
3805 };
3806
3807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
3808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3810 arg2 = (double) SWIG_AsDouble(obj1);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 (arg1)->SetX(arg2);
3815
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 Py_INCREF(Py_None); resultobj = Py_None;
3820 return resultobj;
3821 fail:
3822 return NULL;
3823 }
3824
3825
3826 static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3827 PyObject *resultobj;
3828 wxPyShape *arg1 = (wxPyShape *) 0 ;
3829 double arg2 ;
3830 PyObject * obj0 = 0 ;
3831 PyObject * obj1 = 0 ;
3832 char *kwnames[] = {
3833 (char *) "self",(char *) "y", NULL
3834 };
3835
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
3837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3839 arg2 = (double) SWIG_AsDouble(obj1);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 (arg1)->SetY(arg2);
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 Py_INCREF(Py_None); resultobj = Py_None;
3849 return resultobj;
3850 fail:
3851 return NULL;
3852 }
3853
3854
3855 static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3856 PyObject *resultobj;
3857 wxPyShape *arg1 = (wxPyShape *) 0 ;
3858 wxPyShape *result;
3859 PyObject * obj0 = 0 ;
3860 char *kwnames[] = {
3861 (char *) "self", NULL
3862 };
3863
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3867 {
3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
3869 result = (wxPyShape *)(arg1)->GetParent();
3870
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 {
3875 resultobj = wxPyMake_wxShapeEvtHandler(result);
3876 }
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxPyShape *arg1 = (wxPyShape *) 0 ;
3886 wxPyShape *arg2 = (wxPyShape *) 0 ;
3887 PyObject * obj0 = 0 ;
3888 PyObject * obj1 = 0 ;
3889 char *kwnames[] = {
3890 (char *) "self",(char *) "p", NULL
3891 };
3892
3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
3897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 (arg1)->SetParent(arg2);
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 return resultobj;
3907 fail:
3908 return NULL;
3909 }
3910
3911
3912 static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxPyShape *arg1 = (wxPyShape *) 0 ;
3915 wxPyShape *result;
3916 PyObject * obj0 = 0 ;
3917 char *kwnames[] = {
3918 (char *) "self", NULL
3919 };
3920
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (wxPyShape *)(arg1)->GetTopAncestor();
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 {
3932 resultobj = wxPyMake_wxShapeEvtHandler(result);
3933 }
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 wxPyShape *arg1 = (wxPyShape *) 0 ;
3943 PyObject *result;
3944 PyObject * obj0 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "self", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 result = (PyObject *)wxPyShape_GetChildren(arg1);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 resultobj = result;
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 wxPyShape *arg1 = (wxPyShape *) 0 ;
3969 PyObject * obj0 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self", NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",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 (arg1)->Unlink();
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 Py_INCREF(Py_None); resultobj = Py_None;
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxPyShape *arg1 = (wxPyShape *) 0 ;
3994 bool arg2 ;
3995 PyObject * obj0 = 0 ;
3996 PyObject * obj1 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "self",(char *) "drawH", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4004 arg2 = (bool) SWIG_AsBool(obj1);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 (arg1)->SetDrawHandles(arg2);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxPyShape *arg1 = (wxPyShape *) 0 ;
4023 bool result;
4024 PyObject * obj0 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 result = (bool)(arg1)->GetDrawHandles();
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 {
4040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4041 }
4042 return resultobj;
4043 fail:
4044 return NULL;
4045 }
4046
4047
4048 static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4049 PyObject *resultobj;
4050 wxPyShape *arg1 = (wxPyShape *) 0 ;
4051 PyObject * obj0 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "self", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
4057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 (arg1)->MakeControlPoints();
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 Py_INCREF(Py_None); resultobj = Py_None;
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject *resultobj;
4075 wxPyShape *arg1 = (wxPyShape *) 0 ;
4076 wxDC *arg2 = (wxDC *) NULL ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj1 = 0 ;
4079 char *kwnames[] = {
4080 (char *) "self",(char *) "dc", NULL
4081 };
4082
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
4084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4086 if (obj1) {
4087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4089 }
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 (arg1)->DeleteControlPoints(arg2);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 Py_INCREF(Py_None); resultobj = Py_None;
4098 return resultobj;
4099 fail:
4100 return NULL;
4101 }
4102
4103
4104 static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj;
4106 wxPyShape *arg1 = (wxPyShape *) 0 ;
4107 PyObject * obj0 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 (arg1)->ResetControlPoints();
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_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject *resultobj;
4131 wxPyShape *arg1 = (wxPyShape *) 0 ;
4132 wxPyShapeEvtHandler *result;
4133 PyObject * obj0 = 0 ;
4134 char *kwnames[] = {
4135 (char *) "self", NULL
4136 };
4137
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
4139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 {
4149 resultobj = wxPyMake_wxShapeEvtHandler(result);
4150 }
4151 return resultobj;
4152 fail:
4153 return NULL;
4154 }
4155
4156
4157 static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxPyShape *arg1 = (wxPyShape *) 0 ;
4160 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4161 PyObject * obj0 = 0 ;
4162 PyObject * obj1 = 0 ;
4163 char *kwnames[] = {
4164 (char *) "self",(char *) "handler", NULL
4165 };
4166
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
4168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
4171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 (arg1)->SetEventHandler(arg2);
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 Py_INCREF(Py_None); resultobj = Py_None;
4180 return resultobj;
4181 fail:
4182 return NULL;
4183 }
4184
4185
4186 static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj;
4188 wxPyShape *arg1 = (wxPyShape *) 0 ;
4189 PyObject * obj0 = 0 ;
4190 char *kwnames[] = {
4191 (char *) "self", NULL
4192 };
4193
4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
4195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 (arg1)->MakeMandatoryControlPoints();
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_ResetMandatoryControlPoints(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_ResetMandatoryControlPoints",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)->ResetMandatoryControlPoints();
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_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj;
4238 wxPyShape *arg1 = (wxPyShape *) 0 ;
4239 bool result;
4240 PyObject * obj0 = 0 ;
4241 char *kwnames[] = {
4242 (char *) "self", NULL
4243 };
4244
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
4246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 result = (bool)(arg1)->Recompute();
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 {
4256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4257 }
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxPyShape *arg1 = (wxPyShape *) 0 ;
4267 PyObject * obj0 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
4273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 (arg1)->CalculateSize();
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 Py_INCREF(Py_None); resultobj = Py_None;
4283 return resultobj;
4284 fail:
4285 return NULL;
4286 }
4287
4288
4289 static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxPyShape *arg1 = (wxPyShape *) 0 ;
4292 bool arg2 = (bool) True ;
4293 wxDC *arg3 = (wxDC *) NULL ;
4294 PyObject * obj0 = 0 ;
4295 PyObject * obj1 = 0 ;
4296 PyObject * obj2 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "self",(char *) "select",(char *) "dc", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
4302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4304 if (obj1) {
4305 arg2 = (bool) SWIG_AsBool(obj1);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 if (obj2) {
4309 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
4310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4311 }
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 (arg1)->Select(arg2,arg3);
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 Py_INCREF(Py_None); resultobj = Py_None;
4320 return resultobj;
4321 fail:
4322 return NULL;
4323 }
4324
4325
4326 static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj;
4328 wxPyShape *arg1 = (wxPyShape *) 0 ;
4329 bool arg2 = (bool) True ;
4330 bool arg3 = (bool) False ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4333 PyObject * obj2 = 0 ;
4334 char *kwnames[] = {
4335 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
4339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4341 if (obj1) {
4342 arg2 = (bool) SWIG_AsBool(obj1);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 if (obj2) {
4346 arg3 = (bool) SWIG_AsBool(obj2);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 (arg1)->SetHighlight(arg2,arg3);
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 Py_INCREF(Py_None); resultobj = Py_None;
4357 return resultobj;
4358 fail:
4359 return NULL;
4360 }
4361
4362
4363 static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj;
4365 wxPyShape *arg1 = (wxPyShape *) 0 ;
4366 bool result;
4367 PyObject * obj0 = 0 ;
4368 char *kwnames[] = {
4369 (char *) "self", NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
4373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 result = (bool)(arg1)->IsHighlighted();
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 {
4383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4384 }
4385 return resultobj;
4386 fail:
4387 return NULL;
4388 }
4389
4390
4391 static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj;
4393 wxPyShape *arg1 = (wxPyShape *) 0 ;
4394 bool result;
4395 PyObject * obj0 = 0 ;
4396 char *kwnames[] = {
4397 (char *) "self", NULL
4398 };
4399
4400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
4401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 result = (bool)(arg1)->Selected();
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4410 {
4411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4412 }
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj;
4421 wxPyShape *arg1 = (wxPyShape *) 0 ;
4422 bool result;
4423 PyObject * obj0 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
4429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 result = (bool)(arg1)->AncestorSelected();
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 {
4439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4440 }
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj;
4449 wxPyShape *arg1 = (wxPyShape *) 0 ;
4450 int arg2 = (int) OP_ALL ;
4451 bool arg3 = (bool) False ;
4452 PyObject * obj0 = 0 ;
4453 PyObject * obj1 = 0 ;
4454 PyObject * obj2 = 0 ;
4455 char *kwnames[] = {
4456 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4457 };
4458
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
4460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4462 if (obj1) {
4463 arg2 = (int) SWIG_AsInt(obj1);
4464 if (PyErr_Occurred()) SWIG_fail;
4465 }
4466 if (obj2) {
4467 arg3 = (bool) SWIG_AsBool(obj2);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 (arg1)->SetSensitivityFilter(arg2,arg3);
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 Py_INCREF(Py_None); resultobj = Py_None;
4478 return resultobj;
4479 fail:
4480 return NULL;
4481 }
4482
4483
4484 static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxPyShape *arg1 = (wxPyShape *) 0 ;
4487 int result;
4488 PyObject * obj0 = 0 ;
4489 char *kwnames[] = {
4490 (char *) "self", NULL
4491 };
4492
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
4494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4496 {
4497 PyThreadState* __tstate = wxPyBeginAllowThreads();
4498 result = (int)(arg1)->GetSensitivityFilter();
4499
4500 wxPyEndAllowThreads(__tstate);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 }
4503 resultobj = SWIG_FromInt((int)result);
4504 return resultobj;
4505 fail:
4506 return NULL;
4507 }
4508
4509
4510 static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
4511 PyObject *resultobj;
4512 wxPyShape *arg1 = (wxPyShape *) 0 ;
4513 bool arg2 ;
4514 bool arg3 = (bool) False ;
4515 PyObject * obj0 = 0 ;
4516 PyObject * obj1 = 0 ;
4517 PyObject * obj2 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
4523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4525 arg2 = (bool) SWIG_AsBool(obj1);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 if (obj2) {
4528 arg3 = (bool) SWIG_AsBool(obj2);
4529 if (PyErr_Occurred()) SWIG_fail;
4530 }
4531 {
4532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4533 (arg1)->SetDraggable(arg2,arg3);
4534
4535 wxPyEndAllowThreads(__tstate);
4536 if (PyErr_Occurred()) SWIG_fail;
4537 }
4538 Py_INCREF(Py_None); resultobj = Py_None;
4539 return resultobj;
4540 fail:
4541 return NULL;
4542 }
4543
4544
4545 static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4546 PyObject *resultobj;
4547 wxPyShape *arg1 = (wxPyShape *) 0 ;
4548 bool arg2 ;
4549 bool arg3 ;
4550 PyObject * obj0 = 0 ;
4551 PyObject * obj1 = 0 ;
4552 PyObject * obj2 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self",(char *) "x",(char *) "y", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4560 arg2 = (bool) SWIG_AsBool(obj1);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 arg3 = (bool) SWIG_AsBool(obj2);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 (arg1)->SetFixedSize(arg2,arg3);
4567
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 Py_INCREF(Py_None); resultobj = Py_None;
4572 return resultobj;
4573 fail:
4574 return NULL;
4575 }
4576
4577
4578 static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4579 PyObject *resultobj;
4580 wxPyShape *arg1 = (wxPyShape *) 0 ;
4581 bool *arg2 = (bool *) 0 ;
4582 bool *arg3 = (bool *) 0 ;
4583 bool temp2 ;
4584 bool temp3 ;
4585 PyObject * obj0 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self", NULL
4588 };
4589
4590 arg2 = &temp2;
4591 arg3 = &temp3;
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
4593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 (arg1)->GetFixedSize(arg2,arg3);
4598
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 Py_INCREF(Py_None); resultobj = Py_None;
4603 {
4604 PyObject *o = PyInt_FromLong((long) (*arg2));
4605 resultobj = t_output_helper(resultobj,o);
4606 }
4607 {
4608 PyObject *o = PyInt_FromLong((long) (*arg3));
4609 resultobj = t_output_helper(resultobj,o);
4610 }
4611 return resultobj;
4612 fail:
4613 return NULL;
4614 }
4615
4616
4617 static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4618 PyObject *resultobj;
4619 wxPyShape *arg1 = (wxPyShape *) 0 ;
4620 bool result;
4621 PyObject * obj0 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
4627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4629 {
4630 PyThreadState* __tstate = wxPyBeginAllowThreads();
4631 result = (bool)(arg1)->GetFixedWidth();
4632
4633 wxPyEndAllowThreads(__tstate);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 {
4637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4638 }
4639 return resultobj;
4640 fail:
4641 return NULL;
4642 }
4643
4644
4645 static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxPyShape *arg1 = (wxPyShape *) 0 ;
4648 bool result;
4649 PyObject * obj0 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
4655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 result = (bool)(arg1)->GetFixedHeight();
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 {
4665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4666 }
4667 return resultobj;
4668 fail:
4669 return NULL;
4670 }
4671
4672
4673 static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxPyShape *arg1 = (wxPyShape *) 0 ;
4676 bool arg2 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self",(char *) "sp", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4686 arg2 = (bool) SWIG_AsBool(obj1);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 {
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 (arg1)->SetSpaceAttachments(arg2);
4691
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 Py_INCREF(Py_None); resultobj = Py_None;
4696 return resultobj;
4697 fail:
4698 return NULL;
4699 }
4700
4701
4702 static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4703 PyObject *resultobj;
4704 wxPyShape *arg1 = (wxPyShape *) 0 ;
4705 bool result;
4706 PyObject * obj0 = 0 ;
4707 char *kwnames[] = {
4708 (char *) "self", NULL
4709 };
4710
4711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
4712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4714 {
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 result = (bool)(arg1)->GetSpaceAttachments();
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 {
4722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4723 }
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxPyShape *arg1 = (wxPyShape *) 0 ;
4733 int arg2 ;
4734 bool arg3 = (bool) False ;
4735 PyObject * obj0 = 0 ;
4736 PyObject * obj1 = 0 ;
4737 PyObject * obj2 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4745 arg2 = (int) SWIG_AsInt(obj1);
4746 if (PyErr_Occurred()) SWIG_fail;
4747 if (obj2) {
4748 arg3 = (bool) SWIG_AsBool(obj2);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 {
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 (arg1)->SetShadowMode(arg2,arg3);
4754
4755 wxPyEndAllowThreads(__tstate);
4756 if (PyErr_Occurred()) SWIG_fail;
4757 }
4758 Py_INCREF(Py_None); resultobj = Py_None;
4759 return resultobj;
4760 fail:
4761 return NULL;
4762 }
4763
4764
4765 static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxPyShape *arg1 = (wxPyShape *) 0 ;
4768 int result;
4769 PyObject * obj0 = 0 ;
4770 char *kwnames[] = {
4771 (char *) "self", NULL
4772 };
4773
4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
4775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (int)(arg1)->GetShadowMode();
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = SWIG_FromInt((int)result);
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxPyShape *arg1 = (wxPyShape *) 0 ;
4794 double arg2 ;
4795 double arg3 ;
4796 int *arg4 = (int *) 0 ;
4797 double *arg5 = (double *) 0 ;
4798 bool result;
4799 int temp4 ;
4800 double temp5 ;
4801 PyObject * obj0 = 0 ;
4802 PyObject * obj1 = 0 ;
4803 PyObject * obj2 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self",(char *) "x",(char *) "y", NULL
4806 };
4807
4808 arg4 = &temp4;
4809 arg5 = &temp5;
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
4811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4813 arg2 = (double) SWIG_AsDouble(obj1);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 arg3 = (double) SWIG_AsDouble(obj2);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 {
4818 PyThreadState* __tstate = wxPyBeginAllowThreads();
4819 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4820
4821 wxPyEndAllowThreads(__tstate);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 {
4825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4826 }
4827 {
4828 PyObject *o = PyInt_FromLong((long) (*arg4));
4829 resultobj = t_output_helper(resultobj,o);
4830 }
4831 {
4832 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4833 resultobj = t_output_helper(resultobj,o);
4834 }
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxPyShape *arg1 = (wxPyShape *) 0 ;
4844 bool arg2 ;
4845 PyObject * obj0 = 0 ;
4846 PyObject * obj1 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self",(char *) "cr", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4854 arg2 = (bool) SWIG_AsBool(obj1);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 (arg1)->SetCentreResize(arg2);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 Py_INCREF(Py_None); resultobj = Py_None;
4864 return resultobj;
4865 fail:
4866 return NULL;
4867 }
4868
4869
4870 static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxPyShape *arg1 = (wxPyShape *) 0 ;
4873 bool result;
4874 PyObject * obj0 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 result = (bool)(arg1)->GetCentreResize();
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 {
4890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4891 }
4892 return resultobj;
4893 fail:
4894 return NULL;
4895 }
4896
4897
4898 static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject *resultobj;
4900 wxPyShape *arg1 = (wxPyShape *) 0 ;
4901 bool arg2 ;
4902 PyObject * obj0 = 0 ;
4903 PyObject * obj1 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "self",(char *) "ar", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4911 arg2 = (bool) SWIG_AsBool(obj1);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 (arg1)->SetMaintainAspectRatio(arg2);
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 Py_INCREF(Py_None); resultobj = Py_None;
4921 return resultobj;
4922 fail:
4923 return NULL;
4924 }
4925
4926
4927 static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxPyShape *arg1 = (wxPyShape *) 0 ;
4930 bool result;
4931 PyObject * obj0 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 result = (bool)(arg1)->GetMaintainAspectRatio();
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 {
4947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4948 }
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxPyShape *arg1 = (wxPyShape *) 0 ;
4958 PyObject *result;
4959 PyObject * obj0 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 result = (PyObject *)wxPyShape_GetLines(arg1);
4970
4971 wxPyEndAllowThreads(__tstate);
4972 if (PyErr_Occurred()) SWIG_fail;
4973 }
4974 resultobj = result;
4975 return resultobj;
4976 fail:
4977 return NULL;
4978 }
4979
4980
4981 static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4982 PyObject *resultobj;
4983 wxPyShape *arg1 = (wxPyShape *) 0 ;
4984 bool arg2 ;
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj1 = 0 ;
4987 char *kwnames[] = {
4988 (char *) "self",(char *) "flag", NULL
4989 };
4990
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4994 arg2 = (bool) SWIG_AsBool(obj1);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 (arg1)->SetDisableLabel(arg2);
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 Py_INCREF(Py_None); resultobj = Py_None;
5004 return resultobj;
5005 fail:
5006 return NULL;
5007 }
5008
5009
5010 static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5011 PyObject *resultobj;
5012 wxPyShape *arg1 = (wxPyShape *) 0 ;
5013 bool result;
5014 PyObject * obj0 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5022 {
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 result = (bool)(arg1)->GetDisableLabel();
5025
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 {
5030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5031 }
5032 return resultobj;
5033 fail:
5034 return NULL;
5035 }
5036
5037
5038 static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5039 PyObject *resultobj;
5040 wxPyShape *arg1 = (wxPyShape *) 0 ;
5041 int arg2 ;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj1 = 0 ;
5044 char *kwnames[] = {
5045 (char *) "self",(char *) "mode", NULL
5046 };
5047
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
5049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5051 arg2 = (int) SWIG_AsInt(obj1);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 (arg1)->SetAttachmentMode(arg2);
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 Py_INCREF(Py_None); resultobj = Py_None;
5061 return resultobj;
5062 fail:
5063 return NULL;
5064 }
5065
5066
5067 static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxPyShape *arg1 = (wxPyShape *) 0 ;
5070 int result;
5071 PyObject * obj0 = 0 ;
5072 char *kwnames[] = {
5073 (char *) "self", NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
5077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 result = (int)(arg1)->GetAttachmentMode();
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 resultobj = SWIG_FromInt((int)result);
5087 return resultobj;
5088 fail:
5089 return NULL;
5090 }
5091
5092
5093 static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxPyShape *arg1 = (wxPyShape *) 0 ;
5096 long arg2 ;
5097 PyObject * obj0 = 0 ;
5098 PyObject * obj1 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self",(char *) "i", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
5104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5106 arg2 = (long) SWIG_AsLong(obj1);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 (arg1)->SetId(arg2);
5111
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 Py_INCREF(Py_None); resultobj = Py_None;
5116 return resultobj;
5117 fail:
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxPyShape *arg1 = (wxPyShape *) 0 ;
5125 long result;
5126 PyObject * obj0 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
5132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = (long)(arg1)->GetId();
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_FromLong((long)result);
5142 return resultobj;
5143 fail:
5144 return NULL;
5145 }
5146
5147
5148 static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj;
5150 wxPyShape *arg1 = (wxPyShape *) 0 ;
5151 wxPen *arg2 = (wxPen *) 0 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char *kwnames[] = {
5155 (char *) "self",(char *) "pen", NULL
5156 };
5157
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
5159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5161 {
5162 wxPen* temp;
5163 if (obj1) {
5164 if (obj1 == Py_None) {
5165 temp = NULL;
5166 }
5167 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5168 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5169 return NULL;
5170 }
5171 }
5172 if (temp)
5173 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5174 temp->GetWidth(),
5175 temp->GetStyle());
5176 else
5177 arg2 = NULL;
5178 }
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 (arg1)->SetPen(arg2);
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 Py_INCREF(Py_None); resultobj = Py_None;
5187 return resultobj;
5188 fail:
5189 return NULL;
5190 }
5191
5192
5193 static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj;
5195 wxPyShape *arg1 = (wxPyShape *) 0 ;
5196 wxBrush *arg2 = (wxBrush *) 0 ;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "brush", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 {
5207 wxBrush* temp;
5208 if (obj1) {
5209 if (obj1 == Py_None) {
5210 temp = NULL;
5211 }
5212 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5213 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5214 return NULL;
5215 }
5216 }
5217 if (temp)
5218 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5219 else
5220 arg2 = NULL;
5221 }
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 (arg1)->SetBrush(arg2);
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 Py_INCREF(Py_None); resultobj = Py_None;
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj;
5238 wxPyShape *arg1 = (wxPyShape *) 0 ;
5239 bool arg2 ;
5240 PyObject * obj0 = 0 ;
5241 PyObject * obj1 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self",(char *) "show", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5249 arg2 = (bool) SWIG_AsBool(obj1);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 (arg1)->Show(arg2);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 Py_INCREF(Py_None); resultobj = Py_None;
5259 return resultobj;
5260 fail:
5261 return NULL;
5262 }
5263
5264
5265 static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxPyShape *arg1 = (wxPyShape *) 0 ;
5268 bool result;
5269 PyObject * obj0 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
5275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (bool)(arg1)->IsShown();
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 {
5285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5286 }
5287 return resultobj;
5288 fail:
5289 return NULL;
5290 }
5291
5292
5293 static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj;
5295 wxPyShape *arg1 = (wxPyShape *) 0 ;
5296 wxDC *arg2 = 0 ;
5297 double arg3 ;
5298 double arg4 ;
5299 bool arg5 = (bool) True ;
5300 PyObject * obj0 = 0 ;
5301 PyObject * obj1 = 0 ;
5302 PyObject * obj2 = 0 ;
5303 PyObject * obj3 = 0 ;
5304 PyObject * obj4 = 0 ;
5305 char *kwnames[] = {
5306 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5307 };
5308
5309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5313 SWIG_POINTER_EXCEPTION | 0)) == -1)
5314 SWIG_fail;
5315 if (arg2 == NULL) {
5316 PyErr_SetString(PyExc_TypeError,"null reference");
5317 SWIG_fail;
5318 }
5319 arg3 = (double) SWIG_AsDouble(obj2);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 arg4 = (double) SWIG_AsDouble(obj3);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 if (obj4) {
5324 arg5 = (bool) SWIG_AsBool(obj4);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 {
5328 PyThreadState* __tstate = wxPyBeginAllowThreads();
5329 (arg1)->Move(*arg2,arg3,arg4,arg5);
5330
5331 wxPyEndAllowThreads(__tstate);
5332 if (PyErr_Occurred()) SWIG_fail;
5333 }
5334 Py_INCREF(Py_None); resultobj = Py_None;
5335 return resultobj;
5336 fail:
5337 return NULL;
5338 }
5339
5340
5341 static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj;
5343 wxPyShape *arg1 = (wxPyShape *) 0 ;
5344 wxDC *arg2 = 0 ;
5345 PyObject * obj0 = 0 ;
5346 PyObject * obj1 = 0 ;
5347 char *kwnames[] = {
5348 (char *) "self",(char *) "dc", NULL
5349 };
5350
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
5352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5355 SWIG_POINTER_EXCEPTION | 0)) == -1)
5356 SWIG_fail;
5357 if (arg2 == NULL) {
5358 PyErr_SetString(PyExc_TypeError,"null reference");
5359 SWIG_fail;
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 (arg1)->Erase(*arg2);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 Py_INCREF(Py_None); resultobj = Py_None;
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxPyShape *arg1 = (wxPyShape *) 0 ;
5378 wxDC *arg2 = 0 ;
5379 PyObject * obj0 = 0 ;
5380 PyObject * obj1 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "dc", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5389 SWIG_POINTER_EXCEPTION | 0)) == -1)
5390 SWIG_fail;
5391 if (arg2 == NULL) {
5392 PyErr_SetString(PyExc_TypeError,"null reference");
5393 SWIG_fail;
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 (arg1)->EraseContents(*arg2);
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 Py_INCREF(Py_None); resultobj = Py_None;
5403 return resultobj;
5404 fail:
5405 return NULL;
5406 }
5407
5408
5409 static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject *resultobj;
5411 wxPyShape *arg1 = (wxPyShape *) 0 ;
5412 wxDC *arg2 = 0 ;
5413 PyObject * obj0 = 0 ;
5414 PyObject * obj1 = 0 ;
5415 char *kwnames[] = {
5416 (char *) "self",(char *) "dc", NULL
5417 };
5418
5419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
5420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5423 SWIG_POINTER_EXCEPTION | 0)) == -1)
5424 SWIG_fail;
5425 if (arg2 == NULL) {
5426 PyErr_SetString(PyExc_TypeError,"null reference");
5427 SWIG_fail;
5428 }
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 (arg1)->Draw(*arg2);
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 Py_INCREF(Py_None); resultobj = Py_None;
5437 return resultobj;
5438 fail:
5439 return NULL;
5440 }
5441
5442
5443 static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
5444 PyObject *resultobj;
5445 wxPyShape *arg1 = (wxPyShape *) 0 ;
5446 PyObject * obj0 = 0 ;
5447 char *kwnames[] = {
5448 (char *) "self", NULL
5449 };
5450
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
5452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->Flash();
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_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj;
5470 wxPyShape *arg1 = (wxPyShape *) 0 ;
5471 wxDC *arg2 = 0 ;
5472 PyObject * obj0 = 0 ;
5473 PyObject * obj1 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "self",(char *) "dc", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
5479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5482 SWIG_POINTER_EXCEPTION | 0)) == -1)
5483 SWIG_fail;
5484 if (arg2 == NULL) {
5485 PyErr_SetString(PyExc_TypeError,"null reference");
5486 SWIG_fail;
5487 }
5488 {
5489 PyThreadState* __tstate = wxPyBeginAllowThreads();
5490 (arg1)->MoveLinks(*arg2);
5491
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 Py_INCREF(Py_None); resultobj = Py_None;
5496 return resultobj;
5497 fail:
5498 return NULL;
5499 }
5500
5501
5502 static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject *resultobj;
5504 wxPyShape *arg1 = (wxPyShape *) 0 ;
5505 wxDC *arg2 = 0 ;
5506 PyObject * obj0 = 0 ;
5507 PyObject * obj1 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self",(char *) "dc", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5516 SWIG_POINTER_EXCEPTION | 0)) == -1)
5517 SWIG_fail;
5518 if (arg2 == NULL) {
5519 PyErr_SetString(PyExc_TypeError,"null reference");
5520 SWIG_fail;
5521 }
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 (arg1)->DrawContents(*arg2);
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 Py_INCREF(Py_None); resultobj = Py_None;
5530 return resultobj;
5531 fail:
5532 return NULL;
5533 }
5534
5535
5536 static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj;
5538 wxPyShape *arg1 = (wxPyShape *) 0 ;
5539 double arg2 ;
5540 double arg3 ;
5541 bool arg4 = (bool) True ;
5542 PyObject * obj0 = 0 ;
5543 PyObject * obj1 = 0 ;
5544 PyObject * obj2 = 0 ;
5545 PyObject * obj3 = 0 ;
5546 char *kwnames[] = {
5547 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5548 };
5549
5550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5553 arg2 = (double) SWIG_AsDouble(obj1);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 arg3 = (double) SWIG_AsDouble(obj2);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 if (obj3) {
5558 arg4 = (bool) SWIG_AsBool(obj3);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 (arg1)->SetSize(arg2,arg3,arg4);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 Py_INCREF(Py_None); resultobj = Py_None;
5569 return resultobj;
5570 fail:
5571 return NULL;
5572 }
5573
5574
5575 static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj;
5577 wxPyShape *arg1 = (wxPyShape *) 0 ;
5578 double arg2 ;
5579 double arg3 ;
5580 PyObject * obj0 = 0 ;
5581 PyObject * obj1 = 0 ;
5582 PyObject * obj2 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self",(char *) "x",(char *) "y", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
5588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5590 arg2 = (double) SWIG_AsDouble(obj1);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 arg3 = (double) SWIG_AsDouble(obj2);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 {
5595 PyThreadState* __tstate = wxPyBeginAllowThreads();
5596 (arg1)->SetAttachmentSize(arg2,arg3);
5597
5598 wxPyEndAllowThreads(__tstate);
5599 if (PyErr_Occurred()) SWIG_fail;
5600 }
5601 Py_INCREF(Py_None); resultobj = Py_None;
5602 return resultobj;
5603 fail:
5604 return NULL;
5605 }
5606
5607
5608 static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
5609 PyObject *resultobj;
5610 wxPyShape *arg1 = (wxPyShape *) 0 ;
5611 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5612 PyObject * obj0 = 0 ;
5613 PyObject * obj1 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self",(char *) "can", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
5619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
5622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 (arg1)->Attach(arg2);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxPyShape *arg1 = (wxPyShape *) 0 ;
5640 PyObject * obj0 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
5646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 (arg1)->Detach();
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_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxPyShape *arg1 = (wxPyShape *) 0 ;
5665 bool result;
5666 PyObject * obj0 = 0 ;
5667 char *kwnames[] = {
5668 (char *) "self", NULL
5669 };
5670
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
5672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 result = (bool)(arg1)->Constrain();
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 {
5682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5683 }
5684 return resultobj;
5685 fail:
5686 return NULL;
5687 }
5688
5689
5690 static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5691 PyObject *resultobj;
5692 wxPyShape *arg1 = (wxPyShape *) 0 ;
5693 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5694 wxPyShape *arg3 = (wxPyShape *) 0 ;
5695 int arg4 = (int) 0 ;
5696 int arg5 = (int) 0 ;
5697 int arg6 = (int) -1 ;
5698 int arg7 = (int) -1 ;
5699 PyObject * obj0 = 0 ;
5700 PyObject * obj1 = 0 ;
5701 PyObject * obj2 = 0 ;
5702 PyObject * obj3 = 0 ;
5703 PyObject * obj4 = 0 ;
5704 PyObject * obj5 = 0 ;
5705 PyObject * obj6 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5715 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
5716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5717 if (obj3) {
5718 arg4 = (int) SWIG_AsInt(obj3);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 }
5721 if (obj4) {
5722 arg5 = (int) SWIG_AsInt(obj4);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 if (obj5) {
5726 arg6 = (int) SWIG_AsInt(obj5);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 }
5729 if (obj6) {
5730 arg7 = (int) SWIG_AsInt(obj6);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxPyShape *arg1 = (wxPyShape *) 0 ;
5750 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5751 int result;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self",(char *) "line", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
5759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (int)(arg1)->GetLinePosition(arg2);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 resultobj = SWIG_FromInt((int)result);
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxPyShape *arg1 = (wxPyShape *) 0 ;
5780 wxString *arg2 = 0 ;
5781 bool temp2 = False ;
5782 PyObject * obj0 = 0 ;
5783 PyObject * obj1 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "string", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5791 {
5792 arg2 = wxString_in_helper(obj1);
5793 if (arg2 == NULL) SWIG_fail;
5794 temp2 = True;
5795 }
5796 {
5797 PyThreadState* __tstate = wxPyBeginAllowThreads();
5798 (arg1)->AddText((wxString const &)*arg2);
5799
5800 wxPyEndAllowThreads(__tstate);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
5803 Py_INCREF(Py_None); resultobj = Py_None;
5804 {
5805 if (temp2)
5806 delete arg2;
5807 }
5808 return resultobj;
5809 fail:
5810 {
5811 if (temp2)
5812 delete arg2;
5813 }
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxPyShape *arg1 = (wxPyShape *) 0 ;
5821 wxPen *result;
5822 PyObject * obj0 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
5828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = (wxPen *)(arg1)->GetPen();
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
5838 return resultobj;
5839 fail:
5840 return NULL;
5841 }
5842
5843
5844 static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj;
5846 wxPyShape *arg1 = (wxPyShape *) 0 ;
5847 wxBrush *result;
5848 PyObject * obj0 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
5854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (wxBrush *)(arg1)->GetBrush();
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
5863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
5864 return resultobj;
5865 fail:
5866 return NULL;
5867 }
5868
5869
5870 static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj;
5872 wxPyShape *arg1 = (wxPyShape *) 0 ;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",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 (arg1)->SetDefaultRegionSize();
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 Py_INCREF(Py_None); resultobj = Py_None;
5889 return resultobj;
5890 fail:
5891 return NULL;
5892 }
5893
5894
5895 static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxPyShape *arg1 = (wxPyShape *) 0 ;
5898 wxDC *arg2 = 0 ;
5899 wxString *arg3 = 0 ;
5900 int arg4 = (int) 0 ;
5901 bool temp3 = False ;
5902 PyObject * obj0 = 0 ;
5903 PyObject * obj1 = 0 ;
5904 PyObject * obj2 = 0 ;
5905 PyObject * obj3 = 0 ;
5906 char *kwnames[] = {
5907 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5908 };
5909
5910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5914 SWIG_POINTER_EXCEPTION | 0)) == -1)
5915 SWIG_fail;
5916 if (arg2 == NULL) {
5917 PyErr_SetString(PyExc_TypeError,"null reference");
5918 SWIG_fail;
5919 }
5920 {
5921 arg3 = wxString_in_helper(obj2);
5922 if (arg3 == NULL) SWIG_fail;
5923 temp3 = True;
5924 }
5925 if (obj3) {
5926 arg4 = (int) SWIG_AsInt(obj3);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 {
5938 if (temp3)
5939 delete arg3;
5940 }
5941 return resultobj;
5942 fail:
5943 {
5944 if (temp3)
5945 delete arg3;
5946 }
5947 return NULL;
5948 }
5949
5950
5951 static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxPyShape *arg1 = (wxPyShape *) 0 ;
5954 int arg2 ;
5955 int arg3 = (int) 0 ;
5956 PyObject * obj0 = 0 ;
5957 PyObject * obj1 = 0 ;
5958 PyObject * obj2 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5966 arg2 = (int) SWIG_AsInt(obj1);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 if (obj2) {
5969 arg3 = (int) SWIG_AsInt(obj2);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 (arg1)->SetFormatMode(arg2,arg3);
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 Py_INCREF(Py_None); resultobj = Py_None;
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxPyShape *arg1 = (wxPyShape *) 0 ;
5989 int arg2 = (int) 0 ;
5990 int result;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self",(char *) "regionId", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
5998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6000 if (obj1) {
6001 arg2 = (int) SWIG_AsInt(obj1);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 result = (int)(arg1)->GetFormatMode(arg2);
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 resultobj = SWIG_FromInt((int)result);
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj;
6020 wxPyShape *arg1 = (wxPyShape *) 0 ;
6021 wxFont *arg2 = (wxFont *) 0 ;
6022 int arg3 = (int) 0 ;
6023 PyObject * obj0 = 0 ;
6024 PyObject * obj1 = 0 ;
6025 PyObject * obj2 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "self",(char *) "font",(char *) "regionId", NULL
6028 };
6029
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6033 {
6034 wxFont* temp;
6035 if (obj1) {
6036 if (obj1 == Py_None) {
6037 temp = NULL;
6038 }
6039 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
6040 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
6041 return NULL;
6042 }
6043 }
6044 if (temp)
6045 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6046 temp->GetFamily(),
6047 temp->GetStyle(),
6048 temp->GetWeight(),
6049 temp->GetUnderlined(),
6050 temp->GetFaceName(),
6051 temp->GetEncoding());
6052 else
6053 arg2 = NULL;
6054 }
6055 if (obj2) {
6056 arg3 = (int) SWIG_AsInt(obj2);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 (arg1)->SetFont(arg2,arg3);
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 Py_INCREF(Py_None); resultobj = Py_None;
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxPyShape *arg1 = (wxPyShape *) 0 ;
6076 int arg2 = (int) 0 ;
6077 wxFont *result;
6078 PyObject * obj0 = 0 ;
6079 PyObject * obj1 = 0 ;
6080 char *kwnames[] = {
6081 (char *) "self",(char *) "regionId", NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
6085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6087 if (obj1) {
6088 arg2 = (int) SWIG_AsInt(obj1);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (wxFont *)(arg1)->GetFont(arg2);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxPyShape *arg1 = (wxPyShape *) 0 ;
6108 wxString *arg2 = 0 ;
6109 int arg3 = (int) 0 ;
6110 bool temp2 = False ;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 PyObject * obj2 = 0 ;
6114 char *kwnames[] = {
6115 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6116 };
6117
6118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6121 {
6122 arg2 = wxString_in_helper(obj1);
6123 if (arg2 == NULL) SWIG_fail;
6124 temp2 = True;
6125 }
6126 if (obj2) {
6127 arg3 = (int) SWIG_AsInt(obj2);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 Py_INCREF(Py_None); resultobj = Py_None;
6138 {
6139 if (temp2)
6140 delete arg2;
6141 }
6142 return resultobj;
6143 fail:
6144 {
6145 if (temp2)
6146 delete arg2;
6147 }
6148 return NULL;
6149 }
6150
6151
6152 static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxPyShape *arg1 = (wxPyShape *) 0 ;
6155 int arg2 = (int) 0 ;
6156 wxString result;
6157 PyObject * obj0 = 0 ;
6158 PyObject * obj1 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "self",(char *) "regionId", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
6164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6166 if (obj1) {
6167 arg2 = (int) SWIG_AsInt(obj1);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (arg1)->GetTextColour(arg2);
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 {
6178 #if wxUSE_UNICODE
6179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6180 #else
6181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6182 #endif
6183 }
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxPyShape *arg1 = (wxPyShape *) 0 ;
6193 int result;
6194 PyObject * obj0 = 0 ;
6195 char *kwnames[] = {
6196 (char *) "self", NULL
6197 };
6198
6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
6200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (int)(arg1)->GetNumberOfTextRegions();
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 resultobj = SWIG_FromInt((int)result);
6210 return resultobj;
6211 fail:
6212 return NULL;
6213 }
6214
6215
6216 static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 wxPyShape *arg1 = (wxPyShape *) 0 ;
6219 wxString *arg2 = 0 ;
6220 int arg3 = (int) 0 ;
6221 bool temp2 = False ;
6222 PyObject * obj0 = 0 ;
6223 PyObject * obj1 = 0 ;
6224 PyObject * obj2 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self",(char *) "name",(char *) "regionId", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6232 {
6233 arg2 = wxString_in_helper(obj1);
6234 if (arg2 == NULL) SWIG_fail;
6235 temp2 = True;
6236 }
6237 if (obj2) {
6238 arg3 = (int) SWIG_AsInt(obj2);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 Py_INCREF(Py_None); resultobj = Py_None;
6249 {
6250 if (temp2)
6251 delete arg2;
6252 }
6253 return resultobj;
6254 fail:
6255 {
6256 if (temp2)
6257 delete arg2;
6258 }
6259 return NULL;
6260 }
6261
6262
6263 static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj;
6265 wxPyShape *arg1 = (wxPyShape *) 0 ;
6266 int arg2 ;
6267 wxString result;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char *kwnames[] = {
6271 (char *) "self",(char *) "regionId", NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
6275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6277 arg2 = (int) SWIG_AsInt(obj1);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (arg1)->GetRegionName(arg2);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 {
6287 #if wxUSE_UNICODE
6288 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6289 #else
6290 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6291 #endif
6292 }
6293 return resultobj;
6294 fail:
6295 return NULL;
6296 }
6297
6298
6299 static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj;
6301 wxPyShape *arg1 = (wxPyShape *) 0 ;
6302 wxString *arg2 = 0 ;
6303 int result;
6304 bool temp2 = False ;
6305 PyObject * obj0 = 0 ;
6306 PyObject * obj1 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "self",(char *) "name", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
6312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6314 {
6315 arg2 = wxString_in_helper(obj1);
6316 if (arg2 == NULL) SWIG_fail;
6317 temp2 = True;
6318 }
6319 {
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6322
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 resultobj = SWIG_FromInt((int)result);
6327 {
6328 if (temp2)
6329 delete arg2;
6330 }
6331 return resultobj;
6332 fail:
6333 {
6334 if (temp2)
6335 delete arg2;
6336 }
6337 return NULL;
6338 }
6339
6340
6341 static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj;
6343 wxPyShape *arg1 = (wxPyShape *) 0 ;
6344 wxString const &arg2_defvalue = wxPyEmptyString ;
6345 wxString *arg2 = (wxString *) &arg2_defvalue ;
6346 bool temp2 = False ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self",(char *) "parentName", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6356 if (obj1) {
6357 {
6358 arg2 = wxString_in_helper(obj1);
6359 if (arg2 == NULL) SWIG_fail;
6360 temp2 = True;
6361 }
6362 }
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 (arg1)->NameRegions((wxString const &)*arg2);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 Py_INCREF(Py_None); resultobj = Py_None;
6371 {
6372 if (temp2)
6373 delete arg2;
6374 }
6375 return resultobj;
6376 fail:
6377 {
6378 if (temp2)
6379 delete arg2;
6380 }
6381 return NULL;
6382 }
6383
6384
6385 static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj;
6387 wxPyShape *arg1 = (wxPyShape *) 0 ;
6388 PyObject *result;
6389 PyObject * obj0 = 0 ;
6390 char *kwnames[] = {
6391 (char *) "self", NULL
6392 };
6393
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
6395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 result = (PyObject *)wxPyShape_GetRegions(arg1);
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 resultobj = result;
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 wxPyShape *arg1 = (wxPyShape *) 0 ;
6414 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6415 PyObject * obj0 = 0 ;
6416 PyObject * obj1 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "self",(char *) "region", NULL
6419 };
6420
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
6422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxShapeRegion,
6425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 (arg1)->AddRegion(arg2);
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 Py_INCREF(Py_None); resultobj = Py_None;
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxPyShape *arg1 = (wxPyShape *) 0 ;
6443 PyObject * obj0 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "self", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 (arg1)->ClearRegions();
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_AssignNewIds(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_AssignNewIds",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)->AssignNewIds();
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_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6491 PyObject *resultobj;
6492 wxPyShape *arg1 = (wxPyShape *) 0 ;
6493 wxString *arg2 = 0 ;
6494 int *arg3 = (int *) 0 ;
6495 wxPyShape *result;
6496 bool temp2 = False ;
6497 int temp3 ;
6498 PyObject * obj0 = 0 ;
6499 PyObject * obj1 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self",(char *) "regionName", NULL
6502 };
6503
6504 arg3 = &temp3;
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
6506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6508 {
6509 arg2 = wxString_in_helper(obj1);
6510 if (arg2 == NULL) SWIG_fail;
6511 temp2 = True;
6512 }
6513 {
6514 PyThreadState* __tstate = wxPyBeginAllowThreads();
6515 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6516
6517 wxPyEndAllowThreads(__tstate);
6518 if (PyErr_Occurred()) SWIG_fail;
6519 }
6520 {
6521 resultobj = wxPyMake_wxShapeEvtHandler(result);
6522 }
6523 {
6524 PyObject *o = PyInt_FromLong((long) (*arg3));
6525 resultobj = t_output_helper(resultobj,o);
6526 }
6527 {
6528 if (temp2)
6529 delete arg2;
6530 }
6531 return resultobj;
6532 fail:
6533 {
6534 if (temp2)
6535 delete arg2;
6536 }
6537 return NULL;
6538 }
6539
6540
6541 static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxPyShape *arg1 = (wxPyShape *) 0 ;
6544 wxStringList *arg2 = 0 ;
6545 PyObject * obj0 = 0 ;
6546 PyObject * obj1 = 0 ;
6547 char *kwnames[] = {
6548 (char *) "self",(char *) "list", NULL
6549 };
6550
6551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
6552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStringList,
6555 SWIG_POINTER_EXCEPTION | 0)) == -1)
6556 SWIG_fail;
6557 if (arg2 == NULL) {
6558 PyErr_SetString(PyExc_TypeError,"null reference");
6559 SWIG_fail;
6560 }
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 (arg1)->FindRegionNames(*arg2);
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 Py_INCREF(Py_None); resultobj = Py_None;
6569 return resultobj;
6570 fail:
6571 return NULL;
6572 }
6573
6574
6575 static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 wxPyShape *arg1 = (wxPyShape *) 0 ;
6578 int arg2 = (int) 0 ;
6579 PyObject * obj0 = 0 ;
6580 PyObject * obj1 = 0 ;
6581 char *kwnames[] = {
6582 (char *) "self",(char *) "regionId", NULL
6583 };
6584
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
6586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6588 if (obj1) {
6589 arg2 = (int) SWIG_AsInt(obj1);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 (arg1)->ClearText(arg2);
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 Py_INCREF(Py_None); resultobj = Py_None;
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxPyShape *arg1 = (wxPyShape *) 0 ;
6609 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self",(char *) "line", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
6617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
6620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 (arg1)->RemoveLine(arg2);
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 Py_INCREF(Py_None); resultobj = Py_None;
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxPyShape *arg1 = (wxPyShape *) 0 ;
6638 int arg2 ;
6639 double *arg3 = (double *) 0 ;
6640 double *arg4 = (double *) 0 ;
6641 int arg5 = (int) 0 ;
6642 int arg6 = (int) 1 ;
6643 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6644 bool result;
6645 double temp3 ;
6646 double temp4 ;
6647 PyObject * obj0 = 0 ;
6648 PyObject * obj1 = 0 ;
6649 PyObject * obj2 = 0 ;
6650 PyObject * obj3 = 0 ;
6651 PyObject * obj4 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6654 };
6655
6656 arg3 = &temp3;
6657 arg4 = &temp4;
6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6661 arg2 = (int) SWIG_AsInt(obj1);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 if (obj2) {
6664 arg5 = (int) SWIG_AsInt(obj2);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 if (obj3) {
6668 arg6 = (int) SWIG_AsInt(obj3);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 if (obj4) {
6672 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6674 }
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 {
6683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6684 }
6685 {
6686 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6687 resultobj = t_output_helper(resultobj,o);
6688 }
6689 {
6690 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6691 resultobj = t_output_helper(resultobj,o);
6692 }
6693 return resultobj;
6694 fail:
6695 return NULL;
6696 }
6697
6698
6699 static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxPyShape *arg1 = (wxPyShape *) 0 ;
6702 int result;
6703 PyObject * obj0 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = (int)(arg1)->GetNumberOfAttachments();
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = SWIG_FromInt((int)result);
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxPyShape *arg1 = (wxPyShape *) 0 ;
6728 int arg2 ;
6729 bool result;
6730 PyObject * obj0 = 0 ;
6731 PyObject * obj1 = 0 ;
6732 char *kwnames[] = {
6733 (char *) "self",(char *) "attachment", NULL
6734 };
6735
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
6737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6739 arg2 = (int) SWIG_AsInt(obj1);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = (bool)(arg1)->AttachmentIsValid(arg2);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 {
6749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6750 }
6751 return resultobj;
6752 fail:
6753 return NULL;
6754 }
6755
6756
6757 static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj;
6759 wxPyShape *arg1 = (wxPyShape *) 0 ;
6760 PyObject *result;
6761 PyObject * obj0 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
6767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 resultobj = result;
6777 return resultobj;
6778 fail:
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 wxPyShape *arg1 = (wxPyShape *) 0 ;
6786 int arg2 ;
6787 double *arg3 = (double *) 0 ;
6788 double *arg4 = (double *) 0 ;
6789 int arg5 = (int) 0 ;
6790 int arg6 = (int) 1 ;
6791 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6792 bool result;
6793 double temp3 ;
6794 double temp4 ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 PyObject * obj2 = 0 ;
6798 PyObject * obj3 = 0 ;
6799 PyObject * obj4 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6802 };
6803
6804 arg3 = &temp3;
6805 arg4 = &temp4;
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6809 arg2 = (int) SWIG_AsInt(obj1);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 if (obj2) {
6812 arg5 = (int) SWIG_AsInt(obj2);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 if (obj3) {
6816 arg6 = (int) SWIG_AsInt(obj3);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 if (obj4) {
6820 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6822 }
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 {
6831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6832 }
6833 {
6834 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6835 resultobj = t_output_helper(resultobj,o);
6836 }
6837 {
6838 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6839 resultobj = t_output_helper(resultobj,o);
6840 }
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxPyShape *arg1 = (wxPyShape *) 0 ;
6850 wxRealPoint *arg2 = 0 ;
6851 wxRealPoint *arg3 = 0 ;
6852 int arg4 ;
6853 int arg5 ;
6854 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6855 wxRealPoint result;
6856 wxRealPoint temp2 ;
6857 wxRealPoint temp3 ;
6858 PyObject * obj0 = 0 ;
6859 PyObject * obj1 = 0 ;
6860 PyObject * obj2 = 0 ;
6861 PyObject * obj3 = 0 ;
6862 PyObject * obj4 = 0 ;
6863 PyObject * obj5 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6871 {
6872 arg2 = &temp2;
6873 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6874 }
6875 {
6876 arg3 = &temp3;
6877 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6878 }
6879 arg4 = (int) SWIG_AsInt(obj3);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 arg5 = (int) SWIG_AsInt(obj4);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyLineShape,
6884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6888
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
6892 {
6893 wxRealPoint * resultptr;
6894 resultptr = new wxRealPoint((wxRealPoint &) result);
6895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
6896 }
6897 return resultobj;
6898 fail:
6899 return NULL;
6900 }
6901
6902
6903 static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject *resultobj;
6905 wxPyShape *arg1 = (wxPyShape *) 0 ;
6906 int arg2 ;
6907 wxRealPoint *arg3 = 0 ;
6908 wxRealPoint *arg4 = 0 ;
6909 bool result;
6910 wxRealPoint temp3 ;
6911 wxRealPoint temp4 ;
6912 PyObject * obj0 = 0 ;
6913 PyObject * obj1 = 0 ;
6914 PyObject * obj2 = 0 ;
6915 PyObject * obj3 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6923 arg2 = (int) SWIG_AsInt(obj1);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 {
6926 arg3 = &temp3;
6927 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6928 }
6929 {
6930 arg4 = &temp4;
6931 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6932 }
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 {
6941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6942 }
6943 return resultobj;
6944 fail:
6945 return NULL;
6946 }
6947
6948
6949 static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6950 PyObject *resultobj;
6951 wxPyShape *arg1 = (wxPyShape *) 0 ;
6952 wxDC *arg2 = 0 ;
6953 int arg3 = (int) -1 ;
6954 bool arg4 = (bool) False ;
6955 PyObject * obj0 = 0 ;
6956 PyObject * obj1 = 0 ;
6957 PyObject * obj2 = 0 ;
6958 PyObject * obj3 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6967 SWIG_POINTER_EXCEPTION | 0)) == -1)
6968 SWIG_fail;
6969 if (arg2 == NULL) {
6970 PyErr_SetString(PyExc_TypeError,"null reference");
6971 SWIG_fail;
6972 }
6973 if (obj2) {
6974 arg3 = (int) SWIG_AsInt(obj2);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 if (obj3) {
6978 arg4 = (bool) SWIG_AsBool(obj3);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 (arg1)->EraseLinks(*arg2,arg3,arg4);
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 Py_INCREF(Py_None); resultobj = Py_None;
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxPyShape *arg1 = (wxPyShape *) 0 ;
6998 wxDC *arg2 = 0 ;
6999 int arg3 = (int) -1 ;
7000 bool arg4 = (bool) False ;
7001 PyObject * obj0 = 0 ;
7002 PyObject * obj1 = 0 ;
7003 PyObject * obj2 = 0 ;
7004 PyObject * obj3 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7013 SWIG_POINTER_EXCEPTION | 0)) == -1)
7014 SWIG_fail;
7015 if (arg2 == NULL) {
7016 PyErr_SetString(PyExc_TypeError,"null reference");
7017 SWIG_fail;
7018 }
7019 if (obj2) {
7020 arg3 = (int) SWIG_AsInt(obj2);
7021 if (PyErr_Occurred()) SWIG_fail;
7022 }
7023 if (obj3) {
7024 arg4 = (bool) SWIG_AsBool(obj3);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 (arg1)->DrawLinks(*arg2,arg3,arg4);
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 Py_INCREF(Py_None); resultobj = Py_None;
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxPyShape *arg1 = (wxPyShape *) 0 ;
7044 wxDC *arg2 = 0 ;
7045 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
7046 double arg4 ;
7047 double arg5 ;
7048 bool result;
7049 PyObject * obj0 = 0 ;
7050 PyObject * obj1 = 0 ;
7051 PyObject * obj2 = 0 ;
7052 PyObject * obj3 = 0 ;
7053 PyObject * obj4 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7062 SWIG_POINTER_EXCEPTION | 0)) == -1)
7063 SWIG_fail;
7064 if (arg2 == NULL) {
7065 PyErr_SetString(PyExc_TypeError,"null reference");
7066 SWIG_fail;
7067 }
7068 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyLineShape,
7069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7070 arg4 = (double) SWIG_AsDouble(obj3);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 arg5 = (double) SWIG_AsDouble(obj4);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 {
7082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7083 }
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj;
7092 wxPyShape *arg1 = (wxPyShape *) 0 ;
7093 PyObject *arg2 = (PyObject *) 0 ;
7094 PyObject * obj0 = 0 ;
7095 PyObject * obj1 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "self",(char *) "linesToSort", NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
7101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7103 arg2 = obj1;
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 Py_INCREF(Py_None); resultobj = Py_None;
7112 return resultobj;
7113 fail:
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj;
7120 wxPyShape *arg1 = (wxPyShape *) 0 ;
7121 int arg2 ;
7122 wxRealPoint result;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self",(char *) "attachment", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
7130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7132 arg2 = (int) SWIG_AsInt(obj1);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 {
7142 wxRealPoint * resultptr;
7143 resultptr = new wxRealPoint((wxRealPoint &) result);
7144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
7145 }
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 wxPyShape *arg1 = (wxPyShape *) 0 ;
7155 int arg2 ;
7156 wxRealPoint *arg3 = 0 ;
7157 wxRealPoint *arg4 = 0 ;
7158 wxRealPoint *arg5 = 0 ;
7159 wxRealPoint *arg6 = 0 ;
7160 bool result;
7161 wxRealPoint temp3 ;
7162 wxRealPoint temp4 ;
7163 wxRealPoint temp5 ;
7164 wxRealPoint temp6 ;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj1 = 0 ;
7167 PyObject * obj2 = 0 ;
7168 PyObject * obj3 = 0 ;
7169 PyObject * obj4 = 0 ;
7170 PyObject * obj5 = 0 ;
7171 char *kwnames[] = {
7172 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7173 };
7174
7175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7178 arg2 = (int) SWIG_AsInt(obj1);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 {
7181 arg3 = &temp3;
7182 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7183 }
7184 {
7185 arg4 = &temp4;
7186 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7187 }
7188 {
7189 arg5 = &temp5;
7190 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7191 }
7192 {
7193 arg6 = &temp6;
7194 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 {
7204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7205 }
7206 return resultobj;
7207 fail:
7208 return NULL;
7209 }
7210
7211
7212 static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxPyShape *arg1 = (wxPyShape *) 0 ;
7215 int arg2 ;
7216 int arg3 ;
7217 wxRealPoint *arg4 = 0 ;
7218 wxRealPoint *arg5 = 0 ;
7219 bool result;
7220 wxRealPoint temp4 ;
7221 wxRealPoint temp5 ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 PyObject * obj2 = 0 ;
7225 PyObject * obj3 = 0 ;
7226 PyObject * obj4 = 0 ;
7227 char *kwnames[] = {
7228 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7229 };
7230
7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7234 arg2 = (int) SWIG_AsInt(obj1);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 arg3 = (int) SWIG_AsInt(obj2);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 {
7239 arg4 = &temp4;
7240 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7241 }
7242 {
7243 arg5 = &temp5;
7244 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7245 }
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
7253 {
7254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7255 }
7256 return resultobj;
7257 fail:
7258 return NULL;
7259 }
7260
7261
7262 static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7263 PyObject *resultobj;
7264 wxPyShape *arg1 = (wxPyShape *) 0 ;
7265 int arg2 ;
7266 int result;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "attachment", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
7274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7276 arg2 = (int) SWIG_AsInt(obj1);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7281
7282 wxPyEndAllowThreads(__tstate);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
7285 resultobj = SWIG_FromInt((int)result);
7286 return resultobj;
7287 fail:
7288 return NULL;
7289 }
7290
7291
7292 static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj;
7294 wxPyShape *arg1 = (wxPyShape *) 0 ;
7295 int arg2 ;
7296 PyObject * obj0 = 0 ;
7297 PyObject * obj1 = 0 ;
7298 char *kwnames[] = {
7299 (char *) "self",(char *) "len", NULL
7300 };
7301
7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
7303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7305 arg2 = (int) SWIG_AsInt(obj1);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 (arg1)->SetBranchNeckLength(arg2);
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 }
7314 Py_INCREF(Py_None); resultobj = Py_None;
7315 return resultobj;
7316 fail:
7317 return NULL;
7318 }
7319
7320
7321 static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7322 PyObject *resultobj;
7323 wxPyShape *arg1 = (wxPyShape *) 0 ;
7324 int result;
7325 PyObject * obj0 = 0 ;
7326 char *kwnames[] = {
7327 (char *) "self", NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
7331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7333 {
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 result = (int)(arg1)->GetBranchNeckLength();
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 resultobj = SWIG_FromInt((int)result);
7341 return resultobj;
7342 fail:
7343 return NULL;
7344 }
7345
7346
7347 static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxPyShape *arg1 = (wxPyShape *) 0 ;
7350 int arg2 ;
7351 PyObject * obj0 = 0 ;
7352 PyObject * obj1 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self",(char *) "len", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7360 arg2 = (int) SWIG_AsInt(obj1);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 (arg1)->SetBranchStemLength(arg2);
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 Py_INCREF(Py_None); resultobj = Py_None;
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxPyShape *arg1 = (wxPyShape *) 0 ;
7379 int result;
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7388 {
7389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7390 result = (int)(arg1)->GetBranchStemLength();
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 resultobj = SWIG_FromInt((int)result);
7396 return resultobj;
7397 fail:
7398 return NULL;
7399 }
7400
7401
7402 static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj;
7404 wxPyShape *arg1 = (wxPyShape *) 0 ;
7405 int arg2 ;
7406 PyObject * obj0 = 0 ;
7407 PyObject * obj1 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self",(char *) "len", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7415 arg2 = (int) SWIG_AsInt(obj1);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->SetBranchSpacing(arg2);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428 }
7429
7430
7431 static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxPyShape *arg1 = (wxPyShape *) 0 ;
7434 int result;
7435 PyObject * obj0 = 0 ;
7436 char *kwnames[] = {
7437 (char *) "self", NULL
7438 };
7439
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
7441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7443 {
7444 PyThreadState* __tstate = wxPyBeginAllowThreads();
7445 result = (int)(arg1)->GetBranchSpacing();
7446
7447 wxPyEndAllowThreads(__tstate);
7448 if (PyErr_Occurred()) SWIG_fail;
7449 }
7450 resultobj = SWIG_FromInt((int)result);
7451 return resultobj;
7452 fail:
7453 return NULL;
7454 }
7455
7456
7457 static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7458 PyObject *resultobj;
7459 wxPyShape *arg1 = (wxPyShape *) 0 ;
7460 long arg2 ;
7461 PyObject * obj0 = 0 ;
7462 PyObject * obj1 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self",(char *) "style", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7470 arg2 = (long) SWIG_AsLong(obj1);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 (arg1)->SetBranchStyle(arg2);
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 Py_INCREF(Py_None); resultobj = Py_None;
7480 return resultobj;
7481 fail:
7482 return NULL;
7483 }
7484
7485
7486 static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxPyShape *arg1 = (wxPyShape *) 0 ;
7489 long result;
7490 PyObject * obj0 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "self", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
7496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (long)(arg1)->GetBranchStyle();
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 resultobj = SWIG_FromLong((long)result);
7506 return resultobj;
7507 fail:
7508 return NULL;
7509 }
7510
7511
7512 static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7513 PyObject *resultobj;
7514 wxPyShape *arg1 = (wxPyShape *) 0 ;
7515 int arg2 ;
7516 int result;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "self",(char *) "physicalAttachment", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7526 arg2 = (int) SWIG_AsInt(obj1);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7531
7532 wxPyEndAllowThreads(__tstate);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 resultobj = SWIG_FromInt((int)result);
7536 return resultobj;
7537 fail:
7538 return NULL;
7539 }
7540
7541
7542 static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7543 PyObject *resultobj;
7544 wxPyShape *arg1 = (wxPyShape *) 0 ;
7545 int arg2 ;
7546 int result;
7547 PyObject * obj0 = 0 ;
7548 PyObject * obj1 = 0 ;
7549 char *kwnames[] = {
7550 (char *) "self",(char *) "logicalAttachment", NULL
7551 };
7552
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7556 arg2 = (int) SWIG_AsInt(obj1);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 resultobj = SWIG_FromInt((int)result);
7566 return resultobj;
7567 fail:
7568 return NULL;
7569 }
7570
7571
7572 static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
7573 PyObject *resultobj;
7574 wxPyShape *arg1 = (wxPyShape *) 0 ;
7575 bool result;
7576 PyObject * obj0 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "self", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
7582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (bool)(arg1)->Draggable();
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 {
7592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7593 }
7594 return resultobj;
7595 fail:
7596 return NULL;
7597 }
7598
7599
7600 static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxPyShape *arg1 = (wxPyShape *) 0 ;
7603 wxPyShape *arg2 = (wxPyShape *) 0 ;
7604 bool result;
7605 PyObject * obj0 = 0 ;
7606 PyObject * obj1 = 0 ;
7607 char *kwnames[] = {
7608 (char *) "self",(char *) "image", NULL
7609 };
7610
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
7612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 result = (bool)(arg1)->HasDescendant(arg2);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 {
7624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7625 }
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxPyShape *arg1 = (wxPyShape *) 0 ;
7635 bool arg2 = (bool) True ;
7636 bool arg3 = (bool) True ;
7637 wxPyShape *result;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 PyObject * obj2 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7648 if (obj1) {
7649 arg2 = (bool) SWIG_AsBool(obj1);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 if (obj2) {
7653 arg3 = (bool) SWIG_AsBool(obj2);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 {
7664 resultobj = wxPyMake_wxShapeEvtHandler(result);
7665 }
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj;
7674 wxPyShape *arg1 = (wxPyShape *) 0 ;
7675 wxPyShape *arg2 = 0 ;
7676 PyObject * obj0 = 0 ;
7677 PyObject * obj1 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self",(char *) "copy", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
7683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7686 SWIG_POINTER_EXCEPTION | 0)) == -1)
7687 SWIG_fail;
7688 if (arg2 == NULL) {
7689 PyErr_SetString(PyExc_TypeError,"null reference");
7690 SWIG_fail;
7691 }
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 (arg1)->Copy(*arg2);
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 Py_INCREF(Py_None); resultobj = Py_None;
7700 return resultobj;
7701 fail:
7702 return NULL;
7703 }
7704
7705
7706 static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj;
7708 wxPyShape *arg1 = (wxPyShape *) 0 ;
7709 wxPyShape *arg2 = 0 ;
7710 PyObject * obj0 = 0 ;
7711 PyObject * obj1 = 0 ;
7712 char *kwnames[] = {
7713 (char *) "self",(char *) "copy", NULL
7714 };
7715
7716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
7717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7720 SWIG_POINTER_EXCEPTION | 0)) == -1)
7721 SWIG_fail;
7722 if (arg2 == NULL) {
7723 PyErr_SetString(PyExc_TypeError,"null reference");
7724 SWIG_fail;
7725 }
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 (arg1)->CopyWithHandler(*arg2);
7729
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 Py_INCREF(Py_None); resultobj = Py_None;
7734 return resultobj;
7735 fail:
7736 return NULL;
7737 }
7738
7739
7740 static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj;
7742 wxPyShape *arg1 = (wxPyShape *) 0 ;
7743 double arg2 ;
7744 double arg3 ;
7745 double arg4 ;
7746 PyObject * obj0 = 0 ;
7747 PyObject * obj1 = 0 ;
7748 PyObject * obj2 = 0 ;
7749 PyObject * obj3 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7757 arg2 = (double) SWIG_AsDouble(obj1);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 arg3 = (double) SWIG_AsDouble(obj2);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 arg4 = (double) SWIG_AsDouble(obj3);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 (arg1)->Rotate(arg2,arg3,arg4);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 Py_INCREF(Py_None); resultobj = Py_None;
7771 return resultobj;
7772 fail:
7773 return NULL;
7774 }
7775
7776
7777 static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxPyShape *arg1 = (wxPyShape *) 0 ;
7780 double result;
7781 PyObject * obj0 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
7787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (double)(arg1)->GetRotation();
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 resultobj = SWIG_FromDouble((double)result);
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxPyShape *arg1 = (wxPyShape *) 0 ;
7806 double arg2 ;
7807 PyObject * obj0 = 0 ;
7808 PyObject * obj1 = 0 ;
7809 char *kwnames[] = {
7810 (char *) "self",(char *) "rotation", NULL
7811 };
7812
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
7814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7816 arg2 = (double) SWIG_AsDouble(obj1);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 (arg1)->SetRotation(arg2);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxPyShape *arg1 = (wxPyShape *) 0 ;
7835 PyObject * obj0 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 (arg1)->ClearAttachments();
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_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxPyShape *arg1 = (wxPyShape *) 0 ;
7860 wxDC *arg2 = 0 ;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self",(char *) "dc", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7871 SWIG_POINTER_EXCEPTION | 0)) == -1)
7872 SWIG_fail;
7873 if (arg2 == NULL) {
7874 PyErr_SetString(PyExc_TypeError,"null reference");
7875 SWIG_fail;
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 (arg1)->Recentre(*arg2);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 Py_INCREF(Py_None); resultobj = Py_None;
7885 return resultobj;
7886 fail:
7887 return NULL;
7888 }
7889
7890
7891 static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
7892 PyObject *resultobj;
7893 wxPyShape *arg1 = (wxPyShape *) 0 ;
7894 wxList *arg2 = 0 ;
7895 PyObject * obj0 = 0 ;
7896 PyObject * obj1 = 0 ;
7897 char *kwnames[] = {
7898 (char *) "self",(char *) "list", NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
7902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxList,
7905 SWIG_POINTER_EXCEPTION | 0)) == -1)
7906 SWIG_fail;
7907 if (arg2 == NULL) {
7908 PyErr_SetString(PyExc_TypeError,"null reference");
7909 SWIG_fail;
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 (arg1)->ClearPointList(*arg2);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 Py_INCREF(Py_None); resultobj = Py_None;
7919 return resultobj;
7920 fail:
7921 return NULL;
7922 }
7923
7924
7925 static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxPyShape *arg1 = (wxPyShape *) 0 ;
7928 wxPen result;
7929 PyObject * obj0 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (arg1)->GetBackgroundPen();
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 {
7945 wxPen * resultptr;
7946 resultptr = new wxPen((wxPen &) result);
7947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPen, 1);
7948 }
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxPyShape *arg1 = (wxPyShape *) 0 ;
7958 wxBrush result;
7959 PyObject * obj0 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "self", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 result = (arg1)->GetBackgroundBrush();
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 {
7975 wxBrush * resultptr;
7976 resultptr = new wxBrush((wxBrush &) result);
7977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBrush, 1);
7978 }
7979 return resultobj;
7980 fail:
7981 return NULL;
7982 }
7983
7984
7985 static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxPyShape *arg1 = (wxPyShape *) 0 ;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 (arg1)->base_OnDelete();
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxPyShape *arg1 = (wxPyShape *) 0 ;
8013 wxDC *arg2 = 0 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "dc", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
8021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8024 SWIG_POINTER_EXCEPTION | 0)) == -1)
8025 SWIG_fail;
8026 if (arg2 == NULL) {
8027 PyErr_SetString(PyExc_TypeError,"null reference");
8028 SWIG_fail;
8029 }
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 (arg1)->base_OnDraw(*arg2);
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 Py_INCREF(Py_None); resultobj = Py_None;
8038 return resultobj;
8039 fail:
8040 return NULL;
8041 }
8042
8043
8044 static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8045 PyObject *resultobj;
8046 wxPyShape *arg1 = (wxPyShape *) 0 ;
8047 wxDC *arg2 = 0 ;
8048 PyObject * obj0 = 0 ;
8049 PyObject * obj1 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self",(char *) "dc", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
8055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8058 SWIG_POINTER_EXCEPTION | 0)) == -1)
8059 SWIG_fail;
8060 if (arg2 == NULL) {
8061 PyErr_SetString(PyExc_TypeError,"null reference");
8062 SWIG_fail;
8063 }
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->base_OnDrawContents(*arg2);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxPyShape *arg1 = (wxPyShape *) 0 ;
8081 wxDC *arg2 = 0 ;
8082 bool arg3 = (bool) False ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 PyObject * obj2 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "dc",(char *) "erase", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8094 SWIG_POINTER_EXCEPTION | 0)) == -1)
8095 SWIG_fail;
8096 if (arg2 == NULL) {
8097 PyErr_SetString(PyExc_TypeError,"null reference");
8098 SWIG_fail;
8099 }
8100 if (obj2) {
8101 arg3 = (bool) SWIG_AsBool(obj2);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->base_OnDrawBranches(*arg2,arg3);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 return resultobj;
8113 fail:
8114 return NULL;
8115 }
8116
8117
8118 static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxPyShape *arg1 = (wxPyShape *) 0 ;
8121 wxDC *arg2 = 0 ;
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self",(char *) "dc", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
8129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1)
8133 SWIG_fail;
8134 if (arg2 == NULL) {
8135 PyErr_SetString(PyExc_TypeError,"null reference");
8136 SWIG_fail;
8137 }
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 (arg1)->base_OnMoveLinks(*arg2);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 Py_INCREF(Py_None); resultobj = Py_None;
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj;
8154 wxPyShape *arg1 = (wxPyShape *) 0 ;
8155 wxDC *arg2 = 0 ;
8156 PyObject * obj0 = 0 ;
8157 PyObject * obj1 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self",(char *) "dc", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
8163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8166 SWIG_POINTER_EXCEPTION | 0)) == -1)
8167 SWIG_fail;
8168 if (arg2 == NULL) {
8169 PyErr_SetString(PyExc_TypeError,"null reference");
8170 SWIG_fail;
8171 }
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 (arg1)->base_OnErase(*arg2);
8175
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 Py_INCREF(Py_None); resultobj = Py_None;
8180 return resultobj;
8181 fail:
8182 return NULL;
8183 }
8184
8185
8186 static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8187 PyObject *resultobj;
8188 wxPyShape *arg1 = (wxPyShape *) 0 ;
8189 wxDC *arg2 = 0 ;
8190 PyObject * obj0 = 0 ;
8191 PyObject * obj1 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self",(char *) "dc", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
8197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8200 SWIG_POINTER_EXCEPTION | 0)) == -1)
8201 SWIG_fail;
8202 if (arg2 == NULL) {
8203 PyErr_SetString(PyExc_TypeError,"null reference");
8204 SWIG_fail;
8205 }
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 (arg1)->base_OnEraseContents(*arg2);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 Py_INCREF(Py_None); resultobj = Py_None;
8214 return resultobj;
8215 fail:
8216 return NULL;
8217 }
8218
8219
8220 static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj;
8222 wxPyShape *arg1 = (wxPyShape *) 0 ;
8223 wxDC *arg2 = 0 ;
8224 PyObject * obj0 = 0 ;
8225 PyObject * obj1 = 0 ;
8226 char *kwnames[] = {
8227 (char *) "self",(char *) "dc", NULL
8228 };
8229
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
8231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8234 SWIG_POINTER_EXCEPTION | 0)) == -1)
8235 SWIG_fail;
8236 if (arg2 == NULL) {
8237 PyErr_SetString(PyExc_TypeError,"null reference");
8238 SWIG_fail;
8239 }
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
8242 (arg1)->base_OnHighlight(*arg2);
8243
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 Py_INCREF(Py_None); resultobj = Py_None;
8248 return resultobj;
8249 fail:
8250 return NULL;
8251 }
8252
8253
8254 static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxPyShape *arg1 = (wxPyShape *) 0 ;
8257 double arg2 ;
8258 double arg3 ;
8259 int arg4 = (int) 0 ;
8260 int arg5 = (int) 0 ;
8261 PyObject * obj0 = 0 ;
8262 PyObject * obj1 = 0 ;
8263 PyObject * obj2 = 0 ;
8264 PyObject * obj3 = 0 ;
8265 PyObject * obj4 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8273 arg2 = (double) SWIG_AsDouble(obj1);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 arg3 = (double) SWIG_AsDouble(obj2);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 if (obj3) {
8278 arg4 = (int) SWIG_AsInt(obj3);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 if (obj4) {
8282 arg5 = (int) SWIG_AsInt(obj4);
8283 if (PyErr_Occurred()) SWIG_fail;
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj;
8301 wxPyShape *arg1 = (wxPyShape *) 0 ;
8302 double arg2 ;
8303 double arg3 ;
8304 int arg4 = (int) 0 ;
8305 int arg5 = (int) 0 ;
8306 PyObject * obj0 = 0 ;
8307 PyObject * obj1 = 0 ;
8308 PyObject * obj2 = 0 ;
8309 PyObject * obj3 = 0 ;
8310 PyObject * obj4 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8318 arg2 = (double) SWIG_AsDouble(obj1);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 arg3 = (double) SWIG_AsDouble(obj2);
8321 if (PyErr_Occurred()) SWIG_fail;
8322 if (obj3) {
8323 arg4 = (int) SWIG_AsInt(obj3);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 if (obj4) {
8327 arg5 = (int) SWIG_AsInt(obj4);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 Py_INCREF(Py_None); resultobj = Py_None;
8338 return resultobj;
8339 fail:
8340 return NULL;
8341 }
8342
8343
8344 static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj;
8346 wxPyShape *arg1 = (wxPyShape *) 0 ;
8347 double arg2 ;
8348 double arg3 ;
8349 int arg4 = (int) 0 ;
8350 int arg5 = (int) 0 ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 PyObject * obj2 = 0 ;
8354 PyObject * obj3 = 0 ;
8355 PyObject * obj4 = 0 ;
8356 char *kwnames[] = {
8357 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8358 };
8359
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8363 arg2 = (double) SWIG_AsDouble(obj1);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 arg3 = (double) SWIG_AsDouble(obj2);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 if (obj3) {
8368 arg4 = (int) SWIG_AsInt(obj3);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 if (obj4) {
8372 arg5 = (int) SWIG_AsInt(obj4);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8377 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 Py_INCREF(Py_None); resultobj = Py_None;
8383 return resultobj;
8384 fail:
8385 return NULL;
8386 }
8387
8388
8389 static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8390 PyObject *resultobj;
8391 wxPyShape *arg1 = (wxPyShape *) 0 ;
8392 double arg2 ;
8393 double arg3 ;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
8396 PyObject * obj2 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self",(char *) "x",(char *) "y", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8404 arg2 = (double) SWIG_AsDouble(obj1);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 arg3 = (double) SWIG_AsDouble(obj2);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 (arg1)->base_OnSize(arg2,arg3);
8411
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 Py_INCREF(Py_None); resultobj = Py_None;
8416 return resultobj;
8417 fail:
8418 return NULL;
8419 }
8420
8421
8422 static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj;
8424 wxPyShape *arg1 = (wxPyShape *) 0 ;
8425 wxDC *arg2 = 0 ;
8426 double arg3 ;
8427 double arg4 ;
8428 double arg5 ;
8429 double arg6 ;
8430 bool arg7 = (bool) True ;
8431 bool result;
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj1 = 0 ;
8434 PyObject * obj2 = 0 ;
8435 PyObject * obj3 = 0 ;
8436 PyObject * obj4 = 0 ;
8437 PyObject * obj5 = 0 ;
8438 PyObject * obj6 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8447 SWIG_POINTER_EXCEPTION | 0)) == -1)
8448 SWIG_fail;
8449 if (arg2 == NULL) {
8450 PyErr_SetString(PyExc_TypeError,"null reference");
8451 SWIG_fail;
8452 }
8453 arg3 = (double) SWIG_AsDouble(obj2);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 arg4 = (double) SWIG_AsDouble(obj3);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 arg5 = (double) SWIG_AsDouble(obj4);
8458 if (PyErr_Occurred()) SWIG_fail;
8459 arg6 = (double) SWIG_AsDouble(obj5);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 if (obj6) {
8462 arg7 = (bool) SWIG_AsBool(obj6);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 {
8473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8474 }
8475 return resultobj;
8476 fail:
8477 return NULL;
8478 }
8479
8480
8481 static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8482 PyObject *resultobj;
8483 wxPyShape *arg1 = (wxPyShape *) 0 ;
8484 wxDC *arg2 = 0 ;
8485 double arg3 ;
8486 double arg4 ;
8487 double arg5 ;
8488 double arg6 ;
8489 bool arg7 = (bool) True ;
8490 PyObject * obj0 = 0 ;
8491 PyObject * obj1 = 0 ;
8492 PyObject * obj2 = 0 ;
8493 PyObject * obj3 = 0 ;
8494 PyObject * obj4 = 0 ;
8495 PyObject * obj5 = 0 ;
8496 PyObject * obj6 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8505 SWIG_POINTER_EXCEPTION | 0)) == -1)
8506 SWIG_fail;
8507 if (arg2 == NULL) {
8508 PyErr_SetString(PyExc_TypeError,"null reference");
8509 SWIG_fail;
8510 }
8511 arg3 = (double) SWIG_AsDouble(obj2);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 arg4 = (double) SWIG_AsDouble(obj3);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 arg5 = (double) SWIG_AsDouble(obj4);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 arg6 = (double) SWIG_AsDouble(obj5);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 if (obj6) {
8520 arg7 = (bool) SWIG_AsBool(obj6);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 {
8524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8525 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8526
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 Py_INCREF(Py_None); resultobj = Py_None;
8531 return resultobj;
8532 fail:
8533 return NULL;
8534 }
8535
8536
8537 static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8538 PyObject *resultobj;
8539 wxPyShape *arg1 = (wxPyShape *) 0 ;
8540 bool arg2 ;
8541 double arg3 ;
8542 double arg4 ;
8543 int arg5 = (int) 0 ;
8544 int arg6 = (int) 0 ;
8545 PyObject * obj0 = 0 ;
8546 PyObject * obj1 = 0 ;
8547 PyObject * obj2 = 0 ;
8548 PyObject * obj3 = 0 ;
8549 PyObject * obj4 = 0 ;
8550 PyObject * obj5 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8558 arg2 = (bool) SWIG_AsBool(obj1);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 arg3 = (double) SWIG_AsDouble(obj2);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 arg4 = (double) SWIG_AsDouble(obj3);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 if (obj4) {
8565 arg5 = (int) SWIG_AsInt(obj4);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 if (obj5) {
8569 arg6 = (int) SWIG_AsInt(obj5);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 Py_INCREF(Py_None); resultobj = Py_None;
8580 return resultobj;
8581 fail:
8582 return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxPyShape *arg1 = (wxPyShape *) 0 ;
8589 double arg2 ;
8590 double arg3 ;
8591 int arg4 = (int) 0 ;
8592 int arg5 = (int) 0 ;
8593 PyObject * obj0 = 0 ;
8594 PyObject * obj1 = 0 ;
8595 PyObject * obj2 = 0 ;
8596 PyObject * obj3 = 0 ;
8597 PyObject * obj4 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8605 arg2 = (double) SWIG_AsDouble(obj1);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 arg3 = (double) SWIG_AsDouble(obj2);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 if (obj3) {
8610 arg4 = (int) SWIG_AsInt(obj3);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 if (obj4) {
8614 arg5 = (int) SWIG_AsInt(obj4);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 Py_INCREF(Py_None); resultobj = Py_None;
8625 return resultobj;
8626 fail:
8627 return NULL;
8628 }
8629
8630
8631 static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj;
8633 wxPyShape *arg1 = (wxPyShape *) 0 ;
8634 double arg2 ;
8635 double arg3 ;
8636 int arg4 = (int) 0 ;
8637 int arg5 = (int) 0 ;
8638 PyObject * obj0 = 0 ;
8639 PyObject * obj1 = 0 ;
8640 PyObject * obj2 = 0 ;
8641 PyObject * obj3 = 0 ;
8642 PyObject * obj4 = 0 ;
8643 char *kwnames[] = {
8644 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8645 };
8646
8647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8650 arg2 = (double) SWIG_AsDouble(obj1);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 arg3 = (double) SWIG_AsDouble(obj2);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 if (obj3) {
8655 arg4 = (int) SWIG_AsInt(obj3);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 if (obj4) {
8659 arg5 = (int) SWIG_AsInt(obj4);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 Py_INCREF(Py_None); resultobj = Py_None;
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8677 PyObject *resultobj;
8678 wxPyShape *arg1 = (wxPyShape *) 0 ;
8679 bool arg2 ;
8680 double arg3 ;
8681 double arg4 ;
8682 int arg5 = (int) 0 ;
8683 int arg6 = (int) 0 ;
8684 PyObject * obj0 = 0 ;
8685 PyObject * obj1 = 0 ;
8686 PyObject * obj2 = 0 ;
8687 PyObject * obj3 = 0 ;
8688 PyObject * obj4 = 0 ;
8689 PyObject * obj5 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8697 arg2 = (bool) SWIG_AsBool(obj1);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 arg3 = (double) SWIG_AsDouble(obj2);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 arg4 = (double) SWIG_AsDouble(obj3);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 if (obj4) {
8704 arg5 = (int) SWIG_AsInt(obj4);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 if (obj5) {
8708 arg6 = (int) SWIG_AsInt(obj5);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 Py_INCREF(Py_None); resultobj = Py_None;
8719 return resultobj;
8720 fail:
8721 return NULL;
8722 }
8723
8724
8725 static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxPyShape *arg1 = (wxPyShape *) 0 ;
8728 double arg2 ;
8729 double arg3 ;
8730 int arg4 = (int) 0 ;
8731 int arg5 = (int) 0 ;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 PyObject * obj2 = 0 ;
8735 PyObject * obj3 = 0 ;
8736 PyObject * obj4 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8744 arg2 = (double) SWIG_AsDouble(obj1);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 arg3 = (double) SWIG_AsDouble(obj2);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 if (obj3) {
8749 arg4 = (int) SWIG_AsInt(obj3);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 if (obj4) {
8753 arg5 = (int) SWIG_AsInt(obj4);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 {
8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
8758 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8759
8760 wxPyEndAllowThreads(__tstate);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 Py_INCREF(Py_None); resultobj = Py_None;
8764 return resultobj;
8765 fail:
8766 return NULL;
8767 }
8768
8769
8770 static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8771 PyObject *resultobj;
8772 wxPyShape *arg1 = (wxPyShape *) 0 ;
8773 double arg2 ;
8774 double arg3 ;
8775 int arg4 = (int) 0 ;
8776 int arg5 = (int) 0 ;
8777 PyObject * obj0 = 0 ;
8778 PyObject * obj1 = 0 ;
8779 PyObject * obj2 = 0 ;
8780 PyObject * obj3 = 0 ;
8781 PyObject * obj4 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8789 arg2 = (double) SWIG_AsDouble(obj1);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 arg3 = (double) SWIG_AsDouble(obj2);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 if (obj3) {
8794 arg4 = (int) SWIG_AsInt(obj3);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 if (obj4) {
8798 arg5 = (int) SWIG_AsInt(obj4);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8804
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 Py_INCREF(Py_None); resultobj = Py_None;
8809 return resultobj;
8810 fail:
8811 return NULL;
8812 }
8813
8814
8815 static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8816 PyObject *resultobj;
8817 wxPyShape *arg1 = (wxPyShape *) 0 ;
8818 wxDC *arg2 = 0 ;
8819 double arg3 ;
8820 double arg4 ;
8821 double arg5 ;
8822 double arg6 ;
8823 PyObject * obj0 = 0 ;
8824 PyObject * obj1 = 0 ;
8825 PyObject * obj2 = 0 ;
8826 PyObject * obj3 = 0 ;
8827 PyObject * obj4 = 0 ;
8828 PyObject * obj5 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8831 };
8832
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8837 SWIG_POINTER_EXCEPTION | 0)) == -1)
8838 SWIG_fail;
8839 if (arg2 == NULL) {
8840 PyErr_SetString(PyExc_TypeError,"null reference");
8841 SWIG_fail;
8842 }
8843 arg3 = (double) SWIG_AsDouble(obj2);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 arg4 = (double) SWIG_AsDouble(obj3);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 arg5 = (double) SWIG_AsDouble(obj4);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 arg6 = (double) SWIG_AsDouble(obj5);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 Py_INCREF(Py_None); resultobj = Py_None;
8859 return resultobj;
8860 fail:
8861 return NULL;
8862 }
8863
8864
8865 static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxPyShape *arg1 = (wxPyShape *) 0 ;
8868 wxDC *arg2 = 0 ;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8871 char *kwnames[] = {
8872 (char *) "self",(char *) "dc", NULL
8873 };
8874
8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
8876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8879 SWIG_POINTER_EXCEPTION | 0)) == -1)
8880 SWIG_fail;
8881 if (arg2 == NULL) {
8882 PyErr_SetString(PyExc_TypeError,"null reference");
8883 SWIG_fail;
8884 }
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 (arg1)->base_OnDrawControlPoints(*arg2);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 Py_INCREF(Py_None); resultobj = Py_None;
8893 return resultobj;
8894 fail:
8895 return NULL;
8896 }
8897
8898
8899 static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxPyShape *arg1 = (wxPyShape *) 0 ;
8902 wxDC *arg2 = 0 ;
8903 PyObject * obj0 = 0 ;
8904 PyObject * obj1 = 0 ;
8905 char *kwnames[] = {
8906 (char *) "self",(char *) "dc", NULL
8907 };
8908
8909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
8910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8912 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8913 SWIG_POINTER_EXCEPTION | 0)) == -1)
8914 SWIG_fail;
8915 if (arg2 == NULL) {
8916 PyErr_SetString(PyExc_TypeError,"null reference");
8917 SWIG_fail;
8918 }
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->base_OnEraseControlPoints(*arg2);
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 Py_INCREF(Py_None); resultobj = Py_None;
8927 return resultobj;
8928 fail:
8929 return NULL;
8930 }
8931
8932
8933 static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxPyShape *arg1 = (wxPyShape *) 0 ;
8936 wxDC *arg2 = 0 ;
8937 bool arg3 = (bool) True ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 PyObject * obj2 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
8946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8949 SWIG_POINTER_EXCEPTION | 0)) == -1)
8950 SWIG_fail;
8951 if (arg2 == NULL) {
8952 PyErr_SetString(PyExc_TypeError,"null reference");
8953 SWIG_fail;
8954 }
8955 if (obj2) {
8956 arg3 = (bool) SWIG_AsBool(obj2);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->base_OnMoveLink(*arg2,arg3);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxPyShape *arg1 = (wxPyShape *) 0 ;
8976 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8977 bool arg3 ;
8978 double arg4 ;
8979 double arg5 ;
8980 int arg6 = (int) 0 ;
8981 int arg7 = (int) 0 ;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 PyObject * obj2 = 0 ;
8985 PyObject * obj3 = 0 ;
8986 PyObject * obj4 = 0 ;
8987 PyObject * obj5 = 0 ;
8988 PyObject * obj6 = 0 ;
8989 char *kwnames[] = {
8990 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
8997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8998 arg3 = (bool) SWIG_AsBool(obj2);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 arg4 = (double) SWIG_AsDouble(obj3);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 arg5 = (double) SWIG_AsDouble(obj4);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 if (obj5) {
9005 arg6 = (int) SWIG_AsInt(obj5);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 if (obj6) {
9009 arg7 = (int) SWIG_AsInt(obj6);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9027 PyObject *resultobj;
9028 wxPyShape *arg1 = (wxPyShape *) 0 ;
9029 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9030 double arg3 ;
9031 double arg4 ;
9032 int arg5 = (int) 0 ;
9033 int arg6 = (int) 0 ;
9034 PyObject * obj0 = 0 ;
9035 PyObject * obj1 = 0 ;
9036 PyObject * obj2 = 0 ;
9037 PyObject * obj3 = 0 ;
9038 PyObject * obj4 = 0 ;
9039 PyObject * obj5 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9049 arg3 = (double) SWIG_AsDouble(obj2);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 arg4 = (double) SWIG_AsDouble(obj3);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 if (obj4) {
9054 arg5 = (int) SWIG_AsInt(obj4);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 if (obj5) {
9058 arg6 = (int) SWIG_AsInt(obj5);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 Py_INCREF(Py_None); resultobj = Py_None;
9069 return resultobj;
9070 fail:
9071 return NULL;
9072 }
9073
9074
9075 static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject *resultobj;
9077 wxPyShape *arg1 = (wxPyShape *) 0 ;
9078 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9079 double arg3 ;
9080 double arg4 ;
9081 int arg5 = (int) 0 ;
9082 int arg6 = (int) 0 ;
9083 PyObject * obj0 = 0 ;
9084 PyObject * obj1 = 0 ;
9085 PyObject * obj2 = 0 ;
9086 PyObject * obj3 = 0 ;
9087 PyObject * obj4 = 0 ;
9088 PyObject * obj5 = 0 ;
9089 char *kwnames[] = {
9090 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9091 };
9092
9093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9098 arg3 = (double) SWIG_AsDouble(obj2);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 arg4 = (double) SWIG_AsDouble(obj3);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 if (obj4) {
9103 arg5 = (int) SWIG_AsInt(obj4);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 if (obj5) {
9107 arg6 = (int) SWIG_AsInt(obj5);
9108 if (PyErr_Occurred()) SWIG_fail;
9109 }
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 Py_INCREF(Py_None); resultobj = Py_None;
9118 return resultobj;
9119 fail:
9120 return NULL;
9121 }
9122
9123
9124 static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj;
9126 wxPyShape *arg1 = (wxPyShape *) 0 ;
9127 double arg2 ;
9128 double arg3 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 PyObject * obj2 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self",(char *) "w",(char *) "h", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9139 arg2 = (double) SWIG_AsDouble(obj1);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 arg3 = (double) SWIG_AsDouble(obj2);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 (arg1)->base_OnBeginSize(arg2,arg3);
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 Py_INCREF(Py_None); resultobj = Py_None;
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxPyShape *arg1 = (wxPyShape *) 0 ;
9160 double arg2 ;
9161 double arg3 ;
9162 PyObject * obj0 = 0 ;
9163 PyObject * obj1 = 0 ;
9164 PyObject * obj2 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self",(char *) "w",(char *) "h", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9172 arg2 = (double) SWIG_AsDouble(obj1);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 arg3 = (double) SWIG_AsDouble(obj2);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 (arg1)->base_OnEndSize(arg2,arg3);
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 Py_INCREF(Py_None); resultobj = Py_None;
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
9191 PyObject *obj;
9192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9193 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9194 Py_INCREF(obj);
9195 return Py_BuildValue((char *)"");
9196 }
9197 static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj;
9199 wxPseudoMetaFile *result;
9200 char *kwnames[] = {
9201 NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 {
9213 resultobj = wxPyMake_wxObject(result);
9214 }
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9224 PyObject * obj0 = 0 ;
9225 char *kwnames[] = {
9226 (char *) "self", NULL
9227 };
9228
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
9230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 delete arg1;
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9249 wxDC *arg2 = 0 ;
9250 double arg3 ;
9251 double arg4 ;
9252 PyObject * obj0 = 0 ;
9253 PyObject * obj1 = 0 ;
9254 PyObject * obj2 = 0 ;
9255 PyObject * obj3 = 0 ;
9256 char *kwnames[] = {
9257 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9258 };
9259
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9264 SWIG_POINTER_EXCEPTION | 0)) == -1)
9265 SWIG_fail;
9266 if (arg2 == NULL) {
9267 PyErr_SetString(PyExc_TypeError,"null reference");
9268 SWIG_fail;
9269 }
9270 arg3 = (double) SWIG_AsDouble(obj2);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 arg4 = (double) SWIG_AsDouble(obj3);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 (arg1)->Draw(*arg2,arg3,arg4);
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9291 PyObject * obj0 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Clear();
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_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9316 wxPseudoMetaFile *arg2 = 0 ;
9317 PyObject * obj0 = 0 ;
9318 PyObject * obj1 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self",(char *) "copy", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
9324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPseudoMetaFile,
9327 SWIG_POINTER_EXCEPTION | 0)) == -1)
9328 SWIG_fail;
9329 if (arg2 == NULL) {
9330 PyErr_SetString(PyExc_TypeError,"null reference");
9331 SWIG_fail;
9332 }
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 (arg1)->Copy(*arg2);
9336
9337 wxPyEndAllowThreads(__tstate);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 Py_INCREF(Py_None); resultobj = Py_None;
9341 return resultobj;
9342 fail:
9343 return NULL;
9344 }
9345
9346
9347 static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9348 PyObject *resultobj;
9349 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9350 double arg2 ;
9351 double arg3 ;
9352 PyObject * obj0 = 0 ;
9353 PyObject * obj1 = 0 ;
9354 PyObject * obj2 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self",(char *) "sx",(char *) "sy", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9362 arg2 = (double) SWIG_AsDouble(obj1);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 arg3 = (double) SWIG_AsDouble(obj2);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 {
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 (arg1)->Scale(arg2,arg3);
9369
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 Py_INCREF(Py_None); resultobj = Py_None;
9374 return resultobj;
9375 fail:
9376 return NULL;
9377 }
9378
9379
9380 static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
9381 PyObject *resultobj;
9382 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9383 double arg2 ;
9384 double arg3 ;
9385 PyObject * obj0 = 0 ;
9386 PyObject * obj1 = 0 ;
9387 PyObject * obj2 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self",(char *) "w",(char *) "h", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9395 arg2 = (double) SWIG_AsDouble(obj1);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 arg3 = (double) SWIG_AsDouble(obj2);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 (arg1)->ScaleTo(arg2,arg3);
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 Py_INCREF(Py_None); resultobj = Py_None;
9407 return resultobj;
9408 fail:
9409 return NULL;
9410 }
9411
9412
9413 static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9416 double arg2 ;
9417 double arg3 ;
9418 PyObject * obj0 = 0 ;
9419 PyObject * obj1 = 0 ;
9420 PyObject * obj2 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self",(char *) "x",(char *) "y", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9428 arg2 = (double) SWIG_AsDouble(obj1);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 arg3 = (double) SWIG_AsDouble(obj2);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 (arg1)->Translate(arg2,arg3);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 Py_INCREF(Py_None); resultobj = Py_None;
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj;
9448 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9449 double arg2 ;
9450 double arg3 ;
9451 double arg4 ;
9452 PyObject * obj0 = 0 ;
9453 PyObject * obj1 = 0 ;
9454 PyObject * obj2 = 0 ;
9455 PyObject * obj3 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9463 arg2 = (double) SWIG_AsDouble(obj1);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 arg3 = (double) SWIG_AsDouble(obj2);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 arg4 = (double) SWIG_AsDouble(obj3);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 {
9470 PyThreadState* __tstate = wxPyBeginAllowThreads();
9471 (arg1)->Rotate(arg2,arg3,arg4);
9472
9473 wxPyEndAllowThreads(__tstate);
9474 if (PyErr_Occurred()) SWIG_fail;
9475 }
9476 Py_INCREF(Py_None); resultobj = Py_None;
9477 return resultobj;
9478 fail:
9479 return NULL;
9480 }
9481
9482
9483 static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj;
9485 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9486 wxString *arg2 = 0 ;
9487 double *arg3 = (double *) 0 ;
9488 double *arg4 = (double *) 0 ;
9489 bool result;
9490 bool temp2 = False ;
9491 PyObject * obj0 = 0 ;
9492 PyObject * obj1 = 0 ;
9493 PyObject * obj2 = 0 ;
9494 PyObject * obj3 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9502 {
9503 arg2 = wxString_in_helper(obj1);
9504 if (arg2 == NULL) SWIG_fail;
9505 temp2 = True;
9506 }
9507 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9509 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 {
9519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9520 }
9521 {
9522 if (temp2)
9523 delete arg2;
9524 }
9525 return resultobj;
9526 fail:
9527 {
9528 if (temp2)
9529 delete arg2;
9530 }
9531 return NULL;
9532 }
9533
9534
9535 static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9538 double *arg2 = (double *) 0 ;
9539 double *arg3 = (double *) 0 ;
9540 double *arg4 = (double *) 0 ;
9541 double *arg5 = (double *) 0 ;
9542 PyObject * obj0 = 0 ;
9543 PyObject * obj1 = 0 ;
9544 PyObject * obj2 = 0 ;
9545 PyObject * obj3 = 0 ;
9546 PyObject * obj4 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,
9555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9556 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9558 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9560 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_double,
9561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 Py_INCREF(Py_None); resultobj = Py_None;
9570 return resultobj;
9571 fail:
9572 return NULL;
9573 }
9574
9575
9576 static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj;
9578 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9579 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9580 PyObject * obj0 = 0 ;
9581 PyObject * obj1 = 0 ;
9582 char *kwnames[] = {
9583 (char *) "self",(char *) "shape", NULL
9584 };
9585
9586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
9587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDrawnShape,
9590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 (arg1)->CalculateSize(arg2);
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 Py_INCREF(Py_None); resultobj = Py_None;
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9608 bool arg2 ;
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj1 = 0 ;
9611 char *kwnames[] = {
9612 (char *) "self",(char *) "rot", NULL
9613 };
9614
9615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
9616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9618 arg2 = (bool) SWIG_AsBool(obj1);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 (arg1)->SetRotateable(arg2);
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 Py_INCREF(Py_None); resultobj = Py_None;
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9637 bool result;
9638 PyObject * obj0 = 0 ;
9639 char *kwnames[] = {
9640 (char *) "self", NULL
9641 };
9642
9643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
9644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9646 {
9647 PyThreadState* __tstate = wxPyBeginAllowThreads();
9648 result = (bool)(arg1)->GetRotateable();
9649
9650 wxPyEndAllowThreads(__tstate);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 {
9654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9655 }
9656 return resultobj;
9657 fail:
9658 return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9665 double arg2 ;
9666 double arg3 ;
9667 PyObject * obj0 = 0 ;
9668 PyObject * obj1 = 0 ;
9669 PyObject * obj2 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self",(char *) "w",(char *) "h", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9677 arg2 = (double) SWIG_AsDouble(obj1);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 arg3 = (double) SWIG_AsDouble(obj2);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 (arg1)->SetSize(arg2,arg3);
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 Py_INCREF(Py_None); resultobj = Py_None;
9689 return resultobj;
9690 fail:
9691 return NULL;
9692 }
9693
9694
9695 static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj;
9697 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9698 wxBrush *arg2 = (wxBrush *) 0 ;
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "brush", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9708 {
9709 wxBrush* temp;
9710 if (obj1) {
9711 if (obj1 == Py_None) {
9712 temp = NULL;
9713 }
9714 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9715 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9716 return NULL;
9717 }
9718 }
9719 if (temp)
9720 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9721 else
9722 arg2 = NULL;
9723 }
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->SetFillBrush(arg2);
9727
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 Py_INCREF(Py_None); resultobj = Py_None;
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj;
9740 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9741 wxBrush *result;
9742 PyObject * obj0 = 0 ;
9743 char *kwnames[] = {
9744 (char *) "self", NULL
9745 };
9746
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
9748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 result = (wxBrush *)(arg1)->GetFillBrush();
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj;
9766 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9767 wxPen *arg2 = (wxPen *) 0 ;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "pen", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
9775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9777 {
9778 wxPen* temp;
9779 if (obj1) {
9780 if (obj1 == Py_None) {
9781 temp = NULL;
9782 }
9783 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9784 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9785 return NULL;
9786 }
9787 }
9788 if (temp)
9789 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9790 temp->GetWidth(),
9791 temp->GetStyle());
9792 else
9793 arg2 = NULL;
9794 }
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 (arg1)->SetOutlinePen(arg2);
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
9802 Py_INCREF(Py_None); resultobj = Py_None;
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9812 wxPen *result;
9813 PyObject * obj0 = 0 ;
9814 char *kwnames[] = {
9815 (char *) "self", NULL
9816 };
9817
9818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
9819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (wxPen *)(arg1)->GetOutlinePen();
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
9829 return resultobj;
9830 fail:
9831 return NULL;
9832 }
9833
9834
9835 static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject *resultobj;
9837 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9838 int arg2 ;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 char *kwnames[] = {
9842 (char *) "self",(char *) "op", NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
9846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9848 arg2 = (int) SWIG_AsInt(obj1);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 (arg1)->SetOutlineOp(arg2);
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 Py_INCREF(Py_None); resultobj = Py_None;
9858 return resultobj;
9859 fail:
9860 return NULL;
9861 }
9862
9863
9864 static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9867 int result;
9868 PyObject * obj0 = 0 ;
9869 char *kwnames[] = {
9870 (char *) "self", NULL
9871 };
9872
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
9874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 result = (int)(arg1)->GetOutlineOp();
9879
9880 wxPyEndAllowThreads(__tstate);
9881 if (PyErr_Occurred()) SWIG_fail;
9882 }
9883 resultobj = SWIG_FromInt((int)result);
9884 return resultobj;
9885 fail:
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj;
9892 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9893 bool result;
9894 PyObject * obj0 = 0 ;
9895 char *kwnames[] = {
9896 (char *) "self", NULL
9897 };
9898
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 result = (bool)(arg1)->IsValid();
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 {
9910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9911 }
9912 return resultobj;
9913 fail:
9914 return NULL;
9915 }
9916
9917
9918 static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9919 PyObject *resultobj;
9920 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9921 wxPoint *arg2 = 0 ;
9922 wxPoint *arg3 = 0 ;
9923 wxPoint temp2 ;
9924 wxPoint temp3 ;
9925 PyObject * obj0 = 0 ;
9926 PyObject * obj1 = 0 ;
9927 PyObject * obj2 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9935 {
9936 arg2 = &temp2;
9937 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9938 }
9939 {
9940 arg3 = &temp3;
9941 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9942 }
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
9946
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 Py_INCREF(Py_None); resultobj = Py_None;
9951 return resultobj;
9952 fail:
9953 return NULL;
9954 }
9955
9956
9957 static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9960 wxRect *arg2 = 0 ;
9961 wxRect temp2 ;
9962 PyObject * obj0 = 0 ;
9963 PyObject * obj1 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self",(char *) "rect", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
9969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9971 {
9972 arg2 = &temp2;
9973 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9974 }
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 (arg1)->DrawRectangle((wxRect const &)*arg2);
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 Py_INCREF(Py_None); resultobj = Py_None;
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9992 wxRect *arg2 = 0 ;
9993 double arg3 ;
9994 wxRect temp2 ;
9995 PyObject * obj0 = 0 ;
9996 PyObject * obj1 = 0 ;
9997 PyObject * obj2 = 0 ;
9998 char *kwnames[] = {
9999 (char *) "self",(char *) "rect",(char *) "radius", NULL
10000 };
10001
10002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10005 {
10006 arg2 = &temp2;
10007 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10008 }
10009 arg3 = (double) SWIG_AsDouble(obj2);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
10014
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 Py_INCREF(Py_None); resultobj = Py_None;
10019 return resultobj;
10020 fail:
10021 return NULL;
10022 }
10023
10024
10025 static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject *resultobj;
10027 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10028 wxPoint *arg2 = 0 ;
10029 wxPoint *arg3 = 0 ;
10030 wxPoint *arg4 = 0 ;
10031 wxPoint temp2 ;
10032 wxPoint temp3 ;
10033 wxPoint temp4 ;
10034 PyObject * obj0 = 0 ;
10035 PyObject * obj1 = 0 ;
10036 PyObject * obj2 = 0 ;
10037 PyObject * obj3 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10045 {
10046 arg2 = &temp2;
10047 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10048 }
10049 {
10050 arg3 = &temp3;
10051 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10052 }
10053 {
10054 arg4 = &temp4;
10055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10056 }
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 Py_INCREF(Py_None); resultobj = Py_None;
10065 return resultobj;
10066 fail:
10067 return NULL;
10068 }
10069
10070
10071 static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10072 PyObject *resultobj;
10073 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10074 wxRect *arg2 = 0 ;
10075 double arg3 ;
10076 double arg4 ;
10077 wxRect temp2 ;
10078 PyObject * obj0 = 0 ;
10079 PyObject * obj1 = 0 ;
10080 PyObject * obj2 = 0 ;
10081 PyObject * obj3 = 0 ;
10082 char *kwnames[] = {
10083 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10084 };
10085
10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10089 {
10090 arg2 = &temp2;
10091 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10092 }
10093 arg3 = (double) SWIG_AsDouble(obj2);
10094 if (PyErr_Occurred()) SWIG_fail;
10095 arg4 = (double) SWIG_AsDouble(obj3);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 Py_INCREF(Py_None); resultobj = Py_None;
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
10112 PyObject *resultobj;
10113 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10114 wxRect *arg2 = 0 ;
10115 wxRect temp2 ;
10116 PyObject * obj0 = 0 ;
10117 PyObject * obj1 = 0 ;
10118 char *kwnames[] = {
10119 (char *) "self",(char *) "rect", NULL
10120 };
10121
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
10123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10125 {
10126 arg2 = &temp2;
10127 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10128 }
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 (arg1)->DrawEllipse((wxRect const &)*arg2);
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 Py_INCREF(Py_None); resultobj = Py_None;
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10146 wxPoint *arg2 = 0 ;
10147 wxPoint temp2 ;
10148 PyObject * obj0 = 0 ;
10149 PyObject * obj1 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self",(char *) "pt", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
10155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10157 {
10158 arg2 = &temp2;
10159 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10160 }
10161 {
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 (arg1)->DrawPoint((wxPoint const &)*arg2);
10164
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 Py_INCREF(Py_None); resultobj = Py_None;
10169 return resultobj;
10170 fail:
10171 return NULL;
10172 }
10173
10174
10175 static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
10176 PyObject *resultobj;
10177 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10178 wxString *arg2 = 0 ;
10179 wxPoint *arg3 = 0 ;
10180 bool temp2 = False ;
10181 wxPoint temp3 ;
10182 PyObject * obj0 = 0 ;
10183 PyObject * obj1 = 0 ;
10184 PyObject * obj2 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self",(char *) "text",(char *) "pt", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10192 {
10193 arg2 = wxString_in_helper(obj1);
10194 if (arg2 == NULL) SWIG_fail;
10195 temp2 = True;
10196 }
10197 {
10198 arg3 = &temp3;
10199 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10200 }
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 Py_INCREF(Py_None); resultobj = Py_None;
10209 {
10210 if (temp2)
10211 delete arg2;
10212 }
10213 return resultobj;
10214 fail:
10215 {
10216 if (temp2)
10217 delete arg2;
10218 }
10219 return NULL;
10220 }
10221
10222
10223 static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10224 PyObject *resultobj;
10225 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10226 int arg2 ;
10227 wxPoint *arg3 = (wxPoint *) 0 ;
10228 PyObject * obj0 = 0 ;
10229 PyObject * obj1 = 0 ;
10230 PyObject * obj2 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
10236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10238 arg2 = (int) SWIG_AsInt(obj1);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 (arg1)->DrawLines(arg2,arg3);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 Py_INCREF(Py_None); resultobj = Py_None;
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10259 int arg2 ;
10260 wxPoint *arg3 = (wxPoint *) 0 ;
10261 int arg4 = (int) 0 ;
10262 PyObject * obj0 = 0 ;
10263 PyObject * obj1 = 0 ;
10264 PyObject * obj2 = 0 ;
10265 PyObject * obj3 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 arg2 = (int) SWIG_AsInt(obj1);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10277 if (obj3) {
10278 arg4 = (int) SWIG_AsInt(obj3);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 (arg1)->DrawPolygon(arg2,arg3,arg4);
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 Py_INCREF(Py_None); resultobj = Py_None;
10289 return resultobj;
10290 fail:
10291 return NULL;
10292 }
10293
10294
10295 static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj;
10297 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10298 int arg2 ;
10299 wxPoint *arg3 = (wxPoint *) 0 ;
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 PyObject * obj2 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
10308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10310 arg2 = (int) SWIG_AsInt(obj1);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 (arg1)->DrawSpline(arg2,arg3);
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 Py_INCREF(Py_None); resultobj = Py_None;
10322 return resultobj;
10323 fail:
10324 return NULL;
10325 }
10326
10327
10328 static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10329 PyObject *resultobj;
10330 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10331 wxRect *arg2 = 0 ;
10332 wxRect temp2 ;
10333 PyObject * obj0 = 0 ;
10334 PyObject * obj1 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self",(char *) "rect", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10342 {
10343 arg2 = &temp2;
10344 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10345 }
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 (arg1)->SetClippingRect((wxRect const &)*arg2);
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 Py_INCREF(Py_None); resultobj = Py_None;
10354 return resultobj;
10355 fail:
10356 return NULL;
10357 }
10358
10359
10360 static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj;
10362 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10363 PyObject * obj0 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
10369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 (arg1)->DestroyClippingRect();
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 Py_INCREF(Py_None); resultobj = Py_None;
10379 return resultobj;
10380 fail:
10381 return NULL;
10382 }
10383
10384
10385 static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject *resultobj;
10387 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10388 wxPen *arg2 = (wxPen *) 0 ;
10389 bool arg3 = (bool) FALSE ;
10390 PyObject * obj0 = 0 ;
10391 PyObject * obj1 = 0 ;
10392 PyObject * obj2 = 0 ;
10393 char *kwnames[] = {
10394 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
10398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10400 {
10401 wxPen* temp;
10402 if (obj1) {
10403 if (obj1 == Py_None) {
10404 temp = NULL;
10405 }
10406 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10407 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10408 return NULL;
10409 }
10410 }
10411 if (temp)
10412 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10413 temp->GetWidth(),
10414 temp->GetStyle());
10415 else
10416 arg2 = NULL;
10417 }
10418 if (obj2) {
10419 arg3 = (bool) SWIG_AsBool(obj2);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 (arg1)->SetPen(arg2,arg3);
10425
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 Py_INCREF(Py_None); resultobj = Py_None;
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10439 wxBrush *arg2 = (wxBrush *) 0 ;
10440 bool arg3 = (bool) FALSE ;
10441 PyObject * obj0 = 0 ;
10442 PyObject * obj1 = 0 ;
10443 PyObject * obj2 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10451 {
10452 wxBrush* temp;
10453 if (obj1) {
10454 if (obj1 == Py_None) {
10455 temp = NULL;
10456 }
10457 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10458 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10459 return NULL;
10460 }
10461 }
10462 if (temp)
10463 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10464 else
10465 arg2 = NULL;
10466 }
10467 if (obj2) {
10468 arg3 = (bool) SWIG_AsBool(obj2);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 (arg1)->SetBrush(arg2,arg3);
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10486 PyObject *resultobj;
10487 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10488 wxFont *arg2 = (wxFont *) 0 ;
10489 PyObject * obj0 = 0 ;
10490 PyObject * obj1 = 0 ;
10491 char *kwnames[] = {
10492 (char *) "self",(char *) "font", NULL
10493 };
10494
10495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
10496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10498 {
10499 wxFont* temp;
10500 if (obj1) {
10501 if (obj1 == Py_None) {
10502 temp = NULL;
10503 }
10504 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10505 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10506 return NULL;
10507 }
10508 }
10509 if (temp)
10510 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10511 temp->GetFamily(),
10512 temp->GetStyle(),
10513 temp->GetWeight(),
10514 temp->GetUnderlined(),
10515 temp->GetFaceName(),
10516 temp->GetEncoding());
10517 else
10518 arg2 = NULL;
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetFont(arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10537 wxColour *arg2 = 0 ;
10538 wxColour temp2 ;
10539 PyObject * obj0 = 0 ;
10540 PyObject * obj1 = 0 ;
10541 char *kwnames[] = {
10542 (char *) "self",(char *) "colour", NULL
10543 };
10544
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10548 {
10549 arg2 = &temp2;
10550 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10551 }
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 (arg1)->SetTextColour((wxColour const &)*arg2);
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 Py_INCREF(Py_None); resultobj = Py_None;
10560 return resultobj;
10561 fail:
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10569 wxColour *arg2 = 0 ;
10570 wxColour temp2 ;
10571 PyObject * obj0 = 0 ;
10572 PyObject * obj1 = 0 ;
10573 char *kwnames[] = {
10574 (char *) "self",(char *) "colour", NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10580 {
10581 arg2 = &temp2;
10582 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 Py_INCREF(Py_None); resultobj = Py_None;
10592 return resultobj;
10593 fail:
10594 return NULL;
10595 }
10596
10597
10598 static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10599 PyObject *resultobj;
10600 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10601 int arg2 ;
10602 PyObject * obj0 = 0 ;
10603 PyObject * obj1 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self",(char *) "mode", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10611 arg2 = (int) SWIG_AsInt(obj1);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 (arg1)->SetBackgroundMode(arg2);
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 Py_INCREF(Py_None); resultobj = Py_None;
10621 return resultobj;
10622 fail:
10623 return NULL;
10624 }
10625
10626
10627 static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
10628 PyObject *obj;
10629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10630 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10631 Py_INCREF(obj);
10632 return Py_BuildValue((char *)"");
10633 }
10634 static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 double arg1 = (double) 0.0 ;
10637 double arg2 = (double) 0.0 ;
10638 wxPyRectangleShape *result;
10639 PyObject * obj0 = 0 ;
10640 PyObject * obj1 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "width",(char *) "height", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10646 if (obj0) {
10647 arg1 = (double) SWIG_AsDouble(obj0);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 if (obj1) {
10651 arg2 = (double) SWIG_AsDouble(obj1);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyRectangleShape, 1);
10662 return resultobj;
10663 fail:
10664 return NULL;
10665 }
10666
10667
10668 static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10669 PyObject *resultobj;
10670 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10671 PyObject *arg2 = (PyObject *) 0 ;
10672 PyObject *arg3 = (PyObject *) 0 ;
10673 PyObject * obj0 = 0 ;
10674 PyObject * obj1 = 0 ;
10675 PyObject * obj2 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "self",(char *) "_class", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10683 arg2 = obj1;
10684 arg3 = obj2;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 (arg1)->_setCallbackInfo(arg2,arg3);
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 Py_INCREF(Py_None); resultobj = Py_None;
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj;
10701 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10702 double arg2 ;
10703 PyObject * obj0 = 0 ;
10704 PyObject * obj1 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self",(char *) "radius", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10712 arg2 = (double) SWIG_AsDouble(obj1);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 (arg1)->SetCornerRadius(arg2);
10717
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 Py_INCREF(Py_None); resultobj = Py_None;
10722 return resultobj;
10723 fail:
10724 return NULL;
10725 }
10726
10727
10728 static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj;
10730 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10731 double result;
10732 PyObject * obj0 = 0 ;
10733 char *kwnames[] = {
10734 (char *) "self", NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
10738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 result = (double)(arg1)->GetCornerRadius();
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 resultobj = SWIG_FromDouble((double)result);
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
10755 PyObject *resultobj;
10756 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10757 PyObject * obj0 = 0 ;
10758 char *kwnames[] = {
10759 (char *) "self", NULL
10760 };
10761
10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
10763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10765 {
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 (arg1)->base_OnDelete();
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 Py_INCREF(Py_None); resultobj = Py_None;
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10782 wxDC *arg2 = 0 ;
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self",(char *) "dc", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10793 SWIG_POINTER_EXCEPTION | 0)) == -1)
10794 SWIG_fail;
10795 if (arg2 == NULL) {
10796 PyErr_SetString(PyExc_TypeError,"null reference");
10797 SWIG_fail;
10798 }
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 (arg1)->base_OnDraw(*arg2);
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 Py_INCREF(Py_None); resultobj = Py_None;
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10816 wxDC *arg2 = 0 ;
10817 PyObject * obj0 = 0 ;
10818 PyObject * obj1 = 0 ;
10819 char *kwnames[] = {
10820 (char *) "self",(char *) "dc", NULL
10821 };
10822
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10827 SWIG_POINTER_EXCEPTION | 0)) == -1)
10828 SWIG_fail;
10829 if (arg2 == NULL) {
10830 PyErr_SetString(PyExc_TypeError,"null reference");
10831 SWIG_fail;
10832 }
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 (arg1)->base_OnDrawContents(*arg2);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 Py_INCREF(Py_None); resultobj = Py_None;
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10850 wxDC *arg2 = 0 ;
10851 bool arg3 = (bool) FALSE ;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "dc",(char *) "erase", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10863 SWIG_POINTER_EXCEPTION | 0)) == -1)
10864 SWIG_fail;
10865 if (arg2 == NULL) {
10866 PyErr_SetString(PyExc_TypeError,"null reference");
10867 SWIG_fail;
10868 }
10869 if (obj2) {
10870 arg3 = (bool) SWIG_AsBool(obj2);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->base_OnDrawBranches(*arg2,arg3);
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_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj;
10889 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10890 wxDC *arg2 = 0 ;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893 char *kwnames[] = {
10894 (char *) "self",(char *) "dc", NULL
10895 };
10896
10897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10901 SWIG_POINTER_EXCEPTION | 0)) == -1)
10902 SWIG_fail;
10903 if (arg2 == NULL) {
10904 PyErr_SetString(PyExc_TypeError,"null reference");
10905 SWIG_fail;
10906 }
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 (arg1)->base_OnMoveLinks(*arg2);
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 Py_INCREF(Py_None); resultobj = Py_None;
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj;
10923 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10924 wxDC *arg2 = 0 ;
10925 PyObject * obj0 = 0 ;
10926 PyObject * obj1 = 0 ;
10927 char *kwnames[] = {
10928 (char *) "self",(char *) "dc", NULL
10929 };
10930
10931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10935 SWIG_POINTER_EXCEPTION | 0)) == -1)
10936 SWIG_fail;
10937 if (arg2 == NULL) {
10938 PyErr_SetString(PyExc_TypeError,"null reference");
10939 SWIG_fail;
10940 }
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 (arg1)->base_OnErase(*arg2);
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 Py_INCREF(Py_None); resultobj = Py_None;
10949 return resultobj;
10950 fail:
10951 return NULL;
10952 }
10953
10954
10955 static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10958 wxDC *arg2 = 0 ;
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self",(char *) "dc", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10969 SWIG_POINTER_EXCEPTION | 0)) == -1)
10970 SWIG_fail;
10971 if (arg2 == NULL) {
10972 PyErr_SetString(PyExc_TypeError,"null reference");
10973 SWIG_fail;
10974 }
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 (arg1)->base_OnEraseContents(*arg2);
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 Py_INCREF(Py_None); resultobj = Py_None;
10983 return resultobj;
10984 fail:
10985 return NULL;
10986 }
10987
10988
10989 static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10990 PyObject *resultobj;
10991 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10992 wxDC *arg2 = 0 ;
10993 PyObject * obj0 = 0 ;
10994 PyObject * obj1 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self",(char *) "dc", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
11000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11003 SWIG_POINTER_EXCEPTION | 0)) == -1)
11004 SWIG_fail;
11005 if (arg2 == NULL) {
11006 PyErr_SetString(PyExc_TypeError,"null reference");
11007 SWIG_fail;
11008 }
11009 {
11010 PyThreadState* __tstate = wxPyBeginAllowThreads();
11011 (arg1)->base_OnHighlight(*arg2);
11012
11013 wxPyEndAllowThreads(__tstate);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
11016 Py_INCREF(Py_None); resultobj = Py_None;
11017 return resultobj;
11018 fail:
11019 return NULL;
11020 }
11021
11022
11023 static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject *resultobj;
11025 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11026 double arg2 ;
11027 double arg3 ;
11028 int arg4 = (int) 0 ;
11029 int arg5 = (int) 0 ;
11030 PyObject * obj0 = 0 ;
11031 PyObject * obj1 = 0 ;
11032 PyObject * obj2 = 0 ;
11033 PyObject * obj3 = 0 ;
11034 PyObject * obj4 = 0 ;
11035 char *kwnames[] = {
11036 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11037 };
11038
11039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11042 arg2 = (double) SWIG_AsDouble(obj1);
11043 if (PyErr_Occurred()) SWIG_fail;
11044 arg3 = (double) SWIG_AsDouble(obj2);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 if (obj3) {
11047 arg4 = (int) SWIG_AsInt(obj3);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 if (obj4) {
11051 arg5 = (int) SWIG_AsInt(obj4);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 Py_INCREF(Py_None); resultobj = Py_None;
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj;
11070 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11071 double arg2 ;
11072 double arg3 ;
11073 int arg4 = (int) 0 ;
11074 int arg5 = (int) 0 ;
11075 PyObject * obj0 = 0 ;
11076 PyObject * obj1 = 0 ;
11077 PyObject * obj2 = 0 ;
11078 PyObject * obj3 = 0 ;
11079 PyObject * obj4 = 0 ;
11080 char *kwnames[] = {
11081 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11082 };
11083
11084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11087 arg2 = (double) SWIG_AsDouble(obj1);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 arg3 = (double) SWIG_AsDouble(obj2);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 if (obj3) {
11092 arg4 = (int) SWIG_AsInt(obj3);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 if (obj4) {
11096 arg5 = (int) SWIG_AsInt(obj4);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 Py_INCREF(Py_None); resultobj = Py_None;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11116 double arg2 ;
11117 double arg3 ;
11118 int arg4 = (int) 0 ;
11119 int arg5 = (int) 0 ;
11120 PyObject * obj0 = 0 ;
11121 PyObject * obj1 = 0 ;
11122 PyObject * obj2 = 0 ;
11123 PyObject * obj3 = 0 ;
11124 PyObject * obj4 = 0 ;
11125 char *kwnames[] = {
11126 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11127 };
11128
11129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11132 arg2 = (double) SWIG_AsDouble(obj1);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 arg3 = (double) SWIG_AsDouble(obj2);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 if (obj3) {
11137 arg4 = (int) SWIG_AsInt(obj3);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 if (obj4) {
11141 arg5 = (int) SWIG_AsInt(obj4);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 Py_INCREF(Py_None); resultobj = Py_None;
11152 return resultobj;
11153 fail:
11154 return NULL;
11155 }
11156
11157
11158 static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject *resultobj;
11160 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11161 double arg2 ;
11162 double arg3 ;
11163 PyObject * obj0 = 0 ;
11164 PyObject * obj1 = 0 ;
11165 PyObject * obj2 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self",(char *) "x",(char *) "y", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11173 arg2 = (double) SWIG_AsDouble(obj1);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 arg3 = (double) SWIG_AsDouble(obj2);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 (arg1)->base_OnSize(arg2,arg3);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 Py_INCREF(Py_None); resultobj = Py_None;
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11194 wxDC *arg2 = 0 ;
11195 double arg3 ;
11196 double arg4 ;
11197 double arg5 ;
11198 double arg6 ;
11199 bool arg7 = (bool) True ;
11200 bool result;
11201 PyObject * obj0 = 0 ;
11202 PyObject * obj1 = 0 ;
11203 PyObject * obj2 = 0 ;
11204 PyObject * obj3 = 0 ;
11205 PyObject * obj4 = 0 ;
11206 PyObject * obj5 = 0 ;
11207 PyObject * obj6 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11216 SWIG_POINTER_EXCEPTION | 0)) == -1)
11217 SWIG_fail;
11218 if (arg2 == NULL) {
11219 PyErr_SetString(PyExc_TypeError,"null reference");
11220 SWIG_fail;
11221 }
11222 arg3 = (double) SWIG_AsDouble(obj2);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 arg4 = (double) SWIG_AsDouble(obj3);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 arg5 = (double) SWIG_AsDouble(obj4);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 arg6 = (double) SWIG_AsDouble(obj5);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 if (obj6) {
11231 arg7 = (bool) SWIG_AsBool(obj6);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 {
11242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11243 }
11244 return resultobj;
11245 fail:
11246 return NULL;
11247 }
11248
11249
11250 static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj;
11252 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11253 wxDC *arg2 = 0 ;
11254 double arg3 ;
11255 double arg4 ;
11256 double arg5 ;
11257 double arg6 ;
11258 bool arg7 = (bool) True ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 PyObject * obj2 = 0 ;
11262 PyObject * obj3 = 0 ;
11263 PyObject * obj4 = 0 ;
11264 PyObject * obj5 = 0 ;
11265 PyObject * obj6 = 0 ;
11266 char *kwnames[] = {
11267 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11268 };
11269
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11274 SWIG_POINTER_EXCEPTION | 0)) == -1)
11275 SWIG_fail;
11276 if (arg2 == NULL) {
11277 PyErr_SetString(PyExc_TypeError,"null reference");
11278 SWIG_fail;
11279 }
11280 arg3 = (double) SWIG_AsDouble(obj2);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 arg4 = (double) SWIG_AsDouble(obj3);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 arg5 = (double) SWIG_AsDouble(obj4);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 arg6 = (double) SWIG_AsDouble(obj5);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 if (obj6) {
11289 arg7 = (bool) SWIG_AsBool(obj6);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 Py_INCREF(Py_None); resultobj = Py_None;
11300 return resultobj;
11301 fail:
11302 return NULL;
11303 }
11304
11305
11306 static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11307 PyObject *resultobj;
11308 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11309 bool arg2 ;
11310 double arg3 ;
11311 double arg4 ;
11312 int arg5 = (int) 0 ;
11313 int arg6 = (int) 0 ;
11314 PyObject * obj0 = 0 ;
11315 PyObject * obj1 = 0 ;
11316 PyObject * obj2 = 0 ;
11317 PyObject * obj3 = 0 ;
11318 PyObject * obj4 = 0 ;
11319 PyObject * obj5 = 0 ;
11320 char *kwnames[] = {
11321 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11322 };
11323
11324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11327 arg2 = (bool) SWIG_AsBool(obj1);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 arg3 = (double) SWIG_AsDouble(obj2);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 arg4 = (double) SWIG_AsDouble(obj3);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 if (obj4) {
11334 arg5 = (int) SWIG_AsInt(obj4);
11335 if (PyErr_Occurred()) SWIG_fail;
11336 }
11337 if (obj5) {
11338 arg6 = (int) SWIG_AsInt(obj5);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11344
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 Py_INCREF(Py_None); resultobj = Py_None;
11349 return resultobj;
11350 fail:
11351 return NULL;
11352 }
11353
11354
11355 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj;
11357 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11358 double arg2 ;
11359 double arg3 ;
11360 int arg4 = (int) 0 ;
11361 int arg5 = (int) 0 ;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 PyObject * obj2 = 0 ;
11365 PyObject * obj3 = 0 ;
11366 PyObject * obj4 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11374 arg2 = (double) SWIG_AsDouble(obj1);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 arg3 = (double) SWIG_AsDouble(obj2);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 if (obj3) {
11379 arg4 = (int) SWIG_AsInt(obj3);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 if (obj4) {
11383 arg5 = (int) SWIG_AsInt(obj4);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 Py_INCREF(Py_None); resultobj = Py_None;
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11403 double arg2 ;
11404 double arg3 ;
11405 int arg4 = (int) 0 ;
11406 int arg5 = (int) 0 ;
11407 PyObject * obj0 = 0 ;
11408 PyObject * obj1 = 0 ;
11409 PyObject * obj2 = 0 ;
11410 PyObject * obj3 = 0 ;
11411 PyObject * obj4 = 0 ;
11412 char *kwnames[] = {
11413 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11414 };
11415
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11419 arg2 = (double) SWIG_AsDouble(obj1);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 arg3 = (double) SWIG_AsDouble(obj2);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 if (obj3) {
11424 arg4 = (int) SWIG_AsInt(obj3);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 if (obj4) {
11428 arg5 = (int) SWIG_AsInt(obj4);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11434
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 Py_INCREF(Py_None); resultobj = Py_None;
11439 return resultobj;
11440 fail:
11441 return NULL;
11442 }
11443
11444
11445 static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11448 bool arg2 ;
11449 double arg3 ;
11450 double arg4 ;
11451 int arg5 = (int) 0 ;
11452 int arg6 = (int) 0 ;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 PyObject * obj2 = 0 ;
11456 PyObject * obj3 = 0 ;
11457 PyObject * obj4 = 0 ;
11458 PyObject * obj5 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11466 arg2 = (bool) SWIG_AsBool(obj1);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 arg3 = (double) SWIG_AsDouble(obj2);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 arg4 = (double) SWIG_AsDouble(obj3);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 if (obj4) {
11473 arg5 = (int) SWIG_AsInt(obj4);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 if (obj5) {
11477 arg6 = (int) SWIG_AsInt(obj5);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
11487 Py_INCREF(Py_None); resultobj = Py_None;
11488 return resultobj;
11489 fail:
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11497 double arg2 ;
11498 double arg3 ;
11499 int arg4 = (int) 0 ;
11500 int arg5 = (int) 0 ;
11501 PyObject * obj0 = 0 ;
11502 PyObject * obj1 = 0 ;
11503 PyObject * obj2 = 0 ;
11504 PyObject * obj3 = 0 ;
11505 PyObject * obj4 = 0 ;
11506 char *kwnames[] = {
11507 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11508 };
11509
11510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11513 arg2 = (double) SWIG_AsDouble(obj1);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 arg3 = (double) SWIG_AsDouble(obj2);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 if (obj3) {
11518 arg4 = (int) SWIG_AsInt(obj3);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 if (obj4) {
11522 arg5 = (int) SWIG_AsInt(obj4);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 Py_INCREF(Py_None); resultobj = Py_None;
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11542 double arg2 ;
11543 double arg3 ;
11544 int arg4 = (int) 0 ;
11545 int arg5 = (int) 0 ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 PyObject * obj2 = 0 ;
11549 PyObject * obj3 = 0 ;
11550 PyObject * obj4 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11558 arg2 = (double) SWIG_AsDouble(obj1);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 arg3 = (double) SWIG_AsDouble(obj2);
11561 if (PyErr_Occurred()) SWIG_fail;
11562 if (obj3) {
11563 arg4 = (int) SWIG_AsInt(obj3);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 if (obj4) {
11567 arg5 = (int) SWIG_AsInt(obj4);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 }
11570 {
11571 PyThreadState* __tstate = wxPyBeginAllowThreads();
11572 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11573
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 Py_INCREF(Py_None); resultobj = Py_None;
11578 return resultobj;
11579 fail:
11580 return NULL;
11581 }
11582
11583
11584 static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11585 PyObject *resultobj;
11586 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11587 wxDC *arg2 = 0 ;
11588 double arg3 ;
11589 double arg4 ;
11590 double arg5 ;
11591 double arg6 ;
11592 PyObject * obj0 = 0 ;
11593 PyObject * obj1 = 0 ;
11594 PyObject * obj2 = 0 ;
11595 PyObject * obj3 = 0 ;
11596 PyObject * obj4 = 0 ;
11597 PyObject * obj5 = 0 ;
11598 char *kwnames[] = {
11599 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11606 SWIG_POINTER_EXCEPTION | 0)) == -1)
11607 SWIG_fail;
11608 if (arg2 == NULL) {
11609 PyErr_SetString(PyExc_TypeError,"null reference");
11610 SWIG_fail;
11611 }
11612 arg3 = (double) SWIG_AsDouble(obj2);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 arg4 = (double) SWIG_AsDouble(obj3);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 arg5 = (double) SWIG_AsDouble(obj4);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 arg6 = (double) SWIG_AsDouble(obj5);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 Py_INCREF(Py_None); resultobj = Py_None;
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11635 PyObject *resultobj;
11636 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11637 wxDC *arg2 = 0 ;
11638 PyObject * obj0 = 0 ;
11639 PyObject * obj1 = 0 ;
11640 char *kwnames[] = {
11641 (char *) "self",(char *) "dc", NULL
11642 };
11643
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11648 SWIG_POINTER_EXCEPTION | 0)) == -1)
11649 SWIG_fail;
11650 if (arg2 == NULL) {
11651 PyErr_SetString(PyExc_TypeError,"null reference");
11652 SWIG_fail;
11653 }
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 (arg1)->base_OnDrawControlPoints(*arg2);
11657
11658 wxPyEndAllowThreads(__tstate);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 Py_INCREF(Py_None); resultobj = Py_None;
11662 return resultobj;
11663 fail:
11664 return NULL;
11665 }
11666
11667
11668 static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject *resultobj;
11670 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11671 wxDC *arg2 = 0 ;
11672 PyObject * obj0 = 0 ;
11673 PyObject * obj1 = 0 ;
11674 char *kwnames[] = {
11675 (char *) "self",(char *) "dc", NULL
11676 };
11677
11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11682 SWIG_POINTER_EXCEPTION | 0)) == -1)
11683 SWIG_fail;
11684 if (arg2 == NULL) {
11685 PyErr_SetString(PyExc_TypeError,"null reference");
11686 SWIG_fail;
11687 }
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 (arg1)->base_OnEraseControlPoints(*arg2);
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 Py_INCREF(Py_None); resultobj = Py_None;
11696 return resultobj;
11697 fail:
11698 return NULL;
11699 }
11700
11701
11702 static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11703 PyObject *resultobj;
11704 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11705 wxDC *arg2 = 0 ;
11706 bool arg3 = (bool) True ;
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709 PyObject * obj2 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11718 SWIG_POINTER_EXCEPTION | 0)) == -1)
11719 SWIG_fail;
11720 if (arg2 == NULL) {
11721 PyErr_SetString(PyExc_TypeError,"null reference");
11722 SWIG_fail;
11723 }
11724 if (obj2) {
11725 arg3 = (bool) SWIG_AsBool(obj2);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 (arg1)->base_OnMoveLink(*arg2,arg3);
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_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj;
11744 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11745 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11746 bool arg3 ;
11747 double arg4 ;
11748 double arg5 ;
11749 int arg6 = (int) 0 ;
11750 int arg7 = (int) 0 ;
11751 PyObject * obj0 = 0 ;
11752 PyObject * obj1 = 0 ;
11753 PyObject * obj2 = 0 ;
11754 PyObject * obj3 = 0 ;
11755 PyObject * obj4 = 0 ;
11756 PyObject * obj5 = 0 ;
11757 PyObject * obj6 = 0 ;
11758 char *kwnames[] = {
11759 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11760 };
11761
11762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11767 arg3 = (bool) SWIG_AsBool(obj2);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 arg4 = (double) SWIG_AsDouble(obj3);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 arg5 = (double) SWIG_AsDouble(obj4);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 if (obj5) {
11774 arg6 = (int) SWIG_AsInt(obj5);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 if (obj6) {
11778 arg7 = (int) SWIG_AsInt(obj6);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 Py_INCREF(Py_None); resultobj = Py_None;
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11798 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11799 double arg3 ;
11800 double arg4 ;
11801 int arg5 = (int) 0 ;
11802 int arg6 = (int) 0 ;
11803 PyObject * obj0 = 0 ;
11804 PyObject * obj1 = 0 ;
11805 PyObject * obj2 = 0 ;
11806 PyObject * obj3 = 0 ;
11807 PyObject * obj4 = 0 ;
11808 PyObject * obj5 = 0 ;
11809 char *kwnames[] = {
11810 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11818 arg3 = (double) SWIG_AsDouble(obj2);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 arg4 = (double) SWIG_AsDouble(obj3);
11821 if (PyErr_Occurred()) SWIG_fail;
11822 if (obj4) {
11823 arg5 = (int) SWIG_AsInt(obj4);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 if (obj5) {
11827 arg6 = (int) SWIG_AsInt(obj5);
11828 if (PyErr_Occurred()) SWIG_fail;
11829 }
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 Py_INCREF(Py_None); resultobj = Py_None;
11838 return resultobj;
11839 fail:
11840 return NULL;
11841 }
11842
11843
11844 static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11847 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11848 double arg3 ;
11849 double arg4 ;
11850 int arg5 = (int) 0 ;
11851 int arg6 = (int) 0 ;
11852 PyObject * obj0 = 0 ;
11853 PyObject * obj1 = 0 ;
11854 PyObject * obj2 = 0 ;
11855 PyObject * obj3 = 0 ;
11856 PyObject * obj4 = 0 ;
11857 PyObject * obj5 = 0 ;
11858 char *kwnames[] = {
11859 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11860 };
11861
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11867 arg3 = (double) SWIG_AsDouble(obj2);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 arg4 = (double) SWIG_AsDouble(obj3);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 if (obj4) {
11872 arg5 = (int) SWIG_AsInt(obj4);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
11875 if (obj5) {
11876 arg6 = (int) SWIG_AsInt(obj5);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11882
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 Py_INCREF(Py_None); resultobj = Py_None;
11887 return resultobj;
11888 fail:
11889 return NULL;
11890 }
11891
11892
11893 static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj;
11895 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11896 double arg2 ;
11897 double arg3 ;
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 PyObject * obj2 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self",(char *) "w",(char *) "h", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11908 arg2 = (double) SWIG_AsDouble(obj1);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 arg3 = (double) SWIG_AsDouble(obj2);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 (arg1)->base_OnBeginSize(arg2,arg3);
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 Py_INCREF(Py_None); resultobj = Py_None;
11920 return resultobj;
11921 fail:
11922 return NULL;
11923 }
11924
11925
11926 static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11927 PyObject *resultobj;
11928 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11929 double arg2 ;
11930 double arg3 ;
11931 PyObject * obj0 = 0 ;
11932 PyObject * obj1 = 0 ;
11933 PyObject * obj2 = 0 ;
11934 char *kwnames[] = {
11935 (char *) "self",(char *) "w",(char *) "h", NULL
11936 };
11937
11938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11941 arg2 = (double) SWIG_AsDouble(obj1);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 arg3 = (double) SWIG_AsDouble(obj2);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 (arg1)->base_OnEndSize(arg2,arg3);
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 Py_INCREF(Py_None); resultobj = Py_None;
11953 return resultobj;
11954 fail:
11955 return NULL;
11956 }
11957
11958
11959 static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
11960 PyObject *obj;
11961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11962 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
11963 Py_INCREF(obj);
11964 return Py_BuildValue((char *)"");
11965 }
11966 static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
11969 wxPyShape *arg2 = (wxPyShape *) NULL ;
11970 double arg3 = (double) 0.0 ;
11971 double arg4 = (double) 0.0 ;
11972 double arg5 = (double) 0.0 ;
11973 int arg6 = (int) 0 ;
11974 wxPyControlPoint *result;
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
11977 PyObject * obj2 = 0 ;
11978 PyObject * obj3 = 0 ;
11979 PyObject * obj4 = 0 ;
11980 PyObject * obj5 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11986 if (obj0) {
11987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
11988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11989 }
11990 if (obj1) {
11991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
11992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11993 }
11994 if (obj2) {
11995 arg3 = (double) SWIG_AsDouble(obj2);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 if (obj3) {
11999 arg4 = (double) SWIG_AsDouble(obj3);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 if (obj4) {
12003 arg5 = (double) SWIG_AsDouble(obj4);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 if (obj5) {
12007 arg6 = (int) SWIG_AsInt(obj5);
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
12013
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControlPoint, 1);
12018 return resultobj;
12019 fail:
12020 return NULL;
12021 }
12022
12023
12024 static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12025 PyObject *resultobj;
12026 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12027 PyObject *arg2 = (PyObject *) 0 ;
12028 PyObject *arg3 = (PyObject *) 0 ;
12029 PyObject * obj0 = 0 ;
12030 PyObject * obj1 = 0 ;
12031 PyObject * obj2 = 0 ;
12032 char *kwnames[] = {
12033 (char *) "self",(char *) "self",(char *) "_class", NULL
12034 };
12035
12036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12039 arg2 = obj1;
12040 arg3 = obj2;
12041 {
12042 PyThreadState* __tstate = wxPyBeginAllowThreads();
12043 (arg1)->_setCallbackInfo(arg2,arg3);
12044
12045 wxPyEndAllowThreads(__tstate);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 Py_INCREF(Py_None); resultobj = Py_None;
12049 return resultobj;
12050 fail:
12051 return NULL;
12052 }
12053
12054
12055 static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
12056 PyObject *resultobj;
12057 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12058 double arg2 ;
12059 PyObject * obj0 = 0 ;
12060 PyObject * obj1 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "self",(char *) "radius", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
12066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12068 arg2 = (double) SWIG_AsDouble(obj1);
12069 if (PyErr_Occurred()) SWIG_fail;
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 (arg1)->SetCornerRadius(arg2);
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 Py_INCREF(Py_None); resultobj = Py_None;
12078 return resultobj;
12079 fail:
12080 return NULL;
12081 }
12082
12083
12084 static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12085 PyObject *resultobj;
12086 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 (arg1)->base_OnDelete();
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 Py_INCREF(Py_None); resultobj = Py_None;
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12112 wxDC *arg2 = 0 ;
12113 PyObject * obj0 = 0 ;
12114 PyObject * obj1 = 0 ;
12115 char *kwnames[] = {
12116 (char *) "self",(char *) "dc", NULL
12117 };
12118
12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12123 SWIG_POINTER_EXCEPTION | 0)) == -1)
12124 SWIG_fail;
12125 if (arg2 == NULL) {
12126 PyErr_SetString(PyExc_TypeError,"null reference");
12127 SWIG_fail;
12128 }
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 (arg1)->base_OnDraw(*arg2);
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 Py_INCREF(Py_None); resultobj = Py_None;
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12144 PyObject *resultobj;
12145 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12146 wxDC *arg2 = 0 ;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 char *kwnames[] = {
12150 (char *) "self",(char *) "dc", NULL
12151 };
12152
12153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1)
12158 SWIG_fail;
12159 if (arg2 == NULL) {
12160 PyErr_SetString(PyExc_TypeError,"null reference");
12161 SWIG_fail;
12162 }
12163 {
12164 PyThreadState* __tstate = wxPyBeginAllowThreads();
12165 (arg1)->base_OnDrawContents(*arg2);
12166
12167 wxPyEndAllowThreads(__tstate);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
12170 Py_INCREF(Py_None); resultobj = Py_None;
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12180 wxDC *arg2 = 0 ;
12181 bool arg3 = (bool) FALSE ;
12182 PyObject * obj0 = 0 ;
12183 PyObject * obj1 = 0 ;
12184 PyObject * obj2 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self",(char *) "dc",(char *) "erase", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12193 SWIG_POINTER_EXCEPTION | 0)) == -1)
12194 SWIG_fail;
12195 if (arg2 == NULL) {
12196 PyErr_SetString(PyExc_TypeError,"null reference");
12197 SWIG_fail;
12198 }
12199 if (obj2) {
12200 arg3 = (bool) SWIG_AsBool(obj2);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
12205 (arg1)->base_OnDrawBranches(*arg2,arg3);
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_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj;
12219 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12220 wxDC *arg2 = 0 ;
12221 PyObject * obj0 = 0 ;
12222 PyObject * obj1 = 0 ;
12223 char *kwnames[] = {
12224 (char *) "self",(char *) "dc", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
12228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12231 SWIG_POINTER_EXCEPTION | 0)) == -1)
12232 SWIG_fail;
12233 if (arg2 == NULL) {
12234 PyErr_SetString(PyExc_TypeError,"null reference");
12235 SWIG_fail;
12236 }
12237 {
12238 PyThreadState* __tstate = wxPyBeginAllowThreads();
12239 (arg1)->base_OnMoveLinks(*arg2);
12240
12241 wxPyEndAllowThreads(__tstate);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 }
12244 Py_INCREF(Py_None); resultobj = Py_None;
12245 return resultobj;
12246 fail:
12247 return NULL;
12248 }
12249
12250
12251 static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12254 wxDC *arg2 = 0 ;
12255 PyObject * obj0 = 0 ;
12256 PyObject * obj1 = 0 ;
12257 char *kwnames[] = {
12258 (char *) "self",(char *) "dc", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
12262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1)
12266 SWIG_fail;
12267 if (arg2 == NULL) {
12268 PyErr_SetString(PyExc_TypeError,"null reference");
12269 SWIG_fail;
12270 }
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
12273 (arg1)->base_OnErase(*arg2);
12274
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 Py_INCREF(Py_None); resultobj = Py_None;
12279 return resultobj;
12280 fail:
12281 return NULL;
12282 }
12283
12284
12285 static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12286 PyObject *resultobj;
12287 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12288 wxDC *arg2 = 0 ;
12289 PyObject * obj0 = 0 ;
12290 PyObject * obj1 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self",(char *) "dc", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
12296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12299 SWIG_POINTER_EXCEPTION | 0)) == -1)
12300 SWIG_fail;
12301 if (arg2 == NULL) {
12302 PyErr_SetString(PyExc_TypeError,"null reference");
12303 SWIG_fail;
12304 }
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 (arg1)->base_OnEraseContents(*arg2);
12308
12309 wxPyEndAllowThreads(__tstate);
12310 if (PyErr_Occurred()) SWIG_fail;
12311 }
12312 Py_INCREF(Py_None); resultobj = Py_None;
12313 return resultobj;
12314 fail:
12315 return NULL;
12316 }
12317
12318
12319 static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
12320 PyObject *resultobj;
12321 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12322 wxDC *arg2 = 0 ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 char *kwnames[] = {
12326 (char *) "self",(char *) "dc", NULL
12327 };
12328
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
12330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12333 SWIG_POINTER_EXCEPTION | 0)) == -1)
12334 SWIG_fail;
12335 if (arg2 == NULL) {
12336 PyErr_SetString(PyExc_TypeError,"null reference");
12337 SWIG_fail;
12338 }
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->base_OnHighlight(*arg2);
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 return resultobj;
12348 fail:
12349 return NULL;
12350 }
12351
12352
12353 static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12354 PyObject *resultobj;
12355 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12356 double arg2 ;
12357 double arg3 ;
12358 int arg4 = (int) 0 ;
12359 int arg5 = (int) 0 ;
12360 PyObject * obj0 = 0 ;
12361 PyObject * obj1 = 0 ;
12362 PyObject * obj2 = 0 ;
12363 PyObject * obj3 = 0 ;
12364 PyObject * obj4 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12372 arg2 = (double) SWIG_AsDouble(obj1);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 arg3 = (double) SWIG_AsDouble(obj2);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 if (obj3) {
12377 arg4 = (int) SWIG_AsInt(obj3);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 if (obj4) {
12381 arg5 = (int) SWIG_AsInt(obj4);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12387
12388 wxPyEndAllowThreads(__tstate);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 Py_INCREF(Py_None); resultobj = Py_None;
12392 return resultobj;
12393 fail:
12394 return NULL;
12395 }
12396
12397
12398 static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12399 PyObject *resultobj;
12400 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12401 double arg2 ;
12402 double arg3 ;
12403 int arg4 = (int) 0 ;
12404 int arg5 = (int) 0 ;
12405 PyObject * obj0 = 0 ;
12406 PyObject * obj1 = 0 ;
12407 PyObject * obj2 = 0 ;
12408 PyObject * obj3 = 0 ;
12409 PyObject * obj4 = 0 ;
12410 char *kwnames[] = {
12411 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12412 };
12413
12414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12417 arg2 = (double) SWIG_AsDouble(obj1);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 arg3 = (double) SWIG_AsDouble(obj2);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 if (obj3) {
12422 arg4 = (int) SWIG_AsInt(obj3);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 if (obj4) {
12426 arg5 = (int) SWIG_AsInt(obj4);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 {
12430 PyThreadState* __tstate = wxPyBeginAllowThreads();
12431 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12432
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
12436 Py_INCREF(Py_None); resultobj = Py_None;
12437 return resultobj;
12438 fail:
12439 return NULL;
12440 }
12441
12442
12443 static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj;
12445 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12446 double arg2 ;
12447 double arg3 ;
12448 int arg4 = (int) 0 ;
12449 int arg5 = (int) 0 ;
12450 PyObject * obj0 = 0 ;
12451 PyObject * obj1 = 0 ;
12452 PyObject * obj2 = 0 ;
12453 PyObject * obj3 = 0 ;
12454 PyObject * obj4 = 0 ;
12455 char *kwnames[] = {
12456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12457 };
12458
12459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12462 arg2 = (double) SWIG_AsDouble(obj1);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 arg3 = (double) SWIG_AsDouble(obj2);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 if (obj3) {
12467 arg4 = (int) SWIG_AsInt(obj3);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 if (obj4) {
12471 arg5 = (int) SWIG_AsInt(obj4);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 Py_INCREF(Py_None); resultobj = Py_None;
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12491 double arg2 ;
12492 double arg3 ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 PyObject * obj2 = 0 ;
12496 char *kwnames[] = {
12497 (char *) "self",(char *) "x",(char *) "y", NULL
12498 };
12499
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12503 arg2 = (double) SWIG_AsDouble(obj1);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 arg3 = (double) SWIG_AsDouble(obj2);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 (arg1)->base_OnSize(arg2,arg3);
12510
12511 wxPyEndAllowThreads(__tstate);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 Py_INCREF(Py_None); resultobj = Py_None;
12515 return resultobj;
12516 fail:
12517 return NULL;
12518 }
12519
12520
12521 static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
12522 PyObject *resultobj;
12523 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12524 wxDC *arg2 = 0 ;
12525 double arg3 ;
12526 double arg4 ;
12527 double arg5 ;
12528 double arg6 ;
12529 bool arg7 = (bool) True ;
12530 bool result;
12531 PyObject * obj0 = 0 ;
12532 PyObject * obj1 = 0 ;
12533 PyObject * obj2 = 0 ;
12534 PyObject * obj3 = 0 ;
12535 PyObject * obj4 = 0 ;
12536 PyObject * obj5 = 0 ;
12537 PyObject * obj6 = 0 ;
12538 char *kwnames[] = {
12539 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12540 };
12541
12542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12546 SWIG_POINTER_EXCEPTION | 0)) == -1)
12547 SWIG_fail;
12548 if (arg2 == NULL) {
12549 PyErr_SetString(PyExc_TypeError,"null reference");
12550 SWIG_fail;
12551 }
12552 arg3 = (double) SWIG_AsDouble(obj2);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 arg4 = (double) SWIG_AsDouble(obj3);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 arg5 = (double) SWIG_AsDouble(obj4);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 arg6 = (double) SWIG_AsDouble(obj5);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 if (obj6) {
12561 arg7 = (bool) SWIG_AsBool(obj6);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 {
12572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12573 }
12574 return resultobj;
12575 fail:
12576 return NULL;
12577 }
12578
12579
12580 static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
12581 PyObject *resultobj;
12582 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12583 wxDC *arg2 = 0 ;
12584 double arg3 ;
12585 double arg4 ;
12586 double arg5 ;
12587 double arg6 ;
12588 bool arg7 = (bool) True ;
12589 PyObject * obj0 = 0 ;
12590 PyObject * obj1 = 0 ;
12591 PyObject * obj2 = 0 ;
12592 PyObject * obj3 = 0 ;
12593 PyObject * obj4 = 0 ;
12594 PyObject * obj5 = 0 ;
12595 PyObject * obj6 = 0 ;
12596 char *kwnames[] = {
12597 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12598 };
12599
12600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12604 SWIG_POINTER_EXCEPTION | 0)) == -1)
12605 SWIG_fail;
12606 if (arg2 == NULL) {
12607 PyErr_SetString(PyExc_TypeError,"null reference");
12608 SWIG_fail;
12609 }
12610 arg3 = (double) SWIG_AsDouble(obj2);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 arg4 = (double) SWIG_AsDouble(obj3);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 arg5 = (double) SWIG_AsDouble(obj4);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 arg6 = (double) SWIG_AsDouble(obj5);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 if (obj6) {
12619 arg7 = (bool) SWIG_AsBool(obj6);
12620 if (PyErr_Occurred()) SWIG_fail;
12621 }
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 Py_INCREF(Py_None); resultobj = Py_None;
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj;
12638 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12639 bool arg2 ;
12640 double arg3 ;
12641 double arg4 ;
12642 int arg5 = (int) 0 ;
12643 int arg6 = (int) 0 ;
12644 PyObject * obj0 = 0 ;
12645 PyObject * obj1 = 0 ;
12646 PyObject * obj2 = 0 ;
12647 PyObject * obj3 = 0 ;
12648 PyObject * obj4 = 0 ;
12649 PyObject * obj5 = 0 ;
12650 char *kwnames[] = {
12651 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12652 };
12653
12654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12657 arg2 = (bool) SWIG_AsBool(obj1);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 arg3 = (double) SWIG_AsDouble(obj2);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 arg4 = (double) SWIG_AsDouble(obj3);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 if (obj4) {
12664 arg5 = (int) SWIG_AsInt(obj4);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 if (obj5) {
12668 arg6 = (int) SWIG_AsInt(obj5);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 Py_INCREF(Py_None); resultobj = Py_None;
12679 return resultobj;
12680 fail:
12681 return NULL;
12682 }
12683
12684
12685 static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj;
12687 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12688 double arg2 ;
12689 double arg3 ;
12690 int arg4 = (int) 0 ;
12691 int arg5 = (int) 0 ;
12692 PyObject * obj0 = 0 ;
12693 PyObject * obj1 = 0 ;
12694 PyObject * obj2 = 0 ;
12695 PyObject * obj3 = 0 ;
12696 PyObject * obj4 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12704 arg2 = (double) SWIG_AsDouble(obj1);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 arg3 = (double) SWIG_AsDouble(obj2);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 if (obj3) {
12709 arg4 = (int) SWIG_AsInt(obj3);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 if (obj4) {
12713 arg5 = (int) SWIG_AsInt(obj4);
12714 if (PyErr_Occurred()) SWIG_fail;
12715 }
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 Py_INCREF(Py_None); resultobj = Py_None;
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12733 double arg2 ;
12734 double arg3 ;
12735 int arg4 = (int) 0 ;
12736 int arg5 = (int) 0 ;
12737 PyObject * obj0 = 0 ;
12738 PyObject * obj1 = 0 ;
12739 PyObject * obj2 = 0 ;
12740 PyObject * obj3 = 0 ;
12741 PyObject * obj4 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12749 arg2 = (double) SWIG_AsDouble(obj1);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 arg3 = (double) SWIG_AsDouble(obj2);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 if (obj3) {
12754 arg4 = (int) SWIG_AsInt(obj3);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 if (obj4) {
12758 arg5 = (int) SWIG_AsInt(obj4);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 Py_INCREF(Py_None); resultobj = Py_None;
12769 return resultobj;
12770 fail:
12771 return NULL;
12772 }
12773
12774
12775 static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12778 bool arg2 ;
12779 double arg3 ;
12780 double arg4 ;
12781 int arg5 = (int) 0 ;
12782 int arg6 = (int) 0 ;
12783 PyObject * obj0 = 0 ;
12784 PyObject * obj1 = 0 ;
12785 PyObject * obj2 = 0 ;
12786 PyObject * obj3 = 0 ;
12787 PyObject * obj4 = 0 ;
12788 PyObject * obj5 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12796 arg2 = (bool) SWIG_AsBool(obj1);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 arg3 = (double) SWIG_AsDouble(obj2);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 arg4 = (double) SWIG_AsDouble(obj3);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 if (obj4) {
12803 arg5 = (int) SWIG_AsInt(obj4);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 if (obj5) {
12807 arg6 = (int) SWIG_AsInt(obj5);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 Py_INCREF(Py_None); resultobj = Py_None;
12818 return resultobj;
12819 fail:
12820 return NULL;
12821 }
12822
12823
12824 static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12825 PyObject *resultobj;
12826 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12827 double arg2 ;
12828 double arg3 ;
12829 int arg4 = (int) 0 ;
12830 int arg5 = (int) 0 ;
12831 PyObject * obj0 = 0 ;
12832 PyObject * obj1 = 0 ;
12833 PyObject * obj2 = 0 ;
12834 PyObject * obj3 = 0 ;
12835 PyObject * obj4 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12843 arg2 = (double) SWIG_AsDouble(obj1);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 arg3 = (double) SWIG_AsDouble(obj2);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 if (obj3) {
12848 arg4 = (int) SWIG_AsInt(obj3);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 if (obj4) {
12852 arg5 = (int) SWIG_AsInt(obj4);
12853 if (PyErr_Occurred()) SWIG_fail;
12854 }
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12858
12859 wxPyEndAllowThreads(__tstate);
12860 if (PyErr_Occurred()) SWIG_fail;
12861 }
12862 Py_INCREF(Py_None); resultobj = Py_None;
12863 return resultobj;
12864 fail:
12865 return NULL;
12866 }
12867
12868
12869 static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12870 PyObject *resultobj;
12871 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12872 double arg2 ;
12873 double arg3 ;
12874 int arg4 = (int) 0 ;
12875 int arg5 = (int) 0 ;
12876 PyObject * obj0 = 0 ;
12877 PyObject * obj1 = 0 ;
12878 PyObject * obj2 = 0 ;
12879 PyObject * obj3 = 0 ;
12880 PyObject * obj4 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12888 arg2 = (double) SWIG_AsDouble(obj1);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 arg3 = (double) SWIG_AsDouble(obj2);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 if (obj3) {
12893 arg4 = (int) SWIG_AsInt(obj3);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 if (obj4) {
12897 arg5 = (int) SWIG_AsInt(obj4);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 Py_INCREF(Py_None); resultobj = Py_None;
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12917 wxDC *arg2 = 0 ;
12918 double arg3 ;
12919 double arg4 ;
12920 double arg5 ;
12921 double arg6 ;
12922 PyObject * obj0 = 0 ;
12923 PyObject * obj1 = 0 ;
12924 PyObject * obj2 = 0 ;
12925 PyObject * obj3 = 0 ;
12926 PyObject * obj4 = 0 ;
12927 PyObject * obj5 = 0 ;
12928 char *kwnames[] = {
12929 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12930 };
12931
12932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12936 SWIG_POINTER_EXCEPTION | 0)) == -1)
12937 SWIG_fail;
12938 if (arg2 == NULL) {
12939 PyErr_SetString(PyExc_TypeError,"null reference");
12940 SWIG_fail;
12941 }
12942 arg3 = (double) SWIG_AsDouble(obj2);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 arg4 = (double) SWIG_AsDouble(obj3);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 arg5 = (double) SWIG_AsDouble(obj4);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 arg6 = (double) SWIG_AsDouble(obj5);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
12953
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
12957 Py_INCREF(Py_None); resultobj = Py_None;
12958 return resultobj;
12959 fail:
12960 return NULL;
12961 }
12962
12963
12964 static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj;
12966 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12967 wxDC *arg2 = 0 ;
12968 PyObject * obj0 = 0 ;
12969 PyObject * obj1 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self",(char *) "dc", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
12975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12978 SWIG_POINTER_EXCEPTION | 0)) == -1)
12979 SWIG_fail;
12980 if (arg2 == NULL) {
12981 PyErr_SetString(PyExc_TypeError,"null reference");
12982 SWIG_fail;
12983 }
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 (arg1)->base_OnDrawControlPoints(*arg2);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 Py_INCREF(Py_None); resultobj = Py_None;
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13001 wxDC *arg2 = 0 ;
13002 PyObject * obj0 = 0 ;
13003 PyObject * obj1 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self",(char *) "dc", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13012 SWIG_POINTER_EXCEPTION | 0)) == -1)
13013 SWIG_fail;
13014 if (arg2 == NULL) {
13015 PyErr_SetString(PyExc_TypeError,"null reference");
13016 SWIG_fail;
13017 }
13018 {
13019 PyThreadState* __tstate = wxPyBeginAllowThreads();
13020 (arg1)->base_OnEraseControlPoints(*arg2);
13021
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 Py_INCREF(Py_None); resultobj = Py_None;
13026 return resultobj;
13027 fail:
13028 return NULL;
13029 }
13030
13031
13032 static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13033 PyObject *resultobj;
13034 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13035 wxDC *arg2 = 0 ;
13036 bool arg3 = (bool) True ;
13037 PyObject * obj0 = 0 ;
13038 PyObject * obj1 = 0 ;
13039 PyObject * obj2 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13048 SWIG_POINTER_EXCEPTION | 0)) == -1)
13049 SWIG_fail;
13050 if (arg2 == NULL) {
13051 PyErr_SetString(PyExc_TypeError,"null reference");
13052 SWIG_fail;
13053 }
13054 if (obj2) {
13055 arg3 = (bool) SWIG_AsBool(obj2);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 (arg1)->base_OnMoveLink(*arg2,arg3);
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_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj;
13074 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13075 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13076 bool arg3 ;
13077 double arg4 ;
13078 double arg5 ;
13079 int arg6 = (int) 0 ;
13080 int arg7 = (int) 0 ;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 PyObject * obj2 = 0 ;
13084 PyObject * obj3 = 0 ;
13085 PyObject * obj4 = 0 ;
13086 PyObject * obj5 = 0 ;
13087 PyObject * obj6 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13097 arg3 = (bool) SWIG_AsBool(obj2);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 arg4 = (double) SWIG_AsDouble(obj3);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 arg5 = (double) SWIG_AsDouble(obj4);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 if (obj5) {
13104 arg6 = (int) SWIG_AsInt(obj5);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 }
13107 if (obj6) {
13108 arg7 = (int) SWIG_AsInt(obj6);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13114
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 Py_INCREF(Py_None); resultobj = Py_None;
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13128 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13129 double arg3 ;
13130 double arg4 ;
13131 int arg5 = (int) 0 ;
13132 int arg6 = (int) 0 ;
13133 PyObject * obj0 = 0 ;
13134 PyObject * obj1 = 0 ;
13135 PyObject * obj2 = 0 ;
13136 PyObject * obj3 = 0 ;
13137 PyObject * obj4 = 0 ;
13138 PyObject * obj5 = 0 ;
13139 char *kwnames[] = {
13140 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13141 };
13142
13143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13148 arg3 = (double) SWIG_AsDouble(obj2);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 arg4 = (double) SWIG_AsDouble(obj3);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 if (obj4) {
13153 arg5 = (int) SWIG_AsInt(obj4);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 if (obj5) {
13157 arg6 = (int) SWIG_AsInt(obj5);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13163
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 Py_INCREF(Py_None); resultobj = Py_None;
13168 return resultobj;
13169 fail:
13170 return NULL;
13171 }
13172
13173
13174 static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13175 PyObject *resultobj;
13176 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13177 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13178 double arg3 ;
13179 double arg4 ;
13180 int arg5 = (int) 0 ;
13181 int arg6 = (int) 0 ;
13182 PyObject * obj0 = 0 ;
13183 PyObject * obj1 = 0 ;
13184 PyObject * obj2 = 0 ;
13185 PyObject * obj3 = 0 ;
13186 PyObject * obj4 = 0 ;
13187 PyObject * obj5 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13190 };
13191
13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13197 arg3 = (double) SWIG_AsDouble(obj2);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 arg4 = (double) SWIG_AsDouble(obj3);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 if (obj4) {
13202 arg5 = (int) SWIG_AsInt(obj4);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 if (obj5) {
13206 arg6 = (int) SWIG_AsInt(obj5);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13212
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 Py_INCREF(Py_None); resultobj = Py_None;
13217 return resultobj;
13218 fail:
13219 return NULL;
13220 }
13221
13222
13223 static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13226 double arg2 ;
13227 double arg3 ;
13228 PyObject * obj0 = 0 ;
13229 PyObject * obj1 = 0 ;
13230 PyObject * obj2 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self",(char *) "w",(char *) "h", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13238 arg2 = (double) SWIG_AsDouble(obj1);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 arg3 = (double) SWIG_AsDouble(obj2);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->base_OnBeginSize(arg2,arg3);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253 }
13254
13255
13256 static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13259 double arg2 ;
13260 double arg3 ;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 PyObject * obj2 = 0 ;
13264 char *kwnames[] = {
13265 (char *) "self",(char *) "w",(char *) "h", NULL
13266 };
13267
13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13271 arg2 = (double) SWIG_AsDouble(obj1);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 arg3 = (double) SWIG_AsDouble(obj2);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 (arg1)->base_OnEndSize(arg2,arg3);
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 Py_INCREF(Py_None); resultobj = Py_None;
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
13290 PyObject *obj;
13291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13292 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13293 Py_INCREF(obj);
13294 return Py_BuildValue((char *)"");
13295 }
13296 static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13297 PyObject *resultobj;
13298 wxPyBitmapShape *result;
13299 char *kwnames[] = {
13300 NULL
13301 };
13302
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapShape, 1);
13312 return resultobj;
13313 fail:
13314 return NULL;
13315 }
13316
13317
13318 static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13321 PyObject *arg2 = (PyObject *) 0 ;
13322 PyObject *arg3 = (PyObject *) 0 ;
13323 PyObject * obj0 = 0 ;
13324 PyObject * obj1 = 0 ;
13325 PyObject * obj2 = 0 ;
13326 char *kwnames[] = {
13327 (char *) "self",(char *) "self",(char *) "_class", NULL
13328 };
13329
13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13333 arg2 = obj1;
13334 arg3 = obj2;
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 (arg1)->_setCallbackInfo(arg2,arg3);
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 Py_INCREF(Py_None); resultobj = Py_None;
13343 return resultobj;
13344 fail:
13345 return NULL;
13346 }
13347
13348
13349 static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13350 PyObject *resultobj;
13351 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13352 wxBitmap *result;
13353 PyObject * obj0 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "self", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
13359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 {
13364 wxBitmap &_result_ref = (arg1)->GetBitmap();
13365 result = (wxBitmap *) &_result_ref;
13366 }
13367
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 {
13372 wxBitmap* resultptr = new wxBitmap(*result);
13373 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13374 }
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13384 wxString result;
13385 PyObject * obj0 = 0 ;
13386 char *kwnames[] = {
13387 (char *) "self", NULL
13388 };
13389
13390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
13391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 result = (arg1)->GetFilename();
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 {
13401 #if wxUSE_UNICODE
13402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13403 #else
13404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13405 #endif
13406 }
13407 return resultobj;
13408 fail:
13409 return NULL;
13410 }
13411
13412
13413 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13416 wxBitmap *arg2 = 0 ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self",(char *) "bitmap", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
13427 SWIG_POINTER_EXCEPTION | 0)) == -1)
13428 SWIG_fail;
13429 if (arg2 == NULL) {
13430 PyErr_SetString(PyExc_TypeError,"null reference");
13431 SWIG_fail;
13432 }
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 Py_INCREF(Py_None); resultobj = Py_None;
13441 return resultobj;
13442 fail:
13443 return NULL;
13444 }
13445
13446
13447 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj;
13449 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13450 wxString *arg2 = 0 ;
13451 bool temp2 = False ;
13452 PyObject * obj0 = 0 ;
13453 PyObject * obj1 = 0 ;
13454 char *kwnames[] = {
13455 (char *) "self",(char *) "filename", NULL
13456 };
13457
13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
13459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13461 {
13462 arg2 = wxString_in_helper(obj1);
13463 if (arg2 == NULL) SWIG_fail;
13464 temp2 = True;
13465 }
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 (arg1)->SetFilename((wxString const &)*arg2);
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 Py_INCREF(Py_None); resultobj = Py_None;
13474 {
13475 if (temp2)
13476 delete arg2;
13477 }
13478 return resultobj;
13479 fail:
13480 {
13481 if (temp2)
13482 delete arg2;
13483 }
13484 return NULL;
13485 }
13486
13487
13488 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13491 PyObject * obj0 = 0 ;
13492 char *kwnames[] = {
13493 (char *) "self", NULL
13494 };
13495
13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
13497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 (arg1)->base_OnDelete();
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 Py_INCREF(Py_None); resultobj = Py_None;
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13516 wxDC *arg2 = 0 ;
13517 PyObject * obj0 = 0 ;
13518 PyObject * obj1 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self",(char *) "dc", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13527 SWIG_POINTER_EXCEPTION | 0)) == -1)
13528 SWIG_fail;
13529 if (arg2 == NULL) {
13530 PyErr_SetString(PyExc_TypeError,"null reference");
13531 SWIG_fail;
13532 }
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 (arg1)->base_OnDraw(*arg2);
13536
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 Py_INCREF(Py_None); resultobj = Py_None;
13541 return resultobj;
13542 fail:
13543 return NULL;
13544 }
13545
13546
13547 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13548 PyObject *resultobj;
13549 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13550 wxDC *arg2 = 0 ;
13551 PyObject * obj0 = 0 ;
13552 PyObject * obj1 = 0 ;
13553 char *kwnames[] = {
13554 (char *) "self",(char *) "dc", NULL
13555 };
13556
13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13561 SWIG_POINTER_EXCEPTION | 0)) == -1)
13562 SWIG_fail;
13563 if (arg2 == NULL) {
13564 PyErr_SetString(PyExc_TypeError,"null reference");
13565 SWIG_fail;
13566 }
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 (arg1)->base_OnDrawContents(*arg2);
13570
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 Py_INCREF(Py_None); resultobj = Py_None;
13575 return resultobj;
13576 fail:
13577 return NULL;
13578 }
13579
13580
13581 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13582 PyObject *resultobj;
13583 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13584 wxDC *arg2 = 0 ;
13585 bool arg3 = (bool) FALSE ;
13586 PyObject * obj0 = 0 ;
13587 PyObject * obj1 = 0 ;
13588 PyObject * obj2 = 0 ;
13589 char *kwnames[] = {
13590 (char *) "self",(char *) "dc",(char *) "erase", NULL
13591 };
13592
13593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13597 SWIG_POINTER_EXCEPTION | 0)) == -1)
13598 SWIG_fail;
13599 if (arg2 == NULL) {
13600 PyErr_SetString(PyExc_TypeError,"null reference");
13601 SWIG_fail;
13602 }
13603 if (obj2) {
13604 arg3 = (bool) SWIG_AsBool(obj2);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 }
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 (arg1)->base_OnDrawBranches(*arg2,arg3);
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_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj;
13623 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13624 wxDC *arg2 = 0 ;
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self",(char *) "dc", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1)
13636 SWIG_fail;
13637 if (arg2 == NULL) {
13638 PyErr_SetString(PyExc_TypeError,"null reference");
13639 SWIG_fail;
13640 }
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 (arg1)->base_OnMoveLinks(*arg2);
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 Py_INCREF(Py_None); resultobj = Py_None;
13649 return resultobj;
13650 fail:
13651 return NULL;
13652 }
13653
13654
13655 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13656 PyObject *resultobj;
13657 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13658 wxDC *arg2 = 0 ;
13659 PyObject * obj0 = 0 ;
13660 PyObject * obj1 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "self",(char *) "dc", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1)
13670 SWIG_fail;
13671 if (arg2 == NULL) {
13672 PyErr_SetString(PyExc_TypeError,"null reference");
13673 SWIG_fail;
13674 }
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 (arg1)->base_OnErase(*arg2);
13678
13679 wxPyEndAllowThreads(__tstate);
13680 if (PyErr_Occurred()) SWIG_fail;
13681 }
13682 Py_INCREF(Py_None); resultobj = Py_None;
13683 return resultobj;
13684 fail:
13685 return NULL;
13686 }
13687
13688
13689 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13690 PyObject *resultobj;
13691 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13692 wxDC *arg2 = 0 ;
13693 PyObject * obj0 = 0 ;
13694 PyObject * obj1 = 0 ;
13695 char *kwnames[] = {
13696 (char *) "self",(char *) "dc", NULL
13697 };
13698
13699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13703 SWIG_POINTER_EXCEPTION | 0)) == -1)
13704 SWIG_fail;
13705 if (arg2 == NULL) {
13706 PyErr_SetString(PyExc_TypeError,"null reference");
13707 SWIG_fail;
13708 }
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 (arg1)->base_OnEraseContents(*arg2);
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 Py_INCREF(Py_None); resultobj = Py_None;
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj;
13725 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13726 wxDC *arg2 = 0 ;
13727 PyObject * obj0 = 0 ;
13728 PyObject * obj1 = 0 ;
13729 char *kwnames[] = {
13730 (char *) "self",(char *) "dc", NULL
13731 };
13732
13733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13737 SWIG_POINTER_EXCEPTION | 0)) == -1)
13738 SWIG_fail;
13739 if (arg2 == NULL) {
13740 PyErr_SetString(PyExc_TypeError,"null reference");
13741 SWIG_fail;
13742 }
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->base_OnHighlight(*arg2);
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 Py_INCREF(Py_None); resultobj = Py_None;
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13760 double arg2 ;
13761 double arg3 ;
13762 int arg4 = (int) 0 ;
13763 int arg5 = (int) 0 ;
13764 PyObject * obj0 = 0 ;
13765 PyObject * obj1 = 0 ;
13766 PyObject * obj2 = 0 ;
13767 PyObject * obj3 = 0 ;
13768 PyObject * obj4 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13771 };
13772
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13776 arg2 = (double) SWIG_AsDouble(obj1);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 arg3 = (double) SWIG_AsDouble(obj2);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 if (obj3) {
13781 arg4 = (int) SWIG_AsInt(obj3);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 if (obj4) {
13785 arg5 = (int) SWIG_AsInt(obj4);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 }
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
13795 Py_INCREF(Py_None); resultobj = Py_None;
13796 return resultobj;
13797 fail:
13798 return NULL;
13799 }
13800
13801
13802 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13805 double arg2 ;
13806 double arg3 ;
13807 int arg4 = (int) 0 ;
13808 int arg5 = (int) 0 ;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 PyObject * obj2 = 0 ;
13812 PyObject * obj3 = 0 ;
13813 PyObject * obj4 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13821 arg2 = (double) SWIG_AsDouble(obj1);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 arg3 = (double) SWIG_AsDouble(obj2);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 if (obj3) {
13826 arg4 = (int) SWIG_AsInt(obj3);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 if (obj4) {
13830 arg5 = (int) SWIG_AsInt(obj4);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 Py_INCREF(Py_None); resultobj = Py_None;
13841 return resultobj;
13842 fail:
13843 return NULL;
13844 }
13845
13846
13847 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj;
13849 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13850 double arg2 ;
13851 double arg3 ;
13852 int arg4 = (int) 0 ;
13853 int arg5 = (int) 0 ;
13854 PyObject * obj0 = 0 ;
13855 PyObject * obj1 = 0 ;
13856 PyObject * obj2 = 0 ;
13857 PyObject * obj3 = 0 ;
13858 PyObject * obj4 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13866 arg2 = (double) SWIG_AsDouble(obj1);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 arg3 = (double) SWIG_AsDouble(obj2);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 if (obj3) {
13871 arg4 = (int) SWIG_AsInt(obj3);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 if (obj4) {
13875 arg5 = (int) SWIG_AsInt(obj4);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 {
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13881
13882 wxPyEndAllowThreads(__tstate);
13883 if (PyErr_Occurred()) SWIG_fail;
13884 }
13885 Py_INCREF(Py_None); resultobj = Py_None;
13886 return resultobj;
13887 fail:
13888 return NULL;
13889 }
13890
13891
13892 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13893 PyObject *resultobj;
13894 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13895 double arg2 ;
13896 double arg3 ;
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj1 = 0 ;
13899 PyObject * obj2 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self",(char *) "x",(char *) "y", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13907 arg2 = (double) SWIG_AsDouble(obj1);
13908 if (PyErr_Occurred()) SWIG_fail;
13909 arg3 = (double) SWIG_AsDouble(obj2);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 (arg1)->base_OnSize(arg2,arg3);
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 Py_INCREF(Py_None); resultobj = Py_None;
13919 return resultobj;
13920 fail:
13921 return NULL;
13922 }
13923
13924
13925 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj;
13927 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13928 wxDC *arg2 = 0 ;
13929 double arg3 ;
13930 double arg4 ;
13931 double arg5 ;
13932 double arg6 ;
13933 bool arg7 = (bool) True ;
13934 bool result;
13935 PyObject * obj0 = 0 ;
13936 PyObject * obj1 = 0 ;
13937 PyObject * obj2 = 0 ;
13938 PyObject * obj3 = 0 ;
13939 PyObject * obj4 = 0 ;
13940 PyObject * obj5 = 0 ;
13941 PyObject * obj6 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13950 SWIG_POINTER_EXCEPTION | 0)) == -1)
13951 SWIG_fail;
13952 if (arg2 == NULL) {
13953 PyErr_SetString(PyExc_TypeError,"null reference");
13954 SWIG_fail;
13955 }
13956 arg3 = (double) SWIG_AsDouble(obj2);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 arg4 = (double) SWIG_AsDouble(obj3);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 arg5 = (double) SWIG_AsDouble(obj4);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 arg6 = (double) SWIG_AsDouble(obj5);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 if (obj6) {
13965 arg7 = (bool) SWIG_AsBool(obj6);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 {
13976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13977 }
13978 return resultobj;
13979 fail:
13980 return NULL;
13981 }
13982
13983
13984 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13987 wxDC *arg2 = 0 ;
13988 double arg3 ;
13989 double arg4 ;
13990 double arg5 ;
13991 double arg6 ;
13992 bool arg7 = (bool) True ;
13993 PyObject * obj0 = 0 ;
13994 PyObject * obj1 = 0 ;
13995 PyObject * obj2 = 0 ;
13996 PyObject * obj3 = 0 ;
13997 PyObject * obj4 = 0 ;
13998 PyObject * obj5 = 0 ;
13999 PyObject * obj6 = 0 ;
14000 char *kwnames[] = {
14001 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14002 };
14003
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14008 SWIG_POINTER_EXCEPTION | 0)) == -1)
14009 SWIG_fail;
14010 if (arg2 == NULL) {
14011 PyErr_SetString(PyExc_TypeError,"null reference");
14012 SWIG_fail;
14013 }
14014 arg3 = (double) SWIG_AsDouble(obj2);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 arg4 = (double) SWIG_AsDouble(obj3);
14017 if (PyErr_Occurred()) SWIG_fail;
14018 arg5 = (double) SWIG_AsDouble(obj4);
14019 if (PyErr_Occurred()) SWIG_fail;
14020 arg6 = (double) SWIG_AsDouble(obj5);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 if (obj6) {
14023 arg7 = (bool) SWIG_AsBool(obj6);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 Py_INCREF(Py_None); resultobj = Py_None;
14034 return resultobj;
14035 fail:
14036 return NULL;
14037 }
14038
14039
14040 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14043 bool arg2 ;
14044 double arg3 ;
14045 double arg4 ;
14046 int arg5 = (int) 0 ;
14047 int arg6 = (int) 0 ;
14048 PyObject * obj0 = 0 ;
14049 PyObject * obj1 = 0 ;
14050 PyObject * obj2 = 0 ;
14051 PyObject * obj3 = 0 ;
14052 PyObject * obj4 = 0 ;
14053 PyObject * obj5 = 0 ;
14054 char *kwnames[] = {
14055 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14056 };
14057
14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14061 arg2 = (bool) SWIG_AsBool(obj1);
14062 if (PyErr_Occurred()) SWIG_fail;
14063 arg3 = (double) SWIG_AsDouble(obj2);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 arg4 = (double) SWIG_AsDouble(obj3);
14066 if (PyErr_Occurred()) SWIG_fail;
14067 if (obj4) {
14068 arg5 = (int) SWIG_AsInt(obj4);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 if (obj5) {
14072 arg6 = (int) SWIG_AsInt(obj5);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 Py_INCREF(Py_None); resultobj = Py_None;
14083 return resultobj;
14084 fail:
14085 return NULL;
14086 }
14087
14088
14089 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14090 PyObject *resultobj;
14091 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14092 double arg2 ;
14093 double arg3 ;
14094 int arg4 = (int) 0 ;
14095 int arg5 = (int) 0 ;
14096 PyObject * obj0 = 0 ;
14097 PyObject * obj1 = 0 ;
14098 PyObject * obj2 = 0 ;
14099 PyObject * obj3 = 0 ;
14100 PyObject * obj4 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14108 arg2 = (double) SWIG_AsDouble(obj1);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 arg3 = (double) SWIG_AsDouble(obj2);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 if (obj3) {
14113 arg4 = (int) SWIG_AsInt(obj3);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 if (obj4) {
14117 arg5 = (int) SWIG_AsInt(obj4);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 }
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 Py_INCREF(Py_None); resultobj = Py_None;
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14137 double arg2 ;
14138 double arg3 ;
14139 int arg4 = (int) 0 ;
14140 int arg5 = (int) 0 ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 PyObject * obj2 = 0 ;
14144 PyObject * obj3 = 0 ;
14145 PyObject * obj4 = 0 ;
14146 char *kwnames[] = {
14147 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14148 };
14149
14150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14153 arg2 = (double) SWIG_AsDouble(obj1);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 arg3 = (double) SWIG_AsDouble(obj2);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 if (obj3) {
14158 arg4 = (int) SWIG_AsInt(obj3);
14159 if (PyErr_Occurred()) SWIG_fail;
14160 }
14161 if (obj4) {
14162 arg5 = (int) SWIG_AsInt(obj4);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 {
14166 PyThreadState* __tstate = wxPyBeginAllowThreads();
14167 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14168
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 Py_INCREF(Py_None); resultobj = Py_None;
14173 return resultobj;
14174 fail:
14175 return NULL;
14176 }
14177
14178
14179 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14180 PyObject *resultobj;
14181 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14182 bool arg2 ;
14183 double arg3 ;
14184 double arg4 ;
14185 int arg5 = (int) 0 ;
14186 int arg6 = (int) 0 ;
14187 PyObject * obj0 = 0 ;
14188 PyObject * obj1 = 0 ;
14189 PyObject * obj2 = 0 ;
14190 PyObject * obj3 = 0 ;
14191 PyObject * obj4 = 0 ;
14192 PyObject * obj5 = 0 ;
14193 char *kwnames[] = {
14194 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14195 };
14196
14197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14200 arg2 = (bool) SWIG_AsBool(obj1);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 arg3 = (double) SWIG_AsDouble(obj2);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 arg4 = (double) SWIG_AsDouble(obj3);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 if (obj4) {
14207 arg5 = (int) SWIG_AsInt(obj4);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 if (obj5) {
14211 arg6 = (int) SWIG_AsInt(obj5);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 Py_INCREF(Py_None); resultobj = Py_None;
14222 return resultobj;
14223 fail:
14224 return NULL;
14225 }
14226
14227
14228 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14231 double arg2 ;
14232 double arg3 ;
14233 int arg4 = (int) 0 ;
14234 int arg5 = (int) 0 ;
14235 PyObject * obj0 = 0 ;
14236 PyObject * obj1 = 0 ;
14237 PyObject * obj2 = 0 ;
14238 PyObject * obj3 = 0 ;
14239 PyObject * obj4 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14247 arg2 = (double) SWIG_AsDouble(obj1);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 arg3 = (double) SWIG_AsDouble(obj2);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 if (obj3) {
14252 arg4 = (int) SWIG_AsInt(obj3);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 if (obj4) {
14256 arg5 = (int) SWIG_AsInt(obj4);
14257 if (PyErr_Occurred()) SWIG_fail;
14258 }
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 Py_INCREF(Py_None); resultobj = Py_None;
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj;
14275 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14276 double arg2 ;
14277 double arg3 ;
14278 int arg4 = (int) 0 ;
14279 int arg5 = (int) 0 ;
14280 PyObject * obj0 = 0 ;
14281 PyObject * obj1 = 0 ;
14282 PyObject * obj2 = 0 ;
14283 PyObject * obj3 = 0 ;
14284 PyObject * obj4 = 0 ;
14285 char *kwnames[] = {
14286 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14287 };
14288
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14292 arg2 = (double) SWIG_AsDouble(obj1);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 arg3 = (double) SWIG_AsDouble(obj2);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 if (obj3) {
14297 arg4 = (int) SWIG_AsInt(obj3);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 if (obj4) {
14301 arg5 = (int) SWIG_AsInt(obj4);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 Py_INCREF(Py_None); resultobj = Py_None;
14312 return resultobj;
14313 fail:
14314 return NULL;
14315 }
14316
14317
14318 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14321 wxDC *arg2 = 0 ;
14322 double arg3 ;
14323 double arg4 ;
14324 double arg5 ;
14325 double arg6 ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 PyObject * obj2 = 0 ;
14329 PyObject * obj3 = 0 ;
14330 PyObject * obj4 = 0 ;
14331 PyObject * obj5 = 0 ;
14332 char *kwnames[] = {
14333 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14334 };
14335
14336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14340 SWIG_POINTER_EXCEPTION | 0)) == -1)
14341 SWIG_fail;
14342 if (arg2 == NULL) {
14343 PyErr_SetString(PyExc_TypeError,"null reference");
14344 SWIG_fail;
14345 }
14346 arg3 = (double) SWIG_AsDouble(obj2);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 arg4 = (double) SWIG_AsDouble(obj3);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 arg5 = (double) SWIG_AsDouble(obj4);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 arg6 = (double) SWIG_AsDouble(obj5);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 Py_INCREF(Py_None); resultobj = Py_None;
14362 return resultobj;
14363 fail:
14364 return NULL;
14365 }
14366
14367
14368 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14371 wxDC *arg2 = 0 ;
14372 PyObject * obj0 = 0 ;
14373 PyObject * obj1 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "self",(char *) "dc", NULL
14376 };
14377
14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14382 SWIG_POINTER_EXCEPTION | 0)) == -1)
14383 SWIG_fail;
14384 if (arg2 == NULL) {
14385 PyErr_SetString(PyExc_TypeError,"null reference");
14386 SWIG_fail;
14387 }
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 (arg1)->base_OnDrawControlPoints(*arg2);
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 Py_INCREF(Py_None); resultobj = Py_None;
14396 return resultobj;
14397 fail:
14398 return NULL;
14399 }
14400
14401
14402 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj;
14404 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14405 wxDC *arg2 = 0 ;
14406 PyObject * obj0 = 0 ;
14407 PyObject * obj1 = 0 ;
14408 char *kwnames[] = {
14409 (char *) "self",(char *) "dc", NULL
14410 };
14411
14412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
14413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14416 SWIG_POINTER_EXCEPTION | 0)) == -1)
14417 SWIG_fail;
14418 if (arg2 == NULL) {
14419 PyErr_SetString(PyExc_TypeError,"null reference");
14420 SWIG_fail;
14421 }
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 (arg1)->base_OnEraseControlPoints(*arg2);
14425
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
14429 Py_INCREF(Py_None); resultobj = Py_None;
14430 return resultobj;
14431 fail:
14432 return NULL;
14433 }
14434
14435
14436 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj;
14438 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14439 wxDC *arg2 = 0 ;
14440 bool arg3 = (bool) True ;
14441 PyObject * obj0 = 0 ;
14442 PyObject * obj1 = 0 ;
14443 PyObject * obj2 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
14449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14452 SWIG_POINTER_EXCEPTION | 0)) == -1)
14453 SWIG_fail;
14454 if (arg2 == NULL) {
14455 PyErr_SetString(PyExc_TypeError,"null reference");
14456 SWIG_fail;
14457 }
14458 if (obj2) {
14459 arg3 = (bool) SWIG_AsBool(obj2);
14460 if (PyErr_Occurred()) SWIG_fail;
14461 }
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 (arg1)->base_OnMoveLink(*arg2,arg3);
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_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14479 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14480 bool arg3 ;
14481 double arg4 ;
14482 double arg5 ;
14483 int arg6 = (int) 0 ;
14484 int arg7 = (int) 0 ;
14485 PyObject * obj0 = 0 ;
14486 PyObject * obj1 = 0 ;
14487 PyObject * obj2 = 0 ;
14488 PyObject * obj3 = 0 ;
14489 PyObject * obj4 = 0 ;
14490 PyObject * obj5 = 0 ;
14491 PyObject * obj6 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14501 arg3 = (bool) SWIG_AsBool(obj2);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 arg4 = (double) SWIG_AsDouble(obj3);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 arg5 = (double) SWIG_AsDouble(obj4);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 if (obj5) {
14508 arg6 = (int) SWIG_AsInt(obj5);
14509 if (PyErr_Occurred()) SWIG_fail;
14510 }
14511 if (obj6) {
14512 arg7 = (int) SWIG_AsInt(obj6);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 {
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14518
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 Py_INCREF(Py_None); resultobj = Py_None;
14523 return resultobj;
14524 fail:
14525 return NULL;
14526 }
14527
14528
14529 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14530 PyObject *resultobj;
14531 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14532 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14533 double arg3 ;
14534 double arg4 ;
14535 int arg5 = (int) 0 ;
14536 int arg6 = (int) 0 ;
14537 PyObject * obj0 = 0 ;
14538 PyObject * obj1 = 0 ;
14539 PyObject * obj2 = 0 ;
14540 PyObject * obj3 = 0 ;
14541 PyObject * obj4 = 0 ;
14542 PyObject * obj5 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14552 arg3 = (double) SWIG_AsDouble(obj2);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 arg4 = (double) SWIG_AsDouble(obj3);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 if (obj4) {
14557 arg5 = (int) SWIG_AsInt(obj4);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 if (obj5) {
14561 arg6 = (int) SWIG_AsInt(obj5);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 Py_INCREF(Py_None); resultobj = Py_None;
14572 return resultobj;
14573 fail:
14574 return NULL;
14575 }
14576
14577
14578 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj;
14580 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14581 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14582 double arg3 ;
14583 double arg4 ;
14584 int arg5 = (int) 0 ;
14585 int arg6 = (int) 0 ;
14586 PyObject * obj0 = 0 ;
14587 PyObject * obj1 = 0 ;
14588 PyObject * obj2 = 0 ;
14589 PyObject * obj3 = 0 ;
14590 PyObject * obj4 = 0 ;
14591 PyObject * obj5 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14601 arg3 = (double) SWIG_AsDouble(obj2);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 arg4 = (double) SWIG_AsDouble(obj3);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 if (obj4) {
14606 arg5 = (int) SWIG_AsInt(obj4);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 if (obj5) {
14610 arg6 = (int) SWIG_AsInt(obj5);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 {
14614 PyThreadState* __tstate = wxPyBeginAllowThreads();
14615 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14616
14617 wxPyEndAllowThreads(__tstate);
14618 if (PyErr_Occurred()) SWIG_fail;
14619 }
14620 Py_INCREF(Py_None); resultobj = Py_None;
14621 return resultobj;
14622 fail:
14623 return NULL;
14624 }
14625
14626
14627 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14630 double arg2 ;
14631 double arg3 ;
14632 PyObject * obj0 = 0 ;
14633 PyObject * obj1 = 0 ;
14634 PyObject * obj2 = 0 ;
14635 char *kwnames[] = {
14636 (char *) "self",(char *) "w",(char *) "h", NULL
14637 };
14638
14639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14642 arg2 = (double) SWIG_AsDouble(obj1);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 arg3 = (double) SWIG_AsDouble(obj2);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 {
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 (arg1)->base_OnBeginSize(arg2,arg3);
14649
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 Py_INCREF(Py_None); resultobj = Py_None;
14654 return resultobj;
14655 fail:
14656 return NULL;
14657 }
14658
14659
14660 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj;
14662 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14663 double arg2 ;
14664 double arg3 ;
14665 PyObject * obj0 = 0 ;
14666 PyObject * obj1 = 0 ;
14667 PyObject * obj2 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self",(char *) "w",(char *) "h", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14675 arg2 = (double) SWIG_AsDouble(obj1);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 arg3 = (double) SWIG_AsDouble(obj2);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 (arg1)->base_OnEndSize(arg2,arg3);
14682
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 Py_INCREF(Py_None); resultobj = Py_None;
14687 return resultobj;
14688 fail:
14689 return NULL;
14690 }
14691
14692
14693 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
14694 PyObject *obj;
14695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14696 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14697 Py_INCREF(obj);
14698 return Py_BuildValue((char *)"");
14699 }
14700 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxPyDrawnShape *result;
14703 char *kwnames[] = {
14704 NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
14716 return resultobj;
14717 fail:
14718 return NULL;
14719 }
14720
14721
14722 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14723 PyObject *resultobj;
14724 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14725 PyObject *arg2 = (PyObject *) 0 ;
14726 PyObject *arg3 = (PyObject *) 0 ;
14727 PyObject * obj0 = 0 ;
14728 PyObject * obj1 = 0 ;
14729 PyObject * obj2 = 0 ;
14730 char *kwnames[] = {
14731 (char *) "self",(char *) "self",(char *) "_class", NULL
14732 };
14733
14734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14737 arg2 = obj1;
14738 arg3 = obj2;
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 (arg1)->_setCallbackInfo(arg2,arg3);
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 Py_INCREF(Py_None); resultobj = Py_None;
14747 return resultobj;
14748 fail:
14749 return NULL;
14750 }
14751
14752
14753 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14756 PyObject * obj0 = 0 ;
14757 char *kwnames[] = {
14758 (char *) "self", NULL
14759 };
14760
14761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
14762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 (arg1)->CalculateSize();
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 Py_INCREF(Py_None); resultobj = Py_None;
14772 return resultobj;
14773 fail:
14774 return NULL;
14775 }
14776
14777
14778 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14779 PyObject *resultobj;
14780 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14781 PyObject * obj0 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "self", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
14787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14789 {
14790 PyThreadState* __tstate = wxPyBeginAllowThreads();
14791 (arg1)->DestroyClippingRect();
14792
14793 wxPyEndAllowThreads(__tstate);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 Py_INCREF(Py_None); resultobj = Py_None;
14797 return resultobj;
14798 fail:
14799 return NULL;
14800 }
14801
14802
14803 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14804 PyObject *resultobj;
14805 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14806 wxPoint *arg2 = 0 ;
14807 wxPoint *arg3 = 0 ;
14808 wxPoint *arg4 = 0 ;
14809 wxPoint temp2 ;
14810 wxPoint temp3 ;
14811 wxPoint temp4 ;
14812 PyObject * obj0 = 0 ;
14813 PyObject * obj1 = 0 ;
14814 PyObject * obj2 = 0 ;
14815 PyObject * obj3 = 0 ;
14816 char *kwnames[] = {
14817 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14818 };
14819
14820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14823 {
14824 arg2 = &temp2;
14825 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14826 }
14827 {
14828 arg3 = &temp3;
14829 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14830 }
14831 {
14832 arg4 = &temp4;
14833 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14834 }
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 Py_INCREF(Py_None); resultobj = Py_None;
14843 return resultobj;
14844 fail:
14845 return NULL;
14846 }
14847
14848
14849 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14852 int arg2 ;
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "angle", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14862 arg2 = (int) SWIG_AsInt(obj1);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 {
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 (arg1)->DrawAtAngle(arg2);
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 Py_INCREF(Py_None); resultobj = Py_None;
14872 return resultobj;
14873 fail:
14874 return NULL;
14875 }
14876
14877
14878 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj;
14880 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14881 wxRect *arg2 = 0 ;
14882 double arg3 ;
14883 double arg4 ;
14884 wxRect temp2 ;
14885 PyObject * obj0 = 0 ;
14886 PyObject * obj1 = 0 ;
14887 PyObject * obj2 = 0 ;
14888 PyObject * obj3 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14896 {
14897 arg2 = &temp2;
14898 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14899 }
14900 arg3 = (double) SWIG_AsDouble(obj2);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 arg4 = (double) SWIG_AsDouble(obj3);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
14906 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
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_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
14919 PyObject *resultobj;
14920 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14921 wxPoint *arg2 = 0 ;
14922 wxPoint *arg3 = 0 ;
14923 wxPoint temp2 ;
14924 wxPoint temp3 ;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 PyObject * obj2 = 0 ;
14928 char *kwnames[] = {
14929 (char *) "self",(char *) "point1",(char *) "point2", NULL
14930 };
14931
14932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
14933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14935 {
14936 arg2 = &temp2;
14937 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14938 }
14939 {
14940 arg3 = &temp3;
14941 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14942 }
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
14946
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 Py_INCREF(Py_None); resultobj = Py_None;
14951 return resultobj;
14952 fail:
14953 return NULL;
14954 }
14955
14956
14957 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14960 int arg2 ;
14961 wxPoint *arg3 = (wxPoint *) 0 ;
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
14964 PyObject * obj2 = 0 ;
14965 char *kwnames[] = {
14966 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14967 };
14968
14969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
14970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14972 arg2 = (int) SWIG_AsInt(obj1);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
14975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 (arg1)->DrawLines(arg2,arg3);
14979
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 Py_INCREF(Py_None); resultobj = Py_None;
14984 return resultobj;
14985 fail:
14986 return NULL;
14987 }
14988
14989
14990 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj;
14992 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14993 wxPoint *arg2 = 0 ;
14994 wxPoint temp2 ;
14995 PyObject * obj0 = 0 ;
14996 PyObject * obj1 = 0 ;
14997 char *kwnames[] = {
14998 (char *) "self",(char *) "point", NULL
14999 };
15000
15001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
15002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15004 {
15005 arg2 = &temp2;
15006 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15007 }
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 (arg1)->DrawPoint((wxPoint const &)*arg2);
15011
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 Py_INCREF(Py_None); resultobj = Py_None;
15016 return resultobj;
15017 fail:
15018 return NULL;
15019 }
15020
15021
15022 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
15023 PyObject *resultobj;
15024 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15025 int arg2 ;
15026 wxPoint *arg3 = (wxPoint *) 0 ;
15027 int arg4 = (int) 0 ;
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 PyObject * obj2 = 0 ;
15031 PyObject * obj3 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15039 arg2 = (int) SWIG_AsInt(obj1);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15043 if (obj3) {
15044 arg4 = (int) SWIG_AsInt(obj3);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 (arg1)->DrawPolygon(arg2,arg3,arg4);
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 Py_INCREF(Py_None); resultobj = Py_None;
15055 return resultobj;
15056 fail:
15057 return NULL;
15058 }
15059
15060
15061 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15064 wxRect *arg2 = 0 ;
15065 wxRect temp2 ;
15066 PyObject * obj0 = 0 ;
15067 PyObject * obj1 = 0 ;
15068 char *kwnames[] = {
15069 (char *) "self",(char *) "rect", NULL
15070 };
15071
15072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
15073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15075 {
15076 arg2 = &temp2;
15077 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15078 }
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 (arg1)->DrawRectangle((wxRect const &)*arg2);
15082
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 Py_INCREF(Py_None); resultobj = Py_None;
15087 return resultobj;
15088 fail:
15089 return NULL;
15090 }
15091
15092
15093 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15096 wxRect *arg2 = 0 ;
15097 double arg3 ;
15098 wxRect temp2 ;
15099 PyObject * obj0 = 0 ;
15100 PyObject * obj1 = 0 ;
15101 PyObject * obj2 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self",(char *) "rect",(char *) "radius", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15109 {
15110 arg2 = &temp2;
15111 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15112 }
15113 arg3 = (double) SWIG_AsDouble(obj2);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 Py_INCREF(Py_None); resultobj = Py_None;
15123 return resultobj;
15124 fail:
15125 return NULL;
15126 }
15127
15128
15129 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj;
15131 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15132 int arg2 ;
15133 wxPoint *arg3 = (wxPoint *) 0 ;
15134 PyObject * obj0 = 0 ;
15135 PyObject * obj1 = 0 ;
15136 PyObject * obj2 = 0 ;
15137 char *kwnames[] = {
15138 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15139 };
15140
15141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
15142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15144 arg2 = (int) SWIG_AsInt(obj1);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 (arg1)->DrawSpline(arg2,arg3);
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 Py_INCREF(Py_None); resultobj = Py_None;
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15165 wxString *arg2 = 0 ;
15166 wxPoint *arg3 = 0 ;
15167 bool temp2 = False ;
15168 wxPoint temp3 ;
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 PyObject * obj2 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self",(char *) "text",(char *) "point", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15179 {
15180 arg2 = wxString_in_helper(obj1);
15181 if (arg2 == NULL) SWIG_fail;
15182 temp2 = True;
15183 }
15184 {
15185 arg3 = &temp3;
15186 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 Py_INCREF(Py_None); resultobj = Py_None;
15196 {
15197 if (temp2)
15198 delete arg2;
15199 }
15200 return resultobj;
15201 fail:
15202 {
15203 if (temp2)
15204 delete arg2;
15205 }
15206 return NULL;
15207 }
15208
15209
15210 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15213 int result;
15214 PyObject * obj0 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 result = (int)(arg1)->GetAngle();
15225
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 resultobj = SWIG_FromInt((int)result);
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15239 wxPseudoMetaFile *result;
15240 PyObject * obj0 = 0 ;
15241 char *kwnames[] = {
15242 (char *) "self", NULL
15243 };
15244
15245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
15246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 {
15251 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15252 result = (wxPseudoMetaFile *) &_result_ref;
15253 }
15254
15255 wxPyEndAllowThreads(__tstate);
15256 if (PyErr_Occurred()) SWIG_fail;
15257 }
15258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
15259 return resultobj;
15260 fail:
15261 return NULL;
15262 }
15263
15264
15265 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj;
15267 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15268 double result;
15269 PyObject * obj0 = 0 ;
15270 char *kwnames[] = {
15271 (char *) "self", NULL
15272 };
15273
15274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",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 = (double)(arg1)->GetRotation();
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 resultobj = SWIG_FromDouble((double)result);
15285 return resultobj;
15286 fail:
15287 return NULL;
15288 }
15289
15290
15291 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15292 PyObject *resultobj;
15293 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15294 wxString *arg2 = 0 ;
15295 bool result;
15296 bool temp2 = False ;
15297 PyObject * obj0 = 0 ;
15298 PyObject * obj1 = 0 ;
15299 char *kwnames[] = {
15300 (char *) "self",(char *) "filename", NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
15304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15306 {
15307 arg2 = wxString_in_helper(obj1);
15308 if (arg2 == NULL) SWIG_fail;
15309 temp2 = True;
15310 }
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 {
15319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15320 }
15321 {
15322 if (temp2)
15323 delete arg2;
15324 }
15325 return resultobj;
15326 fail:
15327 {
15328 if (temp2)
15329 delete arg2;
15330 }
15331 return NULL;
15332 }
15333
15334
15335 static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
15336 PyObject *resultobj;
15337 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15338 double arg2 ;
15339 double arg3 ;
15340 double arg4 ;
15341 PyObject * obj0 = 0 ;
15342 PyObject * obj1 = 0 ;
15343 PyObject * obj2 = 0 ;
15344 PyObject * obj3 = 0 ;
15345 char *kwnames[] = {
15346 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15347 };
15348
15349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15352 arg2 = (double) SWIG_AsDouble(obj1);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 arg3 = (double) SWIG_AsDouble(obj2);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 arg4 = (double) SWIG_AsDouble(obj3);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 (arg1)->Rotate(arg2,arg3,arg4);
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 Py_INCREF(Py_None); resultobj = Py_None;
15366 return resultobj;
15367 fail:
15368 return NULL;
15369 }
15370
15371
15372 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj;
15374 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15375 wxRect *arg2 = 0 ;
15376 wxRect temp2 ;
15377 PyObject * obj0 = 0 ;
15378 PyObject * obj1 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self",(char *) "rect", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15386 {
15387 arg2 = &temp2;
15388 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15389 }
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 (arg1)->SetClippingRect((wxRect const &)*arg2);
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 Py_INCREF(Py_None); resultobj = Py_None;
15398 return resultobj;
15399 fail:
15400 return NULL;
15401 }
15402
15403
15404 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15407 wxColour *arg2 = 0 ;
15408 wxColour temp2 ;
15409 PyObject * obj0 = 0 ;
15410 PyObject * obj1 = 0 ;
15411 char *kwnames[] = {
15412 (char *) "self",(char *) "colour", NULL
15413 };
15414
15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15418 {
15419 arg2 = &temp2;
15420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15421 }
15422 {
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15425
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 Py_INCREF(Py_None); resultobj = Py_None;
15430 return resultobj;
15431 fail:
15432 return NULL;
15433 }
15434
15435
15436 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15437 PyObject *resultobj;
15438 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15439 int arg2 ;
15440 PyObject * obj0 = 0 ;
15441 PyObject * obj1 = 0 ;
15442 char *kwnames[] = {
15443 (char *) "self",(char *) "mode", NULL
15444 };
15445
15446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15449 arg2 = (int) SWIG_AsInt(obj1);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 (arg1)->SetDrawnBackgroundMode(arg2);
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 Py_INCREF(Py_None); resultobj = Py_None;
15459 return resultobj;
15460 fail:
15461 return NULL;
15462 }
15463
15464
15465 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
15466 PyObject *resultobj;
15467 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15468 wxBrush *arg2 = (wxBrush *) 0 ;
15469 bool arg3 = (bool) FALSE ;
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 PyObject * obj2 = 0 ;
15473 char *kwnames[] = {
15474 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15475 };
15476
15477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15480 {
15481 wxBrush* temp;
15482 if (obj1) {
15483 if (obj1 == Py_None) {
15484 temp = NULL;
15485 }
15486 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15487 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15488 return NULL;
15489 }
15490 }
15491 if (temp)
15492 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15493 else
15494 arg2 = NULL;
15495 }
15496 if (obj2) {
15497 arg3 = (bool) SWIG_AsBool(obj2);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 (arg1)->SetDrawnBrush(arg2,arg3);
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 Py_INCREF(Py_None); resultobj = Py_None;
15508 return resultobj;
15509 fail:
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15517 wxFont *arg2 = (wxFont *) 0 ;
15518 PyObject * obj0 = 0 ;
15519 PyObject * obj1 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self",(char *) "font", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
15525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15527 {
15528 wxFont* temp;
15529 if (obj1) {
15530 if (obj1 == Py_None) {
15531 temp = NULL;
15532 }
15533 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15534 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15535 return NULL;
15536 }
15537 }
15538 if (temp)
15539 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15540 temp->GetFamily(),
15541 temp->GetStyle(),
15542 temp->GetWeight(),
15543 temp->GetUnderlined(),
15544 temp->GetFaceName(),
15545 temp->GetEncoding());
15546 else
15547 arg2 = NULL;
15548 }
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 (arg1)->SetDrawnFont(arg2);
15552
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 Py_INCREF(Py_None); resultobj = Py_None;
15557 return resultobj;
15558 fail:
15559 return NULL;
15560 }
15561
15562
15563 static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj;
15565 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15566 wxPen *arg2 = (wxPen *) 0 ;
15567 bool arg3 = (bool) FALSE ;
15568 PyObject * obj0 = 0 ;
15569 PyObject * obj1 = 0 ;
15570 PyObject * obj2 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15578 {
15579 wxPen* temp;
15580 if (obj1) {
15581 if (obj1 == Py_None) {
15582 temp = NULL;
15583 }
15584 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15585 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15586 return NULL;
15587 }
15588 }
15589 if (temp)
15590 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15591 temp->GetWidth(),
15592 temp->GetStyle());
15593 else
15594 arg2 = NULL;
15595 }
15596 if (obj2) {
15597 arg3 = (bool) SWIG_AsBool(obj2);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 (arg1)->SetDrawnPen(arg2,arg3);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 Py_INCREF(Py_None); resultobj = Py_None;
15608 return resultobj;
15609 fail:
15610 return NULL;
15611 }
15612
15613
15614 static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj;
15616 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15617 wxColour *arg2 = 0 ;
15618 wxColour temp2 ;
15619 PyObject * obj0 = 0 ;
15620 PyObject * obj1 = 0 ;
15621 char *kwnames[] = {
15622 (char *) "self",(char *) "colour", NULL
15623 };
15624
15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
15626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15628 {
15629 arg2 = &temp2;
15630 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15631 }
15632 {
15633 PyThreadState* __tstate = wxPyBeginAllowThreads();
15634 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15635
15636 wxPyEndAllowThreads(__tstate);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
15639 Py_INCREF(Py_None); resultobj = Py_None;
15640 return resultobj;
15641 fail:
15642 return NULL;
15643 }
15644
15645
15646 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
15647 PyObject *resultobj;
15648 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15649 double arg2 ;
15650 double arg3 ;
15651 PyObject * obj0 = 0 ;
15652 PyObject * obj1 = 0 ;
15653 PyObject * obj2 = 0 ;
15654 char *kwnames[] = {
15655 (char *) "self",(char *) "sx",(char *) "sy", NULL
15656 };
15657
15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15661 arg2 = (double) SWIG_AsDouble(obj1);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 arg3 = (double) SWIG_AsDouble(obj2);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 (arg1)->Scale(arg2,arg3);
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 Py_INCREF(Py_None); resultobj = Py_None;
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15682 bool arg2 ;
15683 PyObject * obj0 = 0 ;
15684 PyObject * obj1 = 0 ;
15685 char *kwnames[] = {
15686 (char *) "self",(char *) "save", NULL
15687 };
15688
15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
15690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15692 arg2 = (bool) SWIG_AsBool(obj1);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 (arg1)->SetSaveToFile(arg2);
15697
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 Py_INCREF(Py_None); resultobj = Py_None;
15702 return resultobj;
15703 fail:
15704 return NULL;
15705 }
15706
15707
15708 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
15709 PyObject *resultobj;
15710 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15711 double arg2 ;
15712 double arg3 ;
15713 PyObject * obj0 = 0 ;
15714 PyObject * obj1 = 0 ;
15715 PyObject * obj2 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "self",(char *) "x",(char *) "y", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15723 arg2 = (double) SWIG_AsDouble(obj1);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 arg3 = (double) SWIG_AsDouble(obj2);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 (arg1)->Translate(arg2,arg3);
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 Py_INCREF(Py_None); resultobj = Py_None;
15735 return resultobj;
15736 fail:
15737 return NULL;
15738 }
15739
15740
15741 static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15742 PyObject *resultobj;
15743 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15744 PyObject * obj0 = 0 ;
15745 char *kwnames[] = {
15746 (char *) "self", NULL
15747 };
15748
15749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
15750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 (arg1)->base_OnDelete();
15755
15756 wxPyEndAllowThreads(__tstate);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 }
15759 Py_INCREF(Py_None); resultobj = Py_None;
15760 return resultobj;
15761 fail:
15762 return NULL;
15763 }
15764
15765
15766 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15767 PyObject *resultobj;
15768 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15769 wxDC *arg2 = 0 ;
15770 PyObject * obj0 = 0 ;
15771 PyObject * obj1 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self",(char *) "dc", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15780 SWIG_POINTER_EXCEPTION | 0)) == -1)
15781 SWIG_fail;
15782 if (arg2 == NULL) {
15783 PyErr_SetString(PyExc_TypeError,"null reference");
15784 SWIG_fail;
15785 }
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 (arg1)->base_OnDraw(*arg2);
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 Py_INCREF(Py_None); resultobj = Py_None;
15794 return resultobj;
15795 fail:
15796 return NULL;
15797 }
15798
15799
15800 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15803 wxDC *arg2 = 0 ;
15804 PyObject * obj0 = 0 ;
15805 PyObject * obj1 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self",(char *) "dc", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15814 SWIG_POINTER_EXCEPTION | 0)) == -1)
15815 SWIG_fail;
15816 if (arg2 == NULL) {
15817 PyErr_SetString(PyExc_TypeError,"null reference");
15818 SWIG_fail;
15819 }
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 (arg1)->base_OnDrawContents(*arg2);
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 Py_INCREF(Py_None); resultobj = Py_None;
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15837 wxDC *arg2 = 0 ;
15838 bool arg3 = (bool) FALSE ;
15839 PyObject * obj0 = 0 ;
15840 PyObject * obj1 = 0 ;
15841 PyObject * obj2 = 0 ;
15842 char *kwnames[] = {
15843 (char *) "self",(char *) "dc",(char *) "erase", NULL
15844 };
15845
15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15850 SWIG_POINTER_EXCEPTION | 0)) == -1)
15851 SWIG_fail;
15852 if (arg2 == NULL) {
15853 PyErr_SetString(PyExc_TypeError,"null reference");
15854 SWIG_fail;
15855 }
15856 if (obj2) {
15857 arg3 = (bool) SWIG_AsBool(obj2);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 {
15861 PyThreadState* __tstate = wxPyBeginAllowThreads();
15862 (arg1)->base_OnDrawBranches(*arg2,arg3);
15863
15864 wxPyEndAllowThreads(__tstate);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 }
15867 Py_INCREF(Py_None); resultobj = Py_None;
15868 return resultobj;
15869 fail:
15870 return NULL;
15871 }
15872
15873
15874 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
15876 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15877 wxDC *arg2 = 0 ;
15878 PyObject * obj0 = 0 ;
15879 PyObject * obj1 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self",(char *) "dc", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15888 SWIG_POINTER_EXCEPTION | 0)) == -1)
15889 SWIG_fail;
15890 if (arg2 == NULL) {
15891 PyErr_SetString(PyExc_TypeError,"null reference");
15892 SWIG_fail;
15893 }
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 (arg1)->base_OnMoveLinks(*arg2);
15897
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 Py_INCREF(Py_None); resultobj = Py_None;
15902 return resultobj;
15903 fail:
15904 return NULL;
15905 }
15906
15907
15908 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15909 PyObject *resultobj;
15910 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15911 wxDC *arg2 = 0 ;
15912 PyObject * obj0 = 0 ;
15913 PyObject * obj1 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self",(char *) "dc", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15922 SWIG_POINTER_EXCEPTION | 0)) == -1)
15923 SWIG_fail;
15924 if (arg2 == NULL) {
15925 PyErr_SetString(PyExc_TypeError,"null reference");
15926 SWIG_fail;
15927 }
15928 {
15929 PyThreadState* __tstate = wxPyBeginAllowThreads();
15930 (arg1)->base_OnErase(*arg2);
15931
15932 wxPyEndAllowThreads(__tstate);
15933 if (PyErr_Occurred()) SWIG_fail;
15934 }
15935 Py_INCREF(Py_None); resultobj = Py_None;
15936 return resultobj;
15937 fail:
15938 return NULL;
15939 }
15940
15941
15942 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15943 PyObject *resultobj;
15944 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15945 wxDC *arg2 = 0 ;
15946 PyObject * obj0 = 0 ;
15947 PyObject * obj1 = 0 ;
15948 char *kwnames[] = {
15949 (char *) "self",(char *) "dc", NULL
15950 };
15951
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15956 SWIG_POINTER_EXCEPTION | 0)) == -1)
15957 SWIG_fail;
15958 if (arg2 == NULL) {
15959 PyErr_SetString(PyExc_TypeError,"null reference");
15960 SWIG_fail;
15961 }
15962 {
15963 PyThreadState* __tstate = wxPyBeginAllowThreads();
15964 (arg1)->base_OnEraseContents(*arg2);
15965
15966 wxPyEndAllowThreads(__tstate);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
15969 Py_INCREF(Py_None); resultobj = Py_None;
15970 return resultobj;
15971 fail:
15972 return NULL;
15973 }
15974
15975
15976 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15977 PyObject *resultobj;
15978 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15979 wxDC *arg2 = 0 ;
15980 PyObject * obj0 = 0 ;
15981 PyObject * obj1 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self",(char *) "dc", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15990 SWIG_POINTER_EXCEPTION | 0)) == -1)
15991 SWIG_fail;
15992 if (arg2 == NULL) {
15993 PyErr_SetString(PyExc_TypeError,"null reference");
15994 SWIG_fail;
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 (arg1)->base_OnHighlight(*arg2);
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 Py_INCREF(Py_None); resultobj = Py_None;
16004 return resultobj;
16005 fail:
16006 return NULL;
16007 }
16008
16009
16010 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16013 double arg2 ;
16014 double arg3 ;
16015 int arg4 = (int) 0 ;
16016 int arg5 = (int) 0 ;
16017 PyObject * obj0 = 0 ;
16018 PyObject * obj1 = 0 ;
16019 PyObject * obj2 = 0 ;
16020 PyObject * obj3 = 0 ;
16021 PyObject * obj4 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16029 arg2 = (double) SWIG_AsDouble(obj1);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 arg3 = (double) SWIG_AsDouble(obj2);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 if (obj3) {
16034 arg4 = (int) SWIG_AsInt(obj3);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 if (obj4) {
16038 arg5 = (int) SWIG_AsInt(obj4);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 Py_INCREF(Py_None); resultobj = Py_None;
16049 return resultobj;
16050 fail:
16051 return NULL;
16052 }
16053
16054
16055 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj;
16057 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16058 double arg2 ;
16059 double arg3 ;
16060 int arg4 = (int) 0 ;
16061 int arg5 = (int) 0 ;
16062 PyObject * obj0 = 0 ;
16063 PyObject * obj1 = 0 ;
16064 PyObject * obj2 = 0 ;
16065 PyObject * obj3 = 0 ;
16066 PyObject * obj4 = 0 ;
16067 char *kwnames[] = {
16068 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16069 };
16070
16071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16074 arg2 = (double) SWIG_AsDouble(obj1);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 arg3 = (double) SWIG_AsDouble(obj2);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 if (obj3) {
16079 arg4 = (int) SWIG_AsInt(obj3);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 if (obj4) {
16083 arg5 = (int) SWIG_AsInt(obj4);
16084 if (PyErr_Occurred()) SWIG_fail;
16085 }
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16089
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 Py_INCREF(Py_None); resultobj = Py_None;
16094 return resultobj;
16095 fail:
16096 return NULL;
16097 }
16098
16099
16100 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16103 double arg2 ;
16104 double arg3 ;
16105 int arg4 = (int) 0 ;
16106 int arg5 = (int) 0 ;
16107 PyObject * obj0 = 0 ;
16108 PyObject * obj1 = 0 ;
16109 PyObject * obj2 = 0 ;
16110 PyObject * obj3 = 0 ;
16111 PyObject * obj4 = 0 ;
16112 char *kwnames[] = {
16113 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16114 };
16115
16116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16119 arg2 = (double) SWIG_AsDouble(obj1);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 arg3 = (double) SWIG_AsDouble(obj2);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 if (obj3) {
16124 arg4 = (int) SWIG_AsInt(obj3);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 if (obj4) {
16128 arg5 = (int) SWIG_AsInt(obj4);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 Py_INCREF(Py_None); resultobj = Py_None;
16139 return resultobj;
16140 fail:
16141 return NULL;
16142 }
16143
16144
16145 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16148 double arg2 ;
16149 double arg3 ;
16150 PyObject * obj0 = 0 ;
16151 PyObject * obj1 = 0 ;
16152 PyObject * obj2 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self",(char *) "x",(char *) "y", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16160 arg2 = (double) SWIG_AsDouble(obj1);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 arg3 = (double) SWIG_AsDouble(obj2);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 (arg1)->base_OnSize(arg2,arg3);
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 Py_INCREF(Py_None); resultobj = Py_None;
16172 return resultobj;
16173 fail:
16174 return NULL;
16175 }
16176
16177
16178 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj;
16180 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16181 wxDC *arg2 = 0 ;
16182 double arg3 ;
16183 double arg4 ;
16184 double arg5 ;
16185 double arg6 ;
16186 bool arg7 = (bool) True ;
16187 bool result;
16188 PyObject * obj0 = 0 ;
16189 PyObject * obj1 = 0 ;
16190 PyObject * obj2 = 0 ;
16191 PyObject * obj3 = 0 ;
16192 PyObject * obj4 = 0 ;
16193 PyObject * obj5 = 0 ;
16194 PyObject * obj6 = 0 ;
16195 char *kwnames[] = {
16196 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16197 };
16198
16199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16203 SWIG_POINTER_EXCEPTION | 0)) == -1)
16204 SWIG_fail;
16205 if (arg2 == NULL) {
16206 PyErr_SetString(PyExc_TypeError,"null reference");
16207 SWIG_fail;
16208 }
16209 arg3 = (double) SWIG_AsDouble(obj2);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 arg4 = (double) SWIG_AsDouble(obj3);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 arg5 = (double) SWIG_AsDouble(obj4);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 arg6 = (double) SWIG_AsDouble(obj5);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 if (obj6) {
16218 arg7 = (bool) SWIG_AsBool(obj6);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 {
16229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16230 }
16231 return resultobj;
16232 fail:
16233 return NULL;
16234 }
16235
16236
16237 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
16238 PyObject *resultobj;
16239 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16240 wxDC *arg2 = 0 ;
16241 double arg3 ;
16242 double arg4 ;
16243 double arg5 ;
16244 double arg6 ;
16245 bool arg7 = (bool) True ;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 PyObject * obj2 = 0 ;
16249 PyObject * obj3 = 0 ;
16250 PyObject * obj4 = 0 ;
16251 PyObject * obj5 = 0 ;
16252 PyObject * obj6 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16261 SWIG_POINTER_EXCEPTION | 0)) == -1)
16262 SWIG_fail;
16263 if (arg2 == NULL) {
16264 PyErr_SetString(PyExc_TypeError,"null reference");
16265 SWIG_fail;
16266 }
16267 arg3 = (double) SWIG_AsDouble(obj2);
16268 if (PyErr_Occurred()) SWIG_fail;
16269 arg4 = (double) SWIG_AsDouble(obj3);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 arg5 = (double) SWIG_AsDouble(obj4);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 arg6 = (double) SWIG_AsDouble(obj5);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 if (obj6) {
16276 arg7 = (bool) SWIG_AsBool(obj6);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16296 bool arg2 ;
16297 double arg3 ;
16298 double arg4 ;
16299 int arg5 = (int) 0 ;
16300 int arg6 = (int) 0 ;
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 char *kwnames[] = {
16308 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16314 arg2 = (bool) SWIG_AsBool(obj1);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 arg3 = (double) SWIG_AsDouble(obj2);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 arg4 = (double) SWIG_AsDouble(obj3);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 if (obj4) {
16321 arg5 = (int) SWIG_AsInt(obj4);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 if (obj5) {
16325 arg6 = (int) SWIG_AsInt(obj5);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 Py_INCREF(Py_None); resultobj = Py_None;
16336 return resultobj;
16337 fail:
16338 return NULL;
16339 }
16340
16341
16342 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16345 double arg2 ;
16346 double arg3 ;
16347 int arg4 = (int) 0 ;
16348 int arg5 = (int) 0 ;
16349 PyObject * obj0 = 0 ;
16350 PyObject * obj1 = 0 ;
16351 PyObject * obj2 = 0 ;
16352 PyObject * obj3 = 0 ;
16353 PyObject * obj4 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16361 arg2 = (double) SWIG_AsDouble(obj1);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 arg3 = (double) SWIG_AsDouble(obj2);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 if (obj3) {
16366 arg4 = (int) SWIG_AsInt(obj3);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 if (obj4) {
16370 arg5 = (int) SWIG_AsInt(obj4);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 {
16374 PyThreadState* __tstate = wxPyBeginAllowThreads();
16375 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16376
16377 wxPyEndAllowThreads(__tstate);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 }
16380 Py_INCREF(Py_None); resultobj = Py_None;
16381 return resultobj;
16382 fail:
16383 return NULL;
16384 }
16385
16386
16387 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16388 PyObject *resultobj;
16389 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16390 double arg2 ;
16391 double arg3 ;
16392 int arg4 = (int) 0 ;
16393 int arg5 = (int) 0 ;
16394 PyObject * obj0 = 0 ;
16395 PyObject * obj1 = 0 ;
16396 PyObject * obj2 = 0 ;
16397 PyObject * obj3 = 0 ;
16398 PyObject * obj4 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16406 arg2 = (double) SWIG_AsDouble(obj1);
16407 if (PyErr_Occurred()) SWIG_fail;
16408 arg3 = (double) SWIG_AsDouble(obj2);
16409 if (PyErr_Occurred()) SWIG_fail;
16410 if (obj3) {
16411 arg4 = (int) SWIG_AsInt(obj3);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 if (obj4) {
16415 arg5 = (int) SWIG_AsInt(obj4);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16421
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
16425 Py_INCREF(Py_None); resultobj = Py_None;
16426 return resultobj;
16427 fail:
16428 return NULL;
16429 }
16430
16431
16432 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16433 PyObject *resultobj;
16434 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16435 bool arg2 ;
16436 double arg3 ;
16437 double arg4 ;
16438 int arg5 = (int) 0 ;
16439 int arg6 = (int) 0 ;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 PyObject * obj2 = 0 ;
16443 PyObject * obj3 = 0 ;
16444 PyObject * obj4 = 0 ;
16445 PyObject * obj5 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16453 arg2 = (bool) SWIG_AsBool(obj1);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 arg3 = (double) SWIG_AsDouble(obj2);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 arg4 = (double) SWIG_AsDouble(obj3);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 if (obj4) {
16460 arg5 = (int) SWIG_AsInt(obj4);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 if (obj5) {
16464 arg6 = (int) SWIG_AsInt(obj5);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16470
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 Py_INCREF(Py_None); resultobj = Py_None;
16475 return resultobj;
16476 fail:
16477 return NULL;
16478 }
16479
16480
16481 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16482 PyObject *resultobj;
16483 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16484 double arg2 ;
16485 double arg3 ;
16486 int arg4 = (int) 0 ;
16487 int arg5 = (int) 0 ;
16488 PyObject * obj0 = 0 ;
16489 PyObject * obj1 = 0 ;
16490 PyObject * obj2 = 0 ;
16491 PyObject * obj3 = 0 ;
16492 PyObject * obj4 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16500 arg2 = (double) SWIG_AsDouble(obj1);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 arg3 = (double) SWIG_AsDouble(obj2);
16503 if (PyErr_Occurred()) SWIG_fail;
16504 if (obj3) {
16505 arg4 = (int) SWIG_AsInt(obj3);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 if (obj4) {
16509 arg5 = (int) SWIG_AsInt(obj4);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 }
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 Py_INCREF(Py_None); resultobj = Py_None;
16520 return resultobj;
16521 fail:
16522 return NULL;
16523 }
16524
16525
16526 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj;
16528 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16529 double arg2 ;
16530 double arg3 ;
16531 int arg4 = (int) 0 ;
16532 int arg5 = (int) 0 ;
16533 PyObject * obj0 = 0 ;
16534 PyObject * obj1 = 0 ;
16535 PyObject * obj2 = 0 ;
16536 PyObject * obj3 = 0 ;
16537 PyObject * obj4 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16545 arg2 = (double) SWIG_AsDouble(obj1);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 arg3 = (double) SWIG_AsDouble(obj2);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 if (obj3) {
16550 arg4 = (int) SWIG_AsInt(obj3);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 if (obj4) {
16554 arg5 = (int) SWIG_AsInt(obj4);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 Py_INCREF(Py_None); resultobj = Py_None;
16565 return resultobj;
16566 fail:
16567 return NULL;
16568 }
16569
16570
16571 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16572 PyObject *resultobj;
16573 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16574 wxDC *arg2 = 0 ;
16575 double arg3 ;
16576 double arg4 ;
16577 double arg5 ;
16578 double arg6 ;
16579 PyObject * obj0 = 0 ;
16580 PyObject * obj1 = 0 ;
16581 PyObject * obj2 = 0 ;
16582 PyObject * obj3 = 0 ;
16583 PyObject * obj4 = 0 ;
16584 PyObject * obj5 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16593 SWIG_POINTER_EXCEPTION | 0)) == -1)
16594 SWIG_fail;
16595 if (arg2 == NULL) {
16596 PyErr_SetString(PyExc_TypeError,"null reference");
16597 SWIG_fail;
16598 }
16599 arg3 = (double) SWIG_AsDouble(obj2);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 arg4 = (double) SWIG_AsDouble(obj3);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 arg5 = (double) SWIG_AsDouble(obj4);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 arg6 = (double) SWIG_AsDouble(obj5);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 Py_INCREF(Py_None); resultobj = Py_None;
16615 return resultobj;
16616 fail:
16617 return NULL;
16618 }
16619
16620
16621 static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj;
16623 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16624 wxDC *arg2 = 0 ;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "dc", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16635 SWIG_POINTER_EXCEPTION | 0)) == -1)
16636 SWIG_fail;
16637 if (arg2 == NULL) {
16638 PyErr_SetString(PyExc_TypeError,"null reference");
16639 SWIG_fail;
16640 }
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 (arg1)->base_OnDrawControlPoints(*arg2);
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 Py_INCREF(Py_None); resultobj = Py_None;
16649 return resultobj;
16650 fail:
16651 return NULL;
16652 }
16653
16654
16655 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16656 PyObject *resultobj;
16657 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16658 wxDC *arg2 = 0 ;
16659 PyObject * obj0 = 0 ;
16660 PyObject * obj1 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self",(char *) "dc", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16669 SWIG_POINTER_EXCEPTION | 0)) == -1)
16670 SWIG_fail;
16671 if (arg2 == NULL) {
16672 PyErr_SetString(PyExc_TypeError,"null reference");
16673 SWIG_fail;
16674 }
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 (arg1)->base_OnEraseControlPoints(*arg2);
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 Py_INCREF(Py_None); resultobj = Py_None;
16683 return resultobj;
16684 fail:
16685 return NULL;
16686 }
16687
16688
16689 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj;
16691 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16692 wxDC *arg2 = 0 ;
16693 bool arg3 = (bool) True ;
16694 PyObject * obj0 = 0 ;
16695 PyObject * obj1 = 0 ;
16696 PyObject * obj2 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16705 SWIG_POINTER_EXCEPTION | 0)) == -1)
16706 SWIG_fail;
16707 if (arg2 == NULL) {
16708 PyErr_SetString(PyExc_TypeError,"null reference");
16709 SWIG_fail;
16710 }
16711 if (obj2) {
16712 arg3 = (bool) SWIG_AsBool(obj2);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 (arg1)->base_OnMoveLink(*arg2,arg3);
16718
16719 wxPyEndAllowThreads(__tstate);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 }
16722 Py_INCREF(Py_None); resultobj = Py_None;
16723 return resultobj;
16724 fail:
16725 return NULL;
16726 }
16727
16728
16729 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16732 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16733 bool arg3 ;
16734 double arg4 ;
16735 double arg5 ;
16736 int arg6 = (int) 0 ;
16737 int arg7 = (int) 0 ;
16738 PyObject * obj0 = 0 ;
16739 PyObject * obj1 = 0 ;
16740 PyObject * obj2 = 0 ;
16741 PyObject * obj3 = 0 ;
16742 PyObject * obj4 = 0 ;
16743 PyObject * obj5 = 0 ;
16744 PyObject * obj6 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16747 };
16748
16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16754 arg3 = (bool) SWIG_AsBool(obj2);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 arg4 = (double) SWIG_AsDouble(obj3);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 arg5 = (double) SWIG_AsDouble(obj4);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 if (obj5) {
16761 arg6 = (int) SWIG_AsInt(obj5);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 if (obj6) {
16765 arg7 = (int) SWIG_AsInt(obj6);
16766 if (PyErr_Occurred()) SWIG_fail;
16767 }
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 Py_INCREF(Py_None); resultobj = Py_None;
16776 return resultobj;
16777 fail:
16778 return NULL;
16779 }
16780
16781
16782 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16783 PyObject *resultobj;
16784 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16785 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16786 double arg3 ;
16787 double arg4 ;
16788 int arg5 = (int) 0 ;
16789 int arg6 = (int) 0 ;
16790 PyObject * obj0 = 0 ;
16791 PyObject * obj1 = 0 ;
16792 PyObject * obj2 = 0 ;
16793 PyObject * obj3 = 0 ;
16794 PyObject * obj4 = 0 ;
16795 PyObject * obj5 = 0 ;
16796 char *kwnames[] = {
16797 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16798 };
16799
16800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16805 arg3 = (double) SWIG_AsDouble(obj2);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 arg4 = (double) SWIG_AsDouble(obj3);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 if (obj4) {
16810 arg5 = (int) SWIG_AsInt(obj4);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 if (obj5) {
16814 arg6 = (int) SWIG_AsInt(obj5);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 }
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16820
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 Py_INCREF(Py_None); resultobj = Py_None;
16825 return resultobj;
16826 fail:
16827 return NULL;
16828 }
16829
16830
16831 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16832 PyObject *resultobj;
16833 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16834 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16835 double arg3 ;
16836 double arg4 ;
16837 int arg5 = (int) 0 ;
16838 int arg6 = (int) 0 ;
16839 PyObject * obj0 = 0 ;
16840 PyObject * obj1 = 0 ;
16841 PyObject * obj2 = 0 ;
16842 PyObject * obj3 = 0 ;
16843 PyObject * obj4 = 0 ;
16844 PyObject * obj5 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16854 arg3 = (double) SWIG_AsDouble(obj2);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 arg4 = (double) SWIG_AsDouble(obj3);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 if (obj4) {
16859 arg5 = (int) SWIG_AsInt(obj4);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 if (obj5) {
16863 arg6 = (int) SWIG_AsInt(obj5);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 Py_INCREF(Py_None); resultobj = Py_None;
16874 return resultobj;
16875 fail:
16876 return NULL;
16877 }
16878
16879
16880 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj;
16882 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16883 double arg2 ;
16884 double arg3 ;
16885 PyObject * obj0 = 0 ;
16886 PyObject * obj1 = 0 ;
16887 PyObject * obj2 = 0 ;
16888 char *kwnames[] = {
16889 (char *) "self",(char *) "w",(char *) "h", NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16895 arg2 = (double) SWIG_AsDouble(obj1);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 arg3 = (double) SWIG_AsDouble(obj2);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 (arg1)->base_OnBeginSize(arg2,arg3);
16902
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 Py_INCREF(Py_None); resultobj = Py_None;
16907 return resultobj;
16908 fail:
16909 return NULL;
16910 }
16911
16912
16913 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16914 PyObject *resultobj;
16915 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16916 double arg2 ;
16917 double arg3 ;
16918 PyObject * obj0 = 0 ;
16919 PyObject * obj1 = 0 ;
16920 PyObject * obj2 = 0 ;
16921 char *kwnames[] = {
16922 (char *) "self",(char *) "w",(char *) "h", NULL
16923 };
16924
16925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16928 arg2 = (double) SWIG_AsDouble(obj1);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 arg3 = (double) SWIG_AsDouble(obj2);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 (arg1)->base_OnEndSize(arg2,arg3);
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 Py_INCREF(Py_None); resultobj = Py_None;
16940 return resultobj;
16941 fail:
16942 return NULL;
16943 }
16944
16945
16946 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
16947 PyObject *obj;
16948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16949 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
16950 Py_INCREF(obj);
16951 return Py_BuildValue((char *)"");
16952 }
16953 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 int arg1 ;
16956 wxPyShape *arg2 = (wxPyShape *) 0 ;
16957 PyObject *arg3 = (PyObject *) 0 ;
16958 wxOGLConstraint *result;
16959 PyObject * obj0 = 0 ;
16960 PyObject * obj1 = 0 ;
16961 PyObject * obj2 = 0 ;
16962 char *kwnames[] = {
16963 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16964 };
16965
16966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
16967 arg1 = (int) SWIG_AsInt(obj0);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
16970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16971 arg3 = obj2;
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 {
16980 resultobj = wxPyMake_wxObject(result);
16981 }
16982 return resultobj;
16983 fail:
16984 return NULL;
16985 }
16986
16987
16988 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
16989 PyObject *resultobj;
16990 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
16991 bool result;
16992 PyObject * obj0 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (bool)(arg1)->Evaluate();
17003
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 {
17008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17009 }
17010 return resultobj;
17011 fail:
17012 return NULL;
17013 }
17014
17015
17016 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17017 PyObject *resultobj;
17018 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17019 double arg2 ;
17020 double arg3 ;
17021 PyObject * obj0 = 0 ;
17022 PyObject * obj1 = 0 ;
17023 PyObject * obj2 = 0 ;
17024 char *kwnames[] = {
17025 (char *) "self",(char *) "x",(char *) "y", NULL
17026 };
17027
17028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
17029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17031 arg2 = (double) SWIG_AsDouble(obj1);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 arg3 = (double) SWIG_AsDouble(obj2);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 (arg1)->SetSpacing(arg2,arg3);
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 Py_INCREF(Py_None); resultobj = Py_None;
17043 return resultobj;
17044 fail:
17045 return NULL;
17046 }
17047
17048
17049 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
17050 PyObject *resultobj;
17051 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17052 double arg2 ;
17053 double arg3 ;
17054 bool result;
17055 PyObject * obj0 = 0 ;
17056 PyObject * obj1 = 0 ;
17057 PyObject * obj2 = 0 ;
17058 char *kwnames[] = {
17059 (char *) "self",(char *) "a",(char *) "b", NULL
17060 };
17061
17062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
17063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17065 arg2 = (double) SWIG_AsDouble(obj1);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 arg3 = (double) SWIG_AsDouble(obj2);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 {
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 result = (bool)(arg1)->Equals(arg2,arg3);
17072
17073 wxPyEndAllowThreads(__tstate);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 {
17077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17078 }
17079 return resultobj;
17080 fail:
17081 return NULL;
17082 }
17083
17084
17085 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
17086 PyObject *obj;
17087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17088 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17089 Py_INCREF(obj);
17090 return Py_BuildValue((char *)"");
17091 }
17092 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxPyCompositeShape *result;
17095 char *kwnames[] = {
17096 NULL
17097 };
17098
17099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17103
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17117 PyObject *arg2 = (PyObject *) 0 ;
17118 PyObject *arg3 = (PyObject *) 0 ;
17119 PyObject * obj0 = 0 ;
17120 PyObject * obj1 = 0 ;
17121 PyObject * obj2 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self",(char *) "self",(char *) "_class", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17129 arg2 = obj1;
17130 arg3 = obj2;
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 (arg1)->_setCallbackInfo(arg2,arg3);
17134
17135 wxPyEndAllowThreads(__tstate);
17136 if (PyErr_Occurred()) SWIG_fail;
17137 }
17138 Py_INCREF(Py_None); resultobj = Py_None;
17139 return resultobj;
17140 fail:
17141 return NULL;
17142 }
17143
17144
17145 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj;
17147 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17148 wxPyShape *arg2 = (wxPyShape *) 0 ;
17149 wxPyShape *arg3 = (wxPyShape *) NULL ;
17150 PyObject * obj0 = 0 ;
17151 PyObject * obj1 = 0 ;
17152 PyObject * obj2 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17155 };
17156
17157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
17158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17162 if (obj2) {
17163 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17165 }
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 (arg1)->AddChild(arg2,arg3);
17169
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
17173 Py_INCREF(Py_None); resultobj = Py_None;
17174 return resultobj;
17175 fail:
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17183 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17184 wxOGLConstraint *result;
17185 PyObject * obj0 = 0 ;
17186 PyObject * obj1 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self",(char *) "constraint", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
17192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 {
17204 resultobj = wxPyMake_wxObject(result);
17205 }
17206 return resultobj;
17207 fail:
17208 return NULL;
17209 }
17210
17211
17212 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
17213 PyObject *resultobj;
17214 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17215 int arg2 ;
17216 wxPyShape *arg3 = (wxPyShape *) 0 ;
17217 PyObject *arg4 = (PyObject *) 0 ;
17218 wxOGLConstraint *result;
17219 PyObject * obj0 = 0 ;
17220 PyObject * obj1 = 0 ;
17221 PyObject * obj2 = 0 ;
17222 PyObject * obj3 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17230 arg2 = (int) SWIG_AsInt(obj1);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17234 arg4 = obj3;
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 {
17243 resultobj = wxPyMake_wxObject(result);
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17254 int arg2 ;
17255 wxPyShape *arg3 = (wxPyShape *) 0 ;
17256 wxPyShape *arg4 = (wxPyShape *) 0 ;
17257 wxOGLConstraint *result;
17258 PyObject * obj0 = 0 ;
17259 PyObject * obj1 = 0 ;
17260 PyObject * obj2 = 0 ;
17261 PyObject * obj3 = 0 ;
17262 char *kwnames[] = {
17263 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17264 };
17265
17266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17269 arg2 = (int) SWIG_AsInt(obj1);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17273 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPyShape,
17274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17278
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 {
17283 resultobj = wxPyMake_wxObject(result);
17284 }
17285 return resultobj;
17286 fail:
17287 return NULL;
17288 }
17289
17290
17291 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17292 PyObject *resultobj;
17293 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17294 PyObject * obj0 = 0 ;
17295 char *kwnames[] = {
17296 (char *) "self", NULL
17297 };
17298
17299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
17300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 (arg1)->CalculateSize();
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 Py_INCREF(Py_None); resultobj = Py_None;
17310 return resultobj;
17311 fail:
17312 return NULL;
17313 }
17314
17315
17316 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17319 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17320 bool result;
17321 PyObject * obj0 = 0 ;
17322 PyObject * obj1 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self",(char *) "division", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
17331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17332 {
17333 PyThreadState* __tstate = wxPyBeginAllowThreads();
17334 result = (bool)(arg1)->ContainsDivision(arg2);
17335
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
17339 {
17340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17341 }
17342 return resultobj;
17343 fail:
17344 return NULL;
17345 }
17346
17347
17348 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17351 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char *kwnames[] = {
17355 (char *) "self",(char *) "constraint", NULL
17356 };
17357
17358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
17359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 (arg1)->DeleteConstraint(arg2);
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 Py_INCREF(Py_None); resultobj = Py_None;
17371 return resultobj;
17372 fail:
17373 return NULL;
17374 }
17375
17376
17377 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17378 PyObject *resultobj;
17379 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17380 wxPyShape *arg2 = (wxPyShape *) 0 ;
17381 PyObject * obj0 = 0 ;
17382 PyObject * obj1 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self",(char *) "child", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
17388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 Py_INCREF(Py_None); resultobj = Py_None;
17400 return resultobj;
17401 fail:
17402 return NULL;
17403 }
17404
17405
17406 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17407 PyObject *resultobj;
17408 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17409 wxPyShape *result;
17410 PyObject * obj0 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17418 {
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 result = (wxPyShape *)(arg1)->FindContainerImage();
17421
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 {
17426 resultobj = wxPyMake_wxShapeEvtHandler(result);
17427 }
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
17435 PyObject *resultobj;
17436 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17437 PyObject *result;
17438 PyObject * obj0 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "self", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
17444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 resultobj = result;
17454 return resultobj;
17455 fail:
17456 return NULL;
17457 }
17458
17459
17460 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17463 PyObject *result;
17464 PyObject * obj0 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "self", NULL
17467 };
17468
17469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
17470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17475
17476 wxPyEndAllowThreads(__tstate);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
17479 resultobj = result;
17480 return resultobj;
17481 fail:
17482 return NULL;
17483 }
17484
17485
17486 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
17487 PyObject *resultobj;
17488 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 (arg1)->MakeContainer();
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 Py_INCREF(Py_None); resultobj = Py_None;
17505 return resultobj;
17506 fail:
17507 return NULL;
17508 }
17509
17510
17511 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
17512 PyObject *resultobj;
17513 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17514 bool result;
17515 PyObject * obj0 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
17521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = (bool)(arg1)->Recompute();
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 {
17531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17532 }
17533 return resultobj;
17534 fail:
17535 return NULL;
17536 }
17537
17538
17539 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17540 PyObject *resultobj;
17541 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17542 wxPyShape *arg2 = (wxPyShape *) 0 ;
17543 PyObject * obj0 = 0 ;
17544 PyObject * obj1 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self",(char *) "child", NULL
17547 };
17548
17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 (arg1)->RemoveChild(arg2);
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 Py_INCREF(Py_None); resultobj = Py_None;
17562 return resultobj;
17563 fail:
17564 return NULL;
17565 }
17566
17567
17568 static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17569 PyObject *resultobj;
17570 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17571 PyObject * obj0 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 (arg1)->base_OnDelete();
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 Py_INCREF(Py_None); resultobj = Py_None;
17587 return resultobj;
17588 fail:
17589 return NULL;
17590 }
17591
17592
17593 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17594 PyObject *resultobj;
17595 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17596 wxDC *arg2 = 0 ;
17597 PyObject * obj0 = 0 ;
17598 PyObject * obj1 = 0 ;
17599 char *kwnames[] = {
17600 (char *) "self",(char *) "dc", NULL
17601 };
17602
17603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17607 SWIG_POINTER_EXCEPTION | 0)) == -1)
17608 SWIG_fail;
17609 if (arg2 == NULL) {
17610 PyErr_SetString(PyExc_TypeError,"null reference");
17611 SWIG_fail;
17612 }
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 (arg1)->base_OnDraw(*arg2);
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 Py_INCREF(Py_None); resultobj = Py_None;
17621 return resultobj;
17622 fail:
17623 return NULL;
17624 }
17625
17626
17627 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj;
17629 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17630 wxDC *arg2 = 0 ;
17631 PyObject * obj0 = 0 ;
17632 PyObject * obj1 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self",(char *) "dc", NULL
17635 };
17636
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17641 SWIG_POINTER_EXCEPTION | 0)) == -1)
17642 SWIG_fail;
17643 if (arg2 == NULL) {
17644 PyErr_SetString(PyExc_TypeError,"null reference");
17645 SWIG_fail;
17646 }
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 (arg1)->base_OnDrawContents(*arg2);
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 Py_INCREF(Py_None); resultobj = Py_None;
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17664 wxDC *arg2 = 0 ;
17665 bool arg3 = (bool) FALSE ;
17666 PyObject * obj0 = 0 ;
17667 PyObject * obj1 = 0 ;
17668 PyObject * obj2 = 0 ;
17669 char *kwnames[] = {
17670 (char *) "self",(char *) "dc",(char *) "erase", NULL
17671 };
17672
17673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17677 SWIG_POINTER_EXCEPTION | 0)) == -1)
17678 SWIG_fail;
17679 if (arg2 == NULL) {
17680 PyErr_SetString(PyExc_TypeError,"null reference");
17681 SWIG_fail;
17682 }
17683 if (obj2) {
17684 arg3 = (bool) SWIG_AsBool(obj2);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 (arg1)->base_OnDrawBranches(*arg2,arg3);
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 Py_INCREF(Py_None); resultobj = Py_None;
17695 return resultobj;
17696 fail:
17697 return NULL;
17698 }
17699
17700
17701 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17702 PyObject *resultobj;
17703 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17704 wxDC *arg2 = 0 ;
17705 PyObject * obj0 = 0 ;
17706 PyObject * obj1 = 0 ;
17707 char *kwnames[] = {
17708 (char *) "self",(char *) "dc", NULL
17709 };
17710
17711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17715 SWIG_POINTER_EXCEPTION | 0)) == -1)
17716 SWIG_fail;
17717 if (arg2 == NULL) {
17718 PyErr_SetString(PyExc_TypeError,"null reference");
17719 SWIG_fail;
17720 }
17721 {
17722 PyThreadState* __tstate = wxPyBeginAllowThreads();
17723 (arg1)->base_OnMoveLinks(*arg2);
17724
17725 wxPyEndAllowThreads(__tstate);
17726 if (PyErr_Occurred()) SWIG_fail;
17727 }
17728 Py_INCREF(Py_None); resultobj = Py_None;
17729 return resultobj;
17730 fail:
17731 return NULL;
17732 }
17733
17734
17735 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17736 PyObject *resultobj;
17737 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17738 wxDC *arg2 = 0 ;
17739 PyObject * obj0 = 0 ;
17740 PyObject * obj1 = 0 ;
17741 char *kwnames[] = {
17742 (char *) "self",(char *) "dc", NULL
17743 };
17744
17745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17749 SWIG_POINTER_EXCEPTION | 0)) == -1)
17750 SWIG_fail;
17751 if (arg2 == NULL) {
17752 PyErr_SetString(PyExc_TypeError,"null reference");
17753 SWIG_fail;
17754 }
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 (arg1)->base_OnErase(*arg2);
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 Py_INCREF(Py_None); resultobj = Py_None;
17763 return resultobj;
17764 fail:
17765 return NULL;
17766 }
17767
17768
17769 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj;
17771 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17772 wxDC *arg2 = 0 ;
17773 PyObject * obj0 = 0 ;
17774 PyObject * obj1 = 0 ;
17775 char *kwnames[] = {
17776 (char *) "self",(char *) "dc", NULL
17777 };
17778
17779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17783 SWIG_POINTER_EXCEPTION | 0)) == -1)
17784 SWIG_fail;
17785 if (arg2 == NULL) {
17786 PyErr_SetString(PyExc_TypeError,"null reference");
17787 SWIG_fail;
17788 }
17789 {
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 (arg1)->base_OnEraseContents(*arg2);
17792
17793 wxPyEndAllowThreads(__tstate);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 Py_INCREF(Py_None); resultobj = Py_None;
17797 return resultobj;
17798 fail:
17799 return NULL;
17800 }
17801
17802
17803 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17804 PyObject *resultobj;
17805 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17806 wxDC *arg2 = 0 ;
17807 PyObject * obj0 = 0 ;
17808 PyObject * obj1 = 0 ;
17809 char *kwnames[] = {
17810 (char *) "self",(char *) "dc", NULL
17811 };
17812
17813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17817 SWIG_POINTER_EXCEPTION | 0)) == -1)
17818 SWIG_fail;
17819 if (arg2 == NULL) {
17820 PyErr_SetString(PyExc_TypeError,"null reference");
17821 SWIG_fail;
17822 }
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 (arg1)->base_OnHighlight(*arg2);
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 Py_INCREF(Py_None); resultobj = Py_None;
17831 return resultobj;
17832 fail:
17833 return NULL;
17834 }
17835
17836
17837 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17840 double arg2 ;
17841 double arg3 ;
17842 int arg4 = (int) 0 ;
17843 int arg5 = (int) 0 ;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 PyObject * obj2 = 0 ;
17847 PyObject * obj3 = 0 ;
17848 PyObject * obj4 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17856 arg2 = (double) SWIG_AsDouble(obj1);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 arg3 = (double) SWIG_AsDouble(obj2);
17859 if (PyErr_Occurred()) SWIG_fail;
17860 if (obj3) {
17861 arg4 = (int) SWIG_AsInt(obj3);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 }
17864 if (obj4) {
17865 arg5 = (int) SWIG_AsInt(obj4);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17871
17872 wxPyEndAllowThreads(__tstate);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 Py_INCREF(Py_None); resultobj = Py_None;
17876 return resultobj;
17877 fail:
17878 return NULL;
17879 }
17880
17881
17882 static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17885 double arg2 ;
17886 double arg3 ;
17887 int arg4 = (int) 0 ;
17888 int arg5 = (int) 0 ;
17889 PyObject * obj0 = 0 ;
17890 PyObject * obj1 = 0 ;
17891 PyObject * obj2 = 0 ;
17892 PyObject * obj3 = 0 ;
17893 PyObject * obj4 = 0 ;
17894 char *kwnames[] = {
17895 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17896 };
17897
17898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17901 arg2 = (double) SWIG_AsDouble(obj1);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 arg3 = (double) SWIG_AsDouble(obj2);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 if (obj3) {
17906 arg4 = (int) SWIG_AsInt(obj3);
17907 if (PyErr_Occurred()) SWIG_fail;
17908 }
17909 if (obj4) {
17910 arg5 = (int) SWIG_AsInt(obj4);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 Py_INCREF(Py_None); resultobj = Py_None;
17921 return resultobj;
17922 fail:
17923 return NULL;
17924 }
17925
17926
17927 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17930 double arg2 ;
17931 double arg3 ;
17932 int arg4 = (int) 0 ;
17933 int arg5 = (int) 0 ;
17934 PyObject * obj0 = 0 ;
17935 PyObject * obj1 = 0 ;
17936 PyObject * obj2 = 0 ;
17937 PyObject * obj3 = 0 ;
17938 PyObject * obj4 = 0 ;
17939 char *kwnames[] = {
17940 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17941 };
17942
17943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17946 arg2 = (double) SWIG_AsDouble(obj1);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 arg3 = (double) SWIG_AsDouble(obj2);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 if (obj3) {
17951 arg4 = (int) SWIG_AsInt(obj3);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 if (obj4) {
17955 arg5 = (int) SWIG_AsInt(obj4);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 {
17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
17960 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17961
17962 wxPyEndAllowThreads(__tstate);
17963 if (PyErr_Occurred()) SWIG_fail;
17964 }
17965 Py_INCREF(Py_None); resultobj = Py_None;
17966 return resultobj;
17967 fail:
17968 return NULL;
17969 }
17970
17971
17972 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17973 PyObject *resultobj;
17974 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17975 double arg2 ;
17976 double arg3 ;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 PyObject * obj2 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "self",(char *) "x",(char *) "y", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17987 arg2 = (double) SWIG_AsDouble(obj1);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 arg3 = (double) SWIG_AsDouble(obj2);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 (arg1)->base_OnSize(arg2,arg3);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 Py_INCREF(Py_None); resultobj = Py_None;
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18008 wxDC *arg2 = 0 ;
18009 double arg3 ;
18010 double arg4 ;
18011 double arg5 ;
18012 double arg6 ;
18013 bool arg7 = (bool) True ;
18014 bool result;
18015 PyObject * obj0 = 0 ;
18016 PyObject * obj1 = 0 ;
18017 PyObject * obj2 = 0 ;
18018 PyObject * obj3 = 0 ;
18019 PyObject * obj4 = 0 ;
18020 PyObject * obj5 = 0 ;
18021 PyObject * obj6 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18030 SWIG_POINTER_EXCEPTION | 0)) == -1)
18031 SWIG_fail;
18032 if (arg2 == NULL) {
18033 PyErr_SetString(PyExc_TypeError,"null reference");
18034 SWIG_fail;
18035 }
18036 arg3 = (double) SWIG_AsDouble(obj2);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 arg4 = (double) SWIG_AsDouble(obj3);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 arg5 = (double) SWIG_AsDouble(obj4);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 arg6 = (double) SWIG_AsDouble(obj5);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 if (obj6) {
18045 arg7 = (bool) SWIG_AsBool(obj6);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 {
18056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18057 }
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18067 wxDC *arg2 = 0 ;
18068 double arg3 ;
18069 double arg4 ;
18070 double arg5 ;
18071 double arg6 ;
18072 bool arg7 = (bool) True ;
18073 PyObject * obj0 = 0 ;
18074 PyObject * obj1 = 0 ;
18075 PyObject * obj2 = 0 ;
18076 PyObject * obj3 = 0 ;
18077 PyObject * obj4 = 0 ;
18078 PyObject * obj5 = 0 ;
18079 PyObject * obj6 = 0 ;
18080 char *kwnames[] = {
18081 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18082 };
18083
18084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18088 SWIG_POINTER_EXCEPTION | 0)) == -1)
18089 SWIG_fail;
18090 if (arg2 == NULL) {
18091 PyErr_SetString(PyExc_TypeError,"null reference");
18092 SWIG_fail;
18093 }
18094 arg3 = (double) SWIG_AsDouble(obj2);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 arg4 = (double) SWIG_AsDouble(obj3);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 arg5 = (double) SWIG_AsDouble(obj4);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 arg6 = (double) SWIG_AsDouble(obj5);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 if (obj6) {
18103 arg7 = (bool) SWIG_AsBool(obj6);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 {
18107 PyThreadState* __tstate = wxPyBeginAllowThreads();
18108 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18109
18110 wxPyEndAllowThreads(__tstate);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 Py_INCREF(Py_None); resultobj = Py_None;
18114 return resultobj;
18115 fail:
18116 return NULL;
18117 }
18118
18119
18120 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18121 PyObject *resultobj;
18122 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18123 bool arg2 ;
18124 double arg3 ;
18125 double arg4 ;
18126 int arg5 = (int) 0 ;
18127 int arg6 = (int) 0 ;
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 char *kwnames[] = {
18135 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18136 };
18137
18138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18141 arg2 = (bool) SWIG_AsBool(obj1);
18142 if (PyErr_Occurred()) SWIG_fail;
18143 arg3 = (double) SWIG_AsDouble(obj2);
18144 if (PyErr_Occurred()) SWIG_fail;
18145 arg4 = (double) SWIG_AsDouble(obj3);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 if (obj4) {
18148 arg5 = (int) SWIG_AsInt(obj4);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 if (obj5) {
18152 arg6 = (int) SWIG_AsInt(obj5);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 Py_INCREF(Py_None); resultobj = Py_None;
18163 return resultobj;
18164 fail:
18165 return NULL;
18166 }
18167
18168
18169 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18170 PyObject *resultobj;
18171 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18172 double arg2 ;
18173 double arg3 ;
18174 int arg4 = (int) 0 ;
18175 int arg5 = (int) 0 ;
18176 PyObject * obj0 = 0 ;
18177 PyObject * obj1 = 0 ;
18178 PyObject * obj2 = 0 ;
18179 PyObject * obj3 = 0 ;
18180 PyObject * obj4 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18188 arg2 = (double) SWIG_AsDouble(obj1);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 arg3 = (double) SWIG_AsDouble(obj2);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 if (obj3) {
18193 arg4 = (int) SWIG_AsInt(obj3);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 if (obj4) {
18197 arg5 = (int) SWIG_AsInt(obj4);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18203
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 Py_INCREF(Py_None); resultobj = Py_None;
18208 return resultobj;
18209 fail:
18210 return NULL;
18211 }
18212
18213
18214 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18217 double arg2 ;
18218 double arg3 ;
18219 int arg4 = (int) 0 ;
18220 int arg5 = (int) 0 ;
18221 PyObject * obj0 = 0 ;
18222 PyObject * obj1 = 0 ;
18223 PyObject * obj2 = 0 ;
18224 PyObject * obj3 = 0 ;
18225 PyObject * obj4 = 0 ;
18226 char *kwnames[] = {
18227 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18233 arg2 = (double) SWIG_AsDouble(obj1);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 arg3 = (double) SWIG_AsDouble(obj2);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 if (obj3) {
18238 arg4 = (int) SWIG_AsInt(obj3);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 if (obj4) {
18242 arg5 = (int) SWIG_AsInt(obj4);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 Py_INCREF(Py_None); resultobj = Py_None;
18253 return resultobj;
18254 fail:
18255 return NULL;
18256 }
18257
18258
18259 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18260 PyObject *resultobj;
18261 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18262 bool arg2 ;
18263 double arg3 ;
18264 double arg4 ;
18265 int arg5 = (int) 0 ;
18266 int arg6 = (int) 0 ;
18267 PyObject * obj0 = 0 ;
18268 PyObject * obj1 = 0 ;
18269 PyObject * obj2 = 0 ;
18270 PyObject * obj3 = 0 ;
18271 PyObject * obj4 = 0 ;
18272 PyObject * obj5 = 0 ;
18273 char *kwnames[] = {
18274 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18280 arg2 = (bool) SWIG_AsBool(obj1);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 arg3 = (double) SWIG_AsDouble(obj2);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 arg4 = (double) SWIG_AsDouble(obj3);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 if (obj4) {
18287 arg5 = (int) SWIG_AsInt(obj4);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 }
18290 if (obj5) {
18291 arg6 = (int) SWIG_AsInt(obj5);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 }
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 Py_INCREF(Py_None); resultobj = Py_None;
18302 return resultobj;
18303 fail:
18304 return NULL;
18305 }
18306
18307
18308 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18311 double arg2 ;
18312 double arg3 ;
18313 int arg4 = (int) 0 ;
18314 int arg5 = (int) 0 ;
18315 PyObject * obj0 = 0 ;
18316 PyObject * obj1 = 0 ;
18317 PyObject * obj2 = 0 ;
18318 PyObject * obj3 = 0 ;
18319 PyObject * obj4 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18327 arg2 = (double) SWIG_AsDouble(obj1);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 arg3 = (double) SWIG_AsDouble(obj2);
18330 if (PyErr_Occurred()) SWIG_fail;
18331 if (obj3) {
18332 arg4 = (int) SWIG_AsInt(obj3);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 if (obj4) {
18336 arg5 = (int) SWIG_AsInt(obj4);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 Py_INCREF(Py_None); resultobj = Py_None;
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18356 double arg2 ;
18357 double arg3 ;
18358 int arg4 = (int) 0 ;
18359 int arg5 = (int) 0 ;
18360 PyObject * obj0 = 0 ;
18361 PyObject * obj1 = 0 ;
18362 PyObject * obj2 = 0 ;
18363 PyObject * obj3 = 0 ;
18364 PyObject * obj4 = 0 ;
18365 char *kwnames[] = {
18366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18372 arg2 = (double) SWIG_AsDouble(obj1);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 arg3 = (double) SWIG_AsDouble(obj2);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 if (obj3) {
18377 arg4 = (int) SWIG_AsInt(obj3);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 if (obj4) {
18381 arg5 = (int) SWIG_AsInt(obj4);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18387
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 Py_INCREF(Py_None); resultobj = Py_None;
18392 return resultobj;
18393 fail:
18394 return NULL;
18395 }
18396
18397
18398 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj;
18400 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18401 wxDC *arg2 = 0 ;
18402 double arg3 ;
18403 double arg4 ;
18404 double arg5 ;
18405 double arg6 ;
18406 PyObject * obj0 = 0 ;
18407 PyObject * obj1 = 0 ;
18408 PyObject * obj2 = 0 ;
18409 PyObject * obj3 = 0 ;
18410 PyObject * obj4 = 0 ;
18411 PyObject * obj5 = 0 ;
18412 char *kwnames[] = {
18413 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18414 };
18415
18416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18420 SWIG_POINTER_EXCEPTION | 0)) == -1)
18421 SWIG_fail;
18422 if (arg2 == NULL) {
18423 PyErr_SetString(PyExc_TypeError,"null reference");
18424 SWIG_fail;
18425 }
18426 arg3 = (double) SWIG_AsDouble(obj2);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 arg4 = (double) SWIG_AsDouble(obj3);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 arg5 = (double) SWIG_AsDouble(obj4);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 arg6 = (double) SWIG_AsDouble(obj5);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 {
18435 PyThreadState* __tstate = wxPyBeginAllowThreads();
18436 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18437
18438 wxPyEndAllowThreads(__tstate);
18439 if (PyErr_Occurred()) SWIG_fail;
18440 }
18441 Py_INCREF(Py_None); resultobj = Py_None;
18442 return resultobj;
18443 fail:
18444 return NULL;
18445 }
18446
18447
18448 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18449 PyObject *resultobj;
18450 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18451 wxDC *arg2 = 0 ;
18452 PyObject * obj0 = 0 ;
18453 PyObject * obj1 = 0 ;
18454 char *kwnames[] = {
18455 (char *) "self",(char *) "dc", NULL
18456 };
18457
18458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18462 SWIG_POINTER_EXCEPTION | 0)) == -1)
18463 SWIG_fail;
18464 if (arg2 == NULL) {
18465 PyErr_SetString(PyExc_TypeError,"null reference");
18466 SWIG_fail;
18467 }
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 (arg1)->base_OnDrawControlPoints(*arg2);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 Py_INCREF(Py_None); resultobj = Py_None;
18476 return resultobj;
18477 fail:
18478 return NULL;
18479 }
18480
18481
18482 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18485 wxDC *arg2 = 0 ;
18486 PyObject * obj0 = 0 ;
18487 PyObject * obj1 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self",(char *) "dc", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18496 SWIG_POINTER_EXCEPTION | 0)) == -1)
18497 SWIG_fail;
18498 if (arg2 == NULL) {
18499 PyErr_SetString(PyExc_TypeError,"null reference");
18500 SWIG_fail;
18501 }
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 (arg1)->base_OnEraseControlPoints(*arg2);
18505
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 Py_INCREF(Py_None); resultobj = Py_None;
18510 return resultobj;
18511 fail:
18512 return NULL;
18513 }
18514
18515
18516 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18517 PyObject *resultobj;
18518 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18519 wxDC *arg2 = 0 ;
18520 bool arg3 = (bool) True ;
18521 PyObject * obj0 = 0 ;
18522 PyObject * obj1 = 0 ;
18523 PyObject * obj2 = 0 ;
18524 char *kwnames[] = {
18525 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18526 };
18527
18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18532 SWIG_POINTER_EXCEPTION | 0)) == -1)
18533 SWIG_fail;
18534 if (arg2 == NULL) {
18535 PyErr_SetString(PyExc_TypeError,"null reference");
18536 SWIG_fail;
18537 }
18538 if (obj2) {
18539 arg3 = (bool) SWIG_AsBool(obj2);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 (arg1)->base_OnMoveLink(*arg2,arg3);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 Py_INCREF(Py_None); resultobj = Py_None;
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18557 PyObject *resultobj;
18558 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18559 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18560 bool arg3 ;
18561 double arg4 ;
18562 double arg5 ;
18563 int arg6 = (int) 0 ;
18564 int arg7 = (int) 0 ;
18565 PyObject * obj0 = 0 ;
18566 PyObject * obj1 = 0 ;
18567 PyObject * obj2 = 0 ;
18568 PyObject * obj3 = 0 ;
18569 PyObject * obj4 = 0 ;
18570 PyObject * obj5 = 0 ;
18571 PyObject * obj6 = 0 ;
18572 char *kwnames[] = {
18573 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18574 };
18575
18576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18581 arg3 = (bool) SWIG_AsBool(obj2);
18582 if (PyErr_Occurred()) SWIG_fail;
18583 arg4 = (double) SWIG_AsDouble(obj3);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 arg5 = (double) SWIG_AsDouble(obj4);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 if (obj5) {
18588 arg6 = (int) SWIG_AsInt(obj5);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
18591 if (obj6) {
18592 arg7 = (int) SWIG_AsInt(obj6);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18612 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18613 double arg3 ;
18614 double arg4 ;
18615 int arg5 = (int) 0 ;
18616 int arg6 = (int) 0 ;
18617 PyObject * obj0 = 0 ;
18618 PyObject * obj1 = 0 ;
18619 PyObject * obj2 = 0 ;
18620 PyObject * obj3 = 0 ;
18621 PyObject * obj4 = 0 ;
18622 PyObject * obj5 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18632 arg3 = (double) SWIG_AsDouble(obj2);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 arg4 = (double) SWIG_AsDouble(obj3);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 if (obj4) {
18637 arg5 = (int) SWIG_AsInt(obj4);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 if (obj5) {
18641 arg6 = (int) SWIG_AsInt(obj5);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 Py_INCREF(Py_None); resultobj = Py_None;
18652 return resultobj;
18653 fail:
18654 return NULL;
18655 }
18656
18657
18658 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18661 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18662 double arg3 ;
18663 double arg4 ;
18664 int arg5 = (int) 0 ;
18665 int arg6 = (int) 0 ;
18666 PyObject * obj0 = 0 ;
18667 PyObject * obj1 = 0 ;
18668 PyObject * obj2 = 0 ;
18669 PyObject * obj3 = 0 ;
18670 PyObject * obj4 = 0 ;
18671 PyObject * obj5 = 0 ;
18672 char *kwnames[] = {
18673 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18674 };
18675
18676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18681 arg3 = (double) SWIG_AsDouble(obj2);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 arg4 = (double) SWIG_AsDouble(obj3);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 if (obj4) {
18686 arg5 = (int) SWIG_AsInt(obj4);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 if (obj5) {
18690 arg6 = (int) SWIG_AsInt(obj5);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 Py_INCREF(Py_None); resultobj = Py_None;
18701 return resultobj;
18702 fail:
18703 return NULL;
18704 }
18705
18706
18707 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18708 PyObject *resultobj;
18709 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18710 double arg2 ;
18711 double arg3 ;
18712 PyObject * obj0 = 0 ;
18713 PyObject * obj1 = 0 ;
18714 PyObject * obj2 = 0 ;
18715 char *kwnames[] = {
18716 (char *) "self",(char *) "w",(char *) "h", NULL
18717 };
18718
18719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18722 arg2 = (double) SWIG_AsDouble(obj1);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 arg3 = (double) SWIG_AsDouble(obj2);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 {
18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
18728 (arg1)->base_OnBeginSize(arg2,arg3);
18729
18730 wxPyEndAllowThreads(__tstate);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
18733 Py_INCREF(Py_None); resultobj = Py_None;
18734 return resultobj;
18735 fail:
18736 return NULL;
18737 }
18738
18739
18740 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18741 PyObject *resultobj;
18742 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18743 double arg2 ;
18744 double arg3 ;
18745 PyObject * obj0 = 0 ;
18746 PyObject * obj1 = 0 ;
18747 PyObject * obj2 = 0 ;
18748 char *kwnames[] = {
18749 (char *) "self",(char *) "w",(char *) "h", NULL
18750 };
18751
18752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18755 arg2 = (double) SWIG_AsDouble(obj1);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 arg3 = (double) SWIG_AsDouble(obj2);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 (arg1)->base_OnEndSize(arg2,arg3);
18762
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 Py_INCREF(Py_None); resultobj = Py_None;
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
18774 PyObject *obj;
18775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18776 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
18777 Py_INCREF(obj);
18778 return Py_BuildValue((char *)"");
18779 }
18780 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 double arg1 = (double) 0.0 ;
18783 double arg2 = (double) 0.0 ;
18784 wxPyDividedShape *result;
18785 PyObject * obj0 = 0 ;
18786 PyObject * obj1 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "width",(char *) "height", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
18792 if (obj0) {
18793 arg1 = (double) SWIG_AsDouble(obj0);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
18796 if (obj1) {
18797 arg2 = (double) SWIG_AsDouble(obj1);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
18803
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj;
18816 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18817 PyObject *arg2 = (PyObject *) 0 ;
18818 PyObject *arg3 = (PyObject *) 0 ;
18819 PyObject * obj0 = 0 ;
18820 PyObject * obj1 = 0 ;
18821 PyObject * obj2 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self",(char *) "self",(char *) "_class", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18829 arg2 = obj1;
18830 arg3 = obj2;
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 (arg1)->_setCallbackInfo(arg2,arg3);
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 Py_INCREF(Py_None); resultobj = Py_None;
18839 return resultobj;
18840 fail:
18841 return NULL;
18842 }
18843
18844
18845 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
18854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 (arg1)->EditRegions();
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 Py_INCREF(Py_None); resultobj = Py_None;
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18873 PyObject * obj0 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
18879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 (arg1)->SetRegionSizes();
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 Py_INCREF(Py_None); resultobj = Py_None;
18889 return resultobj;
18890 fail:
18891 return NULL;
18892 }
18893
18894
18895 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
18896 PyObject *resultobj;
18897 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18898 PyObject * obj0 = 0 ;
18899 char *kwnames[] = {
18900 (char *) "self", NULL
18901 };
18902
18903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
18904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18906 {
18907 PyThreadState* __tstate = wxPyBeginAllowThreads();
18908 (arg1)->base_OnDelete();
18909
18910 wxPyEndAllowThreads(__tstate);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 }
18913 Py_INCREF(Py_None); resultobj = Py_None;
18914 return resultobj;
18915 fail:
18916 return NULL;
18917 }
18918
18919
18920 static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18921 PyObject *resultobj;
18922 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18923 wxDC *arg2 = 0 ;
18924 PyObject * obj0 = 0 ;
18925 PyObject * obj1 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self",(char *) "dc", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18934 SWIG_POINTER_EXCEPTION | 0)) == -1)
18935 SWIG_fail;
18936 if (arg2 == NULL) {
18937 PyErr_SetString(PyExc_TypeError,"null reference");
18938 SWIG_fail;
18939 }
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 (arg1)->base_OnDraw(*arg2);
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 Py_INCREF(Py_None); resultobj = Py_None;
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18957 wxDC *arg2 = 0 ;
18958 PyObject * obj0 = 0 ;
18959 PyObject * obj1 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self",(char *) "dc", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18968 SWIG_POINTER_EXCEPTION | 0)) == -1)
18969 SWIG_fail;
18970 if (arg2 == NULL) {
18971 PyErr_SetString(PyExc_TypeError,"null reference");
18972 SWIG_fail;
18973 }
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 (arg1)->base_OnDrawContents(*arg2);
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 Py_INCREF(Py_None); resultobj = Py_None;
18982 return resultobj;
18983 fail:
18984 return NULL;
18985 }
18986
18987
18988 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18989 PyObject *resultobj;
18990 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18991 wxDC *arg2 = 0 ;
18992 bool arg3 = (bool) FALSE ;
18993 PyObject * obj0 = 0 ;
18994 PyObject * obj1 = 0 ;
18995 PyObject * obj2 = 0 ;
18996 char *kwnames[] = {
18997 (char *) "self",(char *) "dc",(char *) "erase", NULL
18998 };
18999
19000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
19001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19004 SWIG_POINTER_EXCEPTION | 0)) == -1)
19005 SWIG_fail;
19006 if (arg2 == NULL) {
19007 PyErr_SetString(PyExc_TypeError,"null reference");
19008 SWIG_fail;
19009 }
19010 if (obj2) {
19011 arg3 = (bool) SWIG_AsBool(obj2);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 {
19015 PyThreadState* __tstate = wxPyBeginAllowThreads();
19016 (arg1)->base_OnDrawBranches(*arg2,arg3);
19017
19018 wxPyEndAllowThreads(__tstate);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
19021 Py_INCREF(Py_None); resultobj = Py_None;
19022 return resultobj;
19023 fail:
19024 return NULL;
19025 }
19026
19027
19028 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19031 wxDC *arg2 = 0 ;
19032 PyObject * obj0 = 0 ;
19033 PyObject * obj1 = 0 ;
19034 char *kwnames[] = {
19035 (char *) "self",(char *) "dc", NULL
19036 };
19037
19038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
19039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19042 SWIG_POINTER_EXCEPTION | 0)) == -1)
19043 SWIG_fail;
19044 if (arg2 == NULL) {
19045 PyErr_SetString(PyExc_TypeError,"null reference");
19046 SWIG_fail;
19047 }
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 (arg1)->base_OnMoveLinks(*arg2);
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 Py_INCREF(Py_None); resultobj = Py_None;
19056 return resultobj;
19057 fail:
19058 return NULL;
19059 }
19060
19061
19062 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj;
19064 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19065 wxDC *arg2 = 0 ;
19066 PyObject * obj0 = 0 ;
19067 PyObject * obj1 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self",(char *) "dc", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19076 SWIG_POINTER_EXCEPTION | 0)) == -1)
19077 SWIG_fail;
19078 if (arg2 == NULL) {
19079 PyErr_SetString(PyExc_TypeError,"null reference");
19080 SWIG_fail;
19081 }
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 (arg1)->base_OnErase(*arg2);
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 Py_INCREF(Py_None); resultobj = Py_None;
19090 return resultobj;
19091 fail:
19092 return NULL;
19093 }
19094
19095
19096 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19099 wxDC *arg2 = 0 ;
19100 PyObject * obj0 = 0 ;
19101 PyObject * obj1 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "self",(char *) "dc", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19109 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19110 SWIG_POINTER_EXCEPTION | 0)) == -1)
19111 SWIG_fail;
19112 if (arg2 == NULL) {
19113 PyErr_SetString(PyExc_TypeError,"null reference");
19114 SWIG_fail;
19115 }
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->base_OnEraseContents(*arg2);
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 Py_INCREF(Py_None); resultobj = Py_None;
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19133 wxDC *arg2 = 0 ;
19134 PyObject * obj0 = 0 ;
19135 PyObject * obj1 = 0 ;
19136 char *kwnames[] = {
19137 (char *) "self",(char *) "dc", NULL
19138 };
19139
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19144 SWIG_POINTER_EXCEPTION | 0)) == -1)
19145 SWIG_fail;
19146 if (arg2 == NULL) {
19147 PyErr_SetString(PyExc_TypeError,"null reference");
19148 SWIG_fail;
19149 }
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 (arg1)->base_OnHighlight(*arg2);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 return resultobj;
19159 fail:
19160 return NULL;
19161 }
19162
19163
19164 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj;
19166 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19167 double arg2 ;
19168 double arg3 ;
19169 int arg4 = (int) 0 ;
19170 int arg5 = (int) 0 ;
19171 PyObject * obj0 = 0 ;
19172 PyObject * obj1 = 0 ;
19173 PyObject * obj2 = 0 ;
19174 PyObject * obj3 = 0 ;
19175 PyObject * obj4 = 0 ;
19176 char *kwnames[] = {
19177 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19178 };
19179
19180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19183 arg2 = (double) SWIG_AsDouble(obj1);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 arg3 = (double) SWIG_AsDouble(obj2);
19186 if (PyErr_Occurred()) SWIG_fail;
19187 if (obj3) {
19188 arg4 = (int) SWIG_AsInt(obj3);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 if (obj4) {
19192 arg5 = (int) SWIG_AsInt(obj4);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 Py_INCREF(Py_None); resultobj = Py_None;
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19212 double arg2 ;
19213 double arg3 ;
19214 int arg4 = (int) 0 ;
19215 int arg5 = (int) 0 ;
19216 PyObject * obj0 = 0 ;
19217 PyObject * obj1 = 0 ;
19218 PyObject * obj2 = 0 ;
19219 PyObject * obj3 = 0 ;
19220 PyObject * obj4 = 0 ;
19221 char *kwnames[] = {
19222 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19223 };
19224
19225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19228 arg2 = (double) SWIG_AsDouble(obj1);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 arg3 = (double) SWIG_AsDouble(obj2);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 if (obj3) {
19233 arg4 = (int) SWIG_AsInt(obj3);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 if (obj4) {
19237 arg5 = (int) SWIG_AsInt(obj4);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19257 double arg2 ;
19258 double arg3 ;
19259 int arg4 = (int) 0 ;
19260 int arg5 = (int) 0 ;
19261 PyObject * obj0 = 0 ;
19262 PyObject * obj1 = 0 ;
19263 PyObject * obj2 = 0 ;
19264 PyObject * obj3 = 0 ;
19265 PyObject * obj4 = 0 ;
19266 char *kwnames[] = {
19267 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19268 };
19269
19270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19273 arg2 = (double) SWIG_AsDouble(obj1);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 arg3 = (double) SWIG_AsDouble(obj2);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 if (obj3) {
19278 arg4 = (int) SWIG_AsInt(obj3);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 }
19281 if (obj4) {
19282 arg5 = (int) SWIG_AsInt(obj4);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19288
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 Py_INCREF(Py_None); resultobj = Py_None;
19293 return resultobj;
19294 fail:
19295 return NULL;
19296 }
19297
19298
19299 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19302 double arg2 ;
19303 double arg3 ;
19304 PyObject * obj0 = 0 ;
19305 PyObject * obj1 = 0 ;
19306 PyObject * obj2 = 0 ;
19307 char *kwnames[] = {
19308 (char *) "self",(char *) "x",(char *) "y", NULL
19309 };
19310
19311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19314 arg2 = (double) SWIG_AsDouble(obj1);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 arg3 = (double) SWIG_AsDouble(obj2);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 (arg1)->base_OnSize(arg2,arg3);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 Py_INCREF(Py_None); resultobj = Py_None;
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19335 wxDC *arg2 = 0 ;
19336 double arg3 ;
19337 double arg4 ;
19338 double arg5 ;
19339 double arg6 ;
19340 bool arg7 = (bool) True ;
19341 bool result;
19342 PyObject * obj0 = 0 ;
19343 PyObject * obj1 = 0 ;
19344 PyObject * obj2 = 0 ;
19345 PyObject * obj3 = 0 ;
19346 PyObject * obj4 = 0 ;
19347 PyObject * obj5 = 0 ;
19348 PyObject * obj6 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19357 SWIG_POINTER_EXCEPTION | 0)) == -1)
19358 SWIG_fail;
19359 if (arg2 == NULL) {
19360 PyErr_SetString(PyExc_TypeError,"null reference");
19361 SWIG_fail;
19362 }
19363 arg3 = (double) SWIG_AsDouble(obj2);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 arg4 = (double) SWIG_AsDouble(obj3);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 arg5 = (double) SWIG_AsDouble(obj4);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 arg6 = (double) SWIG_AsDouble(obj5);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 if (obj6) {
19372 arg7 = (bool) SWIG_AsBool(obj6);
19373 if (PyErr_Occurred()) SWIG_fail;
19374 }
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 {
19383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19384 }
19385 return resultobj;
19386 fail:
19387 return NULL;
19388 }
19389
19390
19391 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19392 PyObject *resultobj;
19393 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19394 wxDC *arg2 = 0 ;
19395 double arg3 ;
19396 double arg4 ;
19397 double arg5 ;
19398 double arg6 ;
19399 bool arg7 = (bool) True ;
19400 PyObject * obj0 = 0 ;
19401 PyObject * obj1 = 0 ;
19402 PyObject * obj2 = 0 ;
19403 PyObject * obj3 = 0 ;
19404 PyObject * obj4 = 0 ;
19405 PyObject * obj5 = 0 ;
19406 PyObject * obj6 = 0 ;
19407 char *kwnames[] = {
19408 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19409 };
19410
19411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19415 SWIG_POINTER_EXCEPTION | 0)) == -1)
19416 SWIG_fail;
19417 if (arg2 == NULL) {
19418 PyErr_SetString(PyExc_TypeError,"null reference");
19419 SWIG_fail;
19420 }
19421 arg3 = (double) SWIG_AsDouble(obj2);
19422 if (PyErr_Occurred()) SWIG_fail;
19423 arg4 = (double) SWIG_AsDouble(obj3);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 arg5 = (double) SWIG_AsDouble(obj4);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 arg6 = (double) SWIG_AsDouble(obj5);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 if (obj6) {
19430 arg7 = (bool) SWIG_AsBool(obj6);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
19433 {
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
19440 Py_INCREF(Py_None); resultobj = Py_None;
19441 return resultobj;
19442 fail:
19443 return NULL;
19444 }
19445
19446
19447 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19450 bool arg2 ;
19451 double arg3 ;
19452 double arg4 ;
19453 int arg5 = (int) 0 ;
19454 int arg6 = (int) 0 ;
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 char *kwnames[] = {
19462 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19463 };
19464
19465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19468 arg2 = (bool) SWIG_AsBool(obj1);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 arg3 = (double) SWIG_AsDouble(obj2);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 arg4 = (double) SWIG_AsDouble(obj3);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 if (obj4) {
19475 arg5 = (int) SWIG_AsInt(obj4);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 if (obj5) {
19479 arg6 = (int) SWIG_AsInt(obj5);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 {
19483 PyThreadState* __tstate = wxPyBeginAllowThreads();
19484 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19485
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
19489 Py_INCREF(Py_None); resultobj = Py_None;
19490 return resultobj;
19491 fail:
19492 return NULL;
19493 }
19494
19495
19496 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19497 PyObject *resultobj;
19498 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19499 double arg2 ;
19500 double arg3 ;
19501 int arg4 = (int) 0 ;
19502 int arg5 = (int) 0 ;
19503 PyObject * obj0 = 0 ;
19504 PyObject * obj1 = 0 ;
19505 PyObject * obj2 = 0 ;
19506 PyObject * obj3 = 0 ;
19507 PyObject * obj4 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19515 arg2 = (double) SWIG_AsDouble(obj1);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 arg3 = (double) SWIG_AsDouble(obj2);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 if (obj3) {
19520 arg4 = (int) SWIG_AsInt(obj3);
19521 if (PyErr_Occurred()) SWIG_fail;
19522 }
19523 if (obj4) {
19524 arg5 = (int) SWIG_AsInt(obj4);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19530
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 Py_INCREF(Py_None); resultobj = Py_None;
19535 return resultobj;
19536 fail:
19537 return NULL;
19538 }
19539
19540
19541 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19544 double arg2 ;
19545 double arg3 ;
19546 int arg4 = (int) 0 ;
19547 int arg5 = (int) 0 ;
19548 PyObject * obj0 = 0 ;
19549 PyObject * obj1 = 0 ;
19550 PyObject * obj2 = 0 ;
19551 PyObject * obj3 = 0 ;
19552 PyObject * obj4 = 0 ;
19553 char *kwnames[] = {
19554 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19555 };
19556
19557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19560 arg2 = (double) SWIG_AsDouble(obj1);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 arg3 = (double) SWIG_AsDouble(obj2);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 if (obj3) {
19565 arg4 = (int) SWIG_AsInt(obj3);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 if (obj4) {
19569 arg5 = (int) SWIG_AsInt(obj4);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 Py_INCREF(Py_None); resultobj = Py_None;
19580 return resultobj;
19581 fail:
19582 return NULL;
19583 }
19584
19585
19586 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj;
19588 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19589 bool arg2 ;
19590 double arg3 ;
19591 double arg4 ;
19592 int arg5 = (int) 0 ;
19593 int arg6 = (int) 0 ;
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj1 = 0 ;
19596 PyObject * obj2 = 0 ;
19597 PyObject * obj3 = 0 ;
19598 PyObject * obj4 = 0 ;
19599 PyObject * obj5 = 0 ;
19600 char *kwnames[] = {
19601 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19602 };
19603
19604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19607 arg2 = (bool) SWIG_AsBool(obj1);
19608 if (PyErr_Occurred()) SWIG_fail;
19609 arg3 = (double) SWIG_AsDouble(obj2);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 arg4 = (double) SWIG_AsDouble(obj3);
19612 if (PyErr_Occurred()) SWIG_fail;
19613 if (obj4) {
19614 arg5 = (int) SWIG_AsInt(obj4);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
19617 if (obj5) {
19618 arg6 = (int) SWIG_AsInt(obj5);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19624
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 Py_INCREF(Py_None); resultobj = Py_None;
19629 return resultobj;
19630 fail:
19631 return NULL;
19632 }
19633
19634
19635 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19636 PyObject *resultobj;
19637 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19638 double arg2 ;
19639 double arg3 ;
19640 int arg4 = (int) 0 ;
19641 int arg5 = (int) 0 ;
19642 PyObject * obj0 = 0 ;
19643 PyObject * obj1 = 0 ;
19644 PyObject * obj2 = 0 ;
19645 PyObject * obj3 = 0 ;
19646 PyObject * obj4 = 0 ;
19647 char *kwnames[] = {
19648 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19649 };
19650
19651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19654 arg2 = (double) SWIG_AsDouble(obj1);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 arg3 = (double) SWIG_AsDouble(obj2);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 if (obj3) {
19659 arg4 = (int) SWIG_AsInt(obj3);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 if (obj4) {
19663 arg5 = (int) SWIG_AsInt(obj4);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19669
19670 wxPyEndAllowThreads(__tstate);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 Py_INCREF(Py_None); resultobj = Py_None;
19674 return resultobj;
19675 fail:
19676 return NULL;
19677 }
19678
19679
19680 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19681 PyObject *resultobj;
19682 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19683 double arg2 ;
19684 double arg3 ;
19685 int arg4 = (int) 0 ;
19686 int arg5 = (int) 0 ;
19687 PyObject * obj0 = 0 ;
19688 PyObject * obj1 = 0 ;
19689 PyObject * obj2 = 0 ;
19690 PyObject * obj3 = 0 ;
19691 PyObject * obj4 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19699 arg2 = (double) SWIG_AsDouble(obj1);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 arg3 = (double) SWIG_AsDouble(obj2);
19702 if (PyErr_Occurred()) SWIG_fail;
19703 if (obj3) {
19704 arg4 = (int) SWIG_AsInt(obj3);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 if (obj4) {
19708 arg5 = (int) SWIG_AsInt(obj4);
19709 if (PyErr_Occurred()) SWIG_fail;
19710 }
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19714
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
19718 Py_INCREF(Py_None); resultobj = Py_None;
19719 return resultobj;
19720 fail:
19721 return NULL;
19722 }
19723
19724
19725 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19726 PyObject *resultobj;
19727 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19728 wxDC *arg2 = 0 ;
19729 double arg3 ;
19730 double arg4 ;
19731 double arg5 ;
19732 double arg6 ;
19733 PyObject * obj0 = 0 ;
19734 PyObject * obj1 = 0 ;
19735 PyObject * obj2 = 0 ;
19736 PyObject * obj3 = 0 ;
19737 PyObject * obj4 = 0 ;
19738 PyObject * obj5 = 0 ;
19739 char *kwnames[] = {
19740 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19741 };
19742
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19747 SWIG_POINTER_EXCEPTION | 0)) == -1)
19748 SWIG_fail;
19749 if (arg2 == NULL) {
19750 PyErr_SetString(PyExc_TypeError,"null reference");
19751 SWIG_fail;
19752 }
19753 arg3 = (double) SWIG_AsDouble(obj2);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 arg4 = (double) SWIG_AsDouble(obj3);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 arg5 = (double) SWIG_AsDouble(obj4);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 arg6 = (double) SWIG_AsDouble(obj5);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 Py_INCREF(Py_None); resultobj = Py_None;
19769 return resultobj;
19770 fail:
19771 return NULL;
19772 }
19773
19774
19775 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19776 PyObject *resultobj;
19777 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19778 wxDC *arg2 = 0 ;
19779 PyObject * obj0 = 0 ;
19780 PyObject * obj1 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self",(char *) "dc", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19789 SWIG_POINTER_EXCEPTION | 0)) == -1)
19790 SWIG_fail;
19791 if (arg2 == NULL) {
19792 PyErr_SetString(PyExc_TypeError,"null reference");
19793 SWIG_fail;
19794 }
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 (arg1)->base_OnDrawControlPoints(*arg2);
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 Py_INCREF(Py_None); resultobj = Py_None;
19803 return resultobj;
19804 fail:
19805 return NULL;
19806 }
19807
19808
19809 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19810 PyObject *resultobj;
19811 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19812 wxDC *arg2 = 0 ;
19813 PyObject * obj0 = 0 ;
19814 PyObject * obj1 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self",(char *) "dc", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19823 SWIG_POINTER_EXCEPTION | 0)) == -1)
19824 SWIG_fail;
19825 if (arg2 == NULL) {
19826 PyErr_SetString(PyExc_TypeError,"null reference");
19827 SWIG_fail;
19828 }
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 (arg1)->base_OnEraseControlPoints(*arg2);
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 Py_INCREF(Py_None); resultobj = Py_None;
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj;
19845 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19846 wxDC *arg2 = 0 ;
19847 bool arg3 = (bool) True ;
19848 PyObject * obj0 = 0 ;
19849 PyObject * obj1 = 0 ;
19850 PyObject * obj2 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19859 SWIG_POINTER_EXCEPTION | 0)) == -1)
19860 SWIG_fail;
19861 if (arg2 == NULL) {
19862 PyErr_SetString(PyExc_TypeError,"null reference");
19863 SWIG_fail;
19864 }
19865 if (obj2) {
19866 arg3 = (bool) SWIG_AsBool(obj2);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 (arg1)->base_OnMoveLink(*arg2,arg3);
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 Py_INCREF(Py_None); resultobj = Py_None;
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19886 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19887 bool arg3 ;
19888 double arg4 ;
19889 double arg5 ;
19890 int arg6 = (int) 0 ;
19891 int arg7 = (int) 0 ;
19892 PyObject * obj0 = 0 ;
19893 PyObject * obj1 = 0 ;
19894 PyObject * obj2 = 0 ;
19895 PyObject * obj3 = 0 ;
19896 PyObject * obj4 = 0 ;
19897 PyObject * obj5 = 0 ;
19898 PyObject * obj6 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19908 arg3 = (bool) SWIG_AsBool(obj2);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 arg4 = (double) SWIG_AsDouble(obj3);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 arg5 = (double) SWIG_AsDouble(obj4);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 if (obj5) {
19915 arg6 = (int) SWIG_AsInt(obj5);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 if (obj6) {
19919 arg7 = (int) SWIG_AsInt(obj6);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19925
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 Py_INCREF(Py_None); resultobj = Py_None;
19930 return resultobj;
19931 fail:
19932 return NULL;
19933 }
19934
19935
19936 static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19937 PyObject *resultobj;
19938 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19939 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19940 double arg3 ;
19941 double arg4 ;
19942 int arg5 = (int) 0 ;
19943 int arg6 = (int) 0 ;
19944 PyObject * obj0 = 0 ;
19945 PyObject * obj1 = 0 ;
19946 PyObject * obj2 = 0 ;
19947 PyObject * obj3 = 0 ;
19948 PyObject * obj4 = 0 ;
19949 PyObject * obj5 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19959 arg3 = (double) SWIG_AsDouble(obj2);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 arg4 = (double) SWIG_AsDouble(obj3);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 if (obj4) {
19964 arg5 = (int) SWIG_AsInt(obj4);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 if (obj5) {
19968 arg6 = (int) SWIG_AsInt(obj5);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19974
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 Py_INCREF(Py_None); resultobj = Py_None;
19979 return resultobj;
19980 fail:
19981 return NULL;
19982 }
19983
19984
19985 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj;
19987 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19988 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19989 double arg3 ;
19990 double arg4 ;
19991 int arg5 = (int) 0 ;
19992 int arg6 = (int) 0 ;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 PyObject * obj2 = 0 ;
19996 PyObject * obj3 = 0 ;
19997 PyObject * obj4 = 0 ;
19998 PyObject * obj5 = 0 ;
19999 char *kwnames[] = {
20000 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20001 };
20002
20003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20008 arg3 = (double) SWIG_AsDouble(obj2);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 arg4 = (double) SWIG_AsDouble(obj3);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 if (obj4) {
20013 arg5 = (int) SWIG_AsInt(obj4);
20014 if (PyErr_Occurred()) SWIG_fail;
20015 }
20016 if (obj5) {
20017 arg6 = (int) SWIG_AsInt(obj5);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20037 double arg2 ;
20038 double arg3 ;
20039 PyObject * obj0 = 0 ;
20040 PyObject * obj1 = 0 ;
20041 PyObject * obj2 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "w",(char *) "h", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20049 arg2 = (double) SWIG_AsDouble(obj1);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 arg3 = (double) SWIG_AsDouble(obj2);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 (arg1)->base_OnBeginSize(arg2,arg3);
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 Py_INCREF(Py_None); resultobj = Py_None;
20061 return resultobj;
20062 fail:
20063 return NULL;
20064 }
20065
20066
20067 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20070 double arg2 ;
20071 double arg3 ;
20072 PyObject * obj0 = 0 ;
20073 PyObject * obj1 = 0 ;
20074 PyObject * obj2 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self",(char *) "w",(char *) "h", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20082 arg2 = (double) SWIG_AsDouble(obj1);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 arg3 = (double) SWIG_AsDouble(obj2);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 (arg1)->base_OnEndSize(arg2,arg3);
20089
20090 wxPyEndAllowThreads(__tstate);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 }
20093 Py_INCREF(Py_None); resultobj = Py_None;
20094 return resultobj;
20095 fail:
20096 return NULL;
20097 }
20098
20099
20100 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
20101 PyObject *obj;
20102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20103 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20104 Py_INCREF(obj);
20105 return Py_BuildValue((char *)"");
20106 }
20107 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj;
20109 wxPyDivisionShape *result;
20110 char *kwnames[] = {
20111 NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20115 {
20116 PyThreadState* __tstate = wxPyBeginAllowThreads();
20117 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20118
20119 wxPyEndAllowThreads(__tstate);
20120 if (PyErr_Occurred()) SWIG_fail;
20121 }
20122 {
20123 resultobj = wxPyMake_wxShapeEvtHandler(result);
20124 }
20125 return resultobj;
20126 fail:
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20134 PyObject *arg2 = (PyObject *) 0 ;
20135 PyObject *arg3 = (PyObject *) 0 ;
20136 PyObject * obj0 = 0 ;
20137 PyObject * obj1 = 0 ;
20138 PyObject * obj2 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self",(char *) "self",(char *) "_class", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20146 arg2 = obj1;
20147 arg3 = obj2;
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 (arg1)->_setCallbackInfo(arg2,arg3);
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 Py_INCREF(Py_None); resultobj = Py_None;
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20165 double arg2 ;
20166 bool arg3 ;
20167 PyObject * obj0 = 0 ;
20168 PyObject * obj1 = 0 ;
20169 PyObject * obj2 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self",(char *) "bottom",(char *) "test", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
20175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20177 arg2 = (double) SWIG_AsDouble(obj1);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 arg3 = (bool) SWIG_AsBool(obj2);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 {
20182 PyThreadState* __tstate = wxPyBeginAllowThreads();
20183 (arg1)->AdjustBottom(arg2,arg3);
20184
20185 wxPyEndAllowThreads(__tstate);
20186 if (PyErr_Occurred()) SWIG_fail;
20187 }
20188 Py_INCREF(Py_None); resultobj = Py_None;
20189 return resultobj;
20190 fail:
20191 return NULL;
20192 }
20193
20194
20195 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20196 PyObject *resultobj;
20197 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20198 double arg2 ;
20199 bool arg3 ;
20200 PyObject * obj0 = 0 ;
20201 PyObject * obj1 = 0 ;
20202 PyObject * obj2 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self",(char *) "left",(char *) "test", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
20208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20210 arg2 = (double) SWIG_AsDouble(obj1);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 arg3 = (bool) SWIG_AsBool(obj2);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 (arg1)->AdjustLeft(arg2,arg3);
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 Py_INCREF(Py_None); resultobj = Py_None;
20222 return resultobj;
20223 fail:
20224 return NULL;
20225 }
20226
20227
20228 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20231 double arg2 ;
20232 bool arg3 ;
20233 PyObject * obj0 = 0 ;
20234 PyObject * obj1 = 0 ;
20235 PyObject * obj2 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self",(char *) "right",(char *) "test", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
20241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20243 arg2 = (double) SWIG_AsDouble(obj1);
20244 if (PyErr_Occurred()) SWIG_fail;
20245 arg3 = (bool) SWIG_AsBool(obj2);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 (arg1)->AdjustRight(arg2,arg3);
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 Py_INCREF(Py_None); resultobj = Py_None;
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20264 double arg2 ;
20265 bool arg3 ;
20266 PyObject * obj0 = 0 ;
20267 PyObject * obj1 = 0 ;
20268 PyObject * obj2 = 0 ;
20269 char *kwnames[] = {
20270 (char *) "self",(char *) "top",(char *) "test", NULL
20271 };
20272
20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
20274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20276 arg2 = (double) SWIG_AsDouble(obj1);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 arg3 = (bool) SWIG_AsBool(obj2);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 (arg1)->AdjustTop(arg2,arg3);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 Py_INCREF(Py_None); resultobj = Py_None;
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20297 int arg2 ;
20298 PyObject * obj0 = 0 ;
20299 PyObject * obj1 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self",(char *) "direction", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20307 arg2 = (int) SWIG_AsInt(obj1);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 {
20310 PyThreadState* __tstate = wxPyBeginAllowThreads();
20311 (arg1)->Divide(arg2);
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
20316 Py_INCREF(Py_None); resultobj = Py_None;
20317 return resultobj;
20318 fail:
20319 return NULL;
20320 }
20321
20322
20323 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
20324 PyObject *resultobj;
20325 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20326 int arg2 ;
20327 PyObject * obj0 = 0 ;
20328 PyObject * obj1 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self",(char *) "side", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
20334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20336 arg2 = (int) SWIG_AsInt(obj1);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 {
20339 PyThreadState* __tstate = wxPyBeginAllowThreads();
20340 (arg1)->EditEdge(arg2);
20341
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 Py_INCREF(Py_None); resultobj = Py_None;
20346 return resultobj;
20347 fail:
20348 return NULL;
20349 }
20350
20351
20352 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20353 PyObject *resultobj;
20354 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20355 wxPyDivisionShape *result;
20356 PyObject * obj0 = 0 ;
20357 char *kwnames[] = {
20358 (char *) "self", NULL
20359 };
20360
20361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
20362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 {
20372 resultobj = wxPyMake_wxShapeEvtHandler(result);
20373 }
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20383 int result;
20384 PyObject * obj0 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
20390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 result = (int)(arg1)->GetHandleSide();
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = SWIG_FromInt((int)result);
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20409 wxPyDivisionShape *result;
20410 PyObject * obj0 = 0 ;
20411 char *kwnames[] = {
20412 (char *) "self", NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 {
20426 resultobj = wxPyMake_wxShapeEvtHandler(result);
20427 }
20428 return resultobj;
20429 fail:
20430 return NULL;
20431 }
20432
20433
20434 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20435 PyObject *resultobj;
20436 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20437 wxString result;
20438 PyObject * obj0 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
20444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = (arg1)->GetLeftSideColour();
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 {
20454 #if wxUSE_UNICODE
20455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20456 #else
20457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20458 #endif
20459 }
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20467 PyObject *resultobj;
20468 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20469 wxPen *result;
20470 PyObject * obj0 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
20476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (wxPen *)(arg1)->GetLeftSidePen();
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20495 wxPyDivisionShape *result;
20496 PyObject * obj0 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 {
20512 resultobj = wxPyMake_wxShapeEvtHandler(result);
20513 }
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20523 wxPyDivisionShape *result;
20524 PyObject * obj0 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 {
20540 resultobj = wxPyMake_wxShapeEvtHandler(result);
20541 }
20542 return resultobj;
20543 fail:
20544 return NULL;
20545 }
20546
20547
20548 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20549 PyObject *resultobj;
20550 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20551 wxPen *result;
20552 PyObject * obj0 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
20558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 result = (wxPen *)(arg1)->GetTopSidePen();
20563
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20577 int arg2 ;
20578 double arg3 ;
20579 bool arg4 ;
20580 PyObject * obj0 = 0 ;
20581 PyObject * obj1 = 0 ;
20582 PyObject * obj2 = 0 ;
20583 PyObject * obj3 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20591 arg2 = (int) SWIG_AsInt(obj1);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 arg3 = (double) SWIG_AsDouble(obj2);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 arg4 = (bool) SWIG_AsBool(obj3);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 Py_INCREF(Py_None); resultobj = Py_None;
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20614 double arg2 ;
20615 double arg3 ;
20616 PyObject * obj0 = 0 ;
20617 PyObject * obj1 = 0 ;
20618 PyObject * obj2 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self",(char *) "x",(char *) "y", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20626 arg2 = (double) SWIG_AsDouble(obj1);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 arg3 = (double) SWIG_AsDouble(obj2);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 (arg1)->PopupMenu(arg2,arg3);
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 Py_INCREF(Py_None); resultobj = Py_None;
20638 return resultobj;
20639 fail:
20640 return NULL;
20641 }
20642
20643
20644 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20645 PyObject *resultobj;
20646 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20647 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20648 PyObject * obj0 = 0 ;
20649 PyObject * obj1 = 0 ;
20650 char *kwnames[] = {
20651 (char *) "self",(char *) "shape", NULL
20652 };
20653
20654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
20655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 (arg1)->SetBottomSide(arg2);
20662
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 Py_INCREF(Py_None); resultobj = Py_None;
20667 return resultobj;
20668 fail:
20669 return NULL;
20670 }
20671
20672
20673 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj;
20675 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20676 int arg2 ;
20677 PyObject * obj0 = 0 ;
20678 PyObject * obj1 = 0 ;
20679 char *kwnames[] = {
20680 (char *) "self",(char *) "side", NULL
20681 };
20682
20683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
20684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20686 arg2 = (int) SWIG_AsInt(obj1);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 {
20689 PyThreadState* __tstate = wxPyBeginAllowThreads();
20690 (arg1)->SetHandleSide(arg2);
20691
20692 wxPyEndAllowThreads(__tstate);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 Py_INCREF(Py_None); resultobj = Py_None;
20696 return resultobj;
20697 fail:
20698 return NULL;
20699 }
20700
20701
20702 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20703 PyObject *resultobj;
20704 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20705 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20706 PyObject * obj0 = 0 ;
20707 PyObject * obj1 = 0 ;
20708 char *kwnames[] = {
20709 (char *) "self",(char *) "shape", NULL
20710 };
20711
20712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
20713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 (arg1)->SetLeftSide(arg2);
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
20724 Py_INCREF(Py_None); resultobj = Py_None;
20725 return resultobj;
20726 fail:
20727 return NULL;
20728 }
20729
20730
20731 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20734 wxString *arg2 = 0 ;
20735 bool temp2 = False ;
20736 PyObject * obj0 = 0 ;
20737 PyObject * obj1 = 0 ;
20738 char *kwnames[] = {
20739 (char *) "self",(char *) "colour", NULL
20740 };
20741
20742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
20743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20745 {
20746 arg2 = wxString_in_helper(obj1);
20747 if (arg2 == NULL) SWIG_fail;
20748 temp2 = True;
20749 }
20750 {
20751 PyThreadState* __tstate = wxPyBeginAllowThreads();
20752 (arg1)->SetLeftSideColour((wxString const &)*arg2);
20753
20754 wxPyEndAllowThreads(__tstate);
20755 if (PyErr_Occurred()) SWIG_fail;
20756 }
20757 Py_INCREF(Py_None); resultobj = Py_None;
20758 {
20759 if (temp2)
20760 delete arg2;
20761 }
20762 return resultobj;
20763 fail:
20764 {
20765 if (temp2)
20766 delete arg2;
20767 }
20768 return NULL;
20769 }
20770
20771
20772 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20775 wxPen *arg2 = (wxPen *) 0 ;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self",(char *) "pen", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
20783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20785 {
20786 wxPen* temp;
20787 if (obj1) {
20788 if (obj1 == Py_None) {
20789 temp = NULL;
20790 }
20791 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20792 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20793 return NULL;
20794 }
20795 }
20796 if (temp)
20797 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20798 temp->GetWidth(),
20799 temp->GetStyle());
20800 else
20801 arg2 = NULL;
20802 }
20803 {
20804 PyThreadState* __tstate = wxPyBeginAllowThreads();
20805 (arg1)->SetLeftSidePen(arg2);
20806
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 Py_INCREF(Py_None); resultobj = Py_None;
20811 return resultobj;
20812 fail:
20813 return NULL;
20814 }
20815
20816
20817 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20818 PyObject *resultobj;
20819 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20820 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20821 PyObject * obj0 = 0 ;
20822 PyObject * obj1 = 0 ;
20823 char *kwnames[] = {
20824 (char *) "self",(char *) "shape", NULL
20825 };
20826
20827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
20828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 (arg1)->SetRightSide(arg2);
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 Py_INCREF(Py_None); resultobj = Py_None;
20840 return resultobj;
20841 fail:
20842 return NULL;
20843 }
20844
20845
20846 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20849 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20850 PyObject * obj0 = 0 ;
20851 PyObject * obj1 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self",(char *) "shape", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 (arg1)->SetTopSide(arg2);
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 Py_INCREF(Py_None); resultobj = Py_None;
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj;
20877 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20878 wxString *arg2 = 0 ;
20879 bool temp2 = False ;
20880 PyObject * obj0 = 0 ;
20881 PyObject * obj1 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self",(char *) "colour", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
20887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20889 {
20890 arg2 = wxString_in_helper(obj1);
20891 if (arg2 == NULL) SWIG_fail;
20892 temp2 = True;
20893 }
20894 {
20895 PyThreadState* __tstate = wxPyBeginAllowThreads();
20896 (arg1)->SetTopSideColour((wxString const &)*arg2);
20897
20898 wxPyEndAllowThreads(__tstate);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 Py_INCREF(Py_None); resultobj = Py_None;
20902 {
20903 if (temp2)
20904 delete arg2;
20905 }
20906 return resultobj;
20907 fail:
20908 {
20909 if (temp2)
20910 delete arg2;
20911 }
20912 return NULL;
20913 }
20914
20915
20916 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj;
20918 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20919 wxPen *arg2 = (wxPen *) 0 ;
20920 PyObject * obj0 = 0 ;
20921 PyObject * obj1 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "self",(char *) "pen", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20929 {
20930 wxPen* temp;
20931 if (obj1) {
20932 if (obj1 == Py_None) {
20933 temp = NULL;
20934 }
20935 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20936 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20937 return NULL;
20938 }
20939 }
20940 if (temp)
20941 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20942 temp->GetWidth(),
20943 temp->GetStyle());
20944 else
20945 arg2 = NULL;
20946 }
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 (arg1)->SetTopSidePen(arg2);
20950
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 Py_INCREF(Py_None); resultobj = Py_None;
20955 return resultobj;
20956 fail:
20957 return NULL;
20958 }
20959
20960
20961 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20962 PyObject *resultobj;
20963 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20964 PyObject * obj0 = 0 ;
20965 char *kwnames[] = {
20966 (char *) "self", NULL
20967 };
20968
20969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
20970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 (arg1)->base_OnDelete();
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 Py_INCREF(Py_None); resultobj = Py_None;
20980 return resultobj;
20981 fail:
20982 return NULL;
20983 }
20984
20985
20986 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj;
20988 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20989 wxDC *arg2 = 0 ;
20990 PyObject * obj0 = 0 ;
20991 PyObject * obj1 = 0 ;
20992 char *kwnames[] = {
20993 (char *) "self",(char *) "dc", NULL
20994 };
20995
20996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
20997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21000 SWIG_POINTER_EXCEPTION | 0)) == -1)
21001 SWIG_fail;
21002 if (arg2 == NULL) {
21003 PyErr_SetString(PyExc_TypeError,"null reference");
21004 SWIG_fail;
21005 }
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 (arg1)->base_OnDraw(*arg2);
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 Py_INCREF(Py_None); resultobj = Py_None;
21014 return resultobj;
21015 fail:
21016 return NULL;
21017 }
21018
21019
21020 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21023 wxDC *arg2 = 0 ;
21024 PyObject * obj0 = 0 ;
21025 PyObject * obj1 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self",(char *) "dc", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1)
21035 SWIG_fail;
21036 if (arg2 == NULL) {
21037 PyErr_SetString(PyExc_TypeError,"null reference");
21038 SWIG_fail;
21039 }
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 (arg1)->base_OnDrawContents(*arg2);
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 Py_INCREF(Py_None); resultobj = Py_None;
21048 return resultobj;
21049 fail:
21050 return NULL;
21051 }
21052
21053
21054 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21057 wxDC *arg2 = 0 ;
21058 bool arg3 = (bool) FALSE ;
21059 PyObject * obj0 = 0 ;
21060 PyObject * obj1 = 0 ;
21061 PyObject * obj2 = 0 ;
21062 char *kwnames[] = {
21063 (char *) "self",(char *) "dc",(char *) "erase", NULL
21064 };
21065
21066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
21067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21070 SWIG_POINTER_EXCEPTION | 0)) == -1)
21071 SWIG_fail;
21072 if (arg2 == NULL) {
21073 PyErr_SetString(PyExc_TypeError,"null reference");
21074 SWIG_fail;
21075 }
21076 if (obj2) {
21077 arg3 = (bool) SWIG_AsBool(obj2);
21078 if (PyErr_Occurred()) SWIG_fail;
21079 }
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 (arg1)->base_OnDrawBranches(*arg2,arg3);
21083
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 Py_INCREF(Py_None); resultobj = Py_None;
21088 return resultobj;
21089 fail:
21090 return NULL;
21091 }
21092
21093
21094 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21097 wxDC *arg2 = 0 ;
21098 PyObject * obj0 = 0 ;
21099 PyObject * obj1 = 0 ;
21100 char *kwnames[] = {
21101 (char *) "self",(char *) "dc", NULL
21102 };
21103
21104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21108 SWIG_POINTER_EXCEPTION | 0)) == -1)
21109 SWIG_fail;
21110 if (arg2 == NULL) {
21111 PyErr_SetString(PyExc_TypeError,"null reference");
21112 SWIG_fail;
21113 }
21114 {
21115 PyThreadState* __tstate = wxPyBeginAllowThreads();
21116 (arg1)->base_OnMoveLinks(*arg2);
21117
21118 wxPyEndAllowThreads(__tstate);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 Py_INCREF(Py_None); resultobj = Py_None;
21122 return resultobj;
21123 fail:
21124 return NULL;
21125 }
21126
21127
21128 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21129 PyObject *resultobj;
21130 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21131 wxDC *arg2 = 0 ;
21132 PyObject * obj0 = 0 ;
21133 PyObject * obj1 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self",(char *) "dc", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21142 SWIG_POINTER_EXCEPTION | 0)) == -1)
21143 SWIG_fail;
21144 if (arg2 == NULL) {
21145 PyErr_SetString(PyExc_TypeError,"null reference");
21146 SWIG_fail;
21147 }
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 (arg1)->base_OnErase(*arg2);
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 Py_INCREF(Py_None); resultobj = Py_None;
21156 return resultobj;
21157 fail:
21158 return NULL;
21159 }
21160
21161
21162 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21163 PyObject *resultobj;
21164 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21165 wxDC *arg2 = 0 ;
21166 PyObject * obj0 = 0 ;
21167 PyObject * obj1 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self",(char *) "dc", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21176 SWIG_POINTER_EXCEPTION | 0)) == -1)
21177 SWIG_fail;
21178 if (arg2 == NULL) {
21179 PyErr_SetString(PyExc_TypeError,"null reference");
21180 SWIG_fail;
21181 }
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 (arg1)->base_OnEraseContents(*arg2);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 Py_INCREF(Py_None); resultobj = Py_None;
21190 return resultobj;
21191 fail:
21192 return NULL;
21193 }
21194
21195
21196 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21197 PyObject *resultobj;
21198 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21199 wxDC *arg2 = 0 ;
21200 PyObject * obj0 = 0 ;
21201 PyObject * obj1 = 0 ;
21202 char *kwnames[] = {
21203 (char *) "self",(char *) "dc", NULL
21204 };
21205
21206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21210 SWIG_POINTER_EXCEPTION | 0)) == -1)
21211 SWIG_fail;
21212 if (arg2 == NULL) {
21213 PyErr_SetString(PyExc_TypeError,"null reference");
21214 SWIG_fail;
21215 }
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 (arg1)->base_OnHighlight(*arg2);
21219
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 Py_INCREF(Py_None); resultobj = Py_None;
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21233 double arg2 ;
21234 double arg3 ;
21235 int arg4 = (int) 0 ;
21236 int arg5 = (int) 0 ;
21237 PyObject * obj0 = 0 ;
21238 PyObject * obj1 = 0 ;
21239 PyObject * obj2 = 0 ;
21240 PyObject * obj3 = 0 ;
21241 PyObject * obj4 = 0 ;
21242 char *kwnames[] = {
21243 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21249 arg2 = (double) SWIG_AsDouble(obj1);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 arg3 = (double) SWIG_AsDouble(obj2);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 if (obj3) {
21254 arg4 = (int) SWIG_AsInt(obj3);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 if (obj4) {
21258 arg5 = (int) SWIG_AsInt(obj4);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 {
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21264
21265 wxPyEndAllowThreads(__tstate);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
21268 Py_INCREF(Py_None); resultobj = Py_None;
21269 return resultobj;
21270 fail:
21271 return NULL;
21272 }
21273
21274
21275 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj;
21277 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21278 double arg2 ;
21279 double arg3 ;
21280 int arg4 = (int) 0 ;
21281 int arg5 = (int) 0 ;
21282 PyObject * obj0 = 0 ;
21283 PyObject * obj1 = 0 ;
21284 PyObject * obj2 = 0 ;
21285 PyObject * obj3 = 0 ;
21286 PyObject * obj4 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21294 arg2 = (double) SWIG_AsDouble(obj1);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 arg3 = (double) SWIG_AsDouble(obj2);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 if (obj3) {
21299 arg4 = (int) SWIG_AsInt(obj3);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 if (obj4) {
21303 arg5 = (int) SWIG_AsInt(obj4);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 {
21307 PyThreadState* __tstate = wxPyBeginAllowThreads();
21308 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21309
21310 wxPyEndAllowThreads(__tstate);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 Py_INCREF(Py_None); resultobj = Py_None;
21314 return resultobj;
21315 fail:
21316 return NULL;
21317 }
21318
21319
21320 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21321 PyObject *resultobj;
21322 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21323 double arg2 ;
21324 double arg3 ;
21325 int arg4 = (int) 0 ;
21326 int arg5 = (int) 0 ;
21327 PyObject * obj0 = 0 ;
21328 PyObject * obj1 = 0 ;
21329 PyObject * obj2 = 0 ;
21330 PyObject * obj3 = 0 ;
21331 PyObject * obj4 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21339 arg2 = (double) SWIG_AsDouble(obj1);
21340 if (PyErr_Occurred()) SWIG_fail;
21341 arg3 = (double) SWIG_AsDouble(obj2);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 if (obj3) {
21344 arg4 = (int) SWIG_AsInt(obj3);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 if (obj4) {
21348 arg5 = (int) SWIG_AsInt(obj4);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 Py_INCREF(Py_None); resultobj = Py_None;
21359 return resultobj;
21360 fail:
21361 return NULL;
21362 }
21363
21364
21365 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21366 PyObject *resultobj;
21367 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21368 double arg2 ;
21369 double arg3 ;
21370 PyObject * obj0 = 0 ;
21371 PyObject * obj1 = 0 ;
21372 PyObject * obj2 = 0 ;
21373 char *kwnames[] = {
21374 (char *) "self",(char *) "x",(char *) "y", NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
21378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21380 arg2 = (double) SWIG_AsDouble(obj1);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 arg3 = (double) SWIG_AsDouble(obj2);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 {
21385 PyThreadState* __tstate = wxPyBeginAllowThreads();
21386 (arg1)->base_OnSize(arg2,arg3);
21387
21388 wxPyEndAllowThreads(__tstate);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 }
21391 Py_INCREF(Py_None); resultobj = Py_None;
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21401 wxDC *arg2 = 0 ;
21402 double arg3 ;
21403 double arg4 ;
21404 double arg5 ;
21405 double arg6 ;
21406 bool arg7 = (bool) True ;
21407 bool result;
21408 PyObject * obj0 = 0 ;
21409 PyObject * obj1 = 0 ;
21410 PyObject * obj2 = 0 ;
21411 PyObject * obj3 = 0 ;
21412 PyObject * obj4 = 0 ;
21413 PyObject * obj5 = 0 ;
21414 PyObject * obj6 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21417 };
21418
21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21423 SWIG_POINTER_EXCEPTION | 0)) == -1)
21424 SWIG_fail;
21425 if (arg2 == NULL) {
21426 PyErr_SetString(PyExc_TypeError,"null reference");
21427 SWIG_fail;
21428 }
21429 arg3 = (double) SWIG_AsDouble(obj2);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 arg4 = (double) SWIG_AsDouble(obj3);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 arg5 = (double) SWIG_AsDouble(obj4);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 arg6 = (double) SWIG_AsDouble(obj5);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 if (obj6) {
21438 arg7 = (bool) SWIG_AsBool(obj6);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 }
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 {
21449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21450 }
21451 return resultobj;
21452 fail:
21453 return NULL;
21454 }
21455
21456
21457 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21460 wxDC *arg2 = 0 ;
21461 double arg3 ;
21462 double arg4 ;
21463 double arg5 ;
21464 double arg6 ;
21465 bool arg7 = (bool) True ;
21466 PyObject * obj0 = 0 ;
21467 PyObject * obj1 = 0 ;
21468 PyObject * obj2 = 0 ;
21469 PyObject * obj3 = 0 ;
21470 PyObject * obj4 = 0 ;
21471 PyObject * obj5 = 0 ;
21472 PyObject * obj6 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1)
21482 SWIG_fail;
21483 if (arg2 == NULL) {
21484 PyErr_SetString(PyExc_TypeError,"null reference");
21485 SWIG_fail;
21486 }
21487 arg3 = (double) SWIG_AsDouble(obj2);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 arg4 = (double) SWIG_AsDouble(obj3);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 arg5 = (double) SWIG_AsDouble(obj4);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 arg6 = (double) SWIG_AsDouble(obj5);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 if (obj6) {
21496 arg7 = (bool) SWIG_AsBool(obj6);
21497 if (PyErr_Occurred()) SWIG_fail;
21498 }
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 Py_INCREF(Py_None); resultobj = Py_None;
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21516 bool arg2 ;
21517 double arg3 ;
21518 double arg4 ;
21519 int arg5 = (int) 0 ;
21520 int arg6 = (int) 0 ;
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 char *kwnames[] = {
21528 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21529 };
21530
21531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21534 arg2 = (bool) SWIG_AsBool(obj1);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 arg3 = (double) SWIG_AsDouble(obj2);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 arg4 = (double) SWIG_AsDouble(obj3);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 if (obj4) {
21541 arg5 = (int) SWIG_AsInt(obj4);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 }
21544 if (obj5) {
21545 arg6 = (int) SWIG_AsInt(obj5);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 Py_INCREF(Py_None); resultobj = Py_None;
21556 return resultobj;
21557 fail:
21558 return NULL;
21559 }
21560
21561
21562 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21563 PyObject *resultobj;
21564 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21565 double arg2 ;
21566 double arg3 ;
21567 int arg4 = (int) 0 ;
21568 int arg5 = (int) 0 ;
21569 PyObject * obj0 = 0 ;
21570 PyObject * obj1 = 0 ;
21571 PyObject * obj2 = 0 ;
21572 PyObject * obj3 = 0 ;
21573 PyObject * obj4 = 0 ;
21574 char *kwnames[] = {
21575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21576 };
21577
21578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21581 arg2 = (double) SWIG_AsDouble(obj1);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 arg3 = (double) SWIG_AsDouble(obj2);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 if (obj3) {
21586 arg4 = (int) SWIG_AsInt(obj3);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 if (obj4) {
21590 arg5 = (int) SWIG_AsInt(obj4);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 Py_INCREF(Py_None); resultobj = Py_None;
21601 return resultobj;
21602 fail:
21603 return NULL;
21604 }
21605
21606
21607 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj;
21609 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21610 double arg2 ;
21611 double arg3 ;
21612 int arg4 = (int) 0 ;
21613 int arg5 = (int) 0 ;
21614 PyObject * obj0 = 0 ;
21615 PyObject * obj1 = 0 ;
21616 PyObject * obj2 = 0 ;
21617 PyObject * obj3 = 0 ;
21618 PyObject * obj4 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21626 arg2 = (double) SWIG_AsDouble(obj1);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 arg3 = (double) SWIG_AsDouble(obj2);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 if (obj3) {
21631 arg4 = (int) SWIG_AsInt(obj3);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 if (obj4) {
21635 arg5 = (int) SWIG_AsInt(obj4);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 Py_INCREF(Py_None); resultobj = Py_None;
21646 return resultobj;
21647 fail:
21648 return NULL;
21649 }
21650
21651
21652 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21653 PyObject *resultobj;
21654 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21655 bool arg2 ;
21656 double arg3 ;
21657 double arg4 ;
21658 int arg5 = (int) 0 ;
21659 int arg6 = (int) 0 ;
21660 PyObject * obj0 = 0 ;
21661 PyObject * obj1 = 0 ;
21662 PyObject * obj2 = 0 ;
21663 PyObject * obj3 = 0 ;
21664 PyObject * obj4 = 0 ;
21665 PyObject * obj5 = 0 ;
21666 char *kwnames[] = {
21667 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21668 };
21669
21670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21673 arg2 = (bool) SWIG_AsBool(obj1);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 arg3 = (double) SWIG_AsDouble(obj2);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 arg4 = (double) SWIG_AsDouble(obj3);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 if (obj4) {
21680 arg5 = (int) SWIG_AsInt(obj4);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 if (obj5) {
21684 arg6 = (int) SWIG_AsInt(obj5);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 }
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 Py_INCREF(Py_None); resultobj = Py_None;
21695 return resultobj;
21696 fail:
21697 return NULL;
21698 }
21699
21700
21701 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21702 PyObject *resultobj;
21703 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21704 double arg2 ;
21705 double arg3 ;
21706 int arg4 = (int) 0 ;
21707 int arg5 = (int) 0 ;
21708 PyObject * obj0 = 0 ;
21709 PyObject * obj1 = 0 ;
21710 PyObject * obj2 = 0 ;
21711 PyObject * obj3 = 0 ;
21712 PyObject * obj4 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21720 arg2 = (double) SWIG_AsDouble(obj1);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 arg3 = (double) SWIG_AsDouble(obj2);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 if (obj3) {
21725 arg4 = (int) SWIG_AsInt(obj3);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 if (obj4) {
21729 arg5 = (int) SWIG_AsInt(obj4);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 Py_INCREF(Py_None); resultobj = Py_None;
21740 return resultobj;
21741 fail:
21742 return NULL;
21743 }
21744
21745
21746 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj;
21748 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21749 double arg2 ;
21750 double arg3 ;
21751 int arg4 = (int) 0 ;
21752 int arg5 = (int) 0 ;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 PyObject * obj2 = 0 ;
21756 PyObject * obj3 = 0 ;
21757 PyObject * obj4 = 0 ;
21758 char *kwnames[] = {
21759 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21760 };
21761
21762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21765 arg2 = (double) SWIG_AsDouble(obj1);
21766 if (PyErr_Occurred()) SWIG_fail;
21767 arg3 = (double) SWIG_AsDouble(obj2);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 if (obj3) {
21770 arg4 = (int) SWIG_AsInt(obj3);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 if (obj4) {
21774 arg5 = (int) SWIG_AsInt(obj4);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21780
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 Py_INCREF(Py_None); resultobj = Py_None;
21785 return resultobj;
21786 fail:
21787 return NULL;
21788 }
21789
21790
21791 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
21792 PyObject *resultobj;
21793 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21794 wxDC *arg2 = 0 ;
21795 double arg3 ;
21796 double arg4 ;
21797 double arg5 ;
21798 double arg6 ;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 PyObject * obj2 = 0 ;
21802 PyObject * obj3 = 0 ;
21803 PyObject * obj4 = 0 ;
21804 PyObject * obj5 = 0 ;
21805 char *kwnames[] = {
21806 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21807 };
21808
21809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21813 SWIG_POINTER_EXCEPTION | 0)) == -1)
21814 SWIG_fail;
21815 if (arg2 == NULL) {
21816 PyErr_SetString(PyExc_TypeError,"null reference");
21817 SWIG_fail;
21818 }
21819 arg3 = (double) SWIG_AsDouble(obj2);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 arg4 = (double) SWIG_AsDouble(obj3);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 arg5 = (double) SWIG_AsDouble(obj4);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 arg6 = (double) SWIG_AsDouble(obj5);
21826 if (PyErr_Occurred()) SWIG_fail;
21827 {
21828 PyThreadState* __tstate = wxPyBeginAllowThreads();
21829 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21830
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 Py_INCREF(Py_None); resultobj = Py_None;
21835 return resultobj;
21836 fail:
21837 return NULL;
21838 }
21839
21840
21841 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21842 PyObject *resultobj;
21843 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21844 wxDC *arg2 = 0 ;
21845 PyObject * obj0 = 0 ;
21846 PyObject * obj1 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self",(char *) "dc", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
21852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21855 SWIG_POINTER_EXCEPTION | 0)) == -1)
21856 SWIG_fail;
21857 if (arg2 == NULL) {
21858 PyErr_SetString(PyExc_TypeError,"null reference");
21859 SWIG_fail;
21860 }
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 (arg1)->base_OnDrawControlPoints(*arg2);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 Py_INCREF(Py_None); resultobj = Py_None;
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21878 wxDC *arg2 = 0 ;
21879 PyObject * obj0 = 0 ;
21880 PyObject * obj1 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "dc", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
21886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21889 SWIG_POINTER_EXCEPTION | 0)) == -1)
21890 SWIG_fail;
21891 if (arg2 == NULL) {
21892 PyErr_SetString(PyExc_TypeError,"null reference");
21893 SWIG_fail;
21894 }
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 (arg1)->base_OnEraseControlPoints(*arg2);
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 Py_INCREF(Py_None); resultobj = Py_None;
21903 return resultobj;
21904 fail:
21905 return NULL;
21906 }
21907
21908
21909 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
21910 PyObject *resultobj;
21911 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21912 wxDC *arg2 = 0 ;
21913 bool arg3 = (bool) True ;
21914 PyObject * obj0 = 0 ;
21915 PyObject * obj1 = 0 ;
21916 PyObject * obj2 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
21922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21925 SWIG_POINTER_EXCEPTION | 0)) == -1)
21926 SWIG_fail;
21927 if (arg2 == NULL) {
21928 PyErr_SetString(PyExc_TypeError,"null reference");
21929 SWIG_fail;
21930 }
21931 if (obj2) {
21932 arg3 = (bool) SWIG_AsBool(obj2);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 (arg1)->base_OnMoveLink(*arg2,arg3);
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 Py_INCREF(Py_None); resultobj = Py_None;
21943 return resultobj;
21944 fail:
21945 return NULL;
21946 }
21947
21948
21949 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj;
21951 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21952 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21953 bool arg3 ;
21954 double arg4 ;
21955 double arg5 ;
21956 int arg6 = (int) 0 ;
21957 int arg7 = (int) 0 ;
21958 PyObject * obj0 = 0 ;
21959 PyObject * obj1 = 0 ;
21960 PyObject * obj2 = 0 ;
21961 PyObject * obj3 = 0 ;
21962 PyObject * obj4 = 0 ;
21963 PyObject * obj5 = 0 ;
21964 PyObject * obj6 = 0 ;
21965 char *kwnames[] = {
21966 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21967 };
21968
21969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21974 arg3 = (bool) SWIG_AsBool(obj2);
21975 if (PyErr_Occurred()) SWIG_fail;
21976 arg4 = (double) SWIG_AsDouble(obj3);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 arg5 = (double) SWIG_AsDouble(obj4);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 if (obj5) {
21981 arg6 = (int) SWIG_AsInt(obj5);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 if (obj6) {
21985 arg7 = (int) SWIG_AsInt(obj6);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 }
21988 {
21989 PyThreadState* __tstate = wxPyBeginAllowThreads();
21990 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
21991
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 Py_INCREF(Py_None); resultobj = Py_None;
21996 return resultobj;
21997 fail:
21998 return NULL;
21999 }
22000
22001
22002 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22003 PyObject *resultobj;
22004 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22005 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22006 double arg3 ;
22007 double arg4 ;
22008 int arg5 = (int) 0 ;
22009 int arg6 = (int) 0 ;
22010 PyObject * obj0 = 0 ;
22011 PyObject * obj1 = 0 ;
22012 PyObject * obj2 = 0 ;
22013 PyObject * obj3 = 0 ;
22014 PyObject * obj4 = 0 ;
22015 PyObject * obj5 = 0 ;
22016 char *kwnames[] = {
22017 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22018 };
22019
22020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22025 arg3 = (double) SWIG_AsDouble(obj2);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 arg4 = (double) SWIG_AsDouble(obj3);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 if (obj4) {
22030 arg5 = (int) SWIG_AsInt(obj4);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 if (obj5) {
22034 arg6 = (int) SWIG_AsInt(obj5);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 Py_INCREF(Py_None); resultobj = Py_None;
22045 return resultobj;
22046 fail:
22047 return NULL;
22048 }
22049
22050
22051 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj;
22053 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22054 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22055 double arg3 ;
22056 double arg4 ;
22057 int arg5 = (int) 0 ;
22058 int arg6 = (int) 0 ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
22061 PyObject * obj2 = 0 ;
22062 PyObject * obj3 = 0 ;
22063 PyObject * obj4 = 0 ;
22064 PyObject * obj5 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22074 arg3 = (double) SWIG_AsDouble(obj2);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 arg4 = (double) SWIG_AsDouble(obj3);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 if (obj4) {
22079 arg5 = (int) SWIG_AsInt(obj4);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 if (obj5) {
22083 arg6 = (int) SWIG_AsInt(obj5);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22089
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 Py_INCREF(Py_None); resultobj = Py_None;
22094 return resultobj;
22095 fail:
22096 return NULL;
22097 }
22098
22099
22100 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22101 PyObject *resultobj;
22102 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22103 double arg2 ;
22104 double arg3 ;
22105 PyObject * obj0 = 0 ;
22106 PyObject * obj1 = 0 ;
22107 PyObject * obj2 = 0 ;
22108 char *kwnames[] = {
22109 (char *) "self",(char *) "w",(char *) "h", NULL
22110 };
22111
22112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22115 arg2 = (double) SWIG_AsDouble(obj1);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 arg3 = (double) SWIG_AsDouble(obj2);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 {
22120 PyThreadState* __tstate = wxPyBeginAllowThreads();
22121 (arg1)->base_OnBeginSize(arg2,arg3);
22122
22123 wxPyEndAllowThreads(__tstate);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 }
22126 Py_INCREF(Py_None); resultobj = Py_None;
22127 return resultobj;
22128 fail:
22129 return NULL;
22130 }
22131
22132
22133 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22134 PyObject *resultobj;
22135 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22136 double arg2 ;
22137 double arg3 ;
22138 PyObject * obj0 = 0 ;
22139 PyObject * obj1 = 0 ;
22140 PyObject * obj2 = 0 ;
22141 char *kwnames[] = {
22142 (char *) "self",(char *) "w",(char *) "h", NULL
22143 };
22144
22145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22148 arg2 = (double) SWIG_AsDouble(obj1);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 arg3 = (double) SWIG_AsDouble(obj2);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 {
22153 PyThreadState* __tstate = wxPyBeginAllowThreads();
22154 (arg1)->base_OnEndSize(arg2,arg3);
22155
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 Py_INCREF(Py_None); resultobj = Py_None;
22160 return resultobj;
22161 fail:
22162 return NULL;
22163 }
22164
22165
22166 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
22167 PyObject *obj;
22168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22169 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22170 Py_INCREF(obj);
22171 return Py_BuildValue((char *)"");
22172 }
22173 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22174 PyObject *resultobj;
22175 double arg1 = (double) 0.0 ;
22176 double arg2 = (double) 0.0 ;
22177 wxPyEllipseShape *result;
22178 PyObject * obj0 = 0 ;
22179 PyObject * obj1 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "width",(char *) "height", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22185 if (obj0) {
22186 arg1 = (double) SWIG_AsDouble(obj0);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 if (obj1) {
22190 arg2 = (double) SWIG_AsDouble(obj1);
22191 if (PyErr_Occurred()) SWIG_fail;
22192 }
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
22201 return resultobj;
22202 fail:
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22210 PyObject *arg2 = (PyObject *) 0 ;
22211 PyObject *arg3 = (PyObject *) 0 ;
22212 PyObject * obj0 = 0 ;
22213 PyObject * obj1 = 0 ;
22214 PyObject * obj2 = 0 ;
22215 char *kwnames[] = {
22216 (char *) "self",(char *) "self",(char *) "_class", NULL
22217 };
22218
22219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22222 arg2 = obj1;
22223 arg3 = obj2;
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 (arg1)->_setCallbackInfo(arg2,arg3);
22227
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 Py_INCREF(Py_None); resultobj = Py_None;
22232 return resultobj;
22233 fail:
22234 return NULL;
22235 }
22236
22237
22238 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22239 PyObject *resultobj;
22240 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22241 wxDC *arg2 = 0 ;
22242 PyObject * obj0 = 0 ;
22243 PyObject * obj1 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self",(char *) "dc", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22252 SWIG_POINTER_EXCEPTION | 0)) == -1)
22253 SWIG_fail;
22254 if (arg2 == NULL) {
22255 PyErr_SetString(PyExc_TypeError,"null reference");
22256 SWIG_fail;
22257 }
22258 {
22259 PyThreadState* __tstate = wxPyBeginAllowThreads();
22260 (arg1)->base_OnDraw(*arg2);
22261
22262 wxPyEndAllowThreads(__tstate);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 Py_INCREF(Py_None); resultobj = Py_None;
22266 return resultobj;
22267 fail:
22268 return NULL;
22269 }
22270
22271
22272 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj;
22274 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22275 wxDC *arg2 = 0 ;
22276 PyObject * obj0 = 0 ;
22277 PyObject * obj1 = 0 ;
22278 char *kwnames[] = {
22279 (char *) "self",(char *) "dc", NULL
22280 };
22281
22282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22286 SWIG_POINTER_EXCEPTION | 0)) == -1)
22287 SWIG_fail;
22288 if (arg2 == NULL) {
22289 PyErr_SetString(PyExc_TypeError,"null reference");
22290 SWIG_fail;
22291 }
22292 {
22293 PyThreadState* __tstate = wxPyBeginAllowThreads();
22294 (arg1)->base_OnDrawContents(*arg2);
22295
22296 wxPyEndAllowThreads(__tstate);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 Py_INCREF(Py_None); resultobj = Py_None;
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22309 wxDC *arg2 = 0 ;
22310 bool arg3 = (bool) FALSE ;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 PyObject * obj2 = 0 ;
22314 char *kwnames[] = {
22315 (char *) "self",(char *) "dc",(char *) "erase", NULL
22316 };
22317
22318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22322 SWIG_POINTER_EXCEPTION | 0)) == -1)
22323 SWIG_fail;
22324 if (arg2 == NULL) {
22325 PyErr_SetString(PyExc_TypeError,"null reference");
22326 SWIG_fail;
22327 }
22328 if (obj2) {
22329 arg3 = (bool) SWIG_AsBool(obj2);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 (arg1)->base_OnDrawBranches(*arg2,arg3);
22335
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 Py_INCREF(Py_None); resultobj = Py_None;
22340 return resultobj;
22341 fail:
22342 return NULL;
22343 }
22344
22345
22346 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22347 PyObject *resultobj;
22348 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22349 wxDC *arg2 = 0 ;
22350 PyObject * obj0 = 0 ;
22351 PyObject * obj1 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self",(char *) "dc", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22360 SWIG_POINTER_EXCEPTION | 0)) == -1)
22361 SWIG_fail;
22362 if (arg2 == NULL) {
22363 PyErr_SetString(PyExc_TypeError,"null reference");
22364 SWIG_fail;
22365 }
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 (arg1)->base_OnMoveLinks(*arg2);
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 Py_INCREF(Py_None); resultobj = Py_None;
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22383 wxDC *arg2 = 0 ;
22384 PyObject * obj0 = 0 ;
22385 PyObject * obj1 = 0 ;
22386 char *kwnames[] = {
22387 (char *) "self",(char *) "dc", NULL
22388 };
22389
22390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22394 SWIG_POINTER_EXCEPTION | 0)) == -1)
22395 SWIG_fail;
22396 if (arg2 == NULL) {
22397 PyErr_SetString(PyExc_TypeError,"null reference");
22398 SWIG_fail;
22399 }
22400 {
22401 PyThreadState* __tstate = wxPyBeginAllowThreads();
22402 (arg1)->base_OnErase(*arg2);
22403
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 Py_INCREF(Py_None); resultobj = Py_None;
22408 return resultobj;
22409 fail:
22410 return NULL;
22411 }
22412
22413
22414 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22415 PyObject *resultobj;
22416 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22417 wxDC *arg2 = 0 ;
22418 PyObject * obj0 = 0 ;
22419 PyObject * obj1 = 0 ;
22420 char *kwnames[] = {
22421 (char *) "self",(char *) "dc", NULL
22422 };
22423
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22428 SWIG_POINTER_EXCEPTION | 0)) == -1)
22429 SWIG_fail;
22430 if (arg2 == NULL) {
22431 PyErr_SetString(PyExc_TypeError,"null reference");
22432 SWIG_fail;
22433 }
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 (arg1)->base_OnEraseContents(*arg2);
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 Py_INCREF(Py_None); resultobj = Py_None;
22442 return resultobj;
22443 fail:
22444 return NULL;
22445 }
22446
22447
22448 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22449 PyObject *resultobj;
22450 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22451 wxDC *arg2 = 0 ;
22452 PyObject * obj0 = 0 ;
22453 PyObject * obj1 = 0 ;
22454 char *kwnames[] = {
22455 (char *) "self",(char *) "dc", NULL
22456 };
22457
22458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22462 SWIG_POINTER_EXCEPTION | 0)) == -1)
22463 SWIG_fail;
22464 if (arg2 == NULL) {
22465 PyErr_SetString(PyExc_TypeError,"null reference");
22466 SWIG_fail;
22467 }
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 (arg1)->base_OnHighlight(*arg2);
22471
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 Py_INCREF(Py_None); resultobj = Py_None;
22476 return resultobj;
22477 fail:
22478 return NULL;
22479 }
22480
22481
22482 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22485 double arg2 ;
22486 double arg3 ;
22487 int arg4 = (int) 0 ;
22488 int arg5 = (int) 0 ;
22489 PyObject * obj0 = 0 ;
22490 PyObject * obj1 = 0 ;
22491 PyObject * obj2 = 0 ;
22492 PyObject * obj3 = 0 ;
22493 PyObject * obj4 = 0 ;
22494 char *kwnames[] = {
22495 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22496 };
22497
22498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22501 arg2 = (double) SWIG_AsDouble(obj1);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 arg3 = (double) SWIG_AsDouble(obj2);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 if (obj3) {
22506 arg4 = (int) SWIG_AsInt(obj3);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 if (obj4) {
22510 arg5 = (int) SWIG_AsInt(obj4);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 {
22514 PyThreadState* __tstate = wxPyBeginAllowThreads();
22515 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22516
22517 wxPyEndAllowThreads(__tstate);
22518 if (PyErr_Occurred()) SWIG_fail;
22519 }
22520 Py_INCREF(Py_None); resultobj = Py_None;
22521 return resultobj;
22522 fail:
22523 return NULL;
22524 }
22525
22526
22527 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22528 PyObject *resultobj;
22529 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22530 double arg2 ;
22531 double arg3 ;
22532 int arg4 = (int) 0 ;
22533 int arg5 = (int) 0 ;
22534 PyObject * obj0 = 0 ;
22535 PyObject * obj1 = 0 ;
22536 PyObject * obj2 = 0 ;
22537 PyObject * obj3 = 0 ;
22538 PyObject * obj4 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22546 arg2 = (double) SWIG_AsDouble(obj1);
22547 if (PyErr_Occurred()) SWIG_fail;
22548 arg3 = (double) SWIG_AsDouble(obj2);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 if (obj3) {
22551 arg4 = (int) SWIG_AsInt(obj3);
22552 if (PyErr_Occurred()) SWIG_fail;
22553 }
22554 if (obj4) {
22555 arg5 = (int) SWIG_AsInt(obj4);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 Py_INCREF(Py_None); resultobj = Py_None;
22566 return resultobj;
22567 fail:
22568 return NULL;
22569 }
22570
22571
22572 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22575 double arg2 ;
22576 double arg3 ;
22577 int arg4 = (int) 0 ;
22578 int arg5 = (int) 0 ;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 PyObject * obj2 = 0 ;
22582 PyObject * obj3 = 0 ;
22583 PyObject * obj4 = 0 ;
22584 char *kwnames[] = {
22585 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22586 };
22587
22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22591 arg2 = (double) SWIG_AsDouble(obj1);
22592 if (PyErr_Occurred()) SWIG_fail;
22593 arg3 = (double) SWIG_AsDouble(obj2);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 if (obj3) {
22596 arg4 = (int) SWIG_AsInt(obj3);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 if (obj4) {
22600 arg5 = (int) SWIG_AsInt(obj4);
22601 if (PyErr_Occurred()) SWIG_fail;
22602 }
22603 {
22604 PyThreadState* __tstate = wxPyBeginAllowThreads();
22605 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22606
22607 wxPyEndAllowThreads(__tstate);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 }
22610 Py_INCREF(Py_None); resultobj = Py_None;
22611 return resultobj;
22612 fail:
22613 return NULL;
22614 }
22615
22616
22617 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22618 PyObject *resultobj;
22619 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22620 double arg2 ;
22621 double arg3 ;
22622 PyObject * obj0 = 0 ;
22623 PyObject * obj1 = 0 ;
22624 PyObject * obj2 = 0 ;
22625 char *kwnames[] = {
22626 (char *) "self",(char *) "x",(char *) "y", NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22632 arg2 = (double) SWIG_AsDouble(obj1);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 arg3 = (double) SWIG_AsDouble(obj2);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 {
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 (arg1)->base_OnSize(arg2,arg3);
22639
22640 wxPyEndAllowThreads(__tstate);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 }
22643 Py_INCREF(Py_None); resultobj = Py_None;
22644 return resultobj;
22645 fail:
22646 return NULL;
22647 }
22648
22649
22650 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22651 PyObject *resultobj;
22652 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22653 wxDC *arg2 = 0 ;
22654 double arg3 ;
22655 double arg4 ;
22656 double arg5 ;
22657 double arg6 ;
22658 bool arg7 = (bool) True ;
22659 bool result;
22660 PyObject * obj0 = 0 ;
22661 PyObject * obj1 = 0 ;
22662 PyObject * obj2 = 0 ;
22663 PyObject * obj3 = 0 ;
22664 PyObject * obj4 = 0 ;
22665 PyObject * obj5 = 0 ;
22666 PyObject * obj6 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22675 SWIG_POINTER_EXCEPTION | 0)) == -1)
22676 SWIG_fail;
22677 if (arg2 == NULL) {
22678 PyErr_SetString(PyExc_TypeError,"null reference");
22679 SWIG_fail;
22680 }
22681 arg3 = (double) SWIG_AsDouble(obj2);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 arg4 = (double) SWIG_AsDouble(obj3);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 arg5 = (double) SWIG_AsDouble(obj4);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 arg6 = (double) SWIG_AsDouble(obj5);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 if (obj6) {
22690 arg7 = (bool) SWIG_AsBool(obj6);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 {
22701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22702 }
22703 return resultobj;
22704 fail:
22705 return NULL;
22706 }
22707
22708
22709 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22712 wxDC *arg2 = 0 ;
22713 double arg3 ;
22714 double arg4 ;
22715 double arg5 ;
22716 double arg6 ;
22717 bool arg7 = (bool) True ;
22718 PyObject * obj0 = 0 ;
22719 PyObject * obj1 = 0 ;
22720 PyObject * obj2 = 0 ;
22721 PyObject * obj3 = 0 ;
22722 PyObject * obj4 = 0 ;
22723 PyObject * obj5 = 0 ;
22724 PyObject * obj6 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22727 };
22728
22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1)
22734 SWIG_fail;
22735 if (arg2 == NULL) {
22736 PyErr_SetString(PyExc_TypeError,"null reference");
22737 SWIG_fail;
22738 }
22739 arg3 = (double) SWIG_AsDouble(obj2);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 arg4 = (double) SWIG_AsDouble(obj3);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 arg5 = (double) SWIG_AsDouble(obj4);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 arg6 = (double) SWIG_AsDouble(obj5);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 if (obj6) {
22748 arg7 = (bool) SWIG_AsBool(obj6);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22754
22755 wxPyEndAllowThreads(__tstate);
22756 if (PyErr_Occurred()) SWIG_fail;
22757 }
22758 Py_INCREF(Py_None); resultobj = Py_None;
22759 return resultobj;
22760 fail:
22761 return NULL;
22762 }
22763
22764
22765 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22768 bool arg2 ;
22769 double arg3 ;
22770 double arg4 ;
22771 int arg5 = (int) 0 ;
22772 int arg6 = (int) 0 ;
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 char *kwnames[] = {
22780 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22781 };
22782
22783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22786 arg2 = (bool) SWIG_AsBool(obj1);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 arg3 = (double) SWIG_AsDouble(obj2);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 arg4 = (double) SWIG_AsDouble(obj3);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 if (obj4) {
22793 arg5 = (int) SWIG_AsInt(obj4);
22794 if (PyErr_Occurred()) SWIG_fail;
22795 }
22796 if (obj5) {
22797 arg6 = (int) SWIG_AsInt(obj5);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22817 double arg2 ;
22818 double arg3 ;
22819 int arg4 = (int) 0 ;
22820 int arg5 = (int) 0 ;
22821 PyObject * obj0 = 0 ;
22822 PyObject * obj1 = 0 ;
22823 PyObject * obj2 = 0 ;
22824 PyObject * obj3 = 0 ;
22825 PyObject * obj4 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22833 arg2 = (double) SWIG_AsDouble(obj1);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 arg3 = (double) SWIG_AsDouble(obj2);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 if (obj3) {
22838 arg4 = (int) SWIG_AsInt(obj3);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 }
22841 if (obj4) {
22842 arg5 = (int) SWIG_AsInt(obj4);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 {
22846 PyThreadState* __tstate = wxPyBeginAllowThreads();
22847 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22848
22849 wxPyEndAllowThreads(__tstate);
22850 if (PyErr_Occurred()) SWIG_fail;
22851 }
22852 Py_INCREF(Py_None); resultobj = Py_None;
22853 return resultobj;
22854 fail:
22855 return NULL;
22856 }
22857
22858
22859 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22860 PyObject *resultobj;
22861 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22862 double arg2 ;
22863 double arg3 ;
22864 int arg4 = (int) 0 ;
22865 int arg5 = (int) 0 ;
22866 PyObject * obj0 = 0 ;
22867 PyObject * obj1 = 0 ;
22868 PyObject * obj2 = 0 ;
22869 PyObject * obj3 = 0 ;
22870 PyObject * obj4 = 0 ;
22871 char *kwnames[] = {
22872 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22873 };
22874
22875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22878 arg2 = (double) SWIG_AsDouble(obj1);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 arg3 = (double) SWIG_AsDouble(obj2);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 if (obj3) {
22883 arg4 = (int) SWIG_AsInt(obj3);
22884 if (PyErr_Occurred()) SWIG_fail;
22885 }
22886 if (obj4) {
22887 arg5 = (int) SWIG_AsInt(obj4);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 }
22890 {
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22893
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 Py_INCREF(Py_None); resultobj = Py_None;
22898 return resultobj;
22899 fail:
22900 return NULL;
22901 }
22902
22903
22904 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22905 PyObject *resultobj;
22906 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22907 bool arg2 ;
22908 double arg3 ;
22909 double arg4 ;
22910 int arg5 = (int) 0 ;
22911 int arg6 = (int) 0 ;
22912 PyObject * obj0 = 0 ;
22913 PyObject * obj1 = 0 ;
22914 PyObject * obj2 = 0 ;
22915 PyObject * obj3 = 0 ;
22916 PyObject * obj4 = 0 ;
22917 PyObject * obj5 = 0 ;
22918 char *kwnames[] = {
22919 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22920 };
22921
22922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22925 arg2 = (bool) SWIG_AsBool(obj1);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 arg3 = (double) SWIG_AsDouble(obj2);
22928 if (PyErr_Occurred()) SWIG_fail;
22929 arg4 = (double) SWIG_AsDouble(obj3);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 if (obj4) {
22932 arg5 = (int) SWIG_AsInt(obj4);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 if (obj5) {
22936 arg6 = (int) SWIG_AsInt(obj5);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22942
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 Py_INCREF(Py_None); resultobj = Py_None;
22947 return resultobj;
22948 fail:
22949 return NULL;
22950 }
22951
22952
22953 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22954 PyObject *resultobj;
22955 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22956 double arg2 ;
22957 double arg3 ;
22958 int arg4 = (int) 0 ;
22959 int arg5 = (int) 0 ;
22960 PyObject * obj0 = 0 ;
22961 PyObject * obj1 = 0 ;
22962 PyObject * obj2 = 0 ;
22963 PyObject * obj3 = 0 ;
22964 PyObject * obj4 = 0 ;
22965 char *kwnames[] = {
22966 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22967 };
22968
22969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22972 arg2 = (double) SWIG_AsDouble(obj1);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 arg3 = (double) SWIG_AsDouble(obj2);
22975 if (PyErr_Occurred()) SWIG_fail;
22976 if (obj3) {
22977 arg4 = (int) SWIG_AsInt(obj3);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 if (obj4) {
22981 arg5 = (int) SWIG_AsInt(obj4);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22987
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 Py_INCREF(Py_None); resultobj = Py_None;
22992 return resultobj;
22993 fail:
22994 return NULL;
22995 }
22996
22997
22998 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj;
23000 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23001 double arg2 ;
23002 double arg3 ;
23003 int arg4 = (int) 0 ;
23004 int arg5 = (int) 0 ;
23005 PyObject * obj0 = 0 ;
23006 PyObject * obj1 = 0 ;
23007 PyObject * obj2 = 0 ;
23008 PyObject * obj3 = 0 ;
23009 PyObject * obj4 = 0 ;
23010 char *kwnames[] = {
23011 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23012 };
23013
23014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23017 arg2 = (double) SWIG_AsDouble(obj1);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 arg3 = (double) SWIG_AsDouble(obj2);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 if (obj3) {
23022 arg4 = (int) SWIG_AsInt(obj3);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 if (obj4) {
23026 arg5 = (int) SWIG_AsInt(obj4);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 Py_INCREF(Py_None); resultobj = Py_None;
23037 return resultobj;
23038 fail:
23039 return NULL;
23040 }
23041
23042
23043 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23044 PyObject *resultobj;
23045 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23046 wxDC *arg2 = 0 ;
23047 double arg3 ;
23048 double arg4 ;
23049 double arg5 ;
23050 double arg6 ;
23051 PyObject * obj0 = 0 ;
23052 PyObject * obj1 = 0 ;
23053 PyObject * obj2 = 0 ;
23054 PyObject * obj3 = 0 ;
23055 PyObject * obj4 = 0 ;
23056 PyObject * obj5 = 0 ;
23057 char *kwnames[] = {
23058 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23059 };
23060
23061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23065 SWIG_POINTER_EXCEPTION | 0)) == -1)
23066 SWIG_fail;
23067 if (arg2 == NULL) {
23068 PyErr_SetString(PyExc_TypeError,"null reference");
23069 SWIG_fail;
23070 }
23071 arg3 = (double) SWIG_AsDouble(obj2);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 arg4 = (double) SWIG_AsDouble(obj3);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 arg5 = (double) SWIG_AsDouble(obj4);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 arg6 = (double) SWIG_AsDouble(obj5);
23078 if (PyErr_Occurred()) SWIG_fail;
23079 {
23080 PyThreadState* __tstate = wxPyBeginAllowThreads();
23081 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23082
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 Py_INCREF(Py_None); resultobj = Py_None;
23087 return resultobj;
23088 fail:
23089 return NULL;
23090 }
23091
23092
23093 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23094 PyObject *resultobj;
23095 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23096 wxDC *arg2 = 0 ;
23097 PyObject * obj0 = 0 ;
23098 PyObject * obj1 = 0 ;
23099 char *kwnames[] = {
23100 (char *) "self",(char *) "dc", NULL
23101 };
23102
23103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23107 SWIG_POINTER_EXCEPTION | 0)) == -1)
23108 SWIG_fail;
23109 if (arg2 == NULL) {
23110 PyErr_SetString(PyExc_TypeError,"null reference");
23111 SWIG_fail;
23112 }
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 (arg1)->base_OnDrawControlPoints(*arg2);
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 Py_INCREF(Py_None); resultobj = Py_None;
23121 return resultobj;
23122 fail:
23123 return NULL;
23124 }
23125
23126
23127 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23130 wxDC *arg2 = 0 ;
23131 PyObject * obj0 = 0 ;
23132 PyObject * obj1 = 0 ;
23133 char *kwnames[] = {
23134 (char *) "self",(char *) "dc", NULL
23135 };
23136
23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23140 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23141 SWIG_POINTER_EXCEPTION | 0)) == -1)
23142 SWIG_fail;
23143 if (arg2 == NULL) {
23144 PyErr_SetString(PyExc_TypeError,"null reference");
23145 SWIG_fail;
23146 }
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 (arg1)->base_OnEraseControlPoints(*arg2);
23150
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 Py_INCREF(Py_None); resultobj = Py_None;
23155 return resultobj;
23156 fail:
23157 return NULL;
23158 }
23159
23160
23161 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23164 wxDC *arg2 = 0 ;
23165 bool arg3 = (bool) True ;
23166 PyObject * obj0 = 0 ;
23167 PyObject * obj1 = 0 ;
23168 PyObject * obj2 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23177 SWIG_POINTER_EXCEPTION | 0)) == -1)
23178 SWIG_fail;
23179 if (arg2 == NULL) {
23180 PyErr_SetString(PyExc_TypeError,"null reference");
23181 SWIG_fail;
23182 }
23183 if (obj2) {
23184 arg3 = (bool) SWIG_AsBool(obj2);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
23187 {
23188 PyThreadState* __tstate = wxPyBeginAllowThreads();
23189 (arg1)->base_OnMoveLink(*arg2,arg3);
23190
23191 wxPyEndAllowThreads(__tstate);
23192 if (PyErr_Occurred()) SWIG_fail;
23193 }
23194 Py_INCREF(Py_None); resultobj = Py_None;
23195 return resultobj;
23196 fail:
23197 return NULL;
23198 }
23199
23200
23201 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23204 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23205 bool arg3 ;
23206 double arg4 ;
23207 double arg5 ;
23208 int arg6 = (int) 0 ;
23209 int arg7 = (int) 0 ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 PyObject * obj2 = 0 ;
23213 PyObject * obj3 = 0 ;
23214 PyObject * obj4 = 0 ;
23215 PyObject * obj5 = 0 ;
23216 PyObject * obj6 = 0 ;
23217 char *kwnames[] = {
23218 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23219 };
23220
23221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23226 arg3 = (bool) SWIG_AsBool(obj2);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 arg4 = (double) SWIG_AsDouble(obj3);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 arg5 = (double) SWIG_AsDouble(obj4);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 if (obj5) {
23233 arg6 = (int) SWIG_AsInt(obj5);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 if (obj6) {
23237 arg7 = (int) SWIG_AsInt(obj6);
23238 if (PyErr_Occurred()) SWIG_fail;
23239 }
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 Py_INCREF(Py_None); resultobj = Py_None;
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23257 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23258 double arg3 ;
23259 double arg4 ;
23260 int arg5 = (int) 0 ;
23261 int arg6 = (int) 0 ;
23262 PyObject * obj0 = 0 ;
23263 PyObject * obj1 = 0 ;
23264 PyObject * obj2 = 0 ;
23265 PyObject * obj3 = 0 ;
23266 PyObject * obj4 = 0 ;
23267 PyObject * obj5 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23277 arg3 = (double) SWIG_AsDouble(obj2);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 arg4 = (double) SWIG_AsDouble(obj3);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 if (obj4) {
23282 arg5 = (int) SWIG_AsInt(obj4);
23283 if (PyErr_Occurred()) SWIG_fail;
23284 }
23285 if (obj5) {
23286 arg6 = (int) SWIG_AsInt(obj5);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 {
23290 PyThreadState* __tstate = wxPyBeginAllowThreads();
23291 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23292
23293 wxPyEndAllowThreads(__tstate);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 }
23296 Py_INCREF(Py_None); resultobj = Py_None;
23297 return resultobj;
23298 fail:
23299 return NULL;
23300 }
23301
23302
23303 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23304 PyObject *resultobj;
23305 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23306 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23307 double arg3 ;
23308 double arg4 ;
23309 int arg5 = (int) 0 ;
23310 int arg6 = (int) 0 ;
23311 PyObject * obj0 = 0 ;
23312 PyObject * obj1 = 0 ;
23313 PyObject * obj2 = 0 ;
23314 PyObject * obj3 = 0 ;
23315 PyObject * obj4 = 0 ;
23316 PyObject * obj5 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23326 arg3 = (double) SWIG_AsDouble(obj2);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 arg4 = (double) SWIG_AsDouble(obj3);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 if (obj4) {
23331 arg5 = (int) SWIG_AsInt(obj4);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 if (obj5) {
23335 arg6 = (int) SWIG_AsInt(obj5);
23336 if (PyErr_Occurred()) SWIG_fail;
23337 }
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 Py_INCREF(Py_None); resultobj = Py_None;
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj;
23354 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23355 double arg2 ;
23356 double arg3 ;
23357 PyObject * obj0 = 0 ;
23358 PyObject * obj1 = 0 ;
23359 PyObject * obj2 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self",(char *) "w",(char *) "h", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23367 arg2 = (double) SWIG_AsDouble(obj1);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 arg3 = (double) SWIG_AsDouble(obj2);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 {
23372 PyThreadState* __tstate = wxPyBeginAllowThreads();
23373 (arg1)->base_OnBeginSize(arg2,arg3);
23374
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 Py_INCREF(Py_None); resultobj = Py_None;
23379 return resultobj;
23380 fail:
23381 return NULL;
23382 }
23383
23384
23385 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23386 PyObject *resultobj;
23387 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23388 double arg2 ;
23389 double arg3 ;
23390 PyObject * obj0 = 0 ;
23391 PyObject * obj1 = 0 ;
23392 PyObject * obj2 = 0 ;
23393 char *kwnames[] = {
23394 (char *) "self",(char *) "w",(char *) "h", NULL
23395 };
23396
23397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23400 arg2 = (double) SWIG_AsDouble(obj1);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 arg3 = (double) SWIG_AsDouble(obj2);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 (arg1)->base_OnEndSize(arg2,arg3);
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 Py_INCREF(Py_None); resultobj = Py_None;
23412 return resultobj;
23413 fail:
23414 return NULL;
23415 }
23416
23417
23418 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
23419 PyObject *obj;
23420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23421 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23422 Py_INCREF(obj);
23423 return Py_BuildValue((char *)"");
23424 }
23425 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23426 PyObject *resultobj;
23427 double arg1 = (double) 0.0 ;
23428 wxPyCircleShape *result;
23429 PyObject * obj0 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "width", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23435 if (obj0) {
23436 arg1 = (double) SWIG_AsDouble(obj0);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
23447 return resultobj;
23448 fail:
23449 return NULL;
23450 }
23451
23452
23453 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23456 PyObject *arg2 = (PyObject *) 0 ;
23457 PyObject *arg3 = (PyObject *) 0 ;
23458 PyObject * obj0 = 0 ;
23459 PyObject * obj1 = 0 ;
23460 PyObject * obj2 = 0 ;
23461 char *kwnames[] = {
23462 (char *) "self",(char *) "self",(char *) "_class", NULL
23463 };
23464
23465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23468 arg2 = obj1;
23469 arg3 = obj2;
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 (arg1)->_setCallbackInfo(arg2,arg3);
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 Py_INCREF(Py_None); resultobj = Py_None;
23478 return resultobj;
23479 fail:
23480 return NULL;
23481 }
23482
23483
23484 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23485 PyObject *resultobj;
23486 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23487 wxDC *arg2 = 0 ;
23488 PyObject * obj0 = 0 ;
23489 PyObject * obj1 = 0 ;
23490 char *kwnames[] = {
23491 (char *) "self",(char *) "dc", NULL
23492 };
23493
23494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23498 SWIG_POINTER_EXCEPTION | 0)) == -1)
23499 SWIG_fail;
23500 if (arg2 == NULL) {
23501 PyErr_SetString(PyExc_TypeError,"null reference");
23502 SWIG_fail;
23503 }
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 (arg1)->base_OnDraw(*arg2);
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 Py_INCREF(Py_None); resultobj = Py_None;
23512 return resultobj;
23513 fail:
23514 return NULL;
23515 }
23516
23517
23518 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj;
23520 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23521 wxDC *arg2 = 0 ;
23522 PyObject * obj0 = 0 ;
23523 PyObject * obj1 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "self",(char *) "dc", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23532 SWIG_POINTER_EXCEPTION | 0)) == -1)
23533 SWIG_fail;
23534 if (arg2 == NULL) {
23535 PyErr_SetString(PyExc_TypeError,"null reference");
23536 SWIG_fail;
23537 }
23538 {
23539 PyThreadState* __tstate = wxPyBeginAllowThreads();
23540 (arg1)->base_OnDrawContents(*arg2);
23541
23542 wxPyEndAllowThreads(__tstate);
23543 if (PyErr_Occurred()) SWIG_fail;
23544 }
23545 Py_INCREF(Py_None); resultobj = Py_None;
23546 return resultobj;
23547 fail:
23548 return NULL;
23549 }
23550
23551
23552 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23553 PyObject *resultobj;
23554 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23555 wxDC *arg2 = 0 ;
23556 bool arg3 = (bool) FALSE ;
23557 PyObject * obj0 = 0 ;
23558 PyObject * obj1 = 0 ;
23559 PyObject * obj2 = 0 ;
23560 char *kwnames[] = {
23561 (char *) "self",(char *) "dc",(char *) "erase", NULL
23562 };
23563
23564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23568 SWIG_POINTER_EXCEPTION | 0)) == -1)
23569 SWIG_fail;
23570 if (arg2 == NULL) {
23571 PyErr_SetString(PyExc_TypeError,"null reference");
23572 SWIG_fail;
23573 }
23574 if (obj2) {
23575 arg3 = (bool) SWIG_AsBool(obj2);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 (arg1)->base_OnDrawBranches(*arg2,arg3);
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 Py_INCREF(Py_None); resultobj = Py_None;
23586 return resultobj;
23587 fail:
23588 return NULL;
23589 }
23590
23591
23592 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23595 wxDC *arg2 = 0 ;
23596 PyObject * obj0 = 0 ;
23597 PyObject * obj1 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self",(char *) "dc", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23606 SWIG_POINTER_EXCEPTION | 0)) == -1)
23607 SWIG_fail;
23608 if (arg2 == NULL) {
23609 PyErr_SetString(PyExc_TypeError,"null reference");
23610 SWIG_fail;
23611 }
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 (arg1)->base_OnMoveLinks(*arg2);
23615
23616 wxPyEndAllowThreads(__tstate);
23617 if (PyErr_Occurred()) SWIG_fail;
23618 }
23619 Py_INCREF(Py_None); resultobj = Py_None;
23620 return resultobj;
23621 fail:
23622 return NULL;
23623 }
23624
23625
23626 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23627 PyObject *resultobj;
23628 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23629 wxDC *arg2 = 0 ;
23630 PyObject * obj0 = 0 ;
23631 PyObject * obj1 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self",(char *) "dc", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1)
23641 SWIG_fail;
23642 if (arg2 == NULL) {
23643 PyErr_SetString(PyExc_TypeError,"null reference");
23644 SWIG_fail;
23645 }
23646 {
23647 PyThreadState* __tstate = wxPyBeginAllowThreads();
23648 (arg1)->base_OnErase(*arg2);
23649
23650 wxPyEndAllowThreads(__tstate);
23651 if (PyErr_Occurred()) SWIG_fail;
23652 }
23653 Py_INCREF(Py_None); resultobj = Py_None;
23654 return resultobj;
23655 fail:
23656 return NULL;
23657 }
23658
23659
23660 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23661 PyObject *resultobj;
23662 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23663 wxDC *arg2 = 0 ;
23664 PyObject * obj0 = 0 ;
23665 PyObject * obj1 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self",(char *) "dc", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23674 SWIG_POINTER_EXCEPTION | 0)) == -1)
23675 SWIG_fail;
23676 if (arg2 == NULL) {
23677 PyErr_SetString(PyExc_TypeError,"null reference");
23678 SWIG_fail;
23679 }
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 (arg1)->base_OnEraseContents(*arg2);
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 Py_INCREF(Py_None); resultobj = Py_None;
23688 return resultobj;
23689 fail:
23690 return NULL;
23691 }
23692
23693
23694 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23695 PyObject *resultobj;
23696 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23697 wxDC *arg2 = 0 ;
23698 PyObject * obj0 = 0 ;
23699 PyObject * obj1 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self",(char *) "dc", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23708 SWIG_POINTER_EXCEPTION | 0)) == -1)
23709 SWIG_fail;
23710 if (arg2 == NULL) {
23711 PyErr_SetString(PyExc_TypeError,"null reference");
23712 SWIG_fail;
23713 }
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 (arg1)->base_OnHighlight(*arg2);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 Py_INCREF(Py_None); resultobj = Py_None;
23722 return resultobj;
23723 fail:
23724 return NULL;
23725 }
23726
23727
23728 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23729 PyObject *resultobj;
23730 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23731 double arg2 ;
23732 double arg3 ;
23733 int arg4 = (int) 0 ;
23734 int arg5 = (int) 0 ;
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 PyObject * obj2 = 0 ;
23738 PyObject * obj3 = 0 ;
23739 PyObject * obj4 = 0 ;
23740 char *kwnames[] = {
23741 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23742 };
23743
23744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23747 arg2 = (double) SWIG_AsDouble(obj1);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 arg3 = (double) SWIG_AsDouble(obj2);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 if (obj3) {
23752 arg4 = (int) SWIG_AsInt(obj3);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 if (obj4) {
23756 arg5 = (int) SWIG_AsInt(obj4);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23776 double arg2 ;
23777 double arg3 ;
23778 int arg4 = (int) 0 ;
23779 int arg5 = (int) 0 ;
23780 PyObject * obj0 = 0 ;
23781 PyObject * obj1 = 0 ;
23782 PyObject * obj2 = 0 ;
23783 PyObject * obj3 = 0 ;
23784 PyObject * obj4 = 0 ;
23785 char *kwnames[] = {
23786 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23787 };
23788
23789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23792 arg2 = (double) SWIG_AsDouble(obj1);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 arg3 = (double) SWIG_AsDouble(obj2);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 if (obj3) {
23797 arg4 = (int) SWIG_AsInt(obj3);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 if (obj4) {
23801 arg5 = (int) SWIG_AsInt(obj4);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23807
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 Py_INCREF(Py_None); resultobj = Py_None;
23812 return resultobj;
23813 fail:
23814 return NULL;
23815 }
23816
23817
23818 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23819 PyObject *resultobj;
23820 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23821 double arg2 ;
23822 double arg3 ;
23823 int arg4 = (int) 0 ;
23824 int arg5 = (int) 0 ;
23825 PyObject * obj0 = 0 ;
23826 PyObject * obj1 = 0 ;
23827 PyObject * obj2 = 0 ;
23828 PyObject * obj3 = 0 ;
23829 PyObject * obj4 = 0 ;
23830 char *kwnames[] = {
23831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23832 };
23833
23834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23837 arg2 = (double) SWIG_AsDouble(obj1);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 arg3 = (double) SWIG_AsDouble(obj2);
23840 if (PyErr_Occurred()) SWIG_fail;
23841 if (obj3) {
23842 arg4 = (int) SWIG_AsInt(obj3);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
23845 if (obj4) {
23846 arg5 = (int) SWIG_AsInt(obj4);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23852
23853 wxPyEndAllowThreads(__tstate);
23854 if (PyErr_Occurred()) SWIG_fail;
23855 }
23856 Py_INCREF(Py_None); resultobj = Py_None;
23857 return resultobj;
23858 fail:
23859 return NULL;
23860 }
23861
23862
23863 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23864 PyObject *resultobj;
23865 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23866 double arg2 ;
23867 double arg3 ;
23868 PyObject * obj0 = 0 ;
23869 PyObject * obj1 = 0 ;
23870 PyObject * obj2 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "self",(char *) "x",(char *) "y", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23878 arg2 = (double) SWIG_AsDouble(obj1);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 arg3 = (double) SWIG_AsDouble(obj2);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 {
23883 PyThreadState* __tstate = wxPyBeginAllowThreads();
23884 (arg1)->base_OnSize(arg2,arg3);
23885
23886 wxPyEndAllowThreads(__tstate);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 }
23889 Py_INCREF(Py_None); resultobj = Py_None;
23890 return resultobj;
23891 fail:
23892 return NULL;
23893 }
23894
23895
23896 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23897 PyObject *resultobj;
23898 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23899 wxDC *arg2 = 0 ;
23900 double arg3 ;
23901 double arg4 ;
23902 double arg5 ;
23903 double arg6 ;
23904 bool arg7 = (bool) True ;
23905 bool result;
23906 PyObject * obj0 = 0 ;
23907 PyObject * obj1 = 0 ;
23908 PyObject * obj2 = 0 ;
23909 PyObject * obj3 = 0 ;
23910 PyObject * obj4 = 0 ;
23911 PyObject * obj5 = 0 ;
23912 PyObject * obj6 = 0 ;
23913 char *kwnames[] = {
23914 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23915 };
23916
23917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23921 SWIG_POINTER_EXCEPTION | 0)) == -1)
23922 SWIG_fail;
23923 if (arg2 == NULL) {
23924 PyErr_SetString(PyExc_TypeError,"null reference");
23925 SWIG_fail;
23926 }
23927 arg3 = (double) SWIG_AsDouble(obj2);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 arg4 = (double) SWIG_AsDouble(obj3);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 arg5 = (double) SWIG_AsDouble(obj4);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 arg6 = (double) SWIG_AsDouble(obj5);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 if (obj6) {
23936 arg7 = (bool) SWIG_AsBool(obj6);
23937 if (PyErr_Occurred()) SWIG_fail;
23938 }
23939 {
23940 PyThreadState* __tstate = wxPyBeginAllowThreads();
23941 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23942
23943 wxPyEndAllowThreads(__tstate);
23944 if (PyErr_Occurred()) SWIG_fail;
23945 }
23946 {
23947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23948 }
23949 return resultobj;
23950 fail:
23951 return NULL;
23952 }
23953
23954
23955 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23956 PyObject *resultobj;
23957 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23958 wxDC *arg2 = 0 ;
23959 double arg3 ;
23960 double arg4 ;
23961 double arg5 ;
23962 double arg6 ;
23963 bool arg7 = (bool) True ;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 PyObject * obj2 = 0 ;
23967 PyObject * obj3 = 0 ;
23968 PyObject * obj4 = 0 ;
23969 PyObject * obj5 = 0 ;
23970 PyObject * obj6 = 0 ;
23971 char *kwnames[] = {
23972 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23973 };
23974
23975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23979 SWIG_POINTER_EXCEPTION | 0)) == -1)
23980 SWIG_fail;
23981 if (arg2 == NULL) {
23982 PyErr_SetString(PyExc_TypeError,"null reference");
23983 SWIG_fail;
23984 }
23985 arg3 = (double) SWIG_AsDouble(obj2);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 arg4 = (double) SWIG_AsDouble(obj3);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 arg5 = (double) SWIG_AsDouble(obj4);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 arg6 = (double) SWIG_AsDouble(obj5);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 if (obj6) {
23994 arg7 = (bool) SWIG_AsBool(obj6);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
23999 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24000
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 Py_INCREF(Py_None); resultobj = Py_None;
24005 return resultobj;
24006 fail:
24007 return NULL;
24008 }
24009
24010
24011 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24012 PyObject *resultobj;
24013 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24014 bool arg2 ;
24015 double arg3 ;
24016 double arg4 ;
24017 int arg5 = (int) 0 ;
24018 int arg6 = (int) 0 ;
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 char *kwnames[] = {
24026 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24032 arg2 = (bool) SWIG_AsBool(obj1);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 arg3 = (double) SWIG_AsDouble(obj2);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 arg4 = (double) SWIG_AsDouble(obj3);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 if (obj4) {
24039 arg5 = (int) SWIG_AsInt(obj4);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 if (obj5) {
24043 arg6 = (int) SWIG_AsInt(obj5);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 Py_INCREF(Py_None); resultobj = Py_None;
24054 return resultobj;
24055 fail:
24056 return NULL;
24057 }
24058
24059
24060 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24061 PyObject *resultobj;
24062 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24063 double arg2 ;
24064 double arg3 ;
24065 int arg4 = (int) 0 ;
24066 int arg5 = (int) 0 ;
24067 PyObject * obj0 = 0 ;
24068 PyObject * obj1 = 0 ;
24069 PyObject * obj2 = 0 ;
24070 PyObject * obj3 = 0 ;
24071 PyObject * obj4 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24079 arg2 = (double) SWIG_AsDouble(obj1);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 arg3 = (double) SWIG_AsDouble(obj2);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 if (obj3) {
24084 arg4 = (int) SWIG_AsInt(obj3);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 if (obj4) {
24088 arg5 = (int) SWIG_AsInt(obj4);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 {
24092 PyThreadState* __tstate = wxPyBeginAllowThreads();
24093 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24094
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 Py_INCREF(Py_None); resultobj = Py_None;
24099 return resultobj;
24100 fail:
24101 return NULL;
24102 }
24103
24104
24105 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24106 PyObject *resultobj;
24107 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24108 double arg2 ;
24109 double arg3 ;
24110 int arg4 = (int) 0 ;
24111 int arg5 = (int) 0 ;
24112 PyObject * obj0 = 0 ;
24113 PyObject * obj1 = 0 ;
24114 PyObject * obj2 = 0 ;
24115 PyObject * obj3 = 0 ;
24116 PyObject * obj4 = 0 ;
24117 char *kwnames[] = {
24118 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24119 };
24120
24121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24124 arg2 = (double) SWIG_AsDouble(obj1);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 arg3 = (double) SWIG_AsDouble(obj2);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 if (obj3) {
24129 arg4 = (int) SWIG_AsInt(obj3);
24130 if (PyErr_Occurred()) SWIG_fail;
24131 }
24132 if (obj4) {
24133 arg5 = (int) SWIG_AsInt(obj4);
24134 if (PyErr_Occurred()) SWIG_fail;
24135 }
24136 {
24137 PyThreadState* __tstate = wxPyBeginAllowThreads();
24138 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24139
24140 wxPyEndAllowThreads(__tstate);
24141 if (PyErr_Occurred()) SWIG_fail;
24142 }
24143 Py_INCREF(Py_None); resultobj = Py_None;
24144 return resultobj;
24145 fail:
24146 return NULL;
24147 }
24148
24149
24150 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24151 PyObject *resultobj;
24152 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24153 bool arg2 ;
24154 double arg3 ;
24155 double arg4 ;
24156 int arg5 = (int) 0 ;
24157 int arg6 = (int) 0 ;
24158 PyObject * obj0 = 0 ;
24159 PyObject * obj1 = 0 ;
24160 PyObject * obj2 = 0 ;
24161 PyObject * obj3 = 0 ;
24162 PyObject * obj4 = 0 ;
24163 PyObject * obj5 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24171 arg2 = (bool) SWIG_AsBool(obj1);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 arg3 = (double) SWIG_AsDouble(obj2);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 arg4 = (double) SWIG_AsDouble(obj3);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 if (obj4) {
24178 arg5 = (int) SWIG_AsInt(obj4);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 if (obj5) {
24182 arg6 = (int) SWIG_AsInt(obj5);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 {
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24188
24189 wxPyEndAllowThreads(__tstate);
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 Py_INCREF(Py_None); resultobj = Py_None;
24193 return resultobj;
24194 fail:
24195 return NULL;
24196 }
24197
24198
24199 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24200 PyObject *resultobj;
24201 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24202 double arg2 ;
24203 double arg3 ;
24204 int arg4 = (int) 0 ;
24205 int arg5 = (int) 0 ;
24206 PyObject * obj0 = 0 ;
24207 PyObject * obj1 = 0 ;
24208 PyObject * obj2 = 0 ;
24209 PyObject * obj3 = 0 ;
24210 PyObject * obj4 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24218 arg2 = (double) SWIG_AsDouble(obj1);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 arg3 = (double) SWIG_AsDouble(obj2);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 if (obj3) {
24223 arg4 = (int) SWIG_AsInt(obj3);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 if (obj4) {
24227 arg5 = (int) SWIG_AsInt(obj4);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24233
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 Py_INCREF(Py_None); resultobj = Py_None;
24238 return resultobj;
24239 fail:
24240 return NULL;
24241 }
24242
24243
24244 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24245 PyObject *resultobj;
24246 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24247 double arg2 ;
24248 double arg3 ;
24249 int arg4 = (int) 0 ;
24250 int arg5 = (int) 0 ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 PyObject * obj2 = 0 ;
24254 PyObject * obj3 = 0 ;
24255 PyObject * obj4 = 0 ;
24256 char *kwnames[] = {
24257 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24258 };
24259
24260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24263 arg2 = (double) SWIG_AsDouble(obj1);
24264 if (PyErr_Occurred()) SWIG_fail;
24265 arg3 = (double) SWIG_AsDouble(obj2);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 if (obj3) {
24268 arg4 = (int) SWIG_AsInt(obj3);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 if (obj4) {
24272 arg5 = (int) SWIG_AsInt(obj4);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 Py_INCREF(Py_None); resultobj = Py_None;
24283 return resultobj;
24284 fail:
24285 return NULL;
24286 }
24287
24288
24289 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24292 wxDC *arg2 = 0 ;
24293 double arg3 ;
24294 double arg4 ;
24295 double arg5 ;
24296 double arg6 ;
24297 PyObject * obj0 = 0 ;
24298 PyObject * obj1 = 0 ;
24299 PyObject * obj2 = 0 ;
24300 PyObject * obj3 = 0 ;
24301 PyObject * obj4 = 0 ;
24302 PyObject * obj5 = 0 ;
24303 char *kwnames[] = {
24304 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24305 };
24306
24307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24311 SWIG_POINTER_EXCEPTION | 0)) == -1)
24312 SWIG_fail;
24313 if (arg2 == NULL) {
24314 PyErr_SetString(PyExc_TypeError,"null reference");
24315 SWIG_fail;
24316 }
24317 arg3 = (double) SWIG_AsDouble(obj2);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 arg4 = (double) SWIG_AsDouble(obj3);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 arg5 = (double) SWIG_AsDouble(obj4);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 arg6 = (double) SWIG_AsDouble(obj5);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 Py_INCREF(Py_None); resultobj = Py_None;
24333 return resultobj;
24334 fail:
24335 return NULL;
24336 }
24337
24338
24339 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24340 PyObject *resultobj;
24341 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24342 wxDC *arg2 = 0 ;
24343 PyObject * obj0 = 0 ;
24344 PyObject * obj1 = 0 ;
24345 char *kwnames[] = {
24346 (char *) "self",(char *) "dc", NULL
24347 };
24348
24349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24353 SWIG_POINTER_EXCEPTION | 0)) == -1)
24354 SWIG_fail;
24355 if (arg2 == NULL) {
24356 PyErr_SetString(PyExc_TypeError,"null reference");
24357 SWIG_fail;
24358 }
24359 {
24360 PyThreadState* __tstate = wxPyBeginAllowThreads();
24361 (arg1)->base_OnDrawControlPoints(*arg2);
24362
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 Py_INCREF(Py_None); resultobj = Py_None;
24367 return resultobj;
24368 fail:
24369 return NULL;
24370 }
24371
24372
24373 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj;
24375 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24376 wxDC *arg2 = 0 ;
24377 PyObject * obj0 = 0 ;
24378 PyObject * obj1 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self",(char *) "dc", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24387 SWIG_POINTER_EXCEPTION | 0)) == -1)
24388 SWIG_fail;
24389 if (arg2 == NULL) {
24390 PyErr_SetString(PyExc_TypeError,"null reference");
24391 SWIG_fail;
24392 }
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 (arg1)->base_OnEraseControlPoints(*arg2);
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 Py_INCREF(Py_None); resultobj = Py_None;
24401 return resultobj;
24402 fail:
24403 return NULL;
24404 }
24405
24406
24407 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj;
24409 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24410 wxDC *arg2 = 0 ;
24411 bool arg3 = (bool) True ;
24412 PyObject * obj0 = 0 ;
24413 PyObject * obj1 = 0 ;
24414 PyObject * obj2 = 0 ;
24415 char *kwnames[] = {
24416 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24417 };
24418
24419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24423 SWIG_POINTER_EXCEPTION | 0)) == -1)
24424 SWIG_fail;
24425 if (arg2 == NULL) {
24426 PyErr_SetString(PyExc_TypeError,"null reference");
24427 SWIG_fail;
24428 }
24429 if (obj2) {
24430 arg3 = (bool) SWIG_AsBool(obj2);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 }
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 (arg1)->base_OnMoveLink(*arg2,arg3);
24436
24437 wxPyEndAllowThreads(__tstate);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 Py_INCREF(Py_None); resultobj = Py_None;
24441 return resultobj;
24442 fail:
24443 return NULL;
24444 }
24445
24446
24447 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24448 PyObject *resultobj;
24449 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24450 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24451 bool arg3 ;
24452 double arg4 ;
24453 double arg5 ;
24454 int arg6 = (int) 0 ;
24455 int arg7 = (int) 0 ;
24456 PyObject * obj0 = 0 ;
24457 PyObject * obj1 = 0 ;
24458 PyObject * obj2 = 0 ;
24459 PyObject * obj3 = 0 ;
24460 PyObject * obj4 = 0 ;
24461 PyObject * obj5 = 0 ;
24462 PyObject * obj6 = 0 ;
24463 char *kwnames[] = {
24464 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24465 };
24466
24467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24472 arg3 = (bool) SWIG_AsBool(obj2);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 arg4 = (double) SWIG_AsDouble(obj3);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 arg5 = (double) SWIG_AsDouble(obj4);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 if (obj5) {
24479 arg6 = (int) SWIG_AsInt(obj5);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 }
24482 if (obj6) {
24483 arg7 = (int) SWIG_AsInt(obj6);
24484 if (PyErr_Occurred()) SWIG_fail;
24485 }
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24489
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 Py_INCREF(Py_None); resultobj = Py_None;
24494 return resultobj;
24495 fail:
24496 return NULL;
24497 }
24498
24499
24500 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24501 PyObject *resultobj;
24502 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24503 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24504 double arg3 ;
24505 double arg4 ;
24506 int arg5 = (int) 0 ;
24507 int arg6 = (int) 0 ;
24508 PyObject * obj0 = 0 ;
24509 PyObject * obj1 = 0 ;
24510 PyObject * obj2 = 0 ;
24511 PyObject * obj3 = 0 ;
24512 PyObject * obj4 = 0 ;
24513 PyObject * obj5 = 0 ;
24514 char *kwnames[] = {
24515 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24516 };
24517
24518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24523 arg3 = (double) SWIG_AsDouble(obj2);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 arg4 = (double) SWIG_AsDouble(obj3);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 if (obj4) {
24528 arg5 = (int) SWIG_AsInt(obj4);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
24531 if (obj5) {
24532 arg6 = (int) SWIG_AsInt(obj5);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 Py_INCREF(Py_None); resultobj = Py_None;
24543 return resultobj;
24544 fail:
24545 return NULL;
24546 }
24547
24548
24549 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj;
24551 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24552 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24553 double arg3 ;
24554 double arg4 ;
24555 int arg5 = (int) 0 ;
24556 int arg6 = (int) 0 ;
24557 PyObject * obj0 = 0 ;
24558 PyObject * obj1 = 0 ;
24559 PyObject * obj2 = 0 ;
24560 PyObject * obj3 = 0 ;
24561 PyObject * obj4 = 0 ;
24562 PyObject * obj5 = 0 ;
24563 char *kwnames[] = {
24564 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24565 };
24566
24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24572 arg3 = (double) SWIG_AsDouble(obj2);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 arg4 = (double) SWIG_AsDouble(obj3);
24575 if (PyErr_Occurred()) SWIG_fail;
24576 if (obj4) {
24577 arg5 = (int) SWIG_AsInt(obj4);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
24580 if (obj5) {
24581 arg6 = (int) SWIG_AsInt(obj5);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24587
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 Py_INCREF(Py_None); resultobj = Py_None;
24592 return resultobj;
24593 fail:
24594 return NULL;
24595 }
24596
24597
24598 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24599 PyObject *resultobj;
24600 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24601 double arg2 ;
24602 double arg3 ;
24603 PyObject * obj0 = 0 ;
24604 PyObject * obj1 = 0 ;
24605 PyObject * obj2 = 0 ;
24606 char *kwnames[] = {
24607 (char *) "self",(char *) "w",(char *) "h", NULL
24608 };
24609
24610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24613 arg2 = (double) SWIG_AsDouble(obj1);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 arg3 = (double) SWIG_AsDouble(obj2);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 {
24618 PyThreadState* __tstate = wxPyBeginAllowThreads();
24619 (arg1)->base_OnBeginSize(arg2,arg3);
24620
24621 wxPyEndAllowThreads(__tstate);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 }
24624 Py_INCREF(Py_None); resultobj = Py_None;
24625 return resultobj;
24626 fail:
24627 return NULL;
24628 }
24629
24630
24631 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24632 PyObject *resultobj;
24633 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24634 double arg2 ;
24635 double arg3 ;
24636 PyObject * obj0 = 0 ;
24637 PyObject * obj1 = 0 ;
24638 PyObject * obj2 = 0 ;
24639 char *kwnames[] = {
24640 (char *) "self",(char *) "w",(char *) "h", NULL
24641 };
24642
24643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24646 arg2 = (double) SWIG_AsDouble(obj1);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 arg3 = (double) SWIG_AsDouble(obj2);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 {
24651 PyThreadState* __tstate = wxPyBeginAllowThreads();
24652 (arg1)->base_OnEndSize(arg2,arg3);
24653
24654 wxPyEndAllowThreads(__tstate);
24655 if (PyErr_Occurred()) SWIG_fail;
24656 }
24657 Py_INCREF(Py_None); resultobj = Py_None;
24658 return resultobj;
24659 fail:
24660 return NULL;
24661 }
24662
24663
24664 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
24665 PyObject *obj;
24666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24667 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
24668 Py_INCREF(obj);
24669 return Py_BuildValue((char *)"");
24670 }
24671 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24672 PyObject *resultobj;
24673 int arg1 = (int) 0 ;
24674 int arg2 = (int) 0 ;
24675 double arg3 = (double) 0.0 ;
24676 double arg4 = (double) 0.0 ;
24677 wxString const &arg5_defvalue = wxPyEmptyString ;
24678 wxString *arg5 = (wxString *) &arg5_defvalue ;
24679 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
24680 long arg7 = (long) -1 ;
24681 wxArrowHead *result;
24682 bool temp5 = False ;
24683 PyObject * obj0 = 0 ;
24684 PyObject * obj1 = 0 ;
24685 PyObject * obj2 = 0 ;
24686 PyObject * obj3 = 0 ;
24687 PyObject * obj4 = 0 ;
24688 PyObject * obj5 = 0 ;
24689 PyObject * obj6 = 0 ;
24690 char *kwnames[] = {
24691 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24692 };
24693
24694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24695 if (obj0) {
24696 arg1 = (int) SWIG_AsInt(obj0);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 if (obj1) {
24700 arg2 = (int) SWIG_AsInt(obj1);
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
24703 if (obj2) {
24704 arg3 = (double) SWIG_AsDouble(obj2);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 if (obj3) {
24708 arg4 = (double) SWIG_AsDouble(obj3);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
24711 if (obj4) {
24712 {
24713 arg5 = wxString_in_helper(obj4);
24714 if (arg5 == NULL) SWIG_fail;
24715 temp5 = True;
24716 }
24717 }
24718 if (obj5) {
24719 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPseudoMetaFile,
24720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24721 }
24722 if (obj6) {
24723 arg7 = (long) SWIG_AsLong(obj6);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
24729
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 {
24734 resultobj = wxPyMake_wxObject(result);
24735 }
24736 {
24737 if (temp5)
24738 delete arg5;
24739 }
24740 return resultobj;
24741 fail:
24742 {
24743 if (temp5)
24744 delete arg5;
24745 }
24746 return NULL;
24747 }
24748
24749
24750 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24751 PyObject *resultobj;
24752 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24753 PyObject * obj0 = 0 ;
24754 char *kwnames[] = {
24755 (char *) "self", NULL
24756 };
24757
24758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
24759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 delete arg1;
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 Py_INCREF(Py_None); resultobj = Py_None;
24769 return resultobj;
24770 fail:
24771 return NULL;
24772 }
24773
24774
24775 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24776 PyObject *resultobj;
24777 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24778 int result;
24779 PyObject * obj0 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
24785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = (int)(arg1)->_GetType();
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 resultobj = SWIG_FromInt((int)result);
24795 return resultobj;
24796 fail:
24797 return NULL;
24798 }
24799
24800
24801 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj;
24803 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24804 int result;
24805 PyObject * obj0 = 0 ;
24806 char *kwnames[] = {
24807 (char *) "self", NULL
24808 };
24809
24810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
24811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 result = (int)(arg1)->GetPosition();
24816
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
24820 resultobj = SWIG_FromInt((int)result);
24821 return resultobj;
24822 fail:
24823 return NULL;
24824 }
24825
24826
24827 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24828 PyObject *resultobj;
24829 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24830 int arg2 ;
24831 PyObject * obj0 = 0 ;
24832 PyObject * obj1 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self",(char *) "pos", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24840 arg2 = (int) SWIG_AsInt(obj1);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 (arg1)->SetPosition(arg2);
24845
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
24849 Py_INCREF(Py_None); resultobj = Py_None;
24850 return resultobj;
24851 fail:
24852 return NULL;
24853 }
24854
24855
24856 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24857 PyObject *resultobj;
24858 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24859 double result;
24860 PyObject * obj0 = 0 ;
24861 char *kwnames[] = {
24862 (char *) "self", NULL
24863 };
24864
24865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",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 = (double)(arg1)->GetXOffset();
24871
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 resultobj = SWIG_FromDouble((double)result);
24876 return resultobj;
24877 fail:
24878 return NULL;
24879 }
24880
24881
24882 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24883 PyObject *resultobj;
24884 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24885 double result;
24886 PyObject * obj0 = 0 ;
24887 char *kwnames[] = {
24888 (char *) "self", NULL
24889 };
24890
24891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
24892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24894 {
24895 PyThreadState* __tstate = wxPyBeginAllowThreads();
24896 result = (double)(arg1)->GetYOffset();
24897
24898 wxPyEndAllowThreads(__tstate);
24899 if (PyErr_Occurred()) SWIG_fail;
24900 }
24901 resultobj = SWIG_FromDouble((double)result);
24902 return resultobj;
24903 fail:
24904 return NULL;
24905 }
24906
24907
24908 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24909 PyObject *resultobj;
24910 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24911 double result;
24912 PyObject * obj0 = 0 ;
24913 char *kwnames[] = {
24914 (char *) "self", NULL
24915 };
24916
24917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
24918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 result = (double)(arg1)->GetSpacing();
24923
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 resultobj = SWIG_FromDouble((double)result);
24928 return resultobj;
24929 fail:
24930 return NULL;
24931 }
24932
24933
24934 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24935 PyObject *resultobj;
24936 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24937 double result;
24938 PyObject * obj0 = 0 ;
24939 char *kwnames[] = {
24940 (char *) "self", NULL
24941 };
24942
24943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
24944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 result = (double)(arg1)->GetSize();
24949
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 resultobj = SWIG_FromDouble((double)result);
24954 return resultobj;
24955 fail:
24956 return NULL;
24957 }
24958
24959
24960 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
24961 PyObject *resultobj;
24962 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24963 wxString result;
24964 PyObject * obj0 = 0 ;
24965 char *kwnames[] = {
24966 (char *) "self", NULL
24967 };
24968
24969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
24970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 result = (arg1)->GetName();
24975
24976 wxPyEndAllowThreads(__tstate);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 }
24979 {
24980 #if wxUSE_UNICODE
24981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24982 #else
24983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24984 #endif
24985 }
24986 return resultobj;
24987 fail:
24988 return NULL;
24989 }
24990
24991
24992 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24993 PyObject *resultobj;
24994 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24995 double arg2 ;
24996 PyObject * obj0 = 0 ;
24997 PyObject * obj1 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "self",(char *) "x", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
25003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25005 arg2 = (double) SWIG_AsDouble(obj1);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 {
25008 PyThreadState* __tstate = wxPyBeginAllowThreads();
25009 (arg1)->SetXOffset(arg2);
25010
25011 wxPyEndAllowThreads(__tstate);
25012 if (PyErr_Occurred()) SWIG_fail;
25013 }
25014 Py_INCREF(Py_None); resultobj = Py_None;
25015 return resultobj;
25016 fail:
25017 return NULL;
25018 }
25019
25020
25021 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25022 PyObject *resultobj;
25023 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25024 double arg2 ;
25025 PyObject * obj0 = 0 ;
25026 PyObject * obj1 = 0 ;
25027 char *kwnames[] = {
25028 (char *) "self",(char *) "y", NULL
25029 };
25030
25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
25032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25034 arg2 = (double) SWIG_AsDouble(obj1);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 {
25037 PyThreadState* __tstate = wxPyBeginAllowThreads();
25038 (arg1)->SetYOffset(arg2);
25039
25040 wxPyEndAllowThreads(__tstate);
25041 if (PyErr_Occurred()) SWIG_fail;
25042 }
25043 Py_INCREF(Py_None); resultobj = Py_None;
25044 return resultobj;
25045 fail:
25046 return NULL;
25047 }
25048
25049
25050 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25051 PyObject *resultobj;
25052 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25053 wxPseudoMetaFile *result;
25054 PyObject * obj0 = 0 ;
25055 char *kwnames[] = {
25056 (char *) "self", NULL
25057 };
25058
25059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
25060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 {
25070 resultobj = wxPyMake_wxObject(result);
25071 }
25072 return resultobj;
25073 fail:
25074 return NULL;
25075 }
25076
25077
25078 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25081 long result;
25082 PyObject * obj0 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "self", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
25088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25090 {
25091 PyThreadState* __tstate = wxPyBeginAllowThreads();
25092 result = (long)(arg1)->GetId();
25093
25094 wxPyEndAllowThreads(__tstate);
25095 if (PyErr_Occurred()) SWIG_fail;
25096 }
25097 resultobj = SWIG_FromLong((long)result);
25098 return resultobj;
25099 fail:
25100 return NULL;
25101 }
25102
25103
25104 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
25105 PyObject *resultobj;
25106 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25107 int result;
25108 PyObject * obj0 = 0 ;
25109 char *kwnames[] = {
25110 (char *) "self", NULL
25111 };
25112
25113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
25114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25116 {
25117 PyThreadState* __tstate = wxPyBeginAllowThreads();
25118 result = (int)(arg1)->GetArrowEnd();
25119
25120 wxPyEndAllowThreads(__tstate);
25121 if (PyErr_Occurred()) SWIG_fail;
25122 }
25123 resultobj = SWIG_FromInt((int)result);
25124 return resultobj;
25125 fail:
25126 return NULL;
25127 }
25128
25129
25130 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25131 PyObject *resultobj;
25132 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25133 double result;
25134 PyObject * obj0 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "self", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
25140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25142 {
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 result = (double)(arg1)->GetArrowSize();
25145
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 resultobj = SWIG_FromDouble((double)result);
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25157 PyObject *resultobj;
25158 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25159 double arg2 ;
25160 PyObject * obj0 = 0 ;
25161 PyObject * obj1 = 0 ;
25162 char *kwnames[] = {
25163 (char *) "self",(char *) "size", NULL
25164 };
25165
25166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
25167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25169 arg2 = (double) SWIG_AsDouble(obj1);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 {
25172 PyThreadState* __tstate = wxPyBeginAllowThreads();
25173 (arg1)->SetSize(arg2);
25174
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 Py_INCREF(Py_None); resultobj = Py_None;
25179 return resultobj;
25180 fail:
25181 return NULL;
25182 }
25183
25184
25185 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25186 PyObject *resultobj;
25187 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25188 double arg2 ;
25189 PyObject * obj0 = 0 ;
25190 PyObject * obj1 = 0 ;
25191 char *kwnames[] = {
25192 (char *) "self",(char *) "sp", NULL
25193 };
25194
25195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25198 arg2 = (double) SWIG_AsDouble(obj1);
25199 if (PyErr_Occurred()) SWIG_fail;
25200 {
25201 PyThreadState* __tstate = wxPyBeginAllowThreads();
25202 (arg1)->SetSpacing(arg2);
25203
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
25207 Py_INCREF(Py_None); resultobj = Py_None;
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
25215 PyObject *obj;
25216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25217 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25218 Py_INCREF(obj);
25219 return Py_BuildValue((char *)"");
25220 }
25221 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25222 PyObject *resultobj;
25223 wxPyLineShape *result;
25224 char *kwnames[] = {
25225 NULL
25226 };
25227
25228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 result = (wxPyLineShape *)new wxPyLineShape();
25232
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj;
25245 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25246 PyObject *arg2 = (PyObject *) 0 ;
25247 PyObject *arg3 = (PyObject *) 0 ;
25248 PyObject * obj0 = 0 ;
25249 PyObject * obj1 = 0 ;
25250 PyObject * obj2 = 0 ;
25251 char *kwnames[] = {
25252 (char *) "self",(char *) "self",(char *) "_class", NULL
25253 };
25254
25255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25258 arg2 = obj1;
25259 arg3 = obj2;
25260 {
25261 PyThreadState* __tstate = wxPyBeginAllowThreads();
25262 (arg1)->_setCallbackInfo(arg2,arg3);
25263
25264 wxPyEndAllowThreads(__tstate);
25265 if (PyErr_Occurred()) SWIG_fail;
25266 }
25267 Py_INCREF(Py_None); resultobj = Py_None;
25268 return resultobj;
25269 fail:
25270 return NULL;
25271 }
25272
25273
25274 static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25275 PyObject *resultobj;
25276 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25277 int arg2 ;
25278 int arg3 = (int) ARROW_POSITION_END ;
25279 double arg4 = (double) 10.0 ;
25280 double arg5 = (double) 0.0 ;
25281 wxString const &arg6_defvalue = wxPyEmptyString ;
25282 wxString *arg6 = (wxString *) &arg6_defvalue ;
25283 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25284 long arg8 = (long) -1 ;
25285 bool temp6 = False ;
25286 PyObject * obj0 = 0 ;
25287 PyObject * obj1 = 0 ;
25288 PyObject * obj2 = 0 ;
25289 PyObject * obj3 = 0 ;
25290 PyObject * obj4 = 0 ;
25291 PyObject * obj5 = 0 ;
25292 PyObject * obj6 = 0 ;
25293 PyObject * obj7 = 0 ;
25294 char *kwnames[] = {
25295 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25296 };
25297
25298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25301 arg2 = (int) SWIG_AsInt(obj1);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 if (obj2) {
25304 arg3 = (int) SWIG_AsInt(obj2);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 if (obj3) {
25308 arg4 = (double) SWIG_AsDouble(obj3);
25309 if (PyErr_Occurred()) SWIG_fail;
25310 }
25311 if (obj4) {
25312 arg5 = (double) SWIG_AsDouble(obj4);
25313 if (PyErr_Occurred()) SWIG_fail;
25314 }
25315 if (obj5) {
25316 {
25317 arg6 = wxString_in_helper(obj5);
25318 if (arg6 == NULL) SWIG_fail;
25319 temp6 = True;
25320 }
25321 }
25322 if (obj6) {
25323 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPseudoMetaFile,
25324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25325 }
25326 if (obj7) {
25327 arg8 = (long) SWIG_AsLong(obj7);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25333
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 Py_INCREF(Py_None); resultobj = Py_None;
25338 {
25339 if (temp6)
25340 delete arg6;
25341 }
25342 return resultobj;
25343 fail:
25344 {
25345 if (temp6)
25346 delete arg6;
25347 }
25348 return NULL;
25349 }
25350
25351
25352 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
25353 PyObject *resultobj;
25354 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25355 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25356 PyObject *arg3 = (PyObject *) 0 ;
25357 int arg4 ;
25358 PyObject * obj0 = 0 ;
25359 PyObject * obj1 = 0 ;
25360 PyObject * obj2 = 0 ;
25361 PyObject * obj3 = 0 ;
25362 char *kwnames[] = {
25363 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25364 };
25365
25366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
25370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25371 arg3 = obj2;
25372 arg4 = (int) SWIG_AsInt(obj3);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25377
25378 wxPyEndAllowThreads(__tstate);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 }
25381 Py_INCREF(Py_None); resultobj = Py_None;
25382 return resultobj;
25383 fail:
25384 return NULL;
25385 }
25386
25387
25388 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25389 PyObject *resultobj;
25390 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25391 wxString *arg2 = 0 ;
25392 bool result;
25393 bool temp2 = False ;
25394 PyObject * obj0 = 0 ;
25395 PyObject * obj1 = 0 ;
25396 char *kwnames[] = {
25397 (char *) "self",(char *) "name", NULL
25398 };
25399
25400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
25401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25403 {
25404 arg2 = wxString_in_helper(obj1);
25405 if (arg2 == NULL) SWIG_fail;
25406 temp2 = True;
25407 }
25408 {
25409 PyThreadState* __tstate = wxPyBeginAllowThreads();
25410 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
25411
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 {
25416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25417 }
25418 {
25419 if (temp2)
25420 delete arg2;
25421 }
25422 return resultobj;
25423 fail:
25424 {
25425 if (temp2)
25426 delete arg2;
25427 }
25428 return NULL;
25429 }
25430
25431
25432 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25433 PyObject *resultobj;
25434 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25435 int arg2 = (int) -1 ;
25436 PyObject * obj0 = 0 ;
25437 PyObject * obj1 = 0 ;
25438 char *kwnames[] = {
25439 (char *) "self",(char *) "position", NULL
25440 };
25441
25442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
25443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25445 if (obj1) {
25446 arg2 = (int) SWIG_AsInt(obj1);
25447 if (PyErr_Occurred()) SWIG_fail;
25448 }
25449 {
25450 PyThreadState* __tstate = wxPyBeginAllowThreads();
25451 (arg1)->ClearArrowsAtPosition(arg2);
25452
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 Py_INCREF(Py_None); resultobj = Py_None;
25457 return resultobj;
25458 fail:
25459 return NULL;
25460 }
25461
25462
25463 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25464 PyObject *resultobj;
25465 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25466 wxDC *arg2 = 0 ;
25467 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
25468 double arg4 ;
25469 bool arg5 ;
25470 PyObject * obj0 = 0 ;
25471 PyObject * obj1 = 0 ;
25472 PyObject * obj2 = 0 ;
25473 PyObject * obj3 = 0 ;
25474 PyObject * obj4 = 0 ;
25475 char *kwnames[] = {
25476 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25477 };
25478
25479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25483 SWIG_POINTER_EXCEPTION | 0)) == -1)
25484 SWIG_fail;
25485 if (arg2 == NULL) {
25486 PyErr_SetString(PyExc_TypeError,"null reference");
25487 SWIG_fail;
25488 }
25489 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
25490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25491 arg4 = (double) SWIG_AsDouble(obj3);
25492 if (PyErr_Occurred()) SWIG_fail;
25493 arg5 = (bool) SWIG_AsBool(obj4);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 {
25496 PyThreadState* __tstate = wxPyBeginAllowThreads();
25497 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
25498
25499 wxPyEndAllowThreads(__tstate);
25500 if (PyErr_Occurred()) SWIG_fail;
25501 }
25502 Py_INCREF(Py_None); resultobj = Py_None;
25503 return resultobj;
25504 fail:
25505 return NULL;
25506 }
25507
25508
25509 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25510 PyObject *resultobj;
25511 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25512 long arg2 ;
25513 bool result;
25514 PyObject * obj0 = 0 ;
25515 PyObject * obj1 = 0 ;
25516 char *kwnames[] = {
25517 (char *) "self",(char *) "arrowId", NULL
25518 };
25519
25520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25523 arg2 = (long) SWIG_AsLong(obj1);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 result = (bool)(arg1)->DeleteArrowHead(arg2);
25528
25529 wxPyEndAllowThreads(__tstate);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 {
25533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25534 }
25535 return resultobj;
25536 fail:
25537 return NULL;
25538 }
25539
25540
25541 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25542 PyObject *resultobj;
25543 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25544 int arg2 ;
25545 wxString *arg3 = 0 ;
25546 bool result;
25547 bool temp3 = False ;
25548 PyObject * obj0 = 0 ;
25549 PyObject * obj1 = 0 ;
25550 PyObject * obj2 = 0 ;
25551 char *kwnames[] = {
25552 (char *) "self",(char *) "position",(char *) "name", NULL
25553 };
25554
25555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25558 arg2 = (int) SWIG_AsInt(obj1);
25559 if (PyErr_Occurred()) SWIG_fail;
25560 {
25561 arg3 = wxString_in_helper(obj2);
25562 if (arg3 == NULL) SWIG_fail;
25563 temp3 = True;
25564 }
25565 {
25566 PyThreadState* __tstate = wxPyBeginAllowThreads();
25567 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
25568
25569 wxPyEndAllowThreads(__tstate);
25570 if (PyErr_Occurred()) SWIG_fail;
25571 }
25572 {
25573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25574 }
25575 {
25576 if (temp3)
25577 delete arg3;
25578 }
25579 return resultobj;
25580 fail:
25581 {
25582 if (temp3)
25583 delete arg3;
25584 }
25585 return NULL;
25586 }
25587
25588
25589 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25590 PyObject *resultobj;
25591 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25592 bool result;
25593 PyObject * obj0 = 0 ;
25594 char *kwnames[] = {
25595 (char *) "self", NULL
25596 };
25597
25598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
25599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25601 {
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 result = (bool)(arg1)->DeleteLineControlPoint();
25604
25605 wxPyEndAllowThreads(__tstate);
25606 if (PyErr_Occurred()) SWIG_fail;
25607 }
25608 {
25609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25610 }
25611 return resultobj;
25612 fail:
25613 return NULL;
25614 }
25615
25616
25617 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
25618 PyObject *resultobj;
25619 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25620 wxDC *arg2 = 0 ;
25621 PyObject * obj0 = 0 ;
25622 PyObject * obj1 = 0 ;
25623 char *kwnames[] = {
25624 (char *) "self",(char *) "dc", NULL
25625 };
25626
25627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
25628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25631 SWIG_POINTER_EXCEPTION | 0)) == -1)
25632 SWIG_fail;
25633 if (arg2 == NULL) {
25634 PyErr_SetString(PyExc_TypeError,"null reference");
25635 SWIG_fail;
25636 }
25637 {
25638 PyThreadState* __tstate = wxPyBeginAllowThreads();
25639 (arg1)->DrawArrows(*arg2);
25640
25641 wxPyEndAllowThreads(__tstate);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 Py_INCREF(Py_None); resultobj = Py_None;
25645 return resultobj;
25646 fail:
25647 return NULL;
25648 }
25649
25650
25651 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25652 PyObject *resultobj;
25653 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25654 wxDC *arg2 = 0 ;
25655 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25656 double arg4 ;
25657 double arg5 ;
25658 PyObject * obj0 = 0 ;
25659 PyObject * obj1 = 0 ;
25660 PyObject * obj2 = 0 ;
25661 PyObject * obj3 = 0 ;
25662 PyObject * obj4 = 0 ;
25663 char *kwnames[] = {
25664 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25665 };
25666
25667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25671 SWIG_POINTER_EXCEPTION | 0)) == -1)
25672 SWIG_fail;
25673 if (arg2 == NULL) {
25674 PyErr_SetString(PyExc_TypeError,"null reference");
25675 SWIG_fail;
25676 }
25677 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25679 arg4 = (double) SWIG_AsDouble(obj3);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 arg5 = (double) SWIG_AsDouble(obj4);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 {
25684 PyThreadState* __tstate = wxPyBeginAllowThreads();
25685 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
25686
25687 wxPyEndAllowThreads(__tstate);
25688 if (PyErr_Occurred()) SWIG_fail;
25689 }
25690 Py_INCREF(Py_None); resultobj = Py_None;
25691 return resultobj;
25692 fail:
25693 return NULL;
25694 }
25695
25696
25697 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25698 PyObject *resultobj;
25699 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25700 wxDC *arg2 = 0 ;
25701 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25702 double arg4 ;
25703 double arg5 ;
25704 PyObject * obj0 = 0 ;
25705 PyObject * obj1 = 0 ;
25706 PyObject * obj2 = 0 ;
25707 PyObject * obj3 = 0 ;
25708 PyObject * obj4 = 0 ;
25709 char *kwnames[] = {
25710 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25711 };
25712
25713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25717 SWIG_POINTER_EXCEPTION | 0)) == -1)
25718 SWIG_fail;
25719 if (arg2 == NULL) {
25720 PyErr_SetString(PyExc_TypeError,"null reference");
25721 SWIG_fail;
25722 }
25723 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25725 arg4 = (double) SWIG_AsDouble(obj3);
25726 if (PyErr_Occurred()) SWIG_fail;
25727 arg5 = (double) SWIG_AsDouble(obj4);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 {
25730 PyThreadState* __tstate = wxPyBeginAllowThreads();
25731 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
25732
25733 wxPyEndAllowThreads(__tstate);
25734 if (PyErr_Occurred()) SWIG_fail;
25735 }
25736 Py_INCREF(Py_None); resultobj = Py_None;
25737 return resultobj;
25738 fail:
25739 return NULL;
25740 }
25741
25742
25743 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25744 PyObject *resultobj;
25745 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25746 long arg2 ;
25747 wxArrowHead *result;
25748 PyObject * obj0 = 0 ;
25749 PyObject * obj1 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "self",(char *) "arrowId", NULL
25752 };
25753
25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25757 arg2 = (long) SWIG_AsLong(obj1);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 {
25767 resultobj = wxPyMake_wxObject(result);
25768 }
25769 return resultobj;
25770 fail:
25771 return NULL;
25772 }
25773
25774
25775 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25776 PyObject *resultobj;
25777 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25778 int arg2 ;
25779 wxString *arg3 = 0 ;
25780 wxArrowHead *result;
25781 bool temp3 = False ;
25782 PyObject * obj0 = 0 ;
25783 PyObject * obj1 = 0 ;
25784 PyObject * obj2 = 0 ;
25785 char *kwnames[] = {
25786 (char *) "self",(char *) "position",(char *) "name", NULL
25787 };
25788
25789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25792 arg2 = (int) SWIG_AsInt(obj1);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 {
25795 arg3 = wxString_in_helper(obj2);
25796 if (arg3 == NULL) SWIG_fail;
25797 temp3 = True;
25798 }
25799 {
25800 PyThreadState* __tstate = wxPyBeginAllowThreads();
25801 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
25802
25803 wxPyEndAllowThreads(__tstate);
25804 if (PyErr_Occurred()) SWIG_fail;
25805 }
25806 {
25807 resultobj = wxPyMake_wxObject(result);
25808 }
25809 {
25810 if (temp3)
25811 delete arg3;
25812 }
25813 return resultobj;
25814 fail:
25815 {
25816 if (temp3)
25817 delete arg3;
25818 }
25819 return NULL;
25820 }
25821
25822
25823 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
25824 PyObject *resultobj;
25825 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25826 double *arg2 = (double *) 0 ;
25827 double *arg3 = (double *) 0 ;
25828 double *arg4 = (double *) 0 ;
25829 double *arg5 = (double *) 0 ;
25830 double temp2 ;
25831 double temp3 ;
25832 double temp4 ;
25833 double temp5 ;
25834 PyObject * obj0 = 0 ;
25835 char *kwnames[] = {
25836 (char *) "self", NULL
25837 };
25838
25839 arg2 = &temp2;
25840 arg3 = &temp3;
25841 arg4 = &temp4;
25842 arg5 = &temp5;
25843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
25844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25846 {
25847 PyThreadState* __tstate = wxPyBeginAllowThreads();
25848 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
25849
25850 wxPyEndAllowThreads(__tstate);
25851 if (PyErr_Occurred()) SWIG_fail;
25852 }
25853 Py_INCREF(Py_None); resultobj = Py_None;
25854 {
25855 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25856 resultobj = t_output_helper(resultobj,o);
25857 }
25858 {
25859 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25860 resultobj = t_output_helper(resultobj,o);
25861 }
25862 {
25863 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25864 resultobj = t_output_helper(resultobj,o);
25865 }
25866 {
25867 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25868 resultobj = t_output_helper(resultobj,o);
25869 }
25870 return resultobj;
25871 fail:
25872 return NULL;
25873 }
25874
25875
25876 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25877 PyObject *resultobj;
25878 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25879 double arg2 ;
25880 double arg3 ;
25881 int result;
25882 PyObject * obj0 = 0 ;
25883 PyObject * obj1 = 0 ;
25884 PyObject * obj2 = 0 ;
25885 char *kwnames[] = {
25886 (char *) "self",(char *) "x",(char *) "y", NULL
25887 };
25888
25889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
25890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25892 arg2 = (double) SWIG_AsDouble(obj1);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 arg3 = (double) SWIG_AsDouble(obj2);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 {
25897 PyThreadState* __tstate = wxPyBeginAllowThreads();
25898 result = (int)(arg1)->FindLinePosition(arg2,arg3);
25899
25900 wxPyEndAllowThreads(__tstate);
25901 if (PyErr_Occurred()) SWIG_fail;
25902 }
25903 resultobj = SWIG_FromInt((int)result);
25904 return resultobj;
25905 fail:
25906 return NULL;
25907 }
25908
25909
25910 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
25911 PyObject *resultobj;
25912 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25913 double result;
25914 PyObject * obj0 = 0 ;
25915 char *kwnames[] = {
25916 (char *) "self", NULL
25917 };
25918
25919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
25920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (double)(arg1)->FindMinimumWidth();
25925
25926 wxPyEndAllowThreads(__tstate);
25927 if (PyErr_Occurred()) SWIG_fail;
25928 }
25929 resultobj = SWIG_FromDouble((double)result);
25930 return resultobj;
25931 fail:
25932 return NULL;
25933 }
25934
25935
25936 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
25937 PyObject *resultobj;
25938 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25939 wxPyShape *arg2 = (wxPyShape *) 0 ;
25940 int *arg3 = (int *) 0 ;
25941 int *arg4 = (int *) 0 ;
25942 bool arg5 ;
25943 int temp3 ;
25944 int temp4 ;
25945 PyObject * obj0 = 0 ;
25946 PyObject * obj1 = 0 ;
25947 PyObject * obj2 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "image",(char *) "incoming", NULL
25950 };
25951
25952 arg3 = &temp3;
25953 arg4 = &temp4;
25954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
25955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
25958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25959 arg5 = (bool) SWIG_AsBool(obj2);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 {
25962 PyThreadState* __tstate = wxPyBeginAllowThreads();
25963 (arg1)->FindNth(arg2,arg3,arg4,arg5);
25964
25965 wxPyEndAllowThreads(__tstate);
25966 if (PyErr_Occurred()) SWIG_fail;
25967 }
25968 Py_INCREF(Py_None); resultobj = Py_None;
25969 {
25970 PyObject *o = PyInt_FromLong((long) (*arg3));
25971 resultobj = t_output_helper(resultobj,o);
25972 }
25973 {
25974 PyObject *o = PyInt_FromLong((long) (*arg4));
25975 resultobj = t_output_helper(resultobj,o);
25976 }
25977 return resultobj;
25978 fail:
25979 return NULL;
25980 }
25981
25982
25983 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
25984 PyObject *resultobj;
25985 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25986 int result;
25987 PyObject * obj0 = 0 ;
25988 char *kwnames[] = {
25989 (char *) "self", NULL
25990 };
25991
25992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
25993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25995 {
25996 PyThreadState* __tstate = wxPyBeginAllowThreads();
25997 result = (int)(arg1)->GetAttachmentFrom();
25998
25999 wxPyEndAllowThreads(__tstate);
26000 if (PyErr_Occurred()) SWIG_fail;
26001 }
26002 resultobj = SWIG_FromInt((int)result);
26003 return resultobj;
26004 fail:
26005 return NULL;
26006 }
26007
26008
26009 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26010 PyObject *resultobj;
26011 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26012 int result;
26013 PyObject * obj0 = 0 ;
26014 char *kwnames[] = {
26015 (char *) "self", NULL
26016 };
26017
26018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
26019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26021 {
26022 PyThreadState* __tstate = wxPyBeginAllowThreads();
26023 result = (int)(arg1)->GetAttachmentTo();
26024
26025 wxPyEndAllowThreads(__tstate);
26026 if (PyErr_Occurred()) SWIG_fail;
26027 }
26028 resultobj = SWIG_FromInt((int)result);
26029 return resultobj;
26030 fail:
26031 return NULL;
26032 }
26033
26034
26035 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26036 PyObject *resultobj;
26037 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26038 double *arg2 = (double *) 0 ;
26039 double *arg3 = (double *) 0 ;
26040 double *arg4 = (double *) 0 ;
26041 double *arg5 = (double *) 0 ;
26042 double temp2 ;
26043 double temp3 ;
26044 double temp4 ;
26045 double temp5 ;
26046 PyObject * obj0 = 0 ;
26047 char *kwnames[] = {
26048 (char *) "self", NULL
26049 };
26050
26051 arg2 = &temp2;
26052 arg3 = &temp3;
26053 arg4 = &temp4;
26054 arg5 = &temp5;
26055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
26056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26058 {
26059 PyThreadState* __tstate = wxPyBeginAllowThreads();
26060 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
26061
26062 wxPyEndAllowThreads(__tstate);
26063 if (PyErr_Occurred()) SWIG_fail;
26064 }
26065 Py_INCREF(Py_None); resultobj = Py_None;
26066 {
26067 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26068 resultobj = t_output_helper(resultobj,o);
26069 }
26070 {
26071 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26072 resultobj = t_output_helper(resultobj,o);
26073 }
26074 {
26075 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26076 resultobj = t_output_helper(resultobj,o);
26077 }
26078 {
26079 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26080 resultobj = t_output_helper(resultobj,o);
26081 }
26082 return resultobj;
26083 fail:
26084 return NULL;
26085 }
26086
26087
26088 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26089 PyObject *resultobj;
26090 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26091 wxPyShape *result;
26092 PyObject * obj0 = 0 ;
26093 char *kwnames[] = {
26094 (char *) "self", NULL
26095 };
26096
26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
26098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26100 {
26101 PyThreadState* __tstate = wxPyBeginAllowThreads();
26102 result = (wxPyShape *)(arg1)->GetFrom();
26103
26104 wxPyEndAllowThreads(__tstate);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 {
26108 resultobj = wxPyMake_wxShapeEvtHandler(result);
26109 }
26110 return resultobj;
26111 fail:
26112 return NULL;
26113 }
26114
26115
26116 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26117 PyObject *resultobj;
26118 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26119 int arg2 ;
26120 double *arg3 = (double *) 0 ;
26121 double *arg4 = (double *) 0 ;
26122 double temp3 ;
26123 double temp4 ;
26124 PyObject * obj0 = 0 ;
26125 PyObject * obj1 = 0 ;
26126 char *kwnames[] = {
26127 (char *) "self",(char *) "position", NULL
26128 };
26129
26130 arg3 = &temp3;
26131 arg4 = &temp4;
26132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
26133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26135 arg2 = (int) SWIG_AsInt(obj1);
26136 if (PyErr_Occurred()) SWIG_fail;
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26140
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 Py_INCREF(Py_None); resultobj = Py_None;
26145 {
26146 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26147 resultobj = t_output_helper(resultobj,o);
26148 }
26149 {
26150 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26151 resultobj = t_output_helper(resultobj,o);
26152 }
26153 return resultobj;
26154 fail:
26155 return NULL;
26156 }
26157
26158
26159 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26160 PyObject *resultobj;
26161 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26162 wxPyShape *arg2 = (wxPyShape *) 0 ;
26163 wxRealPoint *result;
26164 PyObject * obj0 = 0 ;
26165 PyObject * obj1 = 0 ;
26166 char *kwnames[] = {
26167 (char *) "self",(char *) "shape", NULL
26168 };
26169
26170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
26171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26178
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
26183 return resultobj;
26184 fail:
26185 return NULL;
26186 }
26187
26188
26189 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26190 PyObject *resultobj;
26191 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26192 wxPyShape *result;
26193 PyObject * obj0 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
26199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26201 {
26202 PyThreadState* __tstate = wxPyBeginAllowThreads();
26203 result = (wxPyShape *)(arg1)->GetTo();
26204
26205 wxPyEndAllowThreads(__tstate);
26206 if (PyErr_Occurred()) SWIG_fail;
26207 }
26208 {
26209 resultobj = wxPyMake_wxShapeEvtHandler(result);
26210 }
26211 return resultobj;
26212 fail:
26213 return NULL;
26214 }
26215
26216
26217 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
26218 PyObject *resultobj;
26219 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26220 PyObject * obj0 = 0 ;
26221 char *kwnames[] = {
26222 (char *) "self", NULL
26223 };
26224
26225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
26226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 (arg1)->Initialise();
26231
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 Py_INCREF(Py_None); resultobj = Py_None;
26236 return resultobj;
26237 fail:
26238 return NULL;
26239 }
26240
26241
26242 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26243 PyObject *resultobj;
26244 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26245 wxDC *arg2 = (wxDC *) 0 ;
26246 PyObject * obj0 = 0 ;
26247 PyObject * obj1 = 0 ;
26248 char *kwnames[] = {
26249 (char *) "self",(char *) "dc", NULL
26250 };
26251
26252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
26253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26257 {
26258 PyThreadState* __tstate = wxPyBeginAllowThreads();
26259 (arg1)->InsertLineControlPoint(arg2);
26260
26261 wxPyEndAllowThreads(__tstate);
26262 if (PyErr_Occurred()) SWIG_fail;
26263 }
26264 Py_INCREF(Py_None); resultobj = Py_None;
26265 return resultobj;
26266 fail:
26267 return NULL;
26268 }
26269
26270
26271 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26272 PyObject *resultobj;
26273 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26274 wxPyShape *arg2 = (wxPyShape *) 0 ;
26275 bool result;
26276 PyObject * obj0 = 0 ;
26277 PyObject * obj1 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self",(char *) "shape", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
26283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (bool)(arg1)->IsEnd(arg2);
26290
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 {
26295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26296 }
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26304 PyObject *resultobj;
26305 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26306 bool result;
26307 PyObject * obj0 = 0 ;
26308 char *kwnames[] = {
26309 (char *) "self", NULL
26310 };
26311
26312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
26313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26315 {
26316 PyThreadState* __tstate = wxPyBeginAllowThreads();
26317 result = (bool)(arg1)->IsSpline();
26318
26319 wxPyEndAllowThreads(__tstate);
26320 if (PyErr_Occurred()) SWIG_fail;
26321 }
26322 {
26323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26324 }
26325 return resultobj;
26326 fail:
26327 return NULL;
26328 }
26329
26330
26331 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26332 PyObject *resultobj;
26333 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26334 int arg2 ;
26335 PyObject * obj0 = 0 ;
26336 PyObject * obj1 = 0 ;
26337 char *kwnames[] = {
26338 (char *) "self",(char *) "n", NULL
26339 };
26340
26341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26344 arg2 = (int) SWIG_AsInt(obj1);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 {
26347 PyThreadState* __tstate = wxPyBeginAllowThreads();
26348 (arg1)->MakeLineControlPoints(arg2);
26349
26350 wxPyEndAllowThreads(__tstate);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 }
26353 Py_INCREF(Py_None); resultobj = Py_None;
26354 return resultobj;
26355 fail:
26356 return NULL;
26357 }
26358
26359
26360 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26361 PyObject *resultobj;
26362 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26363 PyObject *result;
26364 PyObject * obj0 = 0 ;
26365 char *kwnames[] = {
26366 (char *) "self", NULL
26367 };
26368
26369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
26370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26375
26376 wxPyEndAllowThreads(__tstate);
26377 if (PyErr_Occurred()) SWIG_fail;
26378 }
26379 resultobj = result;
26380 return resultobj;
26381 fail:
26382 return NULL;
26383 }
26384
26385
26386 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(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 *) "fromAttach", NULL
26394 };
26395
26396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",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)->SetAttachmentFrom(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_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
26416 PyObject *resultobj;
26417 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26418 int arg2 ;
26419 int arg3 ;
26420 PyObject * obj0 = 0 ;
26421 PyObject * obj1 = 0 ;
26422 PyObject * obj2 = 0 ;
26423 char *kwnames[] = {
26424 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26425 };
26426
26427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
26428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26430 arg2 = (int) SWIG_AsInt(obj1);
26431 if (PyErr_Occurred()) SWIG_fail;
26432 arg3 = (int) SWIG_AsInt(obj2);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 (arg1)->SetAttachments(arg2,arg3);
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 Py_INCREF(Py_None); resultobj = Py_None;
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26449 PyObject *resultobj;
26450 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26451 int arg2 ;
26452 PyObject * obj0 = 0 ;
26453 PyObject * obj1 = 0 ;
26454 char *kwnames[] = {
26455 (char *) "self",(char *) "toAttach", NULL
26456 };
26457
26458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
26459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26461 arg2 = (int) SWIG_AsInt(obj1);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 (arg1)->SetAttachmentTo(arg2);
26466
26467 wxPyEndAllowThreads(__tstate);
26468 if (PyErr_Occurred()) SWIG_fail;
26469 }
26470 Py_INCREF(Py_None); resultobj = Py_None;
26471 return resultobj;
26472 fail:
26473 return NULL;
26474 }
26475
26476
26477 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26478 PyObject *resultobj;
26479 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26480 double arg2 ;
26481 double arg3 ;
26482 double arg4 ;
26483 double arg5 ;
26484 PyObject * obj0 = 0 ;
26485 PyObject * obj1 = 0 ;
26486 PyObject * obj2 = 0 ;
26487 PyObject * obj3 = 0 ;
26488 PyObject * obj4 = 0 ;
26489 char *kwnames[] = {
26490 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26491 };
26492
26493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26496 arg2 = (double) SWIG_AsDouble(obj1);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 arg3 = (double) SWIG_AsDouble(obj2);
26499 if (PyErr_Occurred()) SWIG_fail;
26500 arg4 = (double) SWIG_AsDouble(obj3);
26501 if (PyErr_Occurred()) SWIG_fail;
26502 arg5 = (double) SWIG_AsDouble(obj4);
26503 if (PyErr_Occurred()) SWIG_fail;
26504 {
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
26507
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 Py_INCREF(Py_None); resultobj = Py_None;
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26519 PyObject *resultobj;
26520 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26521 wxPyShape *arg2 = (wxPyShape *) 0 ;
26522 PyObject * obj0 = 0 ;
26523 PyObject * obj1 = 0 ;
26524 char *kwnames[] = {
26525 (char *) "self",(char *) "object", NULL
26526 };
26527
26528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
26529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 (arg1)->SetFrom(arg2);
26536
26537 wxPyEndAllowThreads(__tstate);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 }
26540 Py_INCREF(Py_None); resultobj = Py_None;
26541 return resultobj;
26542 fail:
26543 return NULL;
26544 }
26545
26546
26547 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
26548 PyObject *resultobj;
26549 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26550 bool arg2 ;
26551 PyObject * obj0 = 0 ;
26552 PyObject * obj1 = 0 ;
26553 char *kwnames[] = {
26554 (char *) "self",(char *) "ignore", NULL
26555 };
26556
26557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
26558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26560 arg2 = (bool) SWIG_AsBool(obj1);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 {
26563 PyThreadState* __tstate = wxPyBeginAllowThreads();
26564 (arg1)->SetIgnoreOffsets(arg2);
26565
26566 wxPyEndAllowThreads(__tstate);
26567 if (PyErr_Occurred()) SWIG_fail;
26568 }
26569 Py_INCREF(Py_None); resultobj = Py_None;
26570 return resultobj;
26571 fail:
26572 return NULL;
26573 }
26574
26575
26576 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26577 PyObject *resultobj;
26578 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26579 bool arg2 ;
26580 PyObject * obj0 = 0 ;
26581 PyObject * obj1 = 0 ;
26582 char *kwnames[] = {
26583 (char *) "self",(char *) "spline", NULL
26584 };
26585
26586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
26587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26589 arg2 = (bool) SWIG_AsBool(obj1);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 {
26592 PyThreadState* __tstate = wxPyBeginAllowThreads();
26593 (arg1)->SetSpline(arg2);
26594
26595 wxPyEndAllowThreads(__tstate);
26596 if (PyErr_Occurred()) SWIG_fail;
26597 }
26598 Py_INCREF(Py_None); resultobj = Py_None;
26599 return resultobj;
26600 fail:
26601 return NULL;
26602 }
26603
26604
26605 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26606 PyObject *resultobj;
26607 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26608 wxPyShape *arg2 = (wxPyShape *) 0 ;
26609 PyObject * obj0 = 0 ;
26610 PyObject * obj1 = 0 ;
26611 char *kwnames[] = {
26612 (char *) "self",(char *) "object", NULL
26613 };
26614
26615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
26616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26620 {
26621 PyThreadState* __tstate = wxPyBeginAllowThreads();
26622 (arg1)->SetTo(arg2);
26623
26624 wxPyEndAllowThreads(__tstate);
26625 if (PyErr_Occurred()) SWIG_fail;
26626 }
26627 Py_INCREF(Py_None); resultobj = Py_None;
26628 return resultobj;
26629 fail:
26630 return NULL;
26631 }
26632
26633
26634 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
26635 PyObject *resultobj;
26636 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26637 wxDC *arg2 = (wxDC *) NULL ;
26638 PyObject * obj0 = 0 ;
26639 PyObject * obj1 = 0 ;
26640 char *kwnames[] = {
26641 (char *) "self",(char *) "dc", NULL
26642 };
26643
26644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
26645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26647 if (obj1) {
26648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26650 }
26651 {
26652 PyThreadState* __tstate = wxPyBeginAllowThreads();
26653 (arg1)->Straighten(arg2);
26654
26655 wxPyEndAllowThreads(__tstate);
26656 if (PyErr_Occurred()) SWIG_fail;
26657 }
26658 Py_INCREF(Py_None); resultobj = Py_None;
26659 return resultobj;
26660 fail:
26661 return NULL;
26662 }
26663
26664
26665 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
26666 PyObject *resultobj;
26667 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26668 PyObject * obj0 = 0 ;
26669 char *kwnames[] = {
26670 (char *) "self", NULL
26671 };
26672
26673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
26674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26676 {
26677 PyThreadState* __tstate = wxPyBeginAllowThreads();
26678 (arg1)->Unlink();
26679
26680 wxPyEndAllowThreads(__tstate);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 }
26683 Py_INCREF(Py_None); resultobj = Py_None;
26684 return resultobj;
26685 fail:
26686 return NULL;
26687 }
26688
26689
26690 static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26691 PyObject *resultobj;
26692 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26693 bool arg2 ;
26694 bool arg3 ;
26695 PyObject * obj0 = 0 ;
26696 PyObject * obj1 = 0 ;
26697 PyObject * obj2 = 0 ;
26698 char *kwnames[] = {
26699 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26700 };
26701
26702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
26703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26705 arg2 = (bool) SWIG_AsBool(obj1);
26706 if (PyErr_Occurred()) SWIG_fail;
26707 arg3 = (bool) SWIG_AsBool(obj2);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 {
26710 PyThreadState* __tstate = wxPyBeginAllowThreads();
26711 (arg1)->SetAlignmentOrientation(arg2,arg3);
26712
26713 wxPyEndAllowThreads(__tstate);
26714 if (PyErr_Occurred()) SWIG_fail;
26715 }
26716 Py_INCREF(Py_None); resultobj = Py_None;
26717 return resultobj;
26718 fail:
26719 return NULL;
26720 }
26721
26722
26723 static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26724 PyObject *resultobj;
26725 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26726 bool arg2 ;
26727 int arg3 ;
26728 PyObject * obj0 = 0 ;
26729 PyObject * obj1 = 0 ;
26730 PyObject * obj2 = 0 ;
26731 char *kwnames[] = {
26732 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26733 };
26734
26735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
26736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26738 arg2 = (bool) SWIG_AsBool(obj1);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 arg3 = (int) SWIG_AsInt(obj2);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 {
26743 PyThreadState* __tstate = wxPyBeginAllowThreads();
26744 (arg1)->SetAlignmentType(arg2,arg3);
26745
26746 wxPyEndAllowThreads(__tstate);
26747 if (PyErr_Occurred()) SWIG_fail;
26748 }
26749 Py_INCREF(Py_None); resultobj = Py_None;
26750 return resultobj;
26751 fail:
26752 return NULL;
26753 }
26754
26755
26756 static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26757 PyObject *resultobj;
26758 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26759 bool arg2 ;
26760 bool result;
26761 PyObject * obj0 = 0 ;
26762 PyObject * obj1 = 0 ;
26763 char *kwnames[] = {
26764 (char *) "self",(char *) "isEnd", NULL
26765 };
26766
26767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
26768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26770 arg2 = (bool) SWIG_AsBool(obj1);
26771 if (PyErr_Occurred()) SWIG_fail;
26772 {
26773 PyThreadState* __tstate = wxPyBeginAllowThreads();
26774 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
26775
26776 wxPyEndAllowThreads(__tstate);
26777 if (PyErr_Occurred()) SWIG_fail;
26778 }
26779 {
26780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26781 }
26782 return resultobj;
26783 fail:
26784 return NULL;
26785 }
26786
26787
26788 static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26789 PyObject *resultobj;
26790 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26791 bool arg2 ;
26792 int result;
26793 PyObject * obj0 = 0 ;
26794 PyObject * obj1 = 0 ;
26795 char *kwnames[] = {
26796 (char *) "self",(char *) "isEnd", NULL
26797 };
26798
26799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
26800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26802 arg2 = (bool) SWIG_AsBool(obj1);
26803 if (PyErr_Occurred()) SWIG_fail;
26804 {
26805 PyThreadState* __tstate = wxPyBeginAllowThreads();
26806 result = (int)(arg1)->GetAlignmentType(arg2);
26807
26808 wxPyEndAllowThreads(__tstate);
26809 if (PyErr_Occurred()) SWIG_fail;
26810 }
26811 resultobj = SWIG_FromInt((int)result);
26812 return resultobj;
26813 fail:
26814 return NULL;
26815 }
26816
26817
26818 static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
26819 PyObject *resultobj;
26820 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26821 int result;
26822 PyObject * obj0 = 0 ;
26823 char *kwnames[] = {
26824 (char *) "self", NULL
26825 };
26826
26827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
26828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26830 {
26831 PyThreadState* __tstate = wxPyBeginAllowThreads();
26832 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
26833
26834 wxPyEndAllowThreads(__tstate);
26835 if (PyErr_Occurred()) SWIG_fail;
26836 }
26837 resultobj = SWIG_FromInt((int)result);
26838 return resultobj;
26839 fail:
26840 return NULL;
26841 }
26842
26843
26844 static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26845 PyObject *resultobj;
26846 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26847 int result;
26848 PyObject * obj0 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
26854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26856 {
26857 PyThreadState* __tstate = wxPyBeginAllowThreads();
26858 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
26859
26860 wxPyEndAllowThreads(__tstate);
26861 if (PyErr_Occurred()) SWIG_fail;
26862 }
26863 resultobj = SWIG_FromInt((int)result);
26864 return resultobj;
26865 fail:
26866 return NULL;
26867 }
26868
26869
26870 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
26871 PyObject *resultobj;
26872 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26873 wxDC *arg2 = 0 ;
26874 PyObject * obj0 = 0 ;
26875 PyObject * obj1 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "self",(char *) "dc", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
26881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26884 SWIG_POINTER_EXCEPTION | 0)) == -1)
26885 SWIG_fail;
26886 if (arg2 == NULL) {
26887 PyErr_SetString(PyExc_TypeError,"null reference");
26888 SWIG_fail;
26889 }
26890 {
26891 PyThreadState* __tstate = wxPyBeginAllowThreads();
26892 (arg1)->base_OnDraw(*arg2);
26893
26894 wxPyEndAllowThreads(__tstate);
26895 if (PyErr_Occurred()) SWIG_fail;
26896 }
26897 Py_INCREF(Py_None); resultobj = Py_None;
26898 return resultobj;
26899 fail:
26900 return NULL;
26901 }
26902
26903
26904 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
26905 PyObject *resultobj;
26906 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26907 wxDC *arg2 = 0 ;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 char *kwnames[] = {
26911 (char *) "self",(char *) "dc", NULL
26912 };
26913
26914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
26915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26918 SWIG_POINTER_EXCEPTION | 0)) == -1)
26919 SWIG_fail;
26920 if (arg2 == NULL) {
26921 PyErr_SetString(PyExc_TypeError,"null reference");
26922 SWIG_fail;
26923 }
26924 {
26925 PyThreadState* __tstate = wxPyBeginAllowThreads();
26926 (arg1)->base_OnDrawContents(*arg2);
26927
26928 wxPyEndAllowThreads(__tstate);
26929 if (PyErr_Occurred()) SWIG_fail;
26930 }
26931 Py_INCREF(Py_None); resultobj = Py_None;
26932 return resultobj;
26933 fail:
26934 return NULL;
26935 }
26936
26937
26938 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
26939 PyObject *resultobj;
26940 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26941 wxDC *arg2 = 0 ;
26942 bool arg3 = (bool) FALSE ;
26943 PyObject * obj0 = 0 ;
26944 PyObject * obj1 = 0 ;
26945 PyObject * obj2 = 0 ;
26946 char *kwnames[] = {
26947 (char *) "self",(char *) "dc",(char *) "erase", NULL
26948 };
26949
26950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
26951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26954 SWIG_POINTER_EXCEPTION | 0)) == -1)
26955 SWIG_fail;
26956 if (arg2 == NULL) {
26957 PyErr_SetString(PyExc_TypeError,"null reference");
26958 SWIG_fail;
26959 }
26960 if (obj2) {
26961 arg3 = (bool) SWIG_AsBool(obj2);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 {
26965 PyThreadState* __tstate = wxPyBeginAllowThreads();
26966 (arg1)->base_OnDrawBranches(*arg2,arg3);
26967
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 Py_INCREF(Py_None); resultobj = Py_None;
26972 return resultobj;
26973 fail:
26974 return NULL;
26975 }
26976
26977
26978 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
26979 PyObject *resultobj;
26980 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26981 wxDC *arg2 = 0 ;
26982 PyObject * obj0 = 0 ;
26983 PyObject * obj1 = 0 ;
26984 char *kwnames[] = {
26985 (char *) "self",(char *) "dc", NULL
26986 };
26987
26988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
26989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26992 SWIG_POINTER_EXCEPTION | 0)) == -1)
26993 SWIG_fail;
26994 if (arg2 == NULL) {
26995 PyErr_SetString(PyExc_TypeError,"null reference");
26996 SWIG_fail;
26997 }
26998 {
26999 PyThreadState* __tstate = wxPyBeginAllowThreads();
27000 (arg1)->base_OnMoveLinks(*arg2);
27001
27002 wxPyEndAllowThreads(__tstate);
27003 if (PyErr_Occurred()) SWIG_fail;
27004 }
27005 Py_INCREF(Py_None); resultobj = Py_None;
27006 return resultobj;
27007 fail:
27008 return NULL;
27009 }
27010
27011
27012 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
27013 PyObject *resultobj;
27014 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27015 wxDC *arg2 = 0 ;
27016 PyObject * obj0 = 0 ;
27017 PyObject * obj1 = 0 ;
27018 char *kwnames[] = {
27019 (char *) "self",(char *) "dc", NULL
27020 };
27021
27022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
27023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27026 SWIG_POINTER_EXCEPTION | 0)) == -1)
27027 SWIG_fail;
27028 if (arg2 == NULL) {
27029 PyErr_SetString(PyExc_TypeError,"null reference");
27030 SWIG_fail;
27031 }
27032 {
27033 PyThreadState* __tstate = wxPyBeginAllowThreads();
27034 (arg1)->base_OnErase(*arg2);
27035
27036 wxPyEndAllowThreads(__tstate);
27037 if (PyErr_Occurred()) SWIG_fail;
27038 }
27039 Py_INCREF(Py_None); resultobj = Py_None;
27040 return resultobj;
27041 fail:
27042 return NULL;
27043 }
27044
27045
27046 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
27047 PyObject *resultobj;
27048 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27049 wxDC *arg2 = 0 ;
27050 PyObject * obj0 = 0 ;
27051 PyObject * obj1 = 0 ;
27052 char *kwnames[] = {
27053 (char *) "self",(char *) "dc", NULL
27054 };
27055
27056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
27057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27060 SWIG_POINTER_EXCEPTION | 0)) == -1)
27061 SWIG_fail;
27062 if (arg2 == NULL) {
27063 PyErr_SetString(PyExc_TypeError,"null reference");
27064 SWIG_fail;
27065 }
27066 {
27067 PyThreadState* __tstate = wxPyBeginAllowThreads();
27068 (arg1)->base_OnEraseContents(*arg2);
27069
27070 wxPyEndAllowThreads(__tstate);
27071 if (PyErr_Occurred()) SWIG_fail;
27072 }
27073 Py_INCREF(Py_None); resultobj = Py_None;
27074 return resultobj;
27075 fail:
27076 return NULL;
27077 }
27078
27079
27080 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
27081 PyObject *resultobj;
27082 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27083 wxDC *arg2 = 0 ;
27084 PyObject * obj0 = 0 ;
27085 PyObject * obj1 = 0 ;
27086 char *kwnames[] = {
27087 (char *) "self",(char *) "dc", NULL
27088 };
27089
27090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
27091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27094 SWIG_POINTER_EXCEPTION | 0)) == -1)
27095 SWIG_fail;
27096 if (arg2 == NULL) {
27097 PyErr_SetString(PyExc_TypeError,"null reference");
27098 SWIG_fail;
27099 }
27100 {
27101 PyThreadState* __tstate = wxPyBeginAllowThreads();
27102 (arg1)->base_OnHighlight(*arg2);
27103
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
27107 Py_INCREF(Py_None); resultobj = Py_None;
27108 return resultobj;
27109 fail:
27110 return NULL;
27111 }
27112
27113
27114 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27115 PyObject *resultobj;
27116 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27117 double arg2 ;
27118 double arg3 ;
27119 int arg4 = (int) 0 ;
27120 int arg5 = (int) 0 ;
27121 PyObject * obj0 = 0 ;
27122 PyObject * obj1 = 0 ;
27123 PyObject * obj2 = 0 ;
27124 PyObject * obj3 = 0 ;
27125 PyObject * obj4 = 0 ;
27126 char *kwnames[] = {
27127 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27128 };
27129
27130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27133 arg2 = (double) SWIG_AsDouble(obj1);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 arg3 = (double) SWIG_AsDouble(obj2);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 if (obj3) {
27138 arg4 = (int) SWIG_AsInt(obj3);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 }
27141 if (obj4) {
27142 arg5 = (int) SWIG_AsInt(obj4);
27143 if (PyErr_Occurred()) SWIG_fail;
27144 }
27145 {
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27148
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
27152 Py_INCREF(Py_None); resultobj = Py_None;
27153 return resultobj;
27154 fail:
27155 return NULL;
27156 }
27157
27158
27159 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27160 PyObject *resultobj;
27161 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27162 double arg2 ;
27163 double arg3 ;
27164 int arg4 = (int) 0 ;
27165 int arg5 = (int) 0 ;
27166 PyObject * obj0 = 0 ;
27167 PyObject * obj1 = 0 ;
27168 PyObject * obj2 = 0 ;
27169 PyObject * obj3 = 0 ;
27170 PyObject * obj4 = 0 ;
27171 char *kwnames[] = {
27172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27173 };
27174
27175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27178 arg2 = (double) SWIG_AsDouble(obj1);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 arg3 = (double) SWIG_AsDouble(obj2);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 if (obj3) {
27183 arg4 = (int) SWIG_AsInt(obj3);
27184 if (PyErr_Occurred()) SWIG_fail;
27185 }
27186 if (obj4) {
27187 arg5 = (int) SWIG_AsInt(obj4);
27188 if (PyErr_Occurred()) SWIG_fail;
27189 }
27190 {
27191 PyThreadState* __tstate = wxPyBeginAllowThreads();
27192 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27193
27194 wxPyEndAllowThreads(__tstate);
27195 if (PyErr_Occurred()) SWIG_fail;
27196 }
27197 Py_INCREF(Py_None); resultobj = Py_None;
27198 return resultobj;
27199 fail:
27200 return NULL;
27201 }
27202
27203
27204 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27205 PyObject *resultobj;
27206 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27207 double arg2 ;
27208 double arg3 ;
27209 int arg4 = (int) 0 ;
27210 int arg5 = (int) 0 ;
27211 PyObject * obj0 = 0 ;
27212 PyObject * obj1 = 0 ;
27213 PyObject * obj2 = 0 ;
27214 PyObject * obj3 = 0 ;
27215 PyObject * obj4 = 0 ;
27216 char *kwnames[] = {
27217 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27218 };
27219
27220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27223 arg2 = (double) SWIG_AsDouble(obj1);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 arg3 = (double) SWIG_AsDouble(obj2);
27226 if (PyErr_Occurred()) SWIG_fail;
27227 if (obj3) {
27228 arg4 = (int) SWIG_AsInt(obj3);
27229 if (PyErr_Occurred()) SWIG_fail;
27230 }
27231 if (obj4) {
27232 arg5 = (int) SWIG_AsInt(obj4);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27238
27239 wxPyEndAllowThreads(__tstate);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 }
27242 Py_INCREF(Py_None); resultobj = Py_None;
27243 return resultobj;
27244 fail:
27245 return NULL;
27246 }
27247
27248
27249 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27250 PyObject *resultobj;
27251 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27252 double arg2 ;
27253 double arg3 ;
27254 PyObject * obj0 = 0 ;
27255 PyObject * obj1 = 0 ;
27256 PyObject * obj2 = 0 ;
27257 char *kwnames[] = {
27258 (char *) "self",(char *) "x",(char *) "y", NULL
27259 };
27260
27261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27264 arg2 = (double) SWIG_AsDouble(obj1);
27265 if (PyErr_Occurred()) SWIG_fail;
27266 arg3 = (double) SWIG_AsDouble(obj2);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 {
27269 PyThreadState* __tstate = wxPyBeginAllowThreads();
27270 (arg1)->base_OnSize(arg2,arg3);
27271
27272 wxPyEndAllowThreads(__tstate);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 Py_INCREF(Py_None); resultobj = Py_None;
27276 return resultobj;
27277 fail:
27278 return NULL;
27279 }
27280
27281
27282 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
27283 PyObject *resultobj;
27284 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27285 wxDC *arg2 = 0 ;
27286 double arg3 ;
27287 double arg4 ;
27288 double arg5 ;
27289 double arg6 ;
27290 bool arg7 = (bool) True ;
27291 bool result;
27292 PyObject * obj0 = 0 ;
27293 PyObject * obj1 = 0 ;
27294 PyObject * obj2 = 0 ;
27295 PyObject * obj3 = 0 ;
27296 PyObject * obj4 = 0 ;
27297 PyObject * obj5 = 0 ;
27298 PyObject * obj6 = 0 ;
27299 char *kwnames[] = {
27300 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27301 };
27302
27303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27307 SWIG_POINTER_EXCEPTION | 0)) == -1)
27308 SWIG_fail;
27309 if (arg2 == NULL) {
27310 PyErr_SetString(PyExc_TypeError,"null reference");
27311 SWIG_fail;
27312 }
27313 arg3 = (double) SWIG_AsDouble(obj2);
27314 if (PyErr_Occurred()) SWIG_fail;
27315 arg4 = (double) SWIG_AsDouble(obj3);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 arg5 = (double) SWIG_AsDouble(obj4);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 arg6 = (double) SWIG_AsDouble(obj5);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 if (obj6) {
27322 arg7 = (bool) SWIG_AsBool(obj6);
27323 if (PyErr_Occurred()) SWIG_fail;
27324 }
27325 {
27326 PyThreadState* __tstate = wxPyBeginAllowThreads();
27327 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27328
27329 wxPyEndAllowThreads(__tstate);
27330 if (PyErr_Occurred()) SWIG_fail;
27331 }
27332 {
27333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27334 }
27335 return resultobj;
27336 fail:
27337 return NULL;
27338 }
27339
27340
27341 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
27342 PyObject *resultobj;
27343 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27344 wxDC *arg2 = 0 ;
27345 double arg3 ;
27346 double arg4 ;
27347 double arg5 ;
27348 double arg6 ;
27349 bool arg7 = (bool) True ;
27350 PyObject * obj0 = 0 ;
27351 PyObject * obj1 = 0 ;
27352 PyObject * obj2 = 0 ;
27353 PyObject * obj3 = 0 ;
27354 PyObject * obj4 = 0 ;
27355 PyObject * obj5 = 0 ;
27356 PyObject * obj6 = 0 ;
27357 char *kwnames[] = {
27358 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27359 };
27360
27361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27365 SWIG_POINTER_EXCEPTION | 0)) == -1)
27366 SWIG_fail;
27367 if (arg2 == NULL) {
27368 PyErr_SetString(PyExc_TypeError,"null reference");
27369 SWIG_fail;
27370 }
27371 arg3 = (double) SWIG_AsDouble(obj2);
27372 if (PyErr_Occurred()) SWIG_fail;
27373 arg4 = (double) SWIG_AsDouble(obj3);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 arg5 = (double) SWIG_AsDouble(obj4);
27376 if (PyErr_Occurred()) SWIG_fail;
27377 arg6 = (double) SWIG_AsDouble(obj5);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 if (obj6) {
27380 arg7 = (bool) SWIG_AsBool(obj6);
27381 if (PyErr_Occurred()) SWIG_fail;
27382 }
27383 {
27384 PyThreadState* __tstate = wxPyBeginAllowThreads();
27385 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27386
27387 wxPyEndAllowThreads(__tstate);
27388 if (PyErr_Occurred()) SWIG_fail;
27389 }
27390 Py_INCREF(Py_None); resultobj = Py_None;
27391 return resultobj;
27392 fail:
27393 return NULL;
27394 }
27395
27396
27397 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27398 PyObject *resultobj;
27399 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27400 bool arg2 ;
27401 double arg3 ;
27402 double arg4 ;
27403 int arg5 = (int) 0 ;
27404 int arg6 = (int) 0 ;
27405 PyObject * obj0 = 0 ;
27406 PyObject * obj1 = 0 ;
27407 PyObject * obj2 = 0 ;
27408 PyObject * obj3 = 0 ;
27409 PyObject * obj4 = 0 ;
27410 PyObject * obj5 = 0 ;
27411 char *kwnames[] = {
27412 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27413 };
27414
27415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27418 arg2 = (bool) SWIG_AsBool(obj1);
27419 if (PyErr_Occurred()) SWIG_fail;
27420 arg3 = (double) SWIG_AsDouble(obj2);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 arg4 = (double) SWIG_AsDouble(obj3);
27423 if (PyErr_Occurred()) SWIG_fail;
27424 if (obj4) {
27425 arg5 = (int) SWIG_AsInt(obj4);
27426 if (PyErr_Occurred()) SWIG_fail;
27427 }
27428 if (obj5) {
27429 arg6 = (int) SWIG_AsInt(obj5);
27430 if (PyErr_Occurred()) SWIG_fail;
27431 }
27432 {
27433 PyThreadState* __tstate = wxPyBeginAllowThreads();
27434 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27435
27436 wxPyEndAllowThreads(__tstate);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 Py_INCREF(Py_None); resultobj = Py_None;
27440 return resultobj;
27441 fail:
27442 return NULL;
27443 }
27444
27445
27446 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27447 PyObject *resultobj;
27448 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27449 double arg2 ;
27450 double arg3 ;
27451 int arg4 = (int) 0 ;
27452 int arg5 = (int) 0 ;
27453 PyObject * obj0 = 0 ;
27454 PyObject * obj1 = 0 ;
27455 PyObject * obj2 = 0 ;
27456 PyObject * obj3 = 0 ;
27457 PyObject * obj4 = 0 ;
27458 char *kwnames[] = {
27459 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27460 };
27461
27462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27465 arg2 = (double) SWIG_AsDouble(obj1);
27466 if (PyErr_Occurred()) SWIG_fail;
27467 arg3 = (double) SWIG_AsDouble(obj2);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 if (obj3) {
27470 arg4 = (int) SWIG_AsInt(obj3);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 if (obj4) {
27474 arg5 = (int) SWIG_AsInt(obj4);
27475 if (PyErr_Occurred()) SWIG_fail;
27476 }
27477 {
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27480
27481 wxPyEndAllowThreads(__tstate);
27482 if (PyErr_Occurred()) SWIG_fail;
27483 }
27484 Py_INCREF(Py_None); resultobj = Py_None;
27485 return resultobj;
27486 fail:
27487 return NULL;
27488 }
27489
27490
27491 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27492 PyObject *resultobj;
27493 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27494 double arg2 ;
27495 double arg3 ;
27496 int arg4 = (int) 0 ;
27497 int arg5 = (int) 0 ;
27498 PyObject * obj0 = 0 ;
27499 PyObject * obj1 = 0 ;
27500 PyObject * obj2 = 0 ;
27501 PyObject * obj3 = 0 ;
27502 PyObject * obj4 = 0 ;
27503 char *kwnames[] = {
27504 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27505 };
27506
27507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27510 arg2 = (double) SWIG_AsDouble(obj1);
27511 if (PyErr_Occurred()) SWIG_fail;
27512 arg3 = (double) SWIG_AsDouble(obj2);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 if (obj3) {
27515 arg4 = (int) SWIG_AsInt(obj3);
27516 if (PyErr_Occurred()) SWIG_fail;
27517 }
27518 if (obj4) {
27519 arg5 = (int) SWIG_AsInt(obj4);
27520 if (PyErr_Occurred()) SWIG_fail;
27521 }
27522 {
27523 PyThreadState* __tstate = wxPyBeginAllowThreads();
27524 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27525
27526 wxPyEndAllowThreads(__tstate);
27527 if (PyErr_Occurred()) SWIG_fail;
27528 }
27529 Py_INCREF(Py_None); resultobj = Py_None;
27530 return resultobj;
27531 fail:
27532 return NULL;
27533 }
27534
27535
27536 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27537 PyObject *resultobj;
27538 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27539 bool arg2 ;
27540 double arg3 ;
27541 double arg4 ;
27542 int arg5 = (int) 0 ;
27543 int arg6 = (int) 0 ;
27544 PyObject * obj0 = 0 ;
27545 PyObject * obj1 = 0 ;
27546 PyObject * obj2 = 0 ;
27547 PyObject * obj3 = 0 ;
27548 PyObject * obj4 = 0 ;
27549 PyObject * obj5 = 0 ;
27550 char *kwnames[] = {
27551 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27552 };
27553
27554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27557 arg2 = (bool) SWIG_AsBool(obj1);
27558 if (PyErr_Occurred()) SWIG_fail;
27559 arg3 = (double) SWIG_AsDouble(obj2);
27560 if (PyErr_Occurred()) SWIG_fail;
27561 arg4 = (double) SWIG_AsDouble(obj3);
27562 if (PyErr_Occurred()) SWIG_fail;
27563 if (obj4) {
27564 arg5 = (int) SWIG_AsInt(obj4);
27565 if (PyErr_Occurred()) SWIG_fail;
27566 }
27567 if (obj5) {
27568 arg6 = (int) SWIG_AsInt(obj5);
27569 if (PyErr_Occurred()) SWIG_fail;
27570 }
27571 {
27572 PyThreadState* __tstate = wxPyBeginAllowThreads();
27573 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27574
27575 wxPyEndAllowThreads(__tstate);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 }
27578 Py_INCREF(Py_None); resultobj = Py_None;
27579 return resultobj;
27580 fail:
27581 return NULL;
27582 }
27583
27584
27585 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27586 PyObject *resultobj;
27587 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27588 double arg2 ;
27589 double arg3 ;
27590 int arg4 = (int) 0 ;
27591 int arg5 = (int) 0 ;
27592 PyObject * obj0 = 0 ;
27593 PyObject * obj1 = 0 ;
27594 PyObject * obj2 = 0 ;
27595 PyObject * obj3 = 0 ;
27596 PyObject * obj4 = 0 ;
27597 char *kwnames[] = {
27598 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27599 };
27600
27601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27604 arg2 = (double) SWIG_AsDouble(obj1);
27605 if (PyErr_Occurred()) SWIG_fail;
27606 arg3 = (double) SWIG_AsDouble(obj2);
27607 if (PyErr_Occurred()) SWIG_fail;
27608 if (obj3) {
27609 arg4 = (int) SWIG_AsInt(obj3);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
27612 if (obj4) {
27613 arg5 = (int) SWIG_AsInt(obj4);
27614 if (PyErr_Occurred()) SWIG_fail;
27615 }
27616 {
27617 PyThreadState* __tstate = wxPyBeginAllowThreads();
27618 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27619
27620 wxPyEndAllowThreads(__tstate);
27621 if (PyErr_Occurred()) SWIG_fail;
27622 }
27623 Py_INCREF(Py_None); resultobj = Py_None;
27624 return resultobj;
27625 fail:
27626 return NULL;
27627 }
27628
27629
27630 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27631 PyObject *resultobj;
27632 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27633 double arg2 ;
27634 double arg3 ;
27635 int arg4 = (int) 0 ;
27636 int arg5 = (int) 0 ;
27637 PyObject * obj0 = 0 ;
27638 PyObject * obj1 = 0 ;
27639 PyObject * obj2 = 0 ;
27640 PyObject * obj3 = 0 ;
27641 PyObject * obj4 = 0 ;
27642 char *kwnames[] = {
27643 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27644 };
27645
27646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27649 arg2 = (double) SWIG_AsDouble(obj1);
27650 if (PyErr_Occurred()) SWIG_fail;
27651 arg3 = (double) SWIG_AsDouble(obj2);
27652 if (PyErr_Occurred()) SWIG_fail;
27653 if (obj3) {
27654 arg4 = (int) SWIG_AsInt(obj3);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 if (obj4) {
27658 arg5 = (int) SWIG_AsInt(obj4);
27659 if (PyErr_Occurred()) SWIG_fail;
27660 }
27661 {
27662 PyThreadState* __tstate = wxPyBeginAllowThreads();
27663 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27664
27665 wxPyEndAllowThreads(__tstate);
27666 if (PyErr_Occurred()) SWIG_fail;
27667 }
27668 Py_INCREF(Py_None); resultobj = Py_None;
27669 return resultobj;
27670 fail:
27671 return NULL;
27672 }
27673
27674
27675 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
27676 PyObject *resultobj;
27677 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27678 wxDC *arg2 = 0 ;
27679 double arg3 ;
27680 double arg4 ;
27681 double arg5 ;
27682 double arg6 ;
27683 PyObject * obj0 = 0 ;
27684 PyObject * obj1 = 0 ;
27685 PyObject * obj2 = 0 ;
27686 PyObject * obj3 = 0 ;
27687 PyObject * obj4 = 0 ;
27688 PyObject * obj5 = 0 ;
27689 char *kwnames[] = {
27690 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27691 };
27692
27693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27697 SWIG_POINTER_EXCEPTION | 0)) == -1)
27698 SWIG_fail;
27699 if (arg2 == NULL) {
27700 PyErr_SetString(PyExc_TypeError,"null reference");
27701 SWIG_fail;
27702 }
27703 arg3 = (double) SWIG_AsDouble(obj2);
27704 if (PyErr_Occurred()) SWIG_fail;
27705 arg4 = (double) SWIG_AsDouble(obj3);
27706 if (PyErr_Occurred()) SWIG_fail;
27707 arg5 = (double) SWIG_AsDouble(obj4);
27708 if (PyErr_Occurred()) SWIG_fail;
27709 arg6 = (double) SWIG_AsDouble(obj5);
27710 if (PyErr_Occurred()) SWIG_fail;
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 Py_INCREF(Py_None); resultobj = Py_None;
27719 return resultobj;
27720 fail:
27721 return NULL;
27722 }
27723
27724
27725 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27726 PyObject *resultobj;
27727 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27728 wxDC *arg2 = 0 ;
27729 PyObject * obj0 = 0 ;
27730 PyObject * obj1 = 0 ;
27731 char *kwnames[] = {
27732 (char *) "self",(char *) "dc", NULL
27733 };
27734
27735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
27736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27739 SWIG_POINTER_EXCEPTION | 0)) == -1)
27740 SWIG_fail;
27741 if (arg2 == NULL) {
27742 PyErr_SetString(PyExc_TypeError,"null reference");
27743 SWIG_fail;
27744 }
27745 {
27746 PyThreadState* __tstate = wxPyBeginAllowThreads();
27747 (arg1)->base_OnDrawControlPoints(*arg2);
27748
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
27752 Py_INCREF(Py_None); resultobj = Py_None;
27753 return resultobj;
27754 fail:
27755 return NULL;
27756 }
27757
27758
27759 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27760 PyObject *resultobj;
27761 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27762 wxDC *arg2 = 0 ;
27763 PyObject * obj0 = 0 ;
27764 PyObject * obj1 = 0 ;
27765 char *kwnames[] = {
27766 (char *) "self",(char *) "dc", NULL
27767 };
27768
27769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
27770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27773 SWIG_POINTER_EXCEPTION | 0)) == -1)
27774 SWIG_fail;
27775 if (arg2 == NULL) {
27776 PyErr_SetString(PyExc_TypeError,"null reference");
27777 SWIG_fail;
27778 }
27779 {
27780 PyThreadState* __tstate = wxPyBeginAllowThreads();
27781 (arg1)->base_OnEraseControlPoints(*arg2);
27782
27783 wxPyEndAllowThreads(__tstate);
27784 if (PyErr_Occurred()) SWIG_fail;
27785 }
27786 Py_INCREF(Py_None); resultobj = Py_None;
27787 return resultobj;
27788 fail:
27789 return NULL;
27790 }
27791
27792
27793 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27794 PyObject *resultobj;
27795 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27796 wxDC *arg2 = 0 ;
27797 bool arg3 = (bool) True ;
27798 PyObject * obj0 = 0 ;
27799 PyObject * obj1 = 0 ;
27800 PyObject * obj2 = 0 ;
27801 char *kwnames[] = {
27802 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27803 };
27804
27805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
27806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27809 SWIG_POINTER_EXCEPTION | 0)) == -1)
27810 SWIG_fail;
27811 if (arg2 == NULL) {
27812 PyErr_SetString(PyExc_TypeError,"null reference");
27813 SWIG_fail;
27814 }
27815 if (obj2) {
27816 arg3 = (bool) SWIG_AsBool(obj2);
27817 if (PyErr_Occurred()) SWIG_fail;
27818 }
27819 {
27820 PyThreadState* __tstate = wxPyBeginAllowThreads();
27821 (arg1)->base_OnMoveLink(*arg2,arg3);
27822
27823 wxPyEndAllowThreads(__tstate);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 Py_INCREF(Py_None); resultobj = Py_None;
27827 return resultobj;
27828 fail:
27829 return NULL;
27830 }
27831
27832
27833 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27834 PyObject *resultobj;
27835 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27836 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27837 bool arg3 ;
27838 double arg4 ;
27839 double arg5 ;
27840 int arg6 = (int) 0 ;
27841 int arg7 = (int) 0 ;
27842 PyObject * obj0 = 0 ;
27843 PyObject * obj1 = 0 ;
27844 PyObject * obj2 = 0 ;
27845 PyObject * obj3 = 0 ;
27846 PyObject * obj4 = 0 ;
27847 PyObject * obj5 = 0 ;
27848 PyObject * obj6 = 0 ;
27849 char *kwnames[] = {
27850 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27851 };
27852
27853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27858 arg3 = (bool) SWIG_AsBool(obj2);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 arg4 = (double) SWIG_AsDouble(obj3);
27861 if (PyErr_Occurred()) SWIG_fail;
27862 arg5 = (double) SWIG_AsDouble(obj4);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 if (obj5) {
27865 arg6 = (int) SWIG_AsInt(obj5);
27866 if (PyErr_Occurred()) SWIG_fail;
27867 }
27868 if (obj6) {
27869 arg7 = (int) SWIG_AsInt(obj6);
27870 if (PyErr_Occurred()) SWIG_fail;
27871 }
27872 {
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
27875
27876 wxPyEndAllowThreads(__tstate);
27877 if (PyErr_Occurred()) SWIG_fail;
27878 }
27879 Py_INCREF(Py_None); resultobj = Py_None;
27880 return resultobj;
27881 fail:
27882 return NULL;
27883 }
27884
27885
27886 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27887 PyObject *resultobj;
27888 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27889 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27890 double arg3 ;
27891 double arg4 ;
27892 int arg5 = (int) 0 ;
27893 int arg6 = (int) 0 ;
27894 PyObject * obj0 = 0 ;
27895 PyObject * obj1 = 0 ;
27896 PyObject * obj2 = 0 ;
27897 PyObject * obj3 = 0 ;
27898 PyObject * obj4 = 0 ;
27899 PyObject * obj5 = 0 ;
27900 char *kwnames[] = {
27901 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27902 };
27903
27904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27909 arg3 = (double) SWIG_AsDouble(obj2);
27910 if (PyErr_Occurred()) SWIG_fail;
27911 arg4 = (double) SWIG_AsDouble(obj3);
27912 if (PyErr_Occurred()) SWIG_fail;
27913 if (obj4) {
27914 arg5 = (int) SWIG_AsInt(obj4);
27915 if (PyErr_Occurred()) SWIG_fail;
27916 }
27917 if (obj5) {
27918 arg6 = (int) SWIG_AsInt(obj5);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 {
27922 PyThreadState* __tstate = wxPyBeginAllowThreads();
27923 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
27924
27925 wxPyEndAllowThreads(__tstate);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 Py_INCREF(Py_None); resultobj = Py_None;
27929 return resultobj;
27930 fail:
27931 return NULL;
27932 }
27933
27934
27935 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27936 PyObject *resultobj;
27937 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27938 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27939 double arg3 ;
27940 double arg4 ;
27941 int arg5 = (int) 0 ;
27942 int arg6 = (int) 0 ;
27943 PyObject * obj0 = 0 ;
27944 PyObject * obj1 = 0 ;
27945 PyObject * obj2 = 0 ;
27946 PyObject * obj3 = 0 ;
27947 PyObject * obj4 = 0 ;
27948 PyObject * obj5 = 0 ;
27949 char *kwnames[] = {
27950 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27951 };
27952
27953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27958 arg3 = (double) SWIG_AsDouble(obj2);
27959 if (PyErr_Occurred()) SWIG_fail;
27960 arg4 = (double) SWIG_AsDouble(obj3);
27961 if (PyErr_Occurred()) SWIG_fail;
27962 if (obj4) {
27963 arg5 = (int) SWIG_AsInt(obj4);
27964 if (PyErr_Occurred()) SWIG_fail;
27965 }
27966 if (obj5) {
27967 arg6 = (int) SWIG_AsInt(obj5);
27968 if (PyErr_Occurred()) SWIG_fail;
27969 }
27970 {
27971 PyThreadState* __tstate = wxPyBeginAllowThreads();
27972 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
27973
27974 wxPyEndAllowThreads(__tstate);
27975 if (PyErr_Occurred()) SWIG_fail;
27976 }
27977 Py_INCREF(Py_None); resultobj = Py_None;
27978 return resultobj;
27979 fail:
27980 return NULL;
27981 }
27982
27983
27984 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27985 PyObject *resultobj;
27986 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27987 double arg2 ;
27988 double arg3 ;
27989 PyObject * obj0 = 0 ;
27990 PyObject * obj1 = 0 ;
27991 PyObject * obj2 = 0 ;
27992 char *kwnames[] = {
27993 (char *) "self",(char *) "w",(char *) "h", NULL
27994 };
27995
27996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27999 arg2 = (double) SWIG_AsDouble(obj1);
28000 if (PyErr_Occurred()) SWIG_fail;
28001 arg3 = (double) SWIG_AsDouble(obj2);
28002 if (PyErr_Occurred()) SWIG_fail;
28003 {
28004 PyThreadState* __tstate = wxPyBeginAllowThreads();
28005 (arg1)->base_OnBeginSize(arg2,arg3);
28006
28007 wxPyEndAllowThreads(__tstate);
28008 if (PyErr_Occurred()) SWIG_fail;
28009 }
28010 Py_INCREF(Py_None); resultobj = Py_None;
28011 return resultobj;
28012 fail:
28013 return NULL;
28014 }
28015
28016
28017 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28018 PyObject *resultobj;
28019 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28020 double arg2 ;
28021 double arg3 ;
28022 PyObject * obj0 = 0 ;
28023 PyObject * obj1 = 0 ;
28024 PyObject * obj2 = 0 ;
28025 char *kwnames[] = {
28026 (char *) "self",(char *) "w",(char *) "h", NULL
28027 };
28028
28029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28032 arg2 = (double) SWIG_AsDouble(obj1);
28033 if (PyErr_Occurred()) SWIG_fail;
28034 arg3 = (double) SWIG_AsDouble(obj2);
28035 if (PyErr_Occurred()) SWIG_fail;
28036 {
28037 PyThreadState* __tstate = wxPyBeginAllowThreads();
28038 (arg1)->base_OnEndSize(arg2,arg3);
28039
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 Py_INCREF(Py_None); resultobj = Py_None;
28044 return resultobj;
28045 fail:
28046 return NULL;
28047 }
28048
28049
28050 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
28051 PyObject *obj;
28052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28053 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
28054 Py_INCREF(obj);
28055 return Py_BuildValue((char *)"");
28056 }
28057 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
28058 PyObject *resultobj;
28059 wxPyPolygonShape *result;
28060 char *kwnames[] = {
28061 NULL
28062 };
28063
28064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
28065 {
28066 PyThreadState* __tstate = wxPyBeginAllowThreads();
28067 result = (wxPyPolygonShape *)new wxPyPolygonShape();
28068
28069 wxPyEndAllowThreads(__tstate);
28070 if (PyErr_Occurred()) SWIG_fail;
28071 }
28072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
28073 return resultobj;
28074 fail:
28075 return NULL;
28076 }
28077
28078
28079 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28080 PyObject *resultobj;
28081 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28082 PyObject *arg2 = (PyObject *) 0 ;
28083 PyObject *arg3 = (PyObject *) 0 ;
28084 PyObject * obj0 = 0 ;
28085 PyObject * obj1 = 0 ;
28086 PyObject * obj2 = 0 ;
28087 char *kwnames[] = {
28088 (char *) "self",(char *) "self",(char *) "_class", NULL
28089 };
28090
28091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28094 arg2 = obj1;
28095 arg3 = obj2;
28096 {
28097 PyThreadState* __tstate = wxPyBeginAllowThreads();
28098 (arg1)->_setCallbackInfo(arg2,arg3);
28099
28100 wxPyEndAllowThreads(__tstate);
28101 if (PyErr_Occurred()) SWIG_fail;
28102 }
28103 Py_INCREF(Py_None); resultobj = Py_None;
28104 return resultobj;
28105 fail:
28106 return NULL;
28107 }
28108
28109
28110 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28111 PyObject *resultobj;
28112 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28113 PyObject *arg2 = (PyObject *) 0 ;
28114 PyObject *result;
28115 PyObject * obj0 = 0 ;
28116 PyObject * obj1 = 0 ;
28117 char *kwnames[] = {
28118 (char *) "self",(char *) "points", NULL
28119 };
28120
28121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
28122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28124 arg2 = obj1;
28125 {
28126 PyThreadState* __tstate = wxPyBeginAllowThreads();
28127 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28128
28129 wxPyEndAllowThreads(__tstate);
28130 if (PyErr_Occurred()) SWIG_fail;
28131 }
28132 resultobj = result;
28133 return resultobj;
28134 fail:
28135 return NULL;
28136 }
28137
28138
28139 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28140 PyObject *resultobj;
28141 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28142 int arg2 = (int) 0 ;
28143 PyObject * obj0 = 0 ;
28144 PyObject * obj1 = 0 ;
28145 char *kwnames[] = {
28146 (char *) "self",(char *) "pos", NULL
28147 };
28148
28149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28152 if (obj1) {
28153 arg2 = (int) SWIG_AsInt(obj1);
28154 if (PyErr_Occurred()) SWIG_fail;
28155 }
28156 {
28157 PyThreadState* __tstate = wxPyBeginAllowThreads();
28158 (arg1)->AddPolygonPoint(arg2);
28159
28160 wxPyEndAllowThreads(__tstate);
28161 if (PyErr_Occurred()) SWIG_fail;
28162 }
28163 Py_INCREF(Py_None); resultobj = Py_None;
28164 return resultobj;
28165 fail:
28166 return NULL;
28167 }
28168
28169
28170 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
28171 PyObject *resultobj;
28172 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28173 PyObject * obj0 = 0 ;
28174 char *kwnames[] = {
28175 (char *) "self", NULL
28176 };
28177
28178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
28179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28181 {
28182 PyThreadState* __tstate = wxPyBeginAllowThreads();
28183 (arg1)->CalculatePolygonCentre();
28184
28185 wxPyEndAllowThreads(__tstate);
28186 if (PyErr_Occurred()) SWIG_fail;
28187 }
28188 Py_INCREF(Py_None); resultobj = Py_None;
28189 return resultobj;
28190 fail:
28191 return NULL;
28192 }
28193
28194
28195 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28196 PyObject *resultobj;
28197 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28198 int arg2 = (int) 0 ;
28199 PyObject * obj0 = 0 ;
28200 PyObject * obj1 = 0 ;
28201 char *kwnames[] = {
28202 (char *) "self",(char *) "pos", NULL
28203 };
28204
28205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28208 if (obj1) {
28209 arg2 = (int) SWIG_AsInt(obj1);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 {
28213 PyThreadState* __tstate = wxPyBeginAllowThreads();
28214 (arg1)->DeletePolygonPoint(arg2);
28215
28216 wxPyEndAllowThreads(__tstate);
28217 if (PyErr_Occurred()) SWIG_fail;
28218 }
28219 Py_INCREF(Py_None); resultobj = Py_None;
28220 return resultobj;
28221 fail:
28222 return NULL;
28223 }
28224
28225
28226 static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28227 PyObject *resultobj;
28228 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28229 PyObject *result;
28230 PyObject * obj0 = 0 ;
28231 char *kwnames[] = {
28232 (char *) "self", NULL
28233 };
28234
28235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
28236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28238 {
28239 PyThreadState* __tstate = wxPyBeginAllowThreads();
28240 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28241
28242 wxPyEndAllowThreads(__tstate);
28243 if (PyErr_Occurred()) SWIG_fail;
28244 }
28245 resultobj = result;
28246 return resultobj;
28247 fail:
28248 return NULL;
28249 }
28250
28251
28252 static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28253 PyObject *resultobj;
28254 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28255 PyObject *result;
28256 PyObject * obj0 = 0 ;
28257 char *kwnames[] = {
28258 (char *) "self", NULL
28259 };
28260
28261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",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 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28267
28268 wxPyEndAllowThreads(__tstate);
28269 if (PyErr_Occurred()) SWIG_fail;
28270 }
28271 resultobj = result;
28272 return resultobj;
28273 fail:
28274 return NULL;
28275 }
28276
28277
28278 static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28279 PyObject *resultobj;
28280 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28281 double result;
28282 PyObject * obj0 = 0 ;
28283 char *kwnames[] = {
28284 (char *) "self", NULL
28285 };
28286
28287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
28288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28290 {
28291 PyThreadState* __tstate = wxPyBeginAllowThreads();
28292 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28293
28294 wxPyEndAllowThreads(__tstate);
28295 if (PyErr_Occurred()) SWIG_fail;
28296 }
28297 resultobj = SWIG_FromDouble((double)result);
28298 return resultobj;
28299 fail:
28300 return NULL;
28301 }
28302
28303
28304 static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28305 PyObject *resultobj;
28306 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28307 double result;
28308 PyObject * obj0 = 0 ;
28309 char *kwnames[] = {
28310 (char *) "self", NULL
28311 };
28312
28313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
28314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28316 {
28317 PyThreadState* __tstate = wxPyBeginAllowThreads();
28318 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28319
28320 wxPyEndAllowThreads(__tstate);
28321 if (PyErr_Occurred()) SWIG_fail;
28322 }
28323 resultobj = SWIG_FromDouble((double)result);
28324 return resultobj;
28325 fail:
28326 return NULL;
28327 }
28328
28329
28330 static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28331 PyObject *resultobj;
28332 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28333 double arg2 ;
28334 PyObject * obj0 = 0 ;
28335 PyObject * obj1 = 0 ;
28336 char *kwnames[] = {
28337 (char *) "self",(char *) "w", NULL
28338 };
28339
28340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
28341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28343 arg2 = (double) SWIG_AsDouble(obj1);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 {
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
28347 (arg1)->SetOriginalWidth(arg2);
28348
28349 wxPyEndAllowThreads(__tstate);
28350 if (PyErr_Occurred()) SWIG_fail;
28351 }
28352 Py_INCREF(Py_None); resultobj = Py_None;
28353 return resultobj;
28354 fail:
28355 return NULL;
28356 }
28357
28358
28359 static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28360 PyObject *resultobj;
28361 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28362 double arg2 ;
28363 PyObject * obj0 = 0 ;
28364 PyObject * obj1 = 0 ;
28365 char *kwnames[] = {
28366 (char *) "self",(char *) "h", NULL
28367 };
28368
28369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
28370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28372 arg2 = (double) SWIG_AsDouble(obj1);
28373 if (PyErr_Occurred()) SWIG_fail;
28374 {
28375 PyThreadState* __tstate = wxPyBeginAllowThreads();
28376 (arg1)->SetOriginalHeight(arg2);
28377
28378 wxPyEndAllowThreads(__tstate);
28379 if (PyErr_Occurred()) SWIG_fail;
28380 }
28381 Py_INCREF(Py_None); resultobj = Py_None;
28382 return resultobj;
28383 fail:
28384 return NULL;
28385 }
28386
28387
28388 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28389 PyObject *resultobj;
28390 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28391 PyObject * obj0 = 0 ;
28392 char *kwnames[] = {
28393 (char *) "self", NULL
28394 };
28395
28396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",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 (arg1)->UpdateOriginalPoints();
28402
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 Py_INCREF(Py_None); resultobj = Py_None;
28407 return resultobj;
28408 fail:
28409 return NULL;
28410 }
28411
28412
28413 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
28414 PyObject *resultobj;
28415 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28416 wxDC *arg2 = 0 ;
28417 PyObject * obj0 = 0 ;
28418 PyObject * obj1 = 0 ;
28419 char *kwnames[] = {
28420 (char *) "self",(char *) "dc", NULL
28421 };
28422
28423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
28424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28427 SWIG_POINTER_EXCEPTION | 0)) == -1)
28428 SWIG_fail;
28429 if (arg2 == NULL) {
28430 PyErr_SetString(PyExc_TypeError,"null reference");
28431 SWIG_fail;
28432 }
28433 {
28434 PyThreadState* __tstate = wxPyBeginAllowThreads();
28435 (arg1)->base_OnDraw(*arg2);
28436
28437 wxPyEndAllowThreads(__tstate);
28438 if (PyErr_Occurred()) SWIG_fail;
28439 }
28440 Py_INCREF(Py_None); resultobj = Py_None;
28441 return resultobj;
28442 fail:
28443 return NULL;
28444 }
28445
28446
28447 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28448 PyObject *resultobj;
28449 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28450 wxDC *arg2 = 0 ;
28451 PyObject * obj0 = 0 ;
28452 PyObject * obj1 = 0 ;
28453 char *kwnames[] = {
28454 (char *) "self",(char *) "dc", NULL
28455 };
28456
28457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
28458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28461 SWIG_POINTER_EXCEPTION | 0)) == -1)
28462 SWIG_fail;
28463 if (arg2 == NULL) {
28464 PyErr_SetString(PyExc_TypeError,"null reference");
28465 SWIG_fail;
28466 }
28467 {
28468 PyThreadState* __tstate = wxPyBeginAllowThreads();
28469 (arg1)->base_OnDrawContents(*arg2);
28470
28471 wxPyEndAllowThreads(__tstate);
28472 if (PyErr_Occurred()) SWIG_fail;
28473 }
28474 Py_INCREF(Py_None); resultobj = Py_None;
28475 return resultobj;
28476 fail:
28477 return NULL;
28478 }
28479
28480
28481 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
28482 PyObject *resultobj;
28483 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28484 wxDC *arg2 = 0 ;
28485 bool arg3 = (bool) FALSE ;
28486 PyObject * obj0 = 0 ;
28487 PyObject * obj1 = 0 ;
28488 PyObject * obj2 = 0 ;
28489 char *kwnames[] = {
28490 (char *) "self",(char *) "dc",(char *) "erase", NULL
28491 };
28492
28493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
28494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28497 SWIG_POINTER_EXCEPTION | 0)) == -1)
28498 SWIG_fail;
28499 if (arg2 == NULL) {
28500 PyErr_SetString(PyExc_TypeError,"null reference");
28501 SWIG_fail;
28502 }
28503 if (obj2) {
28504 arg3 = (bool) SWIG_AsBool(obj2);
28505 if (PyErr_Occurred()) SWIG_fail;
28506 }
28507 {
28508 PyThreadState* __tstate = wxPyBeginAllowThreads();
28509 (arg1)->base_OnDrawBranches(*arg2,arg3);
28510
28511 wxPyEndAllowThreads(__tstate);
28512 if (PyErr_Occurred()) SWIG_fail;
28513 }
28514 Py_INCREF(Py_None); resultobj = Py_None;
28515 return resultobj;
28516 fail:
28517 return NULL;
28518 }
28519
28520
28521 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
28522 PyObject *resultobj;
28523 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28524 wxDC *arg2 = 0 ;
28525 PyObject * obj0 = 0 ;
28526 PyObject * obj1 = 0 ;
28527 char *kwnames[] = {
28528 (char *) "self",(char *) "dc", NULL
28529 };
28530
28531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
28532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28535 SWIG_POINTER_EXCEPTION | 0)) == -1)
28536 SWIG_fail;
28537 if (arg2 == NULL) {
28538 PyErr_SetString(PyExc_TypeError,"null reference");
28539 SWIG_fail;
28540 }
28541 {
28542 PyThreadState* __tstate = wxPyBeginAllowThreads();
28543 (arg1)->base_OnMoveLinks(*arg2);
28544
28545 wxPyEndAllowThreads(__tstate);
28546 if (PyErr_Occurred()) SWIG_fail;
28547 }
28548 Py_INCREF(Py_None); resultobj = Py_None;
28549 return resultobj;
28550 fail:
28551 return NULL;
28552 }
28553
28554
28555 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
28556 PyObject *resultobj;
28557 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28558 wxDC *arg2 = 0 ;
28559 PyObject * obj0 = 0 ;
28560 PyObject * obj1 = 0 ;
28561 char *kwnames[] = {
28562 (char *) "self",(char *) "dc", NULL
28563 };
28564
28565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
28566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28569 SWIG_POINTER_EXCEPTION | 0)) == -1)
28570 SWIG_fail;
28571 if (arg2 == NULL) {
28572 PyErr_SetString(PyExc_TypeError,"null reference");
28573 SWIG_fail;
28574 }
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 (arg1)->base_OnErase(*arg2);
28578
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 Py_INCREF(Py_None); resultobj = Py_None;
28583 return resultobj;
28584 fail:
28585 return NULL;
28586 }
28587
28588
28589 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28590 PyObject *resultobj;
28591 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28592 wxDC *arg2 = 0 ;
28593 PyObject * obj0 = 0 ;
28594 PyObject * obj1 = 0 ;
28595 char *kwnames[] = {
28596 (char *) "self",(char *) "dc", NULL
28597 };
28598
28599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
28600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28603 SWIG_POINTER_EXCEPTION | 0)) == -1)
28604 SWIG_fail;
28605 if (arg2 == NULL) {
28606 PyErr_SetString(PyExc_TypeError,"null reference");
28607 SWIG_fail;
28608 }
28609 {
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 (arg1)->base_OnEraseContents(*arg2);
28612
28613 wxPyEndAllowThreads(__tstate);
28614 if (PyErr_Occurred()) SWIG_fail;
28615 }
28616 Py_INCREF(Py_None); resultobj = Py_None;
28617 return resultobj;
28618 fail:
28619 return NULL;
28620 }
28621
28622
28623 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
28624 PyObject *resultobj;
28625 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28626 wxDC *arg2 = 0 ;
28627 PyObject * obj0 = 0 ;
28628 PyObject * obj1 = 0 ;
28629 char *kwnames[] = {
28630 (char *) "self",(char *) "dc", NULL
28631 };
28632
28633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
28634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28637 SWIG_POINTER_EXCEPTION | 0)) == -1)
28638 SWIG_fail;
28639 if (arg2 == NULL) {
28640 PyErr_SetString(PyExc_TypeError,"null reference");
28641 SWIG_fail;
28642 }
28643 {
28644 PyThreadState* __tstate = wxPyBeginAllowThreads();
28645 (arg1)->base_OnHighlight(*arg2);
28646
28647 wxPyEndAllowThreads(__tstate);
28648 if (PyErr_Occurred()) SWIG_fail;
28649 }
28650 Py_INCREF(Py_None); resultobj = Py_None;
28651 return resultobj;
28652 fail:
28653 return NULL;
28654 }
28655
28656
28657 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28658 PyObject *resultobj;
28659 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28660 double arg2 ;
28661 double arg3 ;
28662 int arg4 = (int) 0 ;
28663 int arg5 = (int) 0 ;
28664 PyObject * obj0 = 0 ;
28665 PyObject * obj1 = 0 ;
28666 PyObject * obj2 = 0 ;
28667 PyObject * obj3 = 0 ;
28668 PyObject * obj4 = 0 ;
28669 char *kwnames[] = {
28670 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28671 };
28672
28673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28676 arg2 = (double) SWIG_AsDouble(obj1);
28677 if (PyErr_Occurred()) SWIG_fail;
28678 arg3 = (double) SWIG_AsDouble(obj2);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 if (obj3) {
28681 arg4 = (int) SWIG_AsInt(obj3);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 if (obj4) {
28685 arg5 = (int) SWIG_AsInt(obj4);
28686 if (PyErr_Occurred()) SWIG_fail;
28687 }
28688 {
28689 PyThreadState* __tstate = wxPyBeginAllowThreads();
28690 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
28691
28692 wxPyEndAllowThreads(__tstate);
28693 if (PyErr_Occurred()) SWIG_fail;
28694 }
28695 Py_INCREF(Py_None); resultobj = Py_None;
28696 return resultobj;
28697 fail:
28698 return NULL;
28699 }
28700
28701
28702 static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28703 PyObject *resultobj;
28704 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28705 double arg2 ;
28706 double arg3 ;
28707 int arg4 = (int) 0 ;
28708 int arg5 = (int) 0 ;
28709 PyObject * obj0 = 0 ;
28710 PyObject * obj1 = 0 ;
28711 PyObject * obj2 = 0 ;
28712 PyObject * obj3 = 0 ;
28713 PyObject * obj4 = 0 ;
28714 char *kwnames[] = {
28715 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28716 };
28717
28718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28721 arg2 = (double) SWIG_AsDouble(obj1);
28722 if (PyErr_Occurred()) SWIG_fail;
28723 arg3 = (double) SWIG_AsDouble(obj2);
28724 if (PyErr_Occurred()) SWIG_fail;
28725 if (obj3) {
28726 arg4 = (int) SWIG_AsInt(obj3);
28727 if (PyErr_Occurred()) SWIG_fail;
28728 }
28729 if (obj4) {
28730 arg5 = (int) SWIG_AsInt(obj4);
28731 if (PyErr_Occurred()) SWIG_fail;
28732 }
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
28736
28737 wxPyEndAllowThreads(__tstate);
28738 if (PyErr_Occurred()) SWIG_fail;
28739 }
28740 Py_INCREF(Py_None); resultobj = Py_None;
28741 return resultobj;
28742 fail:
28743 return NULL;
28744 }
28745
28746
28747 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28748 PyObject *resultobj;
28749 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28750 double arg2 ;
28751 double arg3 ;
28752 int arg4 = (int) 0 ;
28753 int arg5 = (int) 0 ;
28754 PyObject * obj0 = 0 ;
28755 PyObject * obj1 = 0 ;
28756 PyObject * obj2 = 0 ;
28757 PyObject * obj3 = 0 ;
28758 PyObject * obj4 = 0 ;
28759 char *kwnames[] = {
28760 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28761 };
28762
28763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28766 arg2 = (double) SWIG_AsDouble(obj1);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 arg3 = (double) SWIG_AsDouble(obj2);
28769 if (PyErr_Occurred()) SWIG_fail;
28770 if (obj3) {
28771 arg4 = (int) SWIG_AsInt(obj3);
28772 if (PyErr_Occurred()) SWIG_fail;
28773 }
28774 if (obj4) {
28775 arg5 = (int) SWIG_AsInt(obj4);
28776 if (PyErr_Occurred()) SWIG_fail;
28777 }
28778 {
28779 PyThreadState* __tstate = wxPyBeginAllowThreads();
28780 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
28781
28782 wxPyEndAllowThreads(__tstate);
28783 if (PyErr_Occurred()) SWIG_fail;
28784 }
28785 Py_INCREF(Py_None); resultobj = Py_None;
28786 return resultobj;
28787 fail:
28788 return NULL;
28789 }
28790
28791
28792 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28793 PyObject *resultobj;
28794 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28795 double arg2 ;
28796 double arg3 ;
28797 PyObject * obj0 = 0 ;
28798 PyObject * obj1 = 0 ;
28799 PyObject * obj2 = 0 ;
28800 char *kwnames[] = {
28801 (char *) "self",(char *) "x",(char *) "y", NULL
28802 };
28803
28804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28807 arg2 = (double) SWIG_AsDouble(obj1);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 arg3 = (double) SWIG_AsDouble(obj2);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 (arg1)->base_OnSize(arg2,arg3);
28814
28815 wxPyEndAllowThreads(__tstate);
28816 if (PyErr_Occurred()) SWIG_fail;
28817 }
28818 Py_INCREF(Py_None); resultobj = Py_None;
28819 return resultobj;
28820 fail:
28821 return NULL;
28822 }
28823
28824
28825 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
28826 PyObject *resultobj;
28827 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28828 wxDC *arg2 = 0 ;
28829 double arg3 ;
28830 double arg4 ;
28831 double arg5 ;
28832 double arg6 ;
28833 bool arg7 = (bool) True ;
28834 bool result;
28835 PyObject * obj0 = 0 ;
28836 PyObject * obj1 = 0 ;
28837 PyObject * obj2 = 0 ;
28838 PyObject * obj3 = 0 ;
28839 PyObject * obj4 = 0 ;
28840 PyObject * obj5 = 0 ;
28841 PyObject * obj6 = 0 ;
28842 char *kwnames[] = {
28843 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28844 };
28845
28846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28850 SWIG_POINTER_EXCEPTION | 0)) == -1)
28851 SWIG_fail;
28852 if (arg2 == NULL) {
28853 PyErr_SetString(PyExc_TypeError,"null reference");
28854 SWIG_fail;
28855 }
28856 arg3 = (double) SWIG_AsDouble(obj2);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 arg4 = (double) SWIG_AsDouble(obj3);
28859 if (PyErr_Occurred()) SWIG_fail;
28860 arg5 = (double) SWIG_AsDouble(obj4);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 arg6 = (double) SWIG_AsDouble(obj5);
28863 if (PyErr_Occurred()) SWIG_fail;
28864 if (obj6) {
28865 arg7 = (bool) SWIG_AsBool(obj6);
28866 if (PyErr_Occurred()) SWIG_fail;
28867 }
28868 {
28869 PyThreadState* __tstate = wxPyBeginAllowThreads();
28870 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
28871
28872 wxPyEndAllowThreads(__tstate);
28873 if (PyErr_Occurred()) SWIG_fail;
28874 }
28875 {
28876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28877 }
28878 return resultobj;
28879 fail:
28880 return NULL;
28881 }
28882
28883
28884 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
28885 PyObject *resultobj;
28886 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28887 wxDC *arg2 = 0 ;
28888 double arg3 ;
28889 double arg4 ;
28890 double arg5 ;
28891 double arg6 ;
28892 bool arg7 = (bool) True ;
28893 PyObject * obj0 = 0 ;
28894 PyObject * obj1 = 0 ;
28895 PyObject * obj2 = 0 ;
28896 PyObject * obj3 = 0 ;
28897 PyObject * obj4 = 0 ;
28898 PyObject * obj5 = 0 ;
28899 PyObject * obj6 = 0 ;
28900 char *kwnames[] = {
28901 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28902 };
28903
28904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28908 SWIG_POINTER_EXCEPTION | 0)) == -1)
28909 SWIG_fail;
28910 if (arg2 == NULL) {
28911 PyErr_SetString(PyExc_TypeError,"null reference");
28912 SWIG_fail;
28913 }
28914 arg3 = (double) SWIG_AsDouble(obj2);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 arg4 = (double) SWIG_AsDouble(obj3);
28917 if (PyErr_Occurred()) SWIG_fail;
28918 arg5 = (double) SWIG_AsDouble(obj4);
28919 if (PyErr_Occurred()) SWIG_fail;
28920 arg6 = (double) SWIG_AsDouble(obj5);
28921 if (PyErr_Occurred()) SWIG_fail;
28922 if (obj6) {
28923 arg7 = (bool) SWIG_AsBool(obj6);
28924 if (PyErr_Occurred()) SWIG_fail;
28925 }
28926 {
28927 PyThreadState* __tstate = wxPyBeginAllowThreads();
28928 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
28929
28930 wxPyEndAllowThreads(__tstate);
28931 if (PyErr_Occurred()) SWIG_fail;
28932 }
28933 Py_INCREF(Py_None); resultobj = Py_None;
28934 return resultobj;
28935 fail:
28936 return NULL;
28937 }
28938
28939
28940 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28941 PyObject *resultobj;
28942 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28943 bool arg2 ;
28944 double arg3 ;
28945 double arg4 ;
28946 int arg5 = (int) 0 ;
28947 int arg6 = (int) 0 ;
28948 PyObject * obj0 = 0 ;
28949 PyObject * obj1 = 0 ;
28950 PyObject * obj2 = 0 ;
28951 PyObject * obj3 = 0 ;
28952 PyObject * obj4 = 0 ;
28953 PyObject * obj5 = 0 ;
28954 char *kwnames[] = {
28955 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28956 };
28957
28958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28961 arg2 = (bool) SWIG_AsBool(obj1);
28962 if (PyErr_Occurred()) SWIG_fail;
28963 arg3 = (double) SWIG_AsDouble(obj2);
28964 if (PyErr_Occurred()) SWIG_fail;
28965 arg4 = (double) SWIG_AsDouble(obj3);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 if (obj4) {
28968 arg5 = (int) SWIG_AsInt(obj4);
28969 if (PyErr_Occurred()) SWIG_fail;
28970 }
28971 if (obj5) {
28972 arg6 = (int) SWIG_AsInt(obj5);
28973 if (PyErr_Occurred()) SWIG_fail;
28974 }
28975 {
28976 PyThreadState* __tstate = wxPyBeginAllowThreads();
28977 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
28978
28979 wxPyEndAllowThreads(__tstate);
28980 if (PyErr_Occurred()) SWIG_fail;
28981 }
28982 Py_INCREF(Py_None); resultobj = Py_None;
28983 return resultobj;
28984 fail:
28985 return NULL;
28986 }
28987
28988
28989 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28990 PyObject *resultobj;
28991 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28992 double arg2 ;
28993 double arg3 ;
28994 int arg4 = (int) 0 ;
28995 int arg5 = (int) 0 ;
28996 PyObject * obj0 = 0 ;
28997 PyObject * obj1 = 0 ;
28998 PyObject * obj2 = 0 ;
28999 PyObject * obj3 = 0 ;
29000 PyObject * obj4 = 0 ;
29001 char *kwnames[] = {
29002 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29003 };
29004
29005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29008 arg2 = (double) SWIG_AsDouble(obj1);
29009 if (PyErr_Occurred()) SWIG_fail;
29010 arg3 = (double) SWIG_AsDouble(obj2);
29011 if (PyErr_Occurred()) SWIG_fail;
29012 if (obj3) {
29013 arg4 = (int) SWIG_AsInt(obj3);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 if (obj4) {
29017 arg5 = (int) SWIG_AsInt(obj4);
29018 if (PyErr_Occurred()) SWIG_fail;
29019 }
29020 {
29021 PyThreadState* __tstate = wxPyBeginAllowThreads();
29022 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
29023
29024 wxPyEndAllowThreads(__tstate);
29025 if (PyErr_Occurred()) SWIG_fail;
29026 }
29027 Py_INCREF(Py_None); resultobj = Py_None;
29028 return resultobj;
29029 fail:
29030 return NULL;
29031 }
29032
29033
29034 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29035 PyObject *resultobj;
29036 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29037 double arg2 ;
29038 double arg3 ;
29039 int arg4 = (int) 0 ;
29040 int arg5 = (int) 0 ;
29041 PyObject * obj0 = 0 ;
29042 PyObject * obj1 = 0 ;
29043 PyObject * obj2 = 0 ;
29044 PyObject * obj3 = 0 ;
29045 PyObject * obj4 = 0 ;
29046 char *kwnames[] = {
29047 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29048 };
29049
29050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29053 arg2 = (double) SWIG_AsDouble(obj1);
29054 if (PyErr_Occurred()) SWIG_fail;
29055 arg3 = (double) SWIG_AsDouble(obj2);
29056 if (PyErr_Occurred()) SWIG_fail;
29057 if (obj3) {
29058 arg4 = (int) SWIG_AsInt(obj3);
29059 if (PyErr_Occurred()) SWIG_fail;
29060 }
29061 if (obj4) {
29062 arg5 = (int) SWIG_AsInt(obj4);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 {
29066 PyThreadState* __tstate = wxPyBeginAllowThreads();
29067 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
29068
29069 wxPyEndAllowThreads(__tstate);
29070 if (PyErr_Occurred()) SWIG_fail;
29071 }
29072 Py_INCREF(Py_None); resultobj = Py_None;
29073 return resultobj;
29074 fail:
29075 return NULL;
29076 }
29077
29078
29079 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29080 PyObject *resultobj;
29081 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29082 bool arg2 ;
29083 double arg3 ;
29084 double arg4 ;
29085 int arg5 = (int) 0 ;
29086 int arg6 = (int) 0 ;
29087 PyObject * obj0 = 0 ;
29088 PyObject * obj1 = 0 ;
29089 PyObject * obj2 = 0 ;
29090 PyObject * obj3 = 0 ;
29091 PyObject * obj4 = 0 ;
29092 PyObject * obj5 = 0 ;
29093 char *kwnames[] = {
29094 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29095 };
29096
29097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29100 arg2 = (bool) SWIG_AsBool(obj1);
29101 if (PyErr_Occurred()) SWIG_fail;
29102 arg3 = (double) SWIG_AsDouble(obj2);
29103 if (PyErr_Occurred()) SWIG_fail;
29104 arg4 = (double) SWIG_AsDouble(obj3);
29105 if (PyErr_Occurred()) SWIG_fail;
29106 if (obj4) {
29107 arg5 = (int) SWIG_AsInt(obj4);
29108 if (PyErr_Occurred()) SWIG_fail;
29109 }
29110 if (obj5) {
29111 arg6 = (int) SWIG_AsInt(obj5);
29112 if (PyErr_Occurred()) SWIG_fail;
29113 }
29114 {
29115 PyThreadState* __tstate = wxPyBeginAllowThreads();
29116 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29117
29118 wxPyEndAllowThreads(__tstate);
29119 if (PyErr_Occurred()) SWIG_fail;
29120 }
29121 Py_INCREF(Py_None); resultobj = Py_None;
29122 return resultobj;
29123 fail:
29124 return NULL;
29125 }
29126
29127
29128 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29129 PyObject *resultobj;
29130 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29131 double arg2 ;
29132 double arg3 ;
29133 int arg4 = (int) 0 ;
29134 int arg5 = (int) 0 ;
29135 PyObject * obj0 = 0 ;
29136 PyObject * obj1 = 0 ;
29137 PyObject * obj2 = 0 ;
29138 PyObject * obj3 = 0 ;
29139 PyObject * obj4 = 0 ;
29140 char *kwnames[] = {
29141 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29142 };
29143
29144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29147 arg2 = (double) SWIG_AsDouble(obj1);
29148 if (PyErr_Occurred()) SWIG_fail;
29149 arg3 = (double) SWIG_AsDouble(obj2);
29150 if (PyErr_Occurred()) SWIG_fail;
29151 if (obj3) {
29152 arg4 = (int) SWIG_AsInt(obj3);
29153 if (PyErr_Occurred()) SWIG_fail;
29154 }
29155 if (obj4) {
29156 arg5 = (int) SWIG_AsInt(obj4);
29157 if (PyErr_Occurred()) SWIG_fail;
29158 }
29159 {
29160 PyThreadState* __tstate = wxPyBeginAllowThreads();
29161 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29162
29163 wxPyEndAllowThreads(__tstate);
29164 if (PyErr_Occurred()) SWIG_fail;
29165 }
29166 Py_INCREF(Py_None); resultobj = Py_None;
29167 return resultobj;
29168 fail:
29169 return NULL;
29170 }
29171
29172
29173 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29174 PyObject *resultobj;
29175 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29176 double arg2 ;
29177 double arg3 ;
29178 int arg4 = (int) 0 ;
29179 int arg5 = (int) 0 ;
29180 PyObject * obj0 = 0 ;
29181 PyObject * obj1 = 0 ;
29182 PyObject * obj2 = 0 ;
29183 PyObject * obj3 = 0 ;
29184 PyObject * obj4 = 0 ;
29185 char *kwnames[] = {
29186 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29187 };
29188
29189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29192 arg2 = (double) SWIG_AsDouble(obj1);
29193 if (PyErr_Occurred()) SWIG_fail;
29194 arg3 = (double) SWIG_AsDouble(obj2);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 if (obj3) {
29197 arg4 = (int) SWIG_AsInt(obj3);
29198 if (PyErr_Occurred()) SWIG_fail;
29199 }
29200 if (obj4) {
29201 arg5 = (int) SWIG_AsInt(obj4);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 {
29205 PyThreadState* __tstate = wxPyBeginAllowThreads();
29206 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29207
29208 wxPyEndAllowThreads(__tstate);
29209 if (PyErr_Occurred()) SWIG_fail;
29210 }
29211 Py_INCREF(Py_None); resultobj = Py_None;
29212 return resultobj;
29213 fail:
29214 return NULL;
29215 }
29216
29217
29218 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
29219 PyObject *resultobj;
29220 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29221 wxDC *arg2 = 0 ;
29222 double arg3 ;
29223 double arg4 ;
29224 double arg5 ;
29225 double arg6 ;
29226 PyObject * obj0 = 0 ;
29227 PyObject * obj1 = 0 ;
29228 PyObject * obj2 = 0 ;
29229 PyObject * obj3 = 0 ;
29230 PyObject * obj4 = 0 ;
29231 PyObject * obj5 = 0 ;
29232 char *kwnames[] = {
29233 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29234 };
29235
29236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29240 SWIG_POINTER_EXCEPTION | 0)) == -1)
29241 SWIG_fail;
29242 if (arg2 == NULL) {
29243 PyErr_SetString(PyExc_TypeError,"null reference");
29244 SWIG_fail;
29245 }
29246 arg3 = (double) SWIG_AsDouble(obj2);
29247 if (PyErr_Occurred()) SWIG_fail;
29248 arg4 = (double) SWIG_AsDouble(obj3);
29249 if (PyErr_Occurred()) SWIG_fail;
29250 arg5 = (double) SWIG_AsDouble(obj4);
29251 if (PyErr_Occurred()) SWIG_fail;
29252 arg6 = (double) SWIG_AsDouble(obj5);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 {
29255 PyThreadState* __tstate = wxPyBeginAllowThreads();
29256 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29257
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
29261 Py_INCREF(Py_None); resultobj = Py_None;
29262 return resultobj;
29263 fail:
29264 return NULL;
29265 }
29266
29267
29268 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29269 PyObject *resultobj;
29270 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29271 wxDC *arg2 = 0 ;
29272 PyObject * obj0 = 0 ;
29273 PyObject * obj1 = 0 ;
29274 char *kwnames[] = {
29275 (char *) "self",(char *) "dc", NULL
29276 };
29277
29278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
29279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29282 SWIG_POINTER_EXCEPTION | 0)) == -1)
29283 SWIG_fail;
29284 if (arg2 == NULL) {
29285 PyErr_SetString(PyExc_TypeError,"null reference");
29286 SWIG_fail;
29287 }
29288 {
29289 PyThreadState* __tstate = wxPyBeginAllowThreads();
29290 (arg1)->base_OnDrawControlPoints(*arg2);
29291
29292 wxPyEndAllowThreads(__tstate);
29293 if (PyErr_Occurred()) SWIG_fail;
29294 }
29295 Py_INCREF(Py_None); resultobj = Py_None;
29296 return resultobj;
29297 fail:
29298 return NULL;
29299 }
29300
29301
29302 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29303 PyObject *resultobj;
29304 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29305 wxDC *arg2 = 0 ;
29306 PyObject * obj0 = 0 ;
29307 PyObject * obj1 = 0 ;
29308 char *kwnames[] = {
29309 (char *) "self",(char *) "dc", NULL
29310 };
29311
29312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
29313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29316 SWIG_POINTER_EXCEPTION | 0)) == -1)
29317 SWIG_fail;
29318 if (arg2 == NULL) {
29319 PyErr_SetString(PyExc_TypeError,"null reference");
29320 SWIG_fail;
29321 }
29322 {
29323 PyThreadState* __tstate = wxPyBeginAllowThreads();
29324 (arg1)->base_OnEraseControlPoints(*arg2);
29325
29326 wxPyEndAllowThreads(__tstate);
29327 if (PyErr_Occurred()) SWIG_fail;
29328 }
29329 Py_INCREF(Py_None); resultobj = Py_None;
29330 return resultobj;
29331 fail:
29332 return NULL;
29333 }
29334
29335
29336 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29337 PyObject *resultobj;
29338 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29339 wxDC *arg2 = 0 ;
29340 bool arg3 = (bool) True ;
29341 PyObject * obj0 = 0 ;
29342 PyObject * obj1 = 0 ;
29343 PyObject * obj2 = 0 ;
29344 char *kwnames[] = {
29345 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29346 };
29347
29348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
29349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29352 SWIG_POINTER_EXCEPTION | 0)) == -1)
29353 SWIG_fail;
29354 if (arg2 == NULL) {
29355 PyErr_SetString(PyExc_TypeError,"null reference");
29356 SWIG_fail;
29357 }
29358 if (obj2) {
29359 arg3 = (bool) SWIG_AsBool(obj2);
29360 if (PyErr_Occurred()) SWIG_fail;
29361 }
29362 {
29363 PyThreadState* __tstate = wxPyBeginAllowThreads();
29364 (arg1)->base_OnMoveLink(*arg2,arg3);
29365
29366 wxPyEndAllowThreads(__tstate);
29367 if (PyErr_Occurred()) SWIG_fail;
29368 }
29369 Py_INCREF(Py_None); resultobj = Py_None;
29370 return resultobj;
29371 fail:
29372 return NULL;
29373 }
29374
29375
29376 static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29377 PyObject *resultobj;
29378 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29379 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29380 bool arg3 ;
29381 double arg4 ;
29382 double arg5 ;
29383 int arg6 = (int) 0 ;
29384 int arg7 = (int) 0 ;
29385 PyObject * obj0 = 0 ;
29386 PyObject * obj1 = 0 ;
29387 PyObject * obj2 = 0 ;
29388 PyObject * obj3 = 0 ;
29389 PyObject * obj4 = 0 ;
29390 PyObject * obj5 = 0 ;
29391 PyObject * obj6 = 0 ;
29392 char *kwnames[] = {
29393 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29394 };
29395
29396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29401 arg3 = (bool) SWIG_AsBool(obj2);
29402 if (PyErr_Occurred()) SWIG_fail;
29403 arg4 = (double) SWIG_AsDouble(obj3);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 arg5 = (double) SWIG_AsDouble(obj4);
29406 if (PyErr_Occurred()) SWIG_fail;
29407 if (obj5) {
29408 arg6 = (int) SWIG_AsInt(obj5);
29409 if (PyErr_Occurred()) SWIG_fail;
29410 }
29411 if (obj6) {
29412 arg7 = (int) SWIG_AsInt(obj6);
29413 if (PyErr_Occurred()) SWIG_fail;
29414 }
29415 {
29416 PyThreadState* __tstate = wxPyBeginAllowThreads();
29417 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
29418
29419 wxPyEndAllowThreads(__tstate);
29420 if (PyErr_Occurred()) SWIG_fail;
29421 }
29422 Py_INCREF(Py_None); resultobj = Py_None;
29423 return resultobj;
29424 fail:
29425 return NULL;
29426 }
29427
29428
29429 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29430 PyObject *resultobj;
29431 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29432 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29433 double arg3 ;
29434 double arg4 ;
29435 int arg5 = (int) 0 ;
29436 int arg6 = (int) 0 ;
29437 PyObject * obj0 = 0 ;
29438 PyObject * obj1 = 0 ;
29439 PyObject * obj2 = 0 ;
29440 PyObject * obj3 = 0 ;
29441 PyObject * obj4 = 0 ;
29442 PyObject * obj5 = 0 ;
29443 char *kwnames[] = {
29444 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29445 };
29446
29447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29452 arg3 = (double) SWIG_AsDouble(obj2);
29453 if (PyErr_Occurred()) SWIG_fail;
29454 arg4 = (double) SWIG_AsDouble(obj3);
29455 if (PyErr_Occurred()) SWIG_fail;
29456 if (obj4) {
29457 arg5 = (int) SWIG_AsInt(obj4);
29458 if (PyErr_Occurred()) SWIG_fail;
29459 }
29460 if (obj5) {
29461 arg6 = (int) SWIG_AsInt(obj5);
29462 if (PyErr_Occurred()) SWIG_fail;
29463 }
29464 {
29465 PyThreadState* __tstate = wxPyBeginAllowThreads();
29466 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
29467
29468 wxPyEndAllowThreads(__tstate);
29469 if (PyErr_Occurred()) SWIG_fail;
29470 }
29471 Py_INCREF(Py_None); resultobj = Py_None;
29472 return resultobj;
29473 fail:
29474 return NULL;
29475 }
29476
29477
29478 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29479 PyObject *resultobj;
29480 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29481 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29482 double arg3 ;
29483 double arg4 ;
29484 int arg5 = (int) 0 ;
29485 int arg6 = (int) 0 ;
29486 PyObject * obj0 = 0 ;
29487 PyObject * obj1 = 0 ;
29488 PyObject * obj2 = 0 ;
29489 PyObject * obj3 = 0 ;
29490 PyObject * obj4 = 0 ;
29491 PyObject * obj5 = 0 ;
29492 char *kwnames[] = {
29493 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29494 };
29495
29496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29501 arg3 = (double) SWIG_AsDouble(obj2);
29502 if (PyErr_Occurred()) SWIG_fail;
29503 arg4 = (double) SWIG_AsDouble(obj3);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 if (obj4) {
29506 arg5 = (int) SWIG_AsInt(obj4);
29507 if (PyErr_Occurred()) SWIG_fail;
29508 }
29509 if (obj5) {
29510 arg6 = (int) SWIG_AsInt(obj5);
29511 if (PyErr_Occurred()) SWIG_fail;
29512 }
29513 {
29514 PyThreadState* __tstate = wxPyBeginAllowThreads();
29515 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
29516
29517 wxPyEndAllowThreads(__tstate);
29518 if (PyErr_Occurred()) SWIG_fail;
29519 }
29520 Py_INCREF(Py_None); resultobj = Py_None;
29521 return resultobj;
29522 fail:
29523 return NULL;
29524 }
29525
29526
29527 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29528 PyObject *resultobj;
29529 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29530 double arg2 ;
29531 double arg3 ;
29532 PyObject * obj0 = 0 ;
29533 PyObject * obj1 = 0 ;
29534 PyObject * obj2 = 0 ;
29535 char *kwnames[] = {
29536 (char *) "self",(char *) "w",(char *) "h", NULL
29537 };
29538
29539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29542 arg2 = (double) SWIG_AsDouble(obj1);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 arg3 = (double) SWIG_AsDouble(obj2);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 {
29547 PyThreadState* __tstate = wxPyBeginAllowThreads();
29548 (arg1)->base_OnBeginSize(arg2,arg3);
29549
29550 wxPyEndAllowThreads(__tstate);
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
29553 Py_INCREF(Py_None); resultobj = Py_None;
29554 return resultobj;
29555 fail:
29556 return NULL;
29557 }
29558
29559
29560 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29561 PyObject *resultobj;
29562 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29563 double arg2 ;
29564 double arg3 ;
29565 PyObject * obj0 = 0 ;
29566 PyObject * obj1 = 0 ;
29567 PyObject * obj2 = 0 ;
29568 char *kwnames[] = {
29569 (char *) "self",(char *) "w",(char *) "h", NULL
29570 };
29571
29572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29575 arg2 = (double) SWIG_AsDouble(obj1);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 arg3 = (double) SWIG_AsDouble(obj2);
29578 if (PyErr_Occurred()) SWIG_fail;
29579 {
29580 PyThreadState* __tstate = wxPyBeginAllowThreads();
29581 (arg1)->base_OnEndSize(arg2,arg3);
29582
29583 wxPyEndAllowThreads(__tstate);
29584 if (PyErr_Occurred()) SWIG_fail;
29585 }
29586 Py_INCREF(Py_None); resultobj = Py_None;
29587 return resultobj;
29588 fail:
29589 return NULL;
29590 }
29591
29592
29593 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
29594 PyObject *obj;
29595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29596 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
29597 Py_INCREF(obj);
29598 return Py_BuildValue((char *)"");
29599 }
29600 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
29601 PyObject *resultobj;
29602 double arg1 = (double) 0.0 ;
29603 double arg2 = (double) 0.0 ;
29604 wxPyTextShape *result;
29605 PyObject * obj0 = 0 ;
29606 PyObject * obj1 = 0 ;
29607 char *kwnames[] = {
29608 (char *) "width",(char *) "height", NULL
29609 };
29610
29611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
29612 if (obj0) {
29613 arg1 = (double) SWIG_AsDouble(obj0);
29614 if (PyErr_Occurred()) SWIG_fail;
29615 }
29616 if (obj1) {
29617 arg2 = (double) SWIG_AsDouble(obj1);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 {
29621 PyThreadState* __tstate = wxPyBeginAllowThreads();
29622 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
29623
29624 wxPyEndAllowThreads(__tstate);
29625 if (PyErr_Occurred()) SWIG_fail;
29626 }
29627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
29628 return resultobj;
29629 fail:
29630 return NULL;
29631 }
29632
29633
29634 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29635 PyObject *resultobj;
29636 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29637 PyObject *arg2 = (PyObject *) 0 ;
29638 PyObject *arg3 = (PyObject *) 0 ;
29639 PyObject * obj0 = 0 ;
29640 PyObject * obj1 = 0 ;
29641 PyObject * obj2 = 0 ;
29642 char *kwnames[] = {
29643 (char *) "self",(char *) "self",(char *) "_class", NULL
29644 };
29645
29646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29649 arg2 = obj1;
29650 arg3 = obj2;
29651 {
29652 PyThreadState* __tstate = wxPyBeginAllowThreads();
29653 (arg1)->_setCallbackInfo(arg2,arg3);
29654
29655 wxPyEndAllowThreads(__tstate);
29656 if (PyErr_Occurred()) SWIG_fail;
29657 }
29658 Py_INCREF(Py_None); resultobj = Py_None;
29659 return resultobj;
29660 fail:
29661 return NULL;
29662 }
29663
29664
29665 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
29666 PyObject *resultobj;
29667 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29668 PyObject * obj0 = 0 ;
29669 char *kwnames[] = {
29670 (char *) "self", NULL
29671 };
29672
29673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
29674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29676 {
29677 PyThreadState* __tstate = wxPyBeginAllowThreads();
29678 (arg1)->base_OnDelete();
29679
29680 wxPyEndAllowThreads(__tstate);
29681 if (PyErr_Occurred()) SWIG_fail;
29682 }
29683 Py_INCREF(Py_None); resultobj = Py_None;
29684 return resultobj;
29685 fail:
29686 return NULL;
29687 }
29688
29689
29690 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
29691 PyObject *resultobj;
29692 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29693 wxDC *arg2 = 0 ;
29694 PyObject * obj0 = 0 ;
29695 PyObject * obj1 = 0 ;
29696 char *kwnames[] = {
29697 (char *) "self",(char *) "dc", NULL
29698 };
29699
29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
29701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29704 SWIG_POINTER_EXCEPTION | 0)) == -1)
29705 SWIG_fail;
29706 if (arg2 == NULL) {
29707 PyErr_SetString(PyExc_TypeError,"null reference");
29708 SWIG_fail;
29709 }
29710 {
29711 PyThreadState* __tstate = wxPyBeginAllowThreads();
29712 (arg1)->base_OnDraw(*arg2);
29713
29714 wxPyEndAllowThreads(__tstate);
29715 if (PyErr_Occurred()) SWIG_fail;
29716 }
29717 Py_INCREF(Py_None); resultobj = Py_None;
29718 return resultobj;
29719 fail:
29720 return NULL;
29721 }
29722
29723
29724 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29725 PyObject *resultobj;
29726 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29727 wxDC *arg2 = 0 ;
29728 PyObject * obj0 = 0 ;
29729 PyObject * obj1 = 0 ;
29730 char *kwnames[] = {
29731 (char *) "self",(char *) "dc", NULL
29732 };
29733
29734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
29735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29738 SWIG_POINTER_EXCEPTION | 0)) == -1)
29739 SWIG_fail;
29740 if (arg2 == NULL) {
29741 PyErr_SetString(PyExc_TypeError,"null reference");
29742 SWIG_fail;
29743 }
29744 {
29745 PyThreadState* __tstate = wxPyBeginAllowThreads();
29746 (arg1)->base_OnDrawContents(*arg2);
29747
29748 wxPyEndAllowThreads(__tstate);
29749 if (PyErr_Occurred()) SWIG_fail;
29750 }
29751 Py_INCREF(Py_None); resultobj = Py_None;
29752 return resultobj;
29753 fail:
29754 return NULL;
29755 }
29756
29757
29758 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
29759 PyObject *resultobj;
29760 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29761 wxDC *arg2 = 0 ;
29762 bool arg3 = (bool) FALSE ;
29763 PyObject * obj0 = 0 ;
29764 PyObject * obj1 = 0 ;
29765 PyObject * obj2 = 0 ;
29766 char *kwnames[] = {
29767 (char *) "self",(char *) "dc",(char *) "erase", NULL
29768 };
29769
29770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
29771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29774 SWIG_POINTER_EXCEPTION | 0)) == -1)
29775 SWIG_fail;
29776 if (arg2 == NULL) {
29777 PyErr_SetString(PyExc_TypeError,"null reference");
29778 SWIG_fail;
29779 }
29780 if (obj2) {
29781 arg3 = (bool) SWIG_AsBool(obj2);
29782 if (PyErr_Occurred()) SWIG_fail;
29783 }
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 (arg1)->base_OnDrawBranches(*arg2,arg3);
29787
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 Py_INCREF(Py_None); resultobj = Py_None;
29792 return resultobj;
29793 fail:
29794 return NULL;
29795 }
29796
29797
29798 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
29799 PyObject *resultobj;
29800 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29801 wxDC *arg2 = 0 ;
29802 PyObject * obj0 = 0 ;
29803 PyObject * obj1 = 0 ;
29804 char *kwnames[] = {
29805 (char *) "self",(char *) "dc", NULL
29806 };
29807
29808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
29809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29812 SWIG_POINTER_EXCEPTION | 0)) == -1)
29813 SWIG_fail;
29814 if (arg2 == NULL) {
29815 PyErr_SetString(PyExc_TypeError,"null reference");
29816 SWIG_fail;
29817 }
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 (arg1)->base_OnMoveLinks(*arg2);
29821
29822 wxPyEndAllowThreads(__tstate);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 }
29825 Py_INCREF(Py_None); resultobj = Py_None;
29826 return resultobj;
29827 fail:
29828 return NULL;
29829 }
29830
29831
29832 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
29833 PyObject *resultobj;
29834 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29835 wxDC *arg2 = 0 ;
29836 PyObject * obj0 = 0 ;
29837 PyObject * obj1 = 0 ;
29838 char *kwnames[] = {
29839 (char *) "self",(char *) "dc", NULL
29840 };
29841
29842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
29843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29846 SWIG_POINTER_EXCEPTION | 0)) == -1)
29847 SWIG_fail;
29848 if (arg2 == NULL) {
29849 PyErr_SetString(PyExc_TypeError,"null reference");
29850 SWIG_fail;
29851 }
29852 {
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 (arg1)->base_OnErase(*arg2);
29855
29856 wxPyEndAllowThreads(__tstate);
29857 if (PyErr_Occurred()) SWIG_fail;
29858 }
29859 Py_INCREF(Py_None); resultobj = Py_None;
29860 return resultobj;
29861 fail:
29862 return NULL;
29863 }
29864
29865
29866 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29867 PyObject *resultobj;
29868 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29869 wxDC *arg2 = 0 ;
29870 PyObject * obj0 = 0 ;
29871 PyObject * obj1 = 0 ;
29872 char *kwnames[] = {
29873 (char *) "self",(char *) "dc", NULL
29874 };
29875
29876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
29877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29880 SWIG_POINTER_EXCEPTION | 0)) == -1)
29881 SWIG_fail;
29882 if (arg2 == NULL) {
29883 PyErr_SetString(PyExc_TypeError,"null reference");
29884 SWIG_fail;
29885 }
29886 {
29887 PyThreadState* __tstate = wxPyBeginAllowThreads();
29888 (arg1)->base_OnEraseContents(*arg2);
29889
29890 wxPyEndAllowThreads(__tstate);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 }
29893 Py_INCREF(Py_None); resultobj = Py_None;
29894 return resultobj;
29895 fail:
29896 return NULL;
29897 }
29898
29899
29900 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
29901 PyObject *resultobj;
29902 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29903 wxDC *arg2 = 0 ;
29904 PyObject * obj0 = 0 ;
29905 PyObject * obj1 = 0 ;
29906 char *kwnames[] = {
29907 (char *) "self",(char *) "dc", NULL
29908 };
29909
29910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
29911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29914 SWIG_POINTER_EXCEPTION | 0)) == -1)
29915 SWIG_fail;
29916 if (arg2 == NULL) {
29917 PyErr_SetString(PyExc_TypeError,"null reference");
29918 SWIG_fail;
29919 }
29920 {
29921 PyThreadState* __tstate = wxPyBeginAllowThreads();
29922 (arg1)->base_OnHighlight(*arg2);
29923
29924 wxPyEndAllowThreads(__tstate);
29925 if (PyErr_Occurred()) SWIG_fail;
29926 }
29927 Py_INCREF(Py_None); resultobj = Py_None;
29928 return resultobj;
29929 fail:
29930 return NULL;
29931 }
29932
29933
29934 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29935 PyObject *resultobj;
29936 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29937 double arg2 ;
29938 double arg3 ;
29939 int arg4 = (int) 0 ;
29940 int arg5 = (int) 0 ;
29941 PyObject * obj0 = 0 ;
29942 PyObject * obj1 = 0 ;
29943 PyObject * obj2 = 0 ;
29944 PyObject * obj3 = 0 ;
29945 PyObject * obj4 = 0 ;
29946 char *kwnames[] = {
29947 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29948 };
29949
29950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29953 arg2 = (double) SWIG_AsDouble(obj1);
29954 if (PyErr_Occurred()) SWIG_fail;
29955 arg3 = (double) SWIG_AsDouble(obj2);
29956 if (PyErr_Occurred()) SWIG_fail;
29957 if (obj3) {
29958 arg4 = (int) SWIG_AsInt(obj3);
29959 if (PyErr_Occurred()) SWIG_fail;
29960 }
29961 if (obj4) {
29962 arg5 = (int) SWIG_AsInt(obj4);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 }
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
29968
29969 wxPyEndAllowThreads(__tstate);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
29972 Py_INCREF(Py_None); resultobj = Py_None;
29973 return resultobj;
29974 fail:
29975 return NULL;
29976 }
29977
29978
29979 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29980 PyObject *resultobj;
29981 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29982 double arg2 ;
29983 double arg3 ;
29984 int arg4 = (int) 0 ;
29985 int arg5 = (int) 0 ;
29986 PyObject * obj0 = 0 ;
29987 PyObject * obj1 = 0 ;
29988 PyObject * obj2 = 0 ;
29989 PyObject * obj3 = 0 ;
29990 PyObject * obj4 = 0 ;
29991 char *kwnames[] = {
29992 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29993 };
29994
29995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29998 arg2 = (double) SWIG_AsDouble(obj1);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 arg3 = (double) SWIG_AsDouble(obj2);
30001 if (PyErr_Occurred()) SWIG_fail;
30002 if (obj3) {
30003 arg4 = (int) SWIG_AsInt(obj3);
30004 if (PyErr_Occurred()) SWIG_fail;
30005 }
30006 if (obj4) {
30007 arg5 = (int) SWIG_AsInt(obj4);
30008 if (PyErr_Occurred()) SWIG_fail;
30009 }
30010 {
30011 PyThreadState* __tstate = wxPyBeginAllowThreads();
30012 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30013
30014 wxPyEndAllowThreads(__tstate);
30015 if (PyErr_Occurred()) SWIG_fail;
30016 }
30017 Py_INCREF(Py_None); resultobj = Py_None;
30018 return resultobj;
30019 fail:
30020 return NULL;
30021 }
30022
30023
30024 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30025 PyObject *resultobj;
30026 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30027 double arg2 ;
30028 double arg3 ;
30029 int arg4 = (int) 0 ;
30030 int arg5 = (int) 0 ;
30031 PyObject * obj0 = 0 ;
30032 PyObject * obj1 = 0 ;
30033 PyObject * obj2 = 0 ;
30034 PyObject * obj3 = 0 ;
30035 PyObject * obj4 = 0 ;
30036 char *kwnames[] = {
30037 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30038 };
30039
30040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30043 arg2 = (double) SWIG_AsDouble(obj1);
30044 if (PyErr_Occurred()) SWIG_fail;
30045 arg3 = (double) SWIG_AsDouble(obj2);
30046 if (PyErr_Occurred()) SWIG_fail;
30047 if (obj3) {
30048 arg4 = (int) SWIG_AsInt(obj3);
30049 if (PyErr_Occurred()) SWIG_fail;
30050 }
30051 if (obj4) {
30052 arg5 = (int) SWIG_AsInt(obj4);
30053 if (PyErr_Occurred()) SWIG_fail;
30054 }
30055 {
30056 PyThreadState* __tstate = wxPyBeginAllowThreads();
30057 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30058
30059 wxPyEndAllowThreads(__tstate);
30060 if (PyErr_Occurred()) SWIG_fail;
30061 }
30062 Py_INCREF(Py_None); resultobj = Py_None;
30063 return resultobj;
30064 fail:
30065 return NULL;
30066 }
30067
30068
30069 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30070 PyObject *resultobj;
30071 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30072 double arg2 ;
30073 double arg3 ;
30074 PyObject * obj0 = 0 ;
30075 PyObject * obj1 = 0 ;
30076 PyObject * obj2 = 0 ;
30077 char *kwnames[] = {
30078 (char *) "self",(char *) "x",(char *) "y", NULL
30079 };
30080
30081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30084 arg2 = (double) SWIG_AsDouble(obj1);
30085 if (PyErr_Occurred()) SWIG_fail;
30086 arg3 = (double) SWIG_AsDouble(obj2);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 {
30089 PyThreadState* __tstate = wxPyBeginAllowThreads();
30090 (arg1)->base_OnSize(arg2,arg3);
30091
30092 wxPyEndAllowThreads(__tstate);
30093 if (PyErr_Occurred()) SWIG_fail;
30094 }
30095 Py_INCREF(Py_None); resultobj = Py_None;
30096 return resultobj;
30097 fail:
30098 return NULL;
30099 }
30100
30101
30102 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
30103 PyObject *resultobj;
30104 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30105 wxDC *arg2 = 0 ;
30106 double arg3 ;
30107 double arg4 ;
30108 double arg5 ;
30109 double arg6 ;
30110 bool arg7 = (bool) True ;
30111 bool result;
30112 PyObject * obj0 = 0 ;
30113 PyObject * obj1 = 0 ;
30114 PyObject * obj2 = 0 ;
30115 PyObject * obj3 = 0 ;
30116 PyObject * obj4 = 0 ;
30117 PyObject * obj5 = 0 ;
30118 PyObject * obj6 = 0 ;
30119 char *kwnames[] = {
30120 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30121 };
30122
30123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30127 SWIG_POINTER_EXCEPTION | 0)) == -1)
30128 SWIG_fail;
30129 if (arg2 == NULL) {
30130 PyErr_SetString(PyExc_TypeError,"null reference");
30131 SWIG_fail;
30132 }
30133 arg3 = (double) SWIG_AsDouble(obj2);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 arg4 = (double) SWIG_AsDouble(obj3);
30136 if (PyErr_Occurred()) SWIG_fail;
30137 arg5 = (double) SWIG_AsDouble(obj4);
30138 if (PyErr_Occurred()) SWIG_fail;
30139 arg6 = (double) SWIG_AsDouble(obj5);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 if (obj6) {
30142 arg7 = (bool) SWIG_AsBool(obj6);
30143 if (PyErr_Occurred()) SWIG_fail;
30144 }
30145 {
30146 PyThreadState* __tstate = wxPyBeginAllowThreads();
30147 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30148
30149 wxPyEndAllowThreads(__tstate);
30150 if (PyErr_Occurred()) SWIG_fail;
30151 }
30152 {
30153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30154 }
30155 return resultobj;
30156 fail:
30157 return NULL;
30158 }
30159
30160
30161 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
30162 PyObject *resultobj;
30163 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30164 wxDC *arg2 = 0 ;
30165 double arg3 ;
30166 double arg4 ;
30167 double arg5 ;
30168 double arg6 ;
30169 bool arg7 = (bool) True ;
30170 PyObject * obj0 = 0 ;
30171 PyObject * obj1 = 0 ;
30172 PyObject * obj2 = 0 ;
30173 PyObject * obj3 = 0 ;
30174 PyObject * obj4 = 0 ;
30175 PyObject * obj5 = 0 ;
30176 PyObject * obj6 = 0 ;
30177 char *kwnames[] = {
30178 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30179 };
30180
30181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30185 SWIG_POINTER_EXCEPTION | 0)) == -1)
30186 SWIG_fail;
30187 if (arg2 == NULL) {
30188 PyErr_SetString(PyExc_TypeError,"null reference");
30189 SWIG_fail;
30190 }
30191 arg3 = (double) SWIG_AsDouble(obj2);
30192 if (PyErr_Occurred()) SWIG_fail;
30193 arg4 = (double) SWIG_AsDouble(obj3);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 arg5 = (double) SWIG_AsDouble(obj4);
30196 if (PyErr_Occurred()) SWIG_fail;
30197 arg6 = (double) SWIG_AsDouble(obj5);
30198 if (PyErr_Occurred()) SWIG_fail;
30199 if (obj6) {
30200 arg7 = (bool) SWIG_AsBool(obj6);
30201 if (PyErr_Occurred()) SWIG_fail;
30202 }
30203 {
30204 PyThreadState* __tstate = wxPyBeginAllowThreads();
30205 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30206
30207 wxPyEndAllowThreads(__tstate);
30208 if (PyErr_Occurred()) SWIG_fail;
30209 }
30210 Py_INCREF(Py_None); resultobj = Py_None;
30211 return resultobj;
30212 fail:
30213 return NULL;
30214 }
30215
30216
30217 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30218 PyObject *resultobj;
30219 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30220 bool arg2 ;
30221 double arg3 ;
30222 double arg4 ;
30223 int arg5 = (int) 0 ;
30224 int arg6 = (int) 0 ;
30225 PyObject * obj0 = 0 ;
30226 PyObject * obj1 = 0 ;
30227 PyObject * obj2 = 0 ;
30228 PyObject * obj3 = 0 ;
30229 PyObject * obj4 = 0 ;
30230 PyObject * obj5 = 0 ;
30231 char *kwnames[] = {
30232 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30233 };
30234
30235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30238 arg2 = (bool) SWIG_AsBool(obj1);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 arg3 = (double) SWIG_AsDouble(obj2);
30241 if (PyErr_Occurred()) SWIG_fail;
30242 arg4 = (double) SWIG_AsDouble(obj3);
30243 if (PyErr_Occurred()) SWIG_fail;
30244 if (obj4) {
30245 arg5 = (int) SWIG_AsInt(obj4);
30246 if (PyErr_Occurred()) SWIG_fail;
30247 }
30248 if (obj5) {
30249 arg6 = (int) SWIG_AsInt(obj5);
30250 if (PyErr_Occurred()) SWIG_fail;
30251 }
30252 {
30253 PyThreadState* __tstate = wxPyBeginAllowThreads();
30254 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
30255
30256 wxPyEndAllowThreads(__tstate);
30257 if (PyErr_Occurred()) SWIG_fail;
30258 }
30259 Py_INCREF(Py_None); resultobj = Py_None;
30260 return resultobj;
30261 fail:
30262 return NULL;
30263 }
30264
30265
30266 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30267 PyObject *resultobj;
30268 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30269 double arg2 ;
30270 double arg3 ;
30271 int arg4 = (int) 0 ;
30272 int arg5 = (int) 0 ;
30273 PyObject * obj0 = 0 ;
30274 PyObject * obj1 = 0 ;
30275 PyObject * obj2 = 0 ;
30276 PyObject * obj3 = 0 ;
30277 PyObject * obj4 = 0 ;
30278 char *kwnames[] = {
30279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30280 };
30281
30282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30285 arg2 = (double) SWIG_AsDouble(obj1);
30286 if (PyErr_Occurred()) SWIG_fail;
30287 arg3 = (double) SWIG_AsDouble(obj2);
30288 if (PyErr_Occurred()) SWIG_fail;
30289 if (obj3) {
30290 arg4 = (int) SWIG_AsInt(obj3);
30291 if (PyErr_Occurred()) SWIG_fail;
30292 }
30293 if (obj4) {
30294 arg5 = (int) SWIG_AsInt(obj4);
30295 if (PyErr_Occurred()) SWIG_fail;
30296 }
30297 {
30298 PyThreadState* __tstate = wxPyBeginAllowThreads();
30299 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
30300
30301 wxPyEndAllowThreads(__tstate);
30302 if (PyErr_Occurred()) SWIG_fail;
30303 }
30304 Py_INCREF(Py_None); resultobj = Py_None;
30305 return resultobj;
30306 fail:
30307 return NULL;
30308 }
30309
30310
30311 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30312 PyObject *resultobj;
30313 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30314 double arg2 ;
30315 double arg3 ;
30316 int arg4 = (int) 0 ;
30317 int arg5 = (int) 0 ;
30318 PyObject * obj0 = 0 ;
30319 PyObject * obj1 = 0 ;
30320 PyObject * obj2 = 0 ;
30321 PyObject * obj3 = 0 ;
30322 PyObject * obj4 = 0 ;
30323 char *kwnames[] = {
30324 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30325 };
30326
30327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30330 arg2 = (double) SWIG_AsDouble(obj1);
30331 if (PyErr_Occurred()) SWIG_fail;
30332 arg3 = (double) SWIG_AsDouble(obj2);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 if (obj3) {
30335 arg4 = (int) SWIG_AsInt(obj3);
30336 if (PyErr_Occurred()) SWIG_fail;
30337 }
30338 if (obj4) {
30339 arg5 = (int) SWIG_AsInt(obj4);
30340 if (PyErr_Occurred()) SWIG_fail;
30341 }
30342 {
30343 PyThreadState* __tstate = wxPyBeginAllowThreads();
30344 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
30345
30346 wxPyEndAllowThreads(__tstate);
30347 if (PyErr_Occurred()) SWIG_fail;
30348 }
30349 Py_INCREF(Py_None); resultobj = Py_None;
30350 return resultobj;
30351 fail:
30352 return NULL;
30353 }
30354
30355
30356 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30357 PyObject *resultobj;
30358 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30359 bool arg2 ;
30360 double arg3 ;
30361 double arg4 ;
30362 int arg5 = (int) 0 ;
30363 int arg6 = (int) 0 ;
30364 PyObject * obj0 = 0 ;
30365 PyObject * obj1 = 0 ;
30366 PyObject * obj2 = 0 ;
30367 PyObject * obj3 = 0 ;
30368 PyObject * obj4 = 0 ;
30369 PyObject * obj5 = 0 ;
30370 char *kwnames[] = {
30371 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30372 };
30373
30374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30377 arg2 = (bool) SWIG_AsBool(obj1);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 arg3 = (double) SWIG_AsDouble(obj2);
30380 if (PyErr_Occurred()) SWIG_fail;
30381 arg4 = (double) SWIG_AsDouble(obj3);
30382 if (PyErr_Occurred()) SWIG_fail;
30383 if (obj4) {
30384 arg5 = (int) SWIG_AsInt(obj4);
30385 if (PyErr_Occurred()) SWIG_fail;
30386 }
30387 if (obj5) {
30388 arg6 = (int) SWIG_AsInt(obj5);
30389 if (PyErr_Occurred()) SWIG_fail;
30390 }
30391 {
30392 PyThreadState* __tstate = wxPyBeginAllowThreads();
30393 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
30394
30395 wxPyEndAllowThreads(__tstate);
30396 if (PyErr_Occurred()) SWIG_fail;
30397 }
30398 Py_INCREF(Py_None); resultobj = Py_None;
30399 return resultobj;
30400 fail:
30401 return NULL;
30402 }
30403
30404
30405 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30406 PyObject *resultobj;
30407 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30408 double arg2 ;
30409 double arg3 ;
30410 int arg4 = (int) 0 ;
30411 int arg5 = (int) 0 ;
30412 PyObject * obj0 = 0 ;
30413 PyObject * obj1 = 0 ;
30414 PyObject * obj2 = 0 ;
30415 PyObject * obj3 = 0 ;
30416 PyObject * obj4 = 0 ;
30417 char *kwnames[] = {
30418 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30419 };
30420
30421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30424 arg2 = (double) SWIG_AsDouble(obj1);
30425 if (PyErr_Occurred()) SWIG_fail;
30426 arg3 = (double) SWIG_AsDouble(obj2);
30427 if (PyErr_Occurred()) SWIG_fail;
30428 if (obj3) {
30429 arg4 = (int) SWIG_AsInt(obj3);
30430 if (PyErr_Occurred()) SWIG_fail;
30431 }
30432 if (obj4) {
30433 arg5 = (int) SWIG_AsInt(obj4);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
30436 {
30437 PyThreadState* __tstate = wxPyBeginAllowThreads();
30438 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
30439
30440 wxPyEndAllowThreads(__tstate);
30441 if (PyErr_Occurred()) SWIG_fail;
30442 }
30443 Py_INCREF(Py_None); resultobj = Py_None;
30444 return resultobj;
30445 fail:
30446 return NULL;
30447 }
30448
30449
30450 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30451 PyObject *resultobj;
30452 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30453 double arg2 ;
30454 double arg3 ;
30455 int arg4 = (int) 0 ;
30456 int arg5 = (int) 0 ;
30457 PyObject * obj0 = 0 ;
30458 PyObject * obj1 = 0 ;
30459 PyObject * obj2 = 0 ;
30460 PyObject * obj3 = 0 ;
30461 PyObject * obj4 = 0 ;
30462 char *kwnames[] = {
30463 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30464 };
30465
30466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30469 arg2 = (double) SWIG_AsDouble(obj1);
30470 if (PyErr_Occurred()) SWIG_fail;
30471 arg3 = (double) SWIG_AsDouble(obj2);
30472 if (PyErr_Occurred()) SWIG_fail;
30473 if (obj3) {
30474 arg4 = (int) SWIG_AsInt(obj3);
30475 if (PyErr_Occurred()) SWIG_fail;
30476 }
30477 if (obj4) {
30478 arg5 = (int) SWIG_AsInt(obj4);
30479 if (PyErr_Occurred()) SWIG_fail;
30480 }
30481 {
30482 PyThreadState* __tstate = wxPyBeginAllowThreads();
30483 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
30484
30485 wxPyEndAllowThreads(__tstate);
30486 if (PyErr_Occurred()) SWIG_fail;
30487 }
30488 Py_INCREF(Py_None); resultobj = Py_None;
30489 return resultobj;
30490 fail:
30491 return NULL;
30492 }
30493
30494
30495 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30496 PyObject *resultobj;
30497 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30498 wxDC *arg2 = 0 ;
30499 double arg3 ;
30500 double arg4 ;
30501 double arg5 ;
30502 double arg6 ;
30503 PyObject * obj0 = 0 ;
30504 PyObject * obj1 = 0 ;
30505 PyObject * obj2 = 0 ;
30506 PyObject * obj3 = 0 ;
30507 PyObject * obj4 = 0 ;
30508 PyObject * obj5 = 0 ;
30509 char *kwnames[] = {
30510 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30511 };
30512
30513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30517 SWIG_POINTER_EXCEPTION | 0)) == -1)
30518 SWIG_fail;
30519 if (arg2 == NULL) {
30520 PyErr_SetString(PyExc_TypeError,"null reference");
30521 SWIG_fail;
30522 }
30523 arg3 = (double) SWIG_AsDouble(obj2);
30524 if (PyErr_Occurred()) SWIG_fail;
30525 arg4 = (double) SWIG_AsDouble(obj3);
30526 if (PyErr_Occurred()) SWIG_fail;
30527 arg5 = (double) SWIG_AsDouble(obj4);
30528 if (PyErr_Occurred()) SWIG_fail;
30529 arg6 = (double) SWIG_AsDouble(obj5);
30530 if (PyErr_Occurred()) SWIG_fail;
30531 {
30532 PyThreadState* __tstate = wxPyBeginAllowThreads();
30533 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
30534
30535 wxPyEndAllowThreads(__tstate);
30536 if (PyErr_Occurred()) SWIG_fail;
30537 }
30538 Py_INCREF(Py_None); resultobj = Py_None;
30539 return resultobj;
30540 fail:
30541 return NULL;
30542 }
30543
30544
30545 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30546 PyObject *resultobj;
30547 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30548 wxDC *arg2 = 0 ;
30549 PyObject * obj0 = 0 ;
30550 PyObject * obj1 = 0 ;
30551 char *kwnames[] = {
30552 (char *) "self",(char *) "dc", NULL
30553 };
30554
30555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
30556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30559 SWIG_POINTER_EXCEPTION | 0)) == -1)
30560 SWIG_fail;
30561 if (arg2 == NULL) {
30562 PyErr_SetString(PyExc_TypeError,"null reference");
30563 SWIG_fail;
30564 }
30565 {
30566 PyThreadState* __tstate = wxPyBeginAllowThreads();
30567 (arg1)->base_OnDrawControlPoints(*arg2);
30568
30569 wxPyEndAllowThreads(__tstate);
30570 if (PyErr_Occurred()) SWIG_fail;
30571 }
30572 Py_INCREF(Py_None); resultobj = Py_None;
30573 return resultobj;
30574 fail:
30575 return NULL;
30576 }
30577
30578
30579 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30580 PyObject *resultobj;
30581 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30582 wxDC *arg2 = 0 ;
30583 PyObject * obj0 = 0 ;
30584 PyObject * obj1 = 0 ;
30585 char *kwnames[] = {
30586 (char *) "self",(char *) "dc", NULL
30587 };
30588
30589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
30590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30593 SWIG_POINTER_EXCEPTION | 0)) == -1)
30594 SWIG_fail;
30595 if (arg2 == NULL) {
30596 PyErr_SetString(PyExc_TypeError,"null reference");
30597 SWIG_fail;
30598 }
30599 {
30600 PyThreadState* __tstate = wxPyBeginAllowThreads();
30601 (arg1)->base_OnEraseControlPoints(*arg2);
30602
30603 wxPyEndAllowThreads(__tstate);
30604 if (PyErr_Occurred()) SWIG_fail;
30605 }
30606 Py_INCREF(Py_None); resultobj = Py_None;
30607 return resultobj;
30608 fail:
30609 return NULL;
30610 }
30611
30612
30613 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30614 PyObject *resultobj;
30615 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30616 wxDC *arg2 = 0 ;
30617 bool arg3 = (bool) True ;
30618 PyObject * obj0 = 0 ;
30619 PyObject * obj1 = 0 ;
30620 PyObject * obj2 = 0 ;
30621 char *kwnames[] = {
30622 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30623 };
30624
30625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
30626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30629 SWIG_POINTER_EXCEPTION | 0)) == -1)
30630 SWIG_fail;
30631 if (arg2 == NULL) {
30632 PyErr_SetString(PyExc_TypeError,"null reference");
30633 SWIG_fail;
30634 }
30635 if (obj2) {
30636 arg3 = (bool) SWIG_AsBool(obj2);
30637 if (PyErr_Occurred()) SWIG_fail;
30638 }
30639 {
30640 PyThreadState* __tstate = wxPyBeginAllowThreads();
30641 (arg1)->base_OnMoveLink(*arg2,arg3);
30642
30643 wxPyEndAllowThreads(__tstate);
30644 if (PyErr_Occurred()) SWIG_fail;
30645 }
30646 Py_INCREF(Py_None); resultobj = Py_None;
30647 return resultobj;
30648 fail:
30649 return NULL;
30650 }
30651
30652
30653 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30654 PyObject *resultobj;
30655 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30656 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30657 bool arg3 ;
30658 double arg4 ;
30659 double arg5 ;
30660 int arg6 = (int) 0 ;
30661 int arg7 = (int) 0 ;
30662 PyObject * obj0 = 0 ;
30663 PyObject * obj1 = 0 ;
30664 PyObject * obj2 = 0 ;
30665 PyObject * obj3 = 0 ;
30666 PyObject * obj4 = 0 ;
30667 PyObject * obj5 = 0 ;
30668 PyObject * obj6 = 0 ;
30669 char *kwnames[] = {
30670 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30671 };
30672
30673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30678 arg3 = (bool) SWIG_AsBool(obj2);
30679 if (PyErr_Occurred()) SWIG_fail;
30680 arg4 = (double) SWIG_AsDouble(obj3);
30681 if (PyErr_Occurred()) SWIG_fail;
30682 arg5 = (double) SWIG_AsDouble(obj4);
30683 if (PyErr_Occurred()) SWIG_fail;
30684 if (obj5) {
30685 arg6 = (int) SWIG_AsInt(obj5);
30686 if (PyErr_Occurred()) SWIG_fail;
30687 }
30688 if (obj6) {
30689 arg7 = (int) SWIG_AsInt(obj6);
30690 if (PyErr_Occurred()) SWIG_fail;
30691 }
30692 {
30693 PyThreadState* __tstate = wxPyBeginAllowThreads();
30694 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30695
30696 wxPyEndAllowThreads(__tstate);
30697 if (PyErr_Occurred()) SWIG_fail;
30698 }
30699 Py_INCREF(Py_None); resultobj = Py_None;
30700 return resultobj;
30701 fail:
30702 return NULL;
30703 }
30704
30705
30706 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30707 PyObject *resultobj;
30708 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30709 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30710 double arg3 ;
30711 double arg4 ;
30712 int arg5 = (int) 0 ;
30713 int arg6 = (int) 0 ;
30714 PyObject * obj0 = 0 ;
30715 PyObject * obj1 = 0 ;
30716 PyObject * obj2 = 0 ;
30717 PyObject * obj3 = 0 ;
30718 PyObject * obj4 = 0 ;
30719 PyObject * obj5 = 0 ;
30720 char *kwnames[] = {
30721 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30722 };
30723
30724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30729 arg3 = (double) SWIG_AsDouble(obj2);
30730 if (PyErr_Occurred()) SWIG_fail;
30731 arg4 = (double) SWIG_AsDouble(obj3);
30732 if (PyErr_Occurred()) SWIG_fail;
30733 if (obj4) {
30734 arg5 = (int) SWIG_AsInt(obj4);
30735 if (PyErr_Occurred()) SWIG_fail;
30736 }
30737 if (obj5) {
30738 arg6 = (int) SWIG_AsInt(obj5);
30739 if (PyErr_Occurred()) SWIG_fail;
30740 }
30741 {
30742 PyThreadState* __tstate = wxPyBeginAllowThreads();
30743 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30744
30745 wxPyEndAllowThreads(__tstate);
30746 if (PyErr_Occurred()) SWIG_fail;
30747 }
30748 Py_INCREF(Py_None); resultobj = Py_None;
30749 return resultobj;
30750 fail:
30751 return NULL;
30752 }
30753
30754
30755 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30756 PyObject *resultobj;
30757 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30758 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30759 double arg3 ;
30760 double arg4 ;
30761 int arg5 = (int) 0 ;
30762 int arg6 = (int) 0 ;
30763 PyObject * obj0 = 0 ;
30764 PyObject * obj1 = 0 ;
30765 PyObject * obj2 = 0 ;
30766 PyObject * obj3 = 0 ;
30767 PyObject * obj4 = 0 ;
30768 PyObject * obj5 = 0 ;
30769 char *kwnames[] = {
30770 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30771 };
30772
30773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30778 arg3 = (double) SWIG_AsDouble(obj2);
30779 if (PyErr_Occurred()) SWIG_fail;
30780 arg4 = (double) SWIG_AsDouble(obj3);
30781 if (PyErr_Occurred()) SWIG_fail;
30782 if (obj4) {
30783 arg5 = (int) SWIG_AsInt(obj4);
30784 if (PyErr_Occurred()) SWIG_fail;
30785 }
30786 if (obj5) {
30787 arg6 = (int) SWIG_AsInt(obj5);
30788 if (PyErr_Occurred()) SWIG_fail;
30789 }
30790 {
30791 PyThreadState* __tstate = wxPyBeginAllowThreads();
30792 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30793
30794 wxPyEndAllowThreads(__tstate);
30795 if (PyErr_Occurred()) SWIG_fail;
30796 }
30797 Py_INCREF(Py_None); resultobj = Py_None;
30798 return resultobj;
30799 fail:
30800 return NULL;
30801 }
30802
30803
30804 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30805 PyObject *resultobj;
30806 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30807 double arg2 ;
30808 double arg3 ;
30809 PyObject * obj0 = 0 ;
30810 PyObject * obj1 = 0 ;
30811 PyObject * obj2 = 0 ;
30812 char *kwnames[] = {
30813 (char *) "self",(char *) "w",(char *) "h", NULL
30814 };
30815
30816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30819 arg2 = (double) SWIG_AsDouble(obj1);
30820 if (PyErr_Occurred()) SWIG_fail;
30821 arg3 = (double) SWIG_AsDouble(obj2);
30822 if (PyErr_Occurred()) SWIG_fail;
30823 {
30824 PyThreadState* __tstate = wxPyBeginAllowThreads();
30825 (arg1)->base_OnBeginSize(arg2,arg3);
30826
30827 wxPyEndAllowThreads(__tstate);
30828 if (PyErr_Occurred()) SWIG_fail;
30829 }
30830 Py_INCREF(Py_None); resultobj = Py_None;
30831 return resultobj;
30832 fail:
30833 return NULL;
30834 }
30835
30836
30837 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30838 PyObject *resultobj;
30839 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30840 double arg2 ;
30841 double arg3 ;
30842 PyObject * obj0 = 0 ;
30843 PyObject * obj1 = 0 ;
30844 PyObject * obj2 = 0 ;
30845 char *kwnames[] = {
30846 (char *) "self",(char *) "w",(char *) "h", NULL
30847 };
30848
30849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30852 arg2 = (double) SWIG_AsDouble(obj1);
30853 if (PyErr_Occurred()) SWIG_fail;
30854 arg3 = (double) SWIG_AsDouble(obj2);
30855 if (PyErr_Occurred()) SWIG_fail;
30856 {
30857 PyThreadState* __tstate = wxPyBeginAllowThreads();
30858 (arg1)->base_OnEndSize(arg2,arg3);
30859
30860 wxPyEndAllowThreads(__tstate);
30861 if (PyErr_Occurred()) SWIG_fail;
30862 }
30863 Py_INCREF(Py_None); resultobj = Py_None;
30864 return resultobj;
30865 fail:
30866 return NULL;
30867 }
30868
30869
30870 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
30871 PyObject *obj;
30872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30873 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
30874 Py_INCREF(obj);
30875 return Py_BuildValue((char *)"");
30876 }
30877 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
30878 PyObject *resultobj;
30879 wxDiagram *result;
30880 char *kwnames[] = {
30881 NULL
30882 };
30883
30884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
30885 {
30886 PyThreadState* __tstate = wxPyBeginAllowThreads();
30887 result = (wxDiagram *)new wxDiagram();
30888
30889 wxPyEndAllowThreads(__tstate);
30890 if (PyErr_Occurred()) SWIG_fail;
30891 }
30892 {
30893 resultobj = wxPyMake_wxObject(result);
30894 }
30895 return resultobj;
30896 fail:
30897 return NULL;
30898 }
30899
30900
30901 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30902 PyObject *resultobj;
30903 wxDiagram *arg1 = (wxDiagram *) 0 ;
30904 wxPyShape *arg2 = (wxPyShape *) 0 ;
30905 wxPyShape *arg3 = (wxPyShape *) NULL ;
30906 PyObject * obj0 = 0 ;
30907 PyObject * obj1 = 0 ;
30908 PyObject * obj2 = 0 ;
30909 char *kwnames[] = {
30910 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30911 };
30912
30913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
30914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
30917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30918 if (obj2) {
30919 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
30920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30921 }
30922 {
30923 PyThreadState* __tstate = wxPyBeginAllowThreads();
30924 (arg1)->AddShape(arg2,arg3);
30925
30926 wxPyEndAllowThreads(__tstate);
30927 if (PyErr_Occurred()) SWIG_fail;
30928 }
30929 Py_INCREF(Py_None); resultobj = Py_None;
30930 return resultobj;
30931 fail:
30932 return NULL;
30933 }
30934
30935
30936 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30937 PyObject *resultobj;
30938 wxDiagram *arg1 = (wxDiagram *) 0 ;
30939 wxDC *arg2 = 0 ;
30940 PyObject * obj0 = 0 ;
30941 PyObject * obj1 = 0 ;
30942 char *kwnames[] = {
30943 (char *) "self",(char *) "dc", NULL
30944 };
30945
30946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
30947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30950 SWIG_POINTER_EXCEPTION | 0)) == -1)
30951 SWIG_fail;
30952 if (arg2 == NULL) {
30953 PyErr_SetString(PyExc_TypeError,"null reference");
30954 SWIG_fail;
30955 }
30956 {
30957 PyThreadState* __tstate = wxPyBeginAllowThreads();
30958 (arg1)->Clear(*arg2);
30959
30960 wxPyEndAllowThreads(__tstate);
30961 if (PyErr_Occurred()) SWIG_fail;
30962 }
30963 Py_INCREF(Py_None); resultobj = Py_None;
30964 return resultobj;
30965 fail:
30966 return NULL;
30967 }
30968
30969
30970 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
30971 PyObject *resultobj;
30972 wxDiagram *arg1 = (wxDiagram *) 0 ;
30973 PyObject * obj0 = 0 ;
30974 char *kwnames[] = {
30975 (char *) "self", NULL
30976 };
30977
30978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
30979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30981 {
30982 PyThreadState* __tstate = wxPyBeginAllowThreads();
30983 (arg1)->DeleteAllShapes();
30984
30985 wxPyEndAllowThreads(__tstate);
30986 if (PyErr_Occurred()) SWIG_fail;
30987 }
30988 Py_INCREF(Py_None); resultobj = Py_None;
30989 return resultobj;
30990 fail:
30991 return NULL;
30992 }
30993
30994
30995 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30996 PyObject *resultobj;
30997 wxDiagram *arg1 = (wxDiagram *) 0 ;
30998 wxDC *arg2 = 0 ;
30999 double arg3 ;
31000 double arg4 ;
31001 double arg5 ;
31002 double arg6 ;
31003 PyObject * obj0 = 0 ;
31004 PyObject * obj1 = 0 ;
31005 PyObject * obj2 = 0 ;
31006 PyObject * obj3 = 0 ;
31007 PyObject * obj4 = 0 ;
31008 PyObject * obj5 = 0 ;
31009 char *kwnames[] = {
31010 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31011 };
31012
31013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31017 SWIG_POINTER_EXCEPTION | 0)) == -1)
31018 SWIG_fail;
31019 if (arg2 == NULL) {
31020 PyErr_SetString(PyExc_TypeError,"null reference");
31021 SWIG_fail;
31022 }
31023 arg3 = (double) SWIG_AsDouble(obj2);
31024 if (PyErr_Occurred()) SWIG_fail;
31025 arg4 = (double) SWIG_AsDouble(obj3);
31026 if (PyErr_Occurred()) SWIG_fail;
31027 arg5 = (double) SWIG_AsDouble(obj4);
31028 if (PyErr_Occurred()) SWIG_fail;
31029 arg6 = (double) SWIG_AsDouble(obj5);
31030 if (PyErr_Occurred()) SWIG_fail;
31031 {
31032 PyThreadState* __tstate = wxPyBeginAllowThreads();
31033 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
31034
31035 wxPyEndAllowThreads(__tstate);
31036 if (PyErr_Occurred()) SWIG_fail;
31037 }
31038 Py_INCREF(Py_None); resultobj = Py_None;
31039 return resultobj;
31040 fail:
31041 return NULL;
31042 }
31043
31044
31045 static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31046 PyObject *resultobj;
31047 wxDiagram *arg1 = (wxDiagram *) 0 ;
31048 long arg2 ;
31049 wxPyShape *result;
31050 PyObject * obj0 = 0 ;
31051 PyObject * obj1 = 0 ;
31052 char *kwnames[] = {
31053 (char *) "self",(char *) "id", NULL
31054 };
31055
31056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
31057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31059 arg2 = (long) SWIG_AsLong(obj1);
31060 if (PyErr_Occurred()) SWIG_fail;
31061 {
31062 PyThreadState* __tstate = wxPyBeginAllowThreads();
31063 result = (wxPyShape *)(arg1)->FindShape(arg2);
31064
31065 wxPyEndAllowThreads(__tstate);
31066 if (PyErr_Occurred()) SWIG_fail;
31067 }
31068 {
31069 resultobj = wxPyMake_wxShapeEvtHandler(result);
31070 }
31071 return resultobj;
31072 fail:
31073 return NULL;
31074 }
31075
31076
31077 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31078 PyObject *resultobj;
31079 wxDiagram *arg1 = (wxDiagram *) 0 ;
31080 wxPyShapeCanvas *result;
31081 PyObject * obj0 = 0 ;
31082 char *kwnames[] = {
31083 (char *) "self", NULL
31084 };
31085
31086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
31087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31089 {
31090 PyThreadState* __tstate = wxPyBeginAllowThreads();
31091 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
31092
31093 wxPyEndAllowThreads(__tstate);
31094 if (PyErr_Occurred()) SWIG_fail;
31095 }
31096 {
31097 resultobj = wxPyMake_wxObject(result);
31098 }
31099 return resultobj;
31100 fail:
31101 return NULL;
31102 }
31103
31104
31105 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
31106 PyObject *resultobj;
31107 wxDiagram *arg1 = (wxDiagram *) 0 ;
31108 int result;
31109 PyObject * obj0 = 0 ;
31110 char *kwnames[] = {
31111 (char *) "self", NULL
31112 };
31113
31114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
31115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31117 {
31118 PyThreadState* __tstate = wxPyBeginAllowThreads();
31119 result = (int)(arg1)->GetCount();
31120
31121 wxPyEndAllowThreads(__tstate);
31122 if (PyErr_Occurred()) SWIG_fail;
31123 }
31124 resultobj = SWIG_FromInt((int)result);
31125 return resultobj;
31126 fail:
31127 return NULL;
31128 }
31129
31130
31131 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31132 PyObject *resultobj;
31133 wxDiagram *arg1 = (wxDiagram *) 0 ;
31134 double result;
31135 PyObject * obj0 = 0 ;
31136 char *kwnames[] = {
31137 (char *) "self", NULL
31138 };
31139
31140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
31141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31143 {
31144 PyThreadState* __tstate = wxPyBeginAllowThreads();
31145 result = (double)(arg1)->GetGridSpacing();
31146
31147 wxPyEndAllowThreads(__tstate);
31148 if (PyErr_Occurred()) SWIG_fail;
31149 }
31150 resultobj = SWIG_FromDouble((double)result);
31151 return resultobj;
31152 fail:
31153 return NULL;
31154 }
31155
31156
31157 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31158 PyObject *resultobj;
31159 wxDiagram *arg1 = (wxDiagram *) 0 ;
31160 int result;
31161 PyObject * obj0 = 0 ;
31162 char *kwnames[] = {
31163 (char *) "self", NULL
31164 };
31165
31166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
31167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31169 {
31170 PyThreadState* __tstate = wxPyBeginAllowThreads();
31171 result = (int)(arg1)->GetMouseTolerance();
31172
31173 wxPyEndAllowThreads(__tstate);
31174 if (PyErr_Occurred()) SWIG_fail;
31175 }
31176 resultobj = SWIG_FromInt((int)result);
31177 return resultobj;
31178 fail:
31179 return NULL;
31180 }
31181
31182
31183 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
31184 PyObject *resultobj;
31185 wxDiagram *arg1 = (wxDiagram *) 0 ;
31186 PyObject *result;
31187 PyObject * obj0 = 0 ;
31188 char *kwnames[] = {
31189 (char *) "self", NULL
31190 };
31191
31192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
31193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31195 {
31196 PyThreadState* __tstate = wxPyBeginAllowThreads();
31197 result = (PyObject *)wxDiagram_GetShapeList(arg1);
31198
31199 wxPyEndAllowThreads(__tstate);
31200 if (PyErr_Occurred()) SWIG_fail;
31201 }
31202 resultobj = result;
31203 return resultobj;
31204 fail:
31205 return NULL;
31206 }
31207
31208
31209 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31210 PyObject *resultobj;
31211 wxDiagram *arg1 = (wxDiagram *) 0 ;
31212 bool result;
31213 PyObject * obj0 = 0 ;
31214 char *kwnames[] = {
31215 (char *) "self", NULL
31216 };
31217
31218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
31219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31221 {
31222 PyThreadState* __tstate = wxPyBeginAllowThreads();
31223 result = (bool)(arg1)->GetQuickEditMode();
31224
31225 wxPyEndAllowThreads(__tstate);
31226 if (PyErr_Occurred()) SWIG_fail;
31227 }
31228 {
31229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31230 }
31231 return resultobj;
31232 fail:
31233 return NULL;
31234 }
31235
31236
31237 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31238 PyObject *resultobj;
31239 wxDiagram *arg1 = (wxDiagram *) 0 ;
31240 bool result;
31241 PyObject * obj0 = 0 ;
31242 char *kwnames[] = {
31243 (char *) "self", NULL
31244 };
31245
31246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
31247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31249 {
31250 PyThreadState* __tstate = wxPyBeginAllowThreads();
31251 result = (bool)(arg1)->GetSnapToGrid();
31252
31253 wxPyEndAllowThreads(__tstate);
31254 if (PyErr_Occurred()) SWIG_fail;
31255 }
31256 {
31257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31258 }
31259 return resultobj;
31260 fail:
31261 return NULL;
31262 }
31263
31264
31265 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31266 PyObject *resultobj;
31267 wxDiagram *arg1 = (wxDiagram *) 0 ;
31268 wxPyShape *arg2 = (wxPyShape *) 0 ;
31269 PyObject * obj0 = 0 ;
31270 PyObject * obj1 = 0 ;
31271 char *kwnames[] = {
31272 (char *) "self",(char *) "shape", NULL
31273 };
31274
31275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31280 {
31281 PyThreadState* __tstate = wxPyBeginAllowThreads();
31282 (arg1)->InsertShape(arg2);
31283
31284 wxPyEndAllowThreads(__tstate);
31285 if (PyErr_Occurred()) SWIG_fail;
31286 }
31287 Py_INCREF(Py_None); resultobj = Py_None;
31288 return resultobj;
31289 fail:
31290 return NULL;
31291 }
31292
31293
31294 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31295 PyObject *resultobj;
31296 wxDiagram *arg1 = (wxDiagram *) 0 ;
31297 wxDC *arg2 = 0 ;
31298 PyObject * obj0 = 0 ;
31299 PyObject * obj1 = 0 ;
31300 char *kwnames[] = {
31301 (char *) "self",(char *) "dc", NULL
31302 };
31303
31304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
31305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31308 SWIG_POINTER_EXCEPTION | 0)) == -1)
31309 SWIG_fail;
31310 if (arg2 == NULL) {
31311 PyErr_SetString(PyExc_TypeError,"null reference");
31312 SWIG_fail;
31313 }
31314 {
31315 PyThreadState* __tstate = wxPyBeginAllowThreads();
31316 (arg1)->RecentreAll(*arg2);
31317
31318 wxPyEndAllowThreads(__tstate);
31319 if (PyErr_Occurred()) SWIG_fail;
31320 }
31321 Py_INCREF(Py_None); resultobj = Py_None;
31322 return resultobj;
31323 fail:
31324 return NULL;
31325 }
31326
31327
31328 static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
31329 PyObject *resultobj;
31330 wxDiagram *arg1 = (wxDiagram *) 0 ;
31331 wxDC *arg2 = 0 ;
31332 PyObject * obj0 = 0 ;
31333 PyObject * obj1 = 0 ;
31334 char *kwnames[] = {
31335 (char *) "self",(char *) "dc", NULL
31336 };
31337
31338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
31339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31342 SWIG_POINTER_EXCEPTION | 0)) == -1)
31343 SWIG_fail;
31344 if (arg2 == NULL) {
31345 PyErr_SetString(PyExc_TypeError,"null reference");
31346 SWIG_fail;
31347 }
31348 {
31349 PyThreadState* __tstate = wxPyBeginAllowThreads();
31350 (arg1)->Redraw(*arg2);
31351
31352 wxPyEndAllowThreads(__tstate);
31353 if (PyErr_Occurred()) SWIG_fail;
31354 }
31355 Py_INCREF(Py_None); resultobj = Py_None;
31356 return resultobj;
31357 fail:
31358 return NULL;
31359 }
31360
31361
31362 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
31363 PyObject *resultobj;
31364 wxDiagram *arg1 = (wxDiagram *) 0 ;
31365 PyObject * obj0 = 0 ;
31366 char *kwnames[] = {
31367 (char *) "self", NULL
31368 };
31369
31370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
31371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31373 {
31374 PyThreadState* __tstate = wxPyBeginAllowThreads();
31375 (arg1)->RemoveAllShapes();
31376
31377 wxPyEndAllowThreads(__tstate);
31378 if (PyErr_Occurred()) SWIG_fail;
31379 }
31380 Py_INCREF(Py_None); resultobj = Py_None;
31381 return resultobj;
31382 fail:
31383 return NULL;
31384 }
31385
31386
31387 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31388 PyObject *resultobj;
31389 wxDiagram *arg1 = (wxDiagram *) 0 ;
31390 wxPyShape *arg2 = (wxPyShape *) 0 ;
31391 PyObject * obj0 = 0 ;
31392 PyObject * obj1 = 0 ;
31393 char *kwnames[] = {
31394 (char *) "self",(char *) "shape", NULL
31395 };
31396
31397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
31398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31402 {
31403 PyThreadState* __tstate = wxPyBeginAllowThreads();
31404 (arg1)->RemoveShape(arg2);
31405
31406 wxPyEndAllowThreads(__tstate);
31407 if (PyErr_Occurred()) SWIG_fail;
31408 }
31409 Py_INCREF(Py_None); resultobj = Py_None;
31410 return resultobj;
31411 fail:
31412 return NULL;
31413 }
31414
31415
31416 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31417 PyObject *resultobj;
31418 wxDiagram *arg1 = (wxDiagram *) 0 ;
31419 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
31420 PyObject * obj0 = 0 ;
31421 PyObject * obj1 = 0 ;
31422 char *kwnames[] = {
31423 (char *) "self",(char *) "canvas", NULL
31424 };
31425
31426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
31427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
31430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31431 {
31432 PyThreadState* __tstate = wxPyBeginAllowThreads();
31433 (arg1)->SetCanvas(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_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31446 PyObject *resultobj;
31447 wxDiagram *arg1 = (wxDiagram *) 0 ;
31448 double arg2 ;
31449 PyObject * obj0 = 0 ;
31450 PyObject * obj1 = 0 ;
31451 char *kwnames[] = {
31452 (char *) "self",(char *) "spacing", NULL
31453 };
31454
31455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
31456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31458 arg2 = (double) SWIG_AsDouble(obj1);
31459 if (PyErr_Occurred()) SWIG_fail;
31460 {
31461 PyThreadState* __tstate = wxPyBeginAllowThreads();
31462 (arg1)->SetGridSpacing(arg2);
31463
31464 wxPyEndAllowThreads(__tstate);
31465 if (PyErr_Occurred()) SWIG_fail;
31466 }
31467 Py_INCREF(Py_None); resultobj = Py_None;
31468 return resultobj;
31469 fail:
31470 return NULL;
31471 }
31472
31473
31474 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31475 PyObject *resultobj;
31476 wxDiagram *arg1 = (wxDiagram *) 0 ;
31477 int arg2 ;
31478 PyObject * obj0 = 0 ;
31479 PyObject * obj1 = 0 ;
31480 char *kwnames[] = {
31481 (char *) "self",(char *) "tolerance", NULL
31482 };
31483
31484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
31485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31487 arg2 = (int) SWIG_AsInt(obj1);
31488 if (PyErr_Occurred()) SWIG_fail;
31489 {
31490 PyThreadState* __tstate = wxPyBeginAllowThreads();
31491 (arg1)->SetMouseTolerance(arg2);
31492
31493 wxPyEndAllowThreads(__tstate);
31494 if (PyErr_Occurred()) SWIG_fail;
31495 }
31496 Py_INCREF(Py_None); resultobj = Py_None;
31497 return resultobj;
31498 fail:
31499 return NULL;
31500 }
31501
31502
31503 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31504 PyObject *resultobj;
31505 wxDiagram *arg1 = (wxDiagram *) 0 ;
31506 bool arg2 ;
31507 PyObject * obj0 = 0 ;
31508 PyObject * obj1 = 0 ;
31509 char *kwnames[] = {
31510 (char *) "self",(char *) "mode", NULL
31511 };
31512
31513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
31514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31516 arg2 = (bool) SWIG_AsBool(obj1);
31517 if (PyErr_Occurred()) SWIG_fail;
31518 {
31519 PyThreadState* __tstate = wxPyBeginAllowThreads();
31520 (arg1)->SetQuickEditMode(arg2);
31521
31522 wxPyEndAllowThreads(__tstate);
31523 if (PyErr_Occurred()) SWIG_fail;
31524 }
31525 Py_INCREF(Py_None); resultobj = Py_None;
31526 return resultobj;
31527 fail:
31528 return NULL;
31529 }
31530
31531
31532 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31533 PyObject *resultobj;
31534 wxDiagram *arg1 = (wxDiagram *) 0 ;
31535 bool arg2 ;
31536 PyObject * obj0 = 0 ;
31537 PyObject * obj1 = 0 ;
31538 char *kwnames[] = {
31539 (char *) "self",(char *) "snap", NULL
31540 };
31541
31542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
31543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31545 arg2 = (bool) SWIG_AsBool(obj1);
31546 if (PyErr_Occurred()) SWIG_fail;
31547 {
31548 PyThreadState* __tstate = wxPyBeginAllowThreads();
31549 (arg1)->SetSnapToGrid(arg2);
31550
31551 wxPyEndAllowThreads(__tstate);
31552 if (PyErr_Occurred()) SWIG_fail;
31553 }
31554 Py_INCREF(Py_None); resultobj = Py_None;
31555 return resultobj;
31556 fail:
31557 return NULL;
31558 }
31559
31560
31561 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31562 PyObject *resultobj;
31563 wxDiagram *arg1 = (wxDiagram *) 0 ;
31564 bool arg2 ;
31565 PyObject * obj0 = 0 ;
31566 PyObject * obj1 = 0 ;
31567 char *kwnames[] = {
31568 (char *) "self",(char *) "show", NULL
31569 };
31570
31571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
31572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31574 arg2 = (bool) SWIG_AsBool(obj1);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 {
31577 PyThreadState* __tstate = wxPyBeginAllowThreads();
31578 (arg1)->ShowAll(arg2);
31579
31580 wxPyEndAllowThreads(__tstate);
31581 if (PyErr_Occurred()) SWIG_fail;
31582 }
31583 Py_INCREF(Py_None); resultobj = Py_None;
31584 return resultobj;
31585 fail:
31586 return NULL;
31587 }
31588
31589
31590 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
31591 PyObject *resultobj;
31592 wxDiagram *arg1 = (wxDiagram *) 0 ;
31593 double *arg2 = (double *) 0 ;
31594 double *arg3 = (double *) 0 ;
31595 double temp2 ;
31596 double temp3 ;
31597 PyObject * obj0 = 0 ;
31598 PyObject * obj1 = 0 ;
31599 PyObject * obj2 = 0 ;
31600 char *kwnames[] = {
31601 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31602 };
31603
31604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
31605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31607 {
31608 temp2 = PyFloat_AsDouble(obj1);
31609 if (PyErr_Occurred()) SWIG_fail;
31610 arg2 = &temp2;
31611 }
31612 {
31613 temp3 = PyFloat_AsDouble(obj2);
31614 if (PyErr_Occurred()) SWIG_fail;
31615 arg3 = &temp3;
31616 }
31617 {
31618 PyThreadState* __tstate = wxPyBeginAllowThreads();
31619 (arg1)->Snap(arg2,arg3);
31620
31621 wxPyEndAllowThreads(__tstate);
31622 if (PyErr_Occurred()) SWIG_fail;
31623 }
31624 Py_INCREF(Py_None); resultobj = Py_None;
31625 {
31626 PyObject *o = PyFloat_FromDouble((double) (*arg2));
31627 resultobj = t_output_helper(resultobj,o);
31628 }
31629 {
31630 PyObject *o = PyFloat_FromDouble((double) (*arg3));
31631 resultobj = t_output_helper(resultobj,o);
31632 }
31633 return resultobj;
31634 fail:
31635 return NULL;
31636 }
31637
31638
31639 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
31640 PyObject *obj;
31641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31642 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
31643 Py_INCREF(obj);
31644 return Py_BuildValue((char *)"");
31645 }
31646 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31647 PyObject *resultobj;
31648 wxWindow *arg1 = (wxWindow *) NULL ;
31649 int arg2 = (int) -1 ;
31650 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31651 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31652 wxSize const &arg4_defvalue = wxDefaultSize ;
31653 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31654 long arg5 = (long) wxBORDER ;
31655 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
31656 wxString *arg6 = (wxString *) &arg6_defvalue ;
31657 wxPyShapeCanvas *result;
31658 wxPoint temp3 ;
31659 wxSize temp4 ;
31660 bool temp6 = False ;
31661 PyObject * obj0 = 0 ;
31662 PyObject * obj1 = 0 ;
31663 PyObject * obj2 = 0 ;
31664 PyObject * obj3 = 0 ;
31665 PyObject * obj4 = 0 ;
31666 PyObject * obj5 = 0 ;
31667 char *kwnames[] = {
31668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31669 };
31670
31671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31672 if (obj0) {
31673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31675 }
31676 if (obj1) {
31677 arg2 = (int) SWIG_AsInt(obj1);
31678 if (PyErr_Occurred()) SWIG_fail;
31679 }
31680 if (obj2) {
31681 {
31682 arg3 = &temp3;
31683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31684 }
31685 }
31686 if (obj3) {
31687 {
31688 arg4 = &temp4;
31689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31690 }
31691 }
31692 if (obj4) {
31693 arg5 = (long) SWIG_AsLong(obj4);
31694 if (PyErr_Occurred()) SWIG_fail;
31695 }
31696 if (obj5) {
31697 {
31698 arg6 = wxString_in_helper(obj5);
31699 if (arg6 == NULL) SWIG_fail;
31700 temp6 = True;
31701 }
31702 }
31703 {
31704 PyThreadState* __tstate = wxPyBeginAllowThreads();
31705 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31706
31707 wxPyEndAllowThreads(__tstate);
31708 if (PyErr_Occurred()) SWIG_fail;
31709 }
31710 {
31711 resultobj = wxPyMake_wxObject(result);
31712 }
31713 {
31714 if (temp6)
31715 delete arg6;
31716 }
31717 return resultobj;
31718 fail:
31719 {
31720 if (temp6)
31721 delete arg6;
31722 }
31723 return NULL;
31724 }
31725
31726
31727 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31728 PyObject *resultobj;
31729 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31730 PyObject *arg2 = (PyObject *) 0 ;
31731 PyObject *arg3 = (PyObject *) 0 ;
31732 PyObject * obj0 = 0 ;
31733 PyObject * obj1 = 0 ;
31734 PyObject * obj2 = 0 ;
31735 char *kwnames[] = {
31736 (char *) "self",(char *) "self",(char *) "_class", NULL
31737 };
31738
31739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31742 arg2 = obj1;
31743 arg3 = obj2;
31744 {
31745 PyThreadState* __tstate = wxPyBeginAllowThreads();
31746 (arg1)->_setCallbackInfo(arg2,arg3);
31747
31748 wxPyEndAllowThreads(__tstate);
31749 if (PyErr_Occurred()) SWIG_fail;
31750 }
31751 Py_INCREF(Py_None); resultobj = Py_None;
31752 return resultobj;
31753 fail:
31754 return NULL;
31755 }
31756
31757
31758 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31759 PyObject *resultobj;
31760 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31761 wxPyShape *arg2 = (wxPyShape *) 0 ;
31762 wxPyShape *arg3 = (wxPyShape *) NULL ;
31763 PyObject * obj0 = 0 ;
31764 PyObject * obj1 = 0 ;
31765 PyObject * obj2 = 0 ;
31766 char *kwnames[] = {
31767 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31768 };
31769
31770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
31771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31775 if (obj2) {
31776 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31778 }
31779 {
31780 PyThreadState* __tstate = wxPyBeginAllowThreads();
31781 (arg1)->AddShape(arg2,arg3);
31782
31783 wxPyEndAllowThreads(__tstate);
31784 if (PyErr_Occurred()) SWIG_fail;
31785 }
31786 Py_INCREF(Py_None); resultobj = Py_None;
31787 return resultobj;
31788 fail:
31789 return NULL;
31790 }
31791
31792
31793 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31794 PyObject *resultobj;
31795 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31796 double arg2 ;
31797 double arg3 ;
31798 int *arg4 = (int *) 0 ;
31799 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
31800 wxPyShape *arg6 = (wxPyShape *) NULL ;
31801 wxPyShape *result;
31802 int temp4 ;
31803 PyObject * obj0 = 0 ;
31804 PyObject * obj1 = 0 ;
31805 PyObject * obj2 = 0 ;
31806 PyObject * obj3 = 0 ;
31807 PyObject * obj4 = 0 ;
31808 char *kwnames[] = {
31809 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31810 };
31811
31812 arg4 = &temp4;
31813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31816 arg2 = (double) SWIG_AsDouble(obj1);
31817 if (PyErr_Occurred()) SWIG_fail;
31818 arg3 = (double) SWIG_AsDouble(obj2);
31819 if (PyErr_Occurred()) SWIG_fail;
31820 if (obj3) {
31821 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
31822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31823 }
31824 if (obj4) {
31825 if ((SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_wxPyShape,
31826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31827 }
31828 {
31829 PyThreadState* __tstate = wxPyBeginAllowThreads();
31830 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
31831
31832 wxPyEndAllowThreads(__tstate);
31833 if (PyErr_Occurred()) SWIG_fail;
31834 }
31835 {
31836 resultobj = wxPyMake_wxShapeEvtHandler(result);
31837 }
31838 {
31839 PyObject *o = PyInt_FromLong((long) (*arg4));
31840 resultobj = t_output_helper(resultobj,o);
31841 }
31842 return resultobj;
31843 fail:
31844 return NULL;
31845 }
31846
31847
31848 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31849 PyObject *resultobj;
31850 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31851 double arg2 ;
31852 double arg3 ;
31853 int *arg4 = (int *) 0 ;
31854 int arg5 ;
31855 wxPyShape *result;
31856 int temp4 ;
31857 PyObject * obj0 = 0 ;
31858 PyObject * obj1 = 0 ;
31859 PyObject * obj2 = 0 ;
31860 PyObject * obj3 = 0 ;
31861 char *kwnames[] = {
31862 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31863 };
31864
31865 arg4 = &temp4;
31866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31869 arg2 = (double) SWIG_AsDouble(obj1);
31870 if (PyErr_Occurred()) SWIG_fail;
31871 arg3 = (double) SWIG_AsDouble(obj2);
31872 if (PyErr_Occurred()) SWIG_fail;
31873 arg5 = (int) SWIG_AsInt(obj3);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 {
31876 PyThreadState* __tstate = wxPyBeginAllowThreads();
31877 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
31878
31879 wxPyEndAllowThreads(__tstate);
31880 if (PyErr_Occurred()) SWIG_fail;
31881 }
31882 {
31883 resultobj = wxPyMake_wxShapeEvtHandler(result);
31884 }
31885 {
31886 PyObject *o = PyInt_FromLong((long) (*arg4));
31887 resultobj = t_output_helper(resultobj,o);
31888 }
31889 return resultobj;
31890 fail:
31891 return NULL;
31892 }
31893
31894
31895 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
31896 PyObject *resultobj;
31897 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31898 wxDiagram *result;
31899 PyObject * obj0 = 0 ;
31900 char *kwnames[] = {
31901 (char *) "self", NULL
31902 };
31903
31904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
31905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31907 {
31908 PyThreadState* __tstate = wxPyBeginAllowThreads();
31909 result = (wxDiagram *)(arg1)->GetDiagram();
31910
31911 wxPyEndAllowThreads(__tstate);
31912 if (PyErr_Occurred()) SWIG_fail;
31913 }
31914 {
31915 resultobj = wxPyMake_wxObject(result);
31916 }
31917 return resultobj;
31918 fail:
31919 return NULL;
31920 }
31921
31922
31923 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31924 PyObject *resultobj;
31925 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31926 bool result;
31927 PyObject * obj0 = 0 ;
31928 char *kwnames[] = {
31929 (char *) "self", NULL
31930 };
31931
31932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
31933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31935 {
31936 PyThreadState* __tstate = wxPyBeginAllowThreads();
31937 result = (bool)(arg1)->GetQuickEditMode();
31938
31939 wxPyEndAllowThreads(__tstate);
31940 if (PyErr_Occurred()) SWIG_fail;
31941 }
31942 {
31943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31944 }
31945 return resultobj;
31946 fail:
31947 return NULL;
31948 }
31949
31950
31951 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31952 PyObject *resultobj;
31953 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31954 wxPyShape *arg2 = (wxPyShape *) 0 ;
31955 PyObject * obj0 = 0 ;
31956 PyObject * obj1 = 0 ;
31957 char *kwnames[] = {
31958 (char *) "self",(char *) "shape", NULL
31959 };
31960
31961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31966 {
31967 PyThreadState* __tstate = wxPyBeginAllowThreads();
31968 (arg1)->InsertShape(arg2);
31969
31970 wxPyEndAllowThreads(__tstate);
31971 if (PyErr_Occurred()) SWIG_fail;
31972 }
31973 Py_INCREF(Py_None); resultobj = Py_None;
31974 return resultobj;
31975 fail:
31976 return NULL;
31977 }
31978
31979
31980 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31981 PyObject *resultobj;
31982 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31983 double arg2 ;
31984 double arg3 ;
31985 int arg4 = (int) 0 ;
31986 PyObject * obj0 = 0 ;
31987 PyObject * obj1 = 0 ;
31988 PyObject * obj2 = 0 ;
31989 PyObject * obj3 = 0 ;
31990 char *kwnames[] = {
31991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31992 };
31993
31994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31997 arg2 = (double) SWIG_AsDouble(obj1);
31998 if (PyErr_Occurred()) SWIG_fail;
31999 arg3 = (double) SWIG_AsDouble(obj2);
32000 if (PyErr_Occurred()) SWIG_fail;
32001 if (obj3) {
32002 arg4 = (int) SWIG_AsInt(obj3);
32003 if (PyErr_Occurred()) SWIG_fail;
32004 }
32005 {
32006 PyThreadState* __tstate = wxPyBeginAllowThreads();
32007 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
32008
32009 wxPyEndAllowThreads(__tstate);
32010 if (PyErr_Occurred()) SWIG_fail;
32011 }
32012 Py_INCREF(Py_None); resultobj = Py_None;
32013 return resultobj;
32014 fail:
32015 return NULL;
32016 }
32017
32018
32019 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32020 PyObject *resultobj;
32021 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32022 double arg2 ;
32023 double arg3 ;
32024 int arg4 = (int) 0 ;
32025 PyObject * obj0 = 0 ;
32026 PyObject * obj1 = 0 ;
32027 PyObject * obj2 = 0 ;
32028 PyObject * obj3 = 0 ;
32029 char *kwnames[] = {
32030 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32031 };
32032
32033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32036 arg2 = (double) SWIG_AsDouble(obj1);
32037 if (PyErr_Occurred()) SWIG_fail;
32038 arg3 = (double) SWIG_AsDouble(obj2);
32039 if (PyErr_Occurred()) SWIG_fail;
32040 if (obj3) {
32041 arg4 = (int) SWIG_AsInt(obj3);
32042 if (PyErr_Occurred()) SWIG_fail;
32043 }
32044 {
32045 PyThreadState* __tstate = wxPyBeginAllowThreads();
32046 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
32047
32048 wxPyEndAllowThreads(__tstate);
32049 if (PyErr_Occurred()) SWIG_fail;
32050 }
32051 Py_INCREF(Py_None); resultobj = Py_None;
32052 return resultobj;
32053 fail:
32054 return NULL;
32055 }
32056
32057
32058 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32059 PyObject *resultobj;
32060 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32061 double arg2 ;
32062 double arg3 ;
32063 int arg4 = (int) 0 ;
32064 PyObject * obj0 = 0 ;
32065 PyObject * obj1 = 0 ;
32066 PyObject * obj2 = 0 ;
32067 PyObject * obj3 = 0 ;
32068 char *kwnames[] = {
32069 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32070 };
32071
32072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32075 arg2 = (double) SWIG_AsDouble(obj1);
32076 if (PyErr_Occurred()) SWIG_fail;
32077 arg3 = (double) SWIG_AsDouble(obj2);
32078 if (PyErr_Occurred()) SWIG_fail;
32079 if (obj3) {
32080 arg4 = (int) SWIG_AsInt(obj3);
32081 if (PyErr_Occurred()) SWIG_fail;
32082 }
32083 {
32084 PyThreadState* __tstate = wxPyBeginAllowThreads();
32085 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
32086
32087 wxPyEndAllowThreads(__tstate);
32088 if (PyErr_Occurred()) SWIG_fail;
32089 }
32090 Py_INCREF(Py_None); resultobj = Py_None;
32091 return resultobj;
32092 fail:
32093 return NULL;
32094 }
32095
32096
32097 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32098 PyObject *resultobj;
32099 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32100 double arg2 ;
32101 double arg3 ;
32102 int arg4 = (int) 0 ;
32103 PyObject * obj0 = 0 ;
32104 PyObject * obj1 = 0 ;
32105 PyObject * obj2 = 0 ;
32106 PyObject * obj3 = 0 ;
32107 char *kwnames[] = {
32108 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32109 };
32110
32111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32114 arg2 = (double) SWIG_AsDouble(obj1);
32115 if (PyErr_Occurred()) SWIG_fail;
32116 arg3 = (double) SWIG_AsDouble(obj2);
32117 if (PyErr_Occurred()) SWIG_fail;
32118 if (obj3) {
32119 arg4 = (int) SWIG_AsInt(obj3);
32120 if (PyErr_Occurred()) SWIG_fail;
32121 }
32122 {
32123 PyThreadState* __tstate = wxPyBeginAllowThreads();
32124 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32125
32126 wxPyEndAllowThreads(__tstate);
32127 if (PyErr_Occurred()) SWIG_fail;
32128 }
32129 Py_INCREF(Py_None); resultobj = Py_None;
32130 return resultobj;
32131 fail:
32132 return NULL;
32133 }
32134
32135
32136 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32137 PyObject *resultobj;
32138 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32139 bool arg2 ;
32140 double arg3 ;
32141 double arg4 ;
32142 int arg5 = (int) 0 ;
32143 PyObject * obj0 = 0 ;
32144 PyObject * obj1 = 0 ;
32145 PyObject * obj2 = 0 ;
32146 PyObject * obj3 = 0 ;
32147 PyObject * obj4 = 0 ;
32148 char *kwnames[] = {
32149 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32150 };
32151
32152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32155 arg2 = (bool) SWIG_AsBool(obj1);
32156 if (PyErr_Occurred()) SWIG_fail;
32157 arg3 = (double) SWIG_AsDouble(obj2);
32158 if (PyErr_Occurred()) SWIG_fail;
32159 arg4 = (double) SWIG_AsDouble(obj3);
32160 if (PyErr_Occurred()) SWIG_fail;
32161 if (obj4) {
32162 arg5 = (int) SWIG_AsInt(obj4);
32163 if (PyErr_Occurred()) SWIG_fail;
32164 }
32165 {
32166 PyThreadState* __tstate = wxPyBeginAllowThreads();
32167 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32168
32169 wxPyEndAllowThreads(__tstate);
32170 if (PyErr_Occurred()) SWIG_fail;
32171 }
32172 Py_INCREF(Py_None); resultobj = Py_None;
32173 return resultobj;
32174 fail:
32175 return NULL;
32176 }
32177
32178
32179 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32180 PyObject *resultobj;
32181 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32182 bool arg2 ;
32183 double arg3 ;
32184 double arg4 ;
32185 int arg5 = (int) 0 ;
32186 PyObject * obj0 = 0 ;
32187 PyObject * obj1 = 0 ;
32188 PyObject * obj2 = 0 ;
32189 PyObject * obj3 = 0 ;
32190 PyObject * obj4 = 0 ;
32191 char *kwnames[] = {
32192 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32193 };
32194
32195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32198 arg2 = (bool) SWIG_AsBool(obj1);
32199 if (PyErr_Occurred()) SWIG_fail;
32200 arg3 = (double) SWIG_AsDouble(obj2);
32201 if (PyErr_Occurred()) SWIG_fail;
32202 arg4 = (double) SWIG_AsDouble(obj3);
32203 if (PyErr_Occurred()) SWIG_fail;
32204 if (obj4) {
32205 arg5 = (int) SWIG_AsInt(obj4);
32206 if (PyErr_Occurred()) SWIG_fail;
32207 }
32208 {
32209 PyThreadState* __tstate = wxPyBeginAllowThreads();
32210 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
32211
32212 wxPyEndAllowThreads(__tstate);
32213 if (PyErr_Occurred()) SWIG_fail;
32214 }
32215 Py_INCREF(Py_None); resultobj = Py_None;
32216 return resultobj;
32217 fail:
32218 return NULL;
32219 }
32220
32221
32222 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32223 PyObject *resultobj;
32224 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32225 double arg2 ;
32226 double arg3 ;
32227 int arg4 = (int) 0 ;
32228 PyObject * obj0 = 0 ;
32229 PyObject * obj1 = 0 ;
32230 PyObject * obj2 = 0 ;
32231 PyObject * obj3 = 0 ;
32232 char *kwnames[] = {
32233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32234 };
32235
32236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32239 arg2 = (double) SWIG_AsDouble(obj1);
32240 if (PyErr_Occurred()) SWIG_fail;
32241 arg3 = (double) SWIG_AsDouble(obj2);
32242 if (PyErr_Occurred()) SWIG_fail;
32243 if (obj3) {
32244 arg4 = (int) SWIG_AsInt(obj3);
32245 if (PyErr_Occurred()) SWIG_fail;
32246 }
32247 {
32248 PyThreadState* __tstate = wxPyBeginAllowThreads();
32249 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
32250
32251 wxPyEndAllowThreads(__tstate);
32252 if (PyErr_Occurred()) SWIG_fail;
32253 }
32254 Py_INCREF(Py_None); resultobj = Py_None;
32255 return resultobj;
32256 fail:
32257 return NULL;
32258 }
32259
32260
32261 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32262 PyObject *resultobj;
32263 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32264 double arg2 ;
32265 double arg3 ;
32266 int arg4 = (int) 0 ;
32267 PyObject * obj0 = 0 ;
32268 PyObject * obj1 = 0 ;
32269 PyObject * obj2 = 0 ;
32270 PyObject * obj3 = 0 ;
32271 char *kwnames[] = {
32272 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32273 };
32274
32275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32278 arg2 = (double) SWIG_AsDouble(obj1);
32279 if (PyErr_Occurred()) SWIG_fail;
32280 arg3 = (double) SWIG_AsDouble(obj2);
32281 if (PyErr_Occurred()) SWIG_fail;
32282 if (obj3) {
32283 arg4 = (int) SWIG_AsInt(obj3);
32284 if (PyErr_Occurred()) SWIG_fail;
32285 }
32286 {
32287 PyThreadState* __tstate = wxPyBeginAllowThreads();
32288 (arg1)->base_OnRightClick(arg2,arg3,arg4);
32289
32290 wxPyEndAllowThreads(__tstate);
32291 if (PyErr_Occurred()) SWIG_fail;
32292 }
32293 Py_INCREF(Py_None); resultobj = Py_None;
32294 return resultobj;
32295 fail:
32296 return NULL;
32297 }
32298
32299
32300 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
32301 PyObject *resultobj;
32302 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32303 wxDC *arg2 = 0 ;
32304 PyObject * obj0 = 0 ;
32305 PyObject * obj1 = 0 ;
32306 char *kwnames[] = {
32307 (char *) "self",(char *) "dc", NULL
32308 };
32309
32310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
32311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
32314 SWIG_POINTER_EXCEPTION | 0)) == -1)
32315 SWIG_fail;
32316 if (arg2 == NULL) {
32317 PyErr_SetString(PyExc_TypeError,"null reference");
32318 SWIG_fail;
32319 }
32320 {
32321 PyThreadState* __tstate = wxPyBeginAllowThreads();
32322 (arg1)->Redraw(*arg2);
32323
32324 wxPyEndAllowThreads(__tstate);
32325 if (PyErr_Occurred()) SWIG_fail;
32326 }
32327 Py_INCREF(Py_None); resultobj = Py_None;
32328 return resultobj;
32329 fail:
32330 return NULL;
32331 }
32332
32333
32334 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32335 PyObject *resultobj;
32336 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32337 wxPyShape *arg2 = (wxPyShape *) 0 ;
32338 PyObject * obj0 = 0 ;
32339 PyObject * obj1 = 0 ;
32340 char *kwnames[] = {
32341 (char *) "self",(char *) "shape", NULL
32342 };
32343
32344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
32345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32349 {
32350 PyThreadState* __tstate = wxPyBeginAllowThreads();
32351 (arg1)->RemoveShape(arg2);
32352
32353 wxPyEndAllowThreads(__tstate);
32354 if (PyErr_Occurred()) SWIG_fail;
32355 }
32356 Py_INCREF(Py_None); resultobj = Py_None;
32357 return resultobj;
32358 fail:
32359 return NULL;
32360 }
32361
32362
32363 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
32364 PyObject *resultobj;
32365 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32366 wxDiagram *arg2 = (wxDiagram *) 0 ;
32367 PyObject * obj0 = 0 ;
32368 PyObject * obj1 = 0 ;
32369 char *kwnames[] = {
32370 (char *) "self",(char *) "diagram", NULL
32371 };
32372
32373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
32374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDiagram,
32377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32378 {
32379 PyThreadState* __tstate = wxPyBeginAllowThreads();
32380 (arg1)->SetDiagram(arg2);
32381
32382 wxPyEndAllowThreads(__tstate);
32383 if (PyErr_Occurred()) SWIG_fail;
32384 }
32385 Py_INCREF(Py_None); resultobj = Py_None;
32386 return resultobj;
32387 fail:
32388 return NULL;
32389 }
32390
32391
32392 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
32393 PyObject *resultobj;
32394 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32395 double *arg2 = (double *) 0 ;
32396 double *arg3 = (double *) 0 ;
32397 double temp2 ;
32398 double temp3 ;
32399 PyObject * obj0 = 0 ;
32400 PyObject * obj1 = 0 ;
32401 PyObject * obj2 = 0 ;
32402 char *kwnames[] = {
32403 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32404 };
32405
32406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
32407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32409 {
32410 temp2 = PyFloat_AsDouble(obj1);
32411 if (PyErr_Occurred()) SWIG_fail;
32412 arg2 = &temp2;
32413 }
32414 {
32415 temp3 = PyFloat_AsDouble(obj2);
32416 if (PyErr_Occurred()) SWIG_fail;
32417 arg3 = &temp3;
32418 }
32419 {
32420 PyThreadState* __tstate = wxPyBeginAllowThreads();
32421 (arg1)->Snap(arg2,arg3);
32422
32423 wxPyEndAllowThreads(__tstate);
32424 if (PyErr_Occurred()) SWIG_fail;
32425 }
32426 Py_INCREF(Py_None); resultobj = Py_None;
32427 {
32428 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32429 resultobj = t_output_helper(resultobj,o);
32430 }
32431 {
32432 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32433 resultobj = t_output_helper(resultobj,o);
32434 }
32435 return resultobj;
32436 fail:
32437 return NULL;
32438 }
32439
32440
32441 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
32442 PyObject *obj;
32443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32444 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
32445 Py_INCREF(obj);
32446 return Py_BuildValue((char *)"");
32447 }
32448 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
32449 PyObject *resultobj;
32450 char *kwnames[] = {
32451 NULL
32452 };
32453
32454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
32455 {
32456 PyThreadState* __tstate = wxPyBeginAllowThreads();
32457 wxOGLInitialize();
32458
32459 wxPyEndAllowThreads(__tstate);
32460 if (PyErr_Occurred()) SWIG_fail;
32461 }
32462 Py_INCREF(Py_None); resultobj = Py_None;
32463 return resultobj;
32464 fail:
32465 return NULL;
32466 }
32467
32468
32469 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
32470 PyObject *resultobj;
32471 char *kwnames[] = {
32472 NULL
32473 };
32474
32475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
32476 {
32477 PyThreadState* __tstate = wxPyBeginAllowThreads();
32478 wxOGLCleanUp();
32479
32480 wxPyEndAllowThreads(__tstate);
32481 if (PyErr_Occurred()) SWIG_fail;
32482 }
32483 Py_INCREF(Py_None); resultobj = Py_None;
32484 return resultobj;
32485 fail:
32486 return NULL;
32487 }
32488
32489
32490 static PyMethodDef SwigMethods[] = {
32491 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
32492 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
32493 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
32494 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
32495 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
32496 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
32497 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
32498 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32499 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
32500 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
32501 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
32502 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
32503 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
32504 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
32505 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
32506 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
32507 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32508 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
32509 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
32510 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
32511 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
32512 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
32513 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
32514 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
32515 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
32516 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
32517 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
32518 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
32519 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
32520 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
32521 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32522 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
32523 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
32524 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
32525 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
32526 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
32527 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
32528 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
32529 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
32530 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32531 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
32532 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
32533 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
32534 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32535 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32536 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32537 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32538 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32539 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32540 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32541 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32542 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32543 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32544 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32545 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32546 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32547 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32548 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32549 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32550 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32551 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32552 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32553 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32554 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32555 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32556 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32557 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32558 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32559 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32560 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32561 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32562 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32563 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32564 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32565 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32566 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
32567 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
32568 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32569 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
32570 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
32571 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
32572 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
32573 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
32574 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
32575 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
32576 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
32577 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
32578 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
32579 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
32580 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
32581 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
32582 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
32583 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
32584 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
32585 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
32586 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32587 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32588 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
32589 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
32590 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
32591 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
32592 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
32593 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32594 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32595 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32596 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32597 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
32598 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
32599 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
32600 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
32601 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
32602 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32603 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32604 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
32605 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
32606 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
32607 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
32608 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
32609 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32610 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32611 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
32612 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
32613 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
32614 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
32615 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
32616 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32617 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32618 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
32619 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32620 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32621 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32622 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32623 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
32624 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
32625 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
32626 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
32627 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
32628 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
32629 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
32630 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
32631 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
32632 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
32633 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
32634 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
32635 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
32636 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
32637 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
32638 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
32639 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
32640 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
32641 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
32642 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
32643 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
32644 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
32645 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
32646 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
32647 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
32648 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32649 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32650 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
32651 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
32652 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32653 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32654 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
32655 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
32656 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
32657 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
32658 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
32659 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
32660 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
32661 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
32662 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
32663 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
32664 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
32665 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
32666 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
32667 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
32668 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
32669 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
32670 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
32671 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
32672 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
32673 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
32674 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
32675 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
32676 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
32677 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
32678 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
32679 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
32680 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32681 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
32682 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32683 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32684 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32685 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32686 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32687 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32688 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32689 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32690 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
32691 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
32692 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
32693 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
32694 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32695 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
32696 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
32697 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32698 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32699 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
32700 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
32701 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
32702 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
32703 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
32704 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
32705 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32706 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32707 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32708 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32709 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32710 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32711 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32712 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32713 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32714 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32715 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32716 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32717 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32718 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32719 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32720 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32721 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32722 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32723 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32724 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32725 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32726 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32727 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32728 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32729 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32730 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32731 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32732 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32733 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32734 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
32735 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32736 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32737 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
32738 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
32739 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
32740 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
32741 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
32742 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
32743 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
32744 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32745 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
32746 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32747 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
32748 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
32749 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
32750 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
32751 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
32752 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32753 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32754 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32755 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32756 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
32757 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
32758 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32759 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32760 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
32761 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32762 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
32763 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32764 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
32765 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
32766 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32767 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32768 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32769 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32770 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
32771 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
32772 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
32773 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32774 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32775 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32776 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
32777 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
32778 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32779 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32780 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32781 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32782 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32783 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32784 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32785 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32786 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32787 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32788 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32789 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32790 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32791 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32792 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32793 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32794 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32795 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32796 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32797 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32798 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32799 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32800 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32801 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32802 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32803 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32804 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32805 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32806 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32807 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32808 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32809 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32810 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
32811 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
32812 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32813 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32814 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32815 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32816 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32817 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32818 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32819 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32820 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32821 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32822 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32823 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32824 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32825 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32826 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32827 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32828 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32829 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32830 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32831 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32832 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32833 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32834 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32835 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32836 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32837 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32838 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32839 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32840 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32841 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32842 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32843 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
32844 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
32845 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32846 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
32847 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
32848 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
32849 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
32850 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32851 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32852 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32853 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32854 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32855 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32856 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32857 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32858 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32859 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32860 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32861 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32862 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32863 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32864 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32865 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32866 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32867 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32868 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32869 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32870 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32871 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32872 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32873 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32874 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32875 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32876 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32877 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32878 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32879 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
32880 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
32881 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32882 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32883 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32884 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
32885 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
32886 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32887 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
32888 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
32889 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32890 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32891 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32892 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32893 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32894 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
32895 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
32896 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
32897 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32898 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32899 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32900 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32901 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32902 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32903 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
32904 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
32905 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
32906 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
32907 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
32908 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
32909 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
32910 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32911 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32912 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32913 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32914 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32915 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32916 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32917 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32918 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32919 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32920 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32921 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32922 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32923 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32924 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32925 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32926 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32927 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32928 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32929 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32930 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32931 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32932 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32933 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32934 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32935 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32936 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32937 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32938 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32939 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
32940 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
32941 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
32942 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
32943 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
32944 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
32945 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
32946 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32947 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
32948 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
32949 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
32950 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
32951 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32952 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
32953 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
32954 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
32955 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
32956 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
32957 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
32958 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
32959 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32960 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32961 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32962 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32963 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32964 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32965 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32966 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32967 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32968 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32969 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32970 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32971 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32972 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32973 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32974 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32975 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32976 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32977 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32978 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32979 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32980 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32981 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32982 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32983 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32984 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32985 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32986 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32987 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32988 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32989 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32990 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
32991 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
32992 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32993 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
32994 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
32995 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32996 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32997 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32998 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32999 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33000 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33001 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33002 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33003 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33004 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33005 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33006 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33007 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33008 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33009 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33010 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33011 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33012 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33013 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33014 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33015 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33016 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33017 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33018 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33019 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33020 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33021 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33022 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33023 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33024 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
33025 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
33026 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33027 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
33028 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
33029 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
33030 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
33031 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
33032 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
33033 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
33034 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
33035 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
33036 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33037 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33038 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
33039 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
33040 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33041 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
33042 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
33043 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
33044 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
33045 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
33046 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33047 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33048 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
33049 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
33050 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
33051 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33052 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33053 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33054 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33055 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33056 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33057 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33058 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33059 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33060 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33061 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33062 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33063 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33064 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33065 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33066 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33067 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33068 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33069 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33070 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33071 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33072 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33073 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33074 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33075 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33076 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33077 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33078 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33079 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33080 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33081 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
33082 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
33083 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33084 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33085 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33086 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33087 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33088 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33089 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33090 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33091 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33092 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33093 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33094 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33095 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33096 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33097 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33098 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33099 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33100 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33101 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33102 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33103 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33104 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33105 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33106 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33107 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33108 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33109 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33110 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33111 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33112 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
33113 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
33114 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33115 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33116 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33117 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33118 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33119 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33120 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33121 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33122 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33123 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33124 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33125 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33126 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33127 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33128 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33129 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33130 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33131 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33132 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33133 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33134 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33135 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33136 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33137 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33138 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33139 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33140 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33141 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33142 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33143 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33144 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33145 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33146 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33147 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33148 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33149 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33150 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33151 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33152 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33153 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33154 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33155 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33156 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33157 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33158 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
33159 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
33160 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
33161 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33162 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
33163 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
33164 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33165 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
33166 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
33167 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
33168 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
33169 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
33170 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33171 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
33172 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33173 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
33174 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
33175 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
33176 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33177 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
33178 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
33179 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
33180 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
33181 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
33182 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33183 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33184 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
33185 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
33186 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
33187 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
33188 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
33189 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
33190 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33191 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
33192 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
33193 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33194 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33195 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33196 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
33197 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33198 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
33199 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
33200 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
33201 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
33202 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
33203 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
33204 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33205 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33206 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33207 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33208 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33209 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
33210 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
33211 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33212 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33213 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33214 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33215 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33216 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33217 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33218 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33219 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33220 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33221 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33222 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33223 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33224 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33225 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33226 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33227 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33228 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33229 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33230 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33231 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33232 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33233 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33234 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33235 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33236 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33237 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33238 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33239 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
33240 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
33241 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33242 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
33243 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
33244 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
33245 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
33246 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
33247 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33248 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33249 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33250 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33251 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33252 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33253 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33254 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33255 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33256 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33257 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33258 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33259 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33260 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33261 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33262 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33263 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33264 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33265 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33266 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33267 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33268 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33269 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33270 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33271 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33272 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33273 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33274 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33275 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33276 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33277 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33278 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33279 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33280 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33281 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
33282 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
33283 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33284 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33285 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33286 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33287 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33288 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33289 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33290 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33291 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33292 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33293 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33294 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33295 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33296 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33297 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33298 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33299 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33300 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33301 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33302 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33303 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33304 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33305 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33306 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33307 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33308 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33309 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33310 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33311 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33312 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33313 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
33314 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
33315 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
33316 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
33317 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
33318 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
33319 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
33320 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33321 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
33322 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33323 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33324 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
33325 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33326 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33327 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
33328 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
33329 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
33330 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
33331 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33332 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33333 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33334 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33335 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33336 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33337 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
33338 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
33339 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
33340 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
33341 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33342 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
33343 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
33344 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
33345 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
33346 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33347 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
33348 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33349 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33350 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33351 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33352 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33353 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33354 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33355 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33356 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
33357 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33358 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
33359 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
33360 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
33361 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
33362 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
33363 { NULL, NULL }
33364 };
33365
33366
33367 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33368
33369 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33370 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33371 }
33372 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33373 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33374 }
33375 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33376 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33377 }
33378 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33379 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33380 }
33381 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33382 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33383 }
33384 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33385 return (void *)((wxPanel *) ((wxPyPanel *) x));
33386 }
33387 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33388 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33389 }
33390 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33391 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33392 }
33393 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33394 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33395 }
33396 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
33397 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33398 }
33399 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33400 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33401 }
33402 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33403 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33404 }
33405 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
33406 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33407 }
33408 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33410 }
33411 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33413 }
33414 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33415 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33416 }
33417 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33418 return (void *)((wxWindow *) ((wxMenuBar *) x));
33419 }
33420 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33421 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33422 }
33423 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33424 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33425 }
33426 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33428 }
33429 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33430 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33431 }
33432 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33433 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33434 }
33435 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33436 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33437 }
33438 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33439 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33440 }
33441 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33442 return (void *)((wxWindow *) ((wxPanel *) x));
33443 }
33444 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33445 return (void *)((wxWindow *) ((wxStatusBar *) x));
33446 }
33447 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33448 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33449 }
33450 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33451 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33452 }
33453 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33454 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33455 }
33456 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33457 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33458 }
33459 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33460 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33461 }
33462 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33463 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33464 }
33465 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33466 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33467 }
33468 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33469 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33470 }
33471 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33472 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33473 }
33474 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33475 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33476 }
33477 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33478 return (void *)((wxWindow *) ((wxSashWindow *) x));
33479 }
33480 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33481 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33482 }
33483 static void *_p_wxControlTo_p_wxWindow(void *x) {
33484 return (void *)((wxWindow *) ((wxControl *) x));
33485 }
33486 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33487 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33488 }
33489 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33490 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33491 }
33492 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33493 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33494 }
33495 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33496 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33497 }
33498 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33499 return (void *)((wxWindow *) ((wxPyWindow *) x));
33500 }
33501 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33502 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33503 }
33504 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
33505 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33506 }
33507 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33508 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33509 }
33510 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33511 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33512 }
33513 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33514 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33515 }
33516 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33517 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33518 }
33519 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33520 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33521 }
33522 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33523 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33524 }
33525 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33526 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33527 }
33528 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33529 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33530 }
33531 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33532 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33533 }
33534 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
33535 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33536 }
33537 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
33538 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33539 }
33540 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33541 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33542 }
33543 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33544 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33545 }
33546 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33547 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33548 }
33549 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
33550 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33551 }
33552 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33554 }
33555 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33557 }
33558 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33559 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33560 }
33561 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33562 return (void *)((wxObject *) ((wxSizerItem *) x));
33563 }
33564 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33565 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33566 }
33567 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33568 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33569 }
33570 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
33571 return (void *)((wxObject *) ((wxOGLConstraint *) x));
33572 }
33573 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33574 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33575 }
33576 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33577 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33578 }
33579 static void *_p_wxSizerTo_p_wxObject(void *x) {
33580 return (void *)((wxObject *) ((wxSizer *) x));
33581 }
33582 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
33583 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33584 }
33585 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
33586 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33587 }
33588 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
33589 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
33590 }
33591 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33592 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33593 }
33594 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33595 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33596 }
33597 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
33598 return (void *)((wxObject *) ((wxArrowHead *) x));
33599 }
33600 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33602 }
33603 static void *_p_wxEventTo_p_wxObject(void *x) {
33604 return (void *)((wxObject *) ((wxEvent *) x));
33605 }
33606 static void *_p_wxFontDataTo_p_wxObject(void *x) {
33607 return (void *)((wxObject *) ((wxFontData *) x));
33608 }
33609 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33610 return (void *)((wxObject *) ((wxPrintData *) x));
33611 }
33612 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33613 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33614 }
33615 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33616 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33617 }
33618 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33619 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33620 }
33621 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33622 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33623 }
33624 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
33625 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
33626 }
33627 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33628 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33629 }
33630 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33631 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33632 }
33633 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33634 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33635 }
33636 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33637 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33638 }
33639 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33640 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33641 }
33642 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33643 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33644 }
33645 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33646 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33647 }
33648 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33650 }
33651 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
33652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33653 }
33654 static void *_p_wxControlTo_p_wxObject(void *x) {
33655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33656 }
33657 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
33658 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
33659 }
33660 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33661 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33662 }
33663 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33664 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33665 }
33666 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33667 return (void *)((wxObject *) ((wxFSFile *) x));
33668 }
33669 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33670 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33671 }
33672 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
33673 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33674 }
33675 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33676 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33677 }
33678 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33680 }
33681 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33682 return (void *)((wxObject *) ((wxColourData *) x));
33683 }
33684 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33685 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33686 }
33687 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33688 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33689 }
33690 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33692 }
33693 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33695 }
33696 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33698 }
33699 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33701 }
33702 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33704 }
33705 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33707 }
33708 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33710 }
33711 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33713 }
33714 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33716 }
33717 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33718 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33719 }
33720 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33721 return (void *)((wxObject *) ((wxPrinter *) x));
33722 }
33723 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33724 return (void *)((wxObject *) ((wxMenuItem *) x));
33725 }
33726 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33727 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33728 }
33729 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33730 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33731 }
33732 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33733 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33734 }
33735 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33736 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33737 }
33738 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33739 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33740 }
33741 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33742 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33743 }
33744 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33745 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33746 }
33747 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33748 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33749 }
33750 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33751 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33752 }
33753 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33754 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33755 }
33756 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33757 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33758 }
33759 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33760 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33761 }
33762 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33763 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33764 }
33765 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33766 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33767 }
33768 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33769 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33770 }
33771 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33772 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33773 }
33774 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33775 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33776 }
33777 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33778 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33779 }
33780 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33781 return (void *)((wxObject *) ((wxImageHandler *) x));
33782 }
33783 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33784 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33785 }
33786 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33787 return (void *)((wxObject *) ((wxEvtHandler *) x));
33788 }
33789 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33790 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33791 }
33792 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
33793 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
33794 }
33795 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33797 }
33798 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33800 }
33801 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
33802 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33803 }
33804 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33805 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33806 }
33807 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
33808 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33809 }
33810 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33812 }
33813 static void *_p_wxImageTo_p_wxObject(void *x) {
33814 return (void *)((wxObject *) ((wxImage *) x));
33815 }
33816 static void *_p_wxFrameTo_p_wxObject(void *x) {
33817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33818 }
33819 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33820 return (void *)((wxObject *) ((wxPyPrintout *) x));
33821 }
33822 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33823 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33824 }
33825 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33826 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33827 }
33828 static void *_p_wxDiagramTo_p_wxObject(void *x) {
33829 return (void *)((wxObject *) ((wxDiagram *) x));
33830 }
33831 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33833 }
33834 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33836 }
33837 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33838 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33839 }
33840 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33841 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33842 }
33843 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33844 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33845 }
33846 static void *_p_wxWindowTo_p_wxObject(void *x) {
33847 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33848 }
33849 static void *_p_wxMenuTo_p_wxObject(void *x) {
33850 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33851 }
33852 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33854 }
33855 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33857 }
33858 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33860 }
33861 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33863 }
33864 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33866 }
33867 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33869 }
33870 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33872 }
33873 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33875 }
33876 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33878 }
33879 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33881 }
33882 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33884 }
33885 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33887 }
33888 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33890 }
33891 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33893 }
33894 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33895 return (void *)((wxObject *) ((wxPrintPreview *) x));
33896 }
33897 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33898 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33899 }
33900 static void *_p_wxPanelTo_p_wxObject(void *x) {
33901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33902 }
33903 static void *_p_wxDialogTo_p_wxObject(void *x) {
33904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33905 }
33906 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33908 }
33909 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33911 }
33912 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33914 }
33915 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33917 }
33918 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33920 }
33921 static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
33922 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
33923 }
33924 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
33925 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
33926 }
33927 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33928 return (void *)((wxObject *) ((wxFileSystem *) x));
33929 }
33930 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33932 }
33933 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33934 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33935 }
33936 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33937 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33938 }
33939 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33940 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33941 }
33942 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33943 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33944 }
33945 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33946 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33947 }
33948 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33949 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33950 }
33951 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33952 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33953 }
33954 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33956 }
33957 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33959 }
33960 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33961 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33962 }
33963 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33964 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33965 }
33966 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33967 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33968 }
33969 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
33970 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
33971 }
33972 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
33973 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
33974 }
33975 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
33976 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
33977 }
33978 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
33979 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
33980 }
33981 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
33982 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
33983 }
33984 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33986 }
33987 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33988 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33989 }
33990 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33991 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33992 }
33993 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33994 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33995 }
33996 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33997 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33998 }
33999 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
34000 return (void *)((wxObject *) ((wxShapeRegion *) x));
34001 }
34002 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34003 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
34004 }
34005 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
34006 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34007 }
34008 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
34009 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34010 }
34011 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34012 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34013 }
34014 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
34015 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
34016 }
34017 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
34018 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34019 }
34020 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
34021 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34022 }
34023 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
34024 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34025 }
34026 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
34027 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34028 }
34029 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
34030 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
34031 }
34032 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
34033 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34034 }
34035 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
34036 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
34037 }
34038 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
34039 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
34040 }
34041 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34042 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34043 }
34044 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34046 }
34047 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34048 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34049 }
34050 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34051 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34052 }
34053 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34054 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34055 }
34056 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34057 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34058 }
34059 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34060 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34061 }
34062 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34063 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34064 }
34065 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34066 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34067 }
34068 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34069 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34070 }
34071 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34072 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34073 }
34074 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34075 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34076 }
34077 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34078 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34079 }
34080 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34081 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34082 }
34083 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34084 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34085 }
34086 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34087 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34088 }
34089 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34090 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34091 }
34092 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34093 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34094 }
34095 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34096 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34097 }
34098 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34099 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34100 }
34101 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34102 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34103 }
34104 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34105 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34106 }
34107 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34108 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34109 }
34110 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34111 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34112 }
34113 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34114 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34115 }
34116 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34117 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34118 }
34119 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34120 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34121 }
34122 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34123 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34124 }
34125 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
34126 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34127 }
34128 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34129 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34130 }
34131 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34133 }
34134 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34136 }
34137 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34139 }
34140 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34141 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34142 }
34143 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34144 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34145 }
34146 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34147 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34148 }
34149 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34150 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34151 }
34152 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34153 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34154 }
34155 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34157 }
34158 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34159 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34160 }
34161 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34162 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34163 }
34164 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34165 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34166 }
34167 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34168 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34169 }
34170 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34172 }
34173 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34175 }
34176 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34177 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34178 }
34179 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34180 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34181 }
34182 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34183 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34184 }
34185 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
34186 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34187 }
34188 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
34189 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34190 }
34191 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34192 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34193 }
34194 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
34195 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
34196 }
34197 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
34198 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
34199 }
34200 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
34201 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34202 }
34203 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
34204 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34205 }
34206 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
34207 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
34208 }
34209 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
34210 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
34211 }
34212 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
34213 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
34214 }
34215 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
34216 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
34217 }
34218 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
34219 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34220 }
34221 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
34222 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34223 }
34224 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
34225 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
34226 }
34227 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
34228 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
34229 }
34230 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
34231 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
34232 }
34233 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
34234 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34235 }
34236 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
34237 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34238 }
34239 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
34240 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
34241 }
34242 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
34243 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
34244 }
34245 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
34246 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34247 }
34248 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
34249 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34250 }
34251 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
34252 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
34253 }
34254 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
34255 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34256 }
34257 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}};
34258 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}};
34259 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}};
34260 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}};
34261 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}};
34262 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}};
34263 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}};
34264 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}};
34265 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}};
34266 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}};
34267 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}};
34268 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}};
34269 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}};
34270 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}};
34271 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}};
34272 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}};
34273 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}};
34274 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}};
34275 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}};
34276 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}};
34277 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}};
34278 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}};
34279 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}};
34280 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}};
34281 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}};
34282 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}};
34283 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}};
34284 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}};
34285 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}};
34286 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}};
34287 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}};
34288 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}};
34289 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}};
34290 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}};
34291 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}};
34292 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}};
34293 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}};
34294 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}};
34295 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}};
34296 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}};
34297 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}};
34298
34299 static swig_type_info *swig_types_initial[] = {
34300 _swigt__p_wxOGLConstraint,
34301 _swigt__p_wxBrush,
34302 _swigt__p_wxColour,
34303 _swigt__p_wxShapeRegion,
34304 _swigt__p_wxDC,
34305 _swigt__p_wxRealPoint,
34306 _swigt__p_wxPyControlPoint,
34307 _swigt__p_wxArrowHead,
34308 _swigt__p_char,
34309 _swigt__p_wxStringList,
34310 _swigt__p_wxPanel,
34311 _swigt__p_bool,
34312 _swigt__p_wxList,
34313 _swigt__p_wxFont,
34314 _swigt__p_wxScrolledWindow,
34315 _swigt__p_wxWindow,
34316 _swigt__p_double,
34317 _swigt__p_wxPyDivisionShape,
34318 _swigt__p_wxPyDrawnShape,
34319 _swigt__p_wxPyPolygonShape,
34320 _swigt__p_wxBitmap,
34321 _swigt__p_wxObject,
34322 _swigt__p_wxPyBitmapShape,
34323 _swigt__p_wxPyShapeEvtHandler,
34324 _swigt__p_wxEvtHandler,
34325 _swigt__p_wxPyEllipseShape,
34326 _swigt__p_wxPyShapeCanvas,
34327 _swigt__p_wxPoint,
34328 _swigt__p_wxDiagram,
34329 _swigt__p_wxPyShape,
34330 _swigt__p_wxAttachmentPoint,
34331 _swigt__p_wxClassInfo,
34332 _swigt__p_wxPyLineShape,
34333 _swigt__p_wxPyRectangleShape,
34334 _swigt__p_wxPyCompositeShape,
34335 _swigt__p_wxPyCircleShape,
34336 _swigt__p_wxPen,
34337 _swigt__p_int,
34338 _swigt__p_wxPseudoMetaFile,
34339 _swigt__p_wxPyTextShape,
34340 _swigt__p_wxPyDividedShape,
34341 0
34342 };
34343
34344
34345 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34346
34347 static swig_const_info swig_const_table[] = {
34348 {0}};
34349
34350 #ifdef __cplusplus
34351 }
34352 #endif
34353
34354 #ifdef __cplusplus
34355 extern "C"
34356 #endif
34357 SWIGEXPORT(void) SWIG_init(void) {
34358 static PyObject *SWIG_globals = 0;
34359 static int typeinit = 0;
34360 PyObject *m, *d;
34361 int i;
34362 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34363 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34364 d = PyModule_GetDict(m);
34365
34366 if (!typeinit) {
34367 for (i = 0; swig_types_initial[i]; i++) {
34368 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34369 }
34370 typeinit = 1;
34371 }
34372 SWIG_InstallConstants(d,swig_const_table);
34373
34374 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE));
34375 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
34376 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT));
34377 PyDict_SetItemString(d,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL));
34378 PyDict_SetItemString(d,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE));
34379 PyDict_SetItemString(d,"ARROW_END", SWIG_FromInt((int)ARROW_END));
34380 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH));
34381 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE));
34382 PyDict_SetItemString(d,"ARROW_START", SWIG_FromInt((int)ARROW_START));
34383 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE));
34384 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE));
34385 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW));
34386 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE));
34387 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE));
34388 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE));
34389 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END));
34390 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START));
34391 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL));
34392 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL));
34393 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL));
34394 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
34395 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
34396 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE));
34397 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE));
34398 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ));
34399 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT));
34400 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
34401 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ));
34402 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT));
34403 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
34404 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE));
34405 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE));
34406 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT));
34407 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT));
34408 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT));
34409 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT));
34410 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT));
34411 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT));
34412 PyDict_SetItemString(d,"OP_ALL", SWIG_FromInt((int)OP_ALL));
34413 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE));
34414 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE));
34415 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING));
34416 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
34417 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
34418 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
34419 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
34420 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
34421 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF));
34422 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF));
34423 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE));
34424 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW));
34425 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
34426 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
34427 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
34428 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
34429 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
34430 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
34431 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
34432 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
34433 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE));
34434 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT));
34435 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP));
34436 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT));
34437 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM));
34438
34439
34440 // initoglbasicc();
34441 // initoglshapesc();
34442 // initoglshapes2c();
34443 // initoglcanvasc();
34444
34445
34446 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34447 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34448 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34449 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34450 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34451 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34452 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34453 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34454 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34455 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34456 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34457 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34458 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34459 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
34460
34461
34462 }
34463