]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/gtk/ogl_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / ogl / gtk / ogl_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #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 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
316 #if HAVE_LONG_LONG
317 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
318 #else
319 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
320 #endif
321 if (PyErr_Occurred()) {
322 PyErr_Clear();
323 PyErr_SetString(PyExc_TypeError, "a double is expected");
324 }
325 return val;
326 }
327
328
329 SWIGSTATICINLINE(int)
330 SWIG_CheckDouble(PyObject* obj)
331 {
332 SWIG_AsDouble(obj);
333 if (PyErr_Occurred()) {
334 PyErr_Clear();
335 return 0;
336 } else {
337 return 1;
338 }
339 }
340
341
342 #include <limits.h>
343
344
345 SWIGSTATICINLINE(long)
346 SWIG_CheckLongInRange(long value, const char* type,
347 long min_value, long max_value)
348 {
349 if (!PyErr_Occurred()) {
350 if (value < min_value) {
351 PyObject *err =
352 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
353 value, type, min_value);
354
355 PyErr_SetObject(PyExc_OverflowError, err);
356 Py_DECREF(err);
357 } else if (value > max_value) {
358 PyObject *err =
359 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
360 value, type, max_value);
361 PyErr_SetObject(PyExc_OverflowError, err);
362 Py_DECREF(err);
363 }
364 }
365 return value;
366 }
367
368
369 SWIGSTATICINLINE(long)
370 SWIG_AsLong(PyObject * obj)
371 {
372 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
373 }
374
375
376 #if INT_MAX != LONG_MAX
377 SWIGSTATICINLINE(int)
378 SWIG_AsInt(PyObject *obj)
379 {
380 return swig_numeric_cast(int,
381 SWIG_CheckLongInRange(SWIG_AsLong(obj),
382 "int", INT_MIN, INT_MAX));
383 }
384 #else
385 #define SWIG_AsInt SWIG_AsLong
386 #endif
387
388
389 SWIGSTATICINLINE(int)
390 SWIG_CheckInt(PyObject* obj)
391 {
392 SWIG_AsInt(obj);
393 if (PyErr_Occurred()) {
394 PyErr_Clear();
395 return 0;
396 } else {
397 return 1;
398 }
399 }
400
401
402 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
403 PyObject* o2;
404 PyObject* o3;
405
406 if (!target) {
407 target = o;
408 } else if (target == Py_None) {
409 Py_DECREF(Py_None);
410 target = o;
411 } else {
412 if (!PyTuple_Check(target)) {
413 o2 = target;
414 target = PyTuple_New(1);
415 PyTuple_SetItem(target, 0, o2);
416 }
417 o3 = PyTuple_New(1);
418 PyTuple_SetItem(o3, 0, o);
419
420 o2 = target;
421 target = PySequence_Concat(o2, o3);
422 Py_DECREF(o2);
423 Py_DECREF(o3);
424 }
425 return target;
426 }
427
428
429 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
430
431 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
432 self->SetClientObject(new wxPyOORClientData(_self));
433 }
434
435 SWIGSTATICINLINE(bool)
436 SWIG_AsBool(PyObject *obj)
437 {
438 return PyObject_IsTrue(obj) ? true : false;
439 }
440
441
442 SWIGSTATICINLINE(int)
443 SWIG_CheckBool(PyObject* obj)
444 {
445 SWIG_AsBool(obj);
446 if (PyErr_Occurred()) {
447 PyErr_Clear();
448 return 0;
449 } else {
450 return 1;
451 }
452 }
453
454
455 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
456
457 PyObject *wxPyShape_GetChildren(wxPyShape *self){
458 wxList& list = self->GetChildren();
459 return wxPy_ConvertShapeList(&list);
460 }
461 PyObject *wxPyShape_GetLines(wxPyShape *self){
462 wxList& list = self->GetLines();
463 return wxPy_ConvertShapeList(&list);
464 }
465
466 SWIGSTATICINLINE(int)
467 SWIG_CheckLong(PyObject* obj)
468 {
469 SWIG_AsLong(obj);
470 if (PyErr_Occurred()) {
471 PyErr_Clear();
472 return 0;
473 } else {
474 return 1;
475 }
476 }
477
478 PyObject *wxPyShape_GetRegions(wxPyShape *self){
479 wxList& list = self->GetRegions();
480 return wxPy_ConvertList(&list);
481 }
482 PyObject *wxPyShape_GetAttachments(wxPyShape *self){
483 wxList& list = self->GetAttachments();
484 return wxPy_ConvertList(&list);
485 }
486 void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
487 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
488 self->ApplyAttachmentOrdering(*list);
489 delete list;
490 }
491
492 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
493 // 6, so instead I'l just expand it out by hand...
494 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
495
496 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
497 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
498 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
499 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
500 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
501 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
502 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
504 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
505 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
506 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
507 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
508 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
509 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
510 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
513 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
514 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
515 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
516 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
517 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
518 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
519 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
520 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
521 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
522 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
523 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
524 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
525
526
527
528 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
529
530
531 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
532
533
534 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
535
536 wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
537 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
538 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
539 delete list;
540 return rv;
541 }
542
543 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
544
545 wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
546 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
547 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
548 delete list;
549 return rv;
550 }
551 PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
552 wxList& list = self->GetConstraints();
553 return wxPy_ConvertList(&list);
554 }
555 PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
556 wxList& list = self->GetDivisions();
557 return wxPy_ConvertShapeList(&list);
558 }
559
560 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
561
562
563 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
564
565
566 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
567
568
569 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
570
571
572 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
573
574 void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
575 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
576 self->AddArrowOrdered(arrow, *list, end);
577 delete list;
578 }
579 PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
580 wxList* list = self->GetLineControlPoints();
581 return wxPy_ConvertShapeList(list);
582 }
583
584 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
585
586 PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
587 wxList* list = wxPy_wxRealPoint_ListHelper(points);
588 if (list) {
589 self->Create(list);
590 Py_INCREF(Py_None);
591 return Py_None;
592 }
593 else return NULL;
594 }
595 PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
596 wxList* list = self->GetPoints();
597 PyObject* pyList;
598 PyObject* pyObj;
599 wxObject* wxObj;
600 wxNode* node = list->GetFirst();
601
602 bool blocked = wxPyBeginBlockThreads();
603 pyList = PyList_New(0);
604 while (node) {
605 wxObj = node->GetData();
606 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
607 PyList_Append(pyList, pyObj);
608 node = node->GetNext();
609 }
610 wxPyEndBlockThreads(blocked);
611 return pyList;
612 }
613 PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
614 wxList* list = self->GetOriginalPoints();
615 PyObject* pyList;
616 PyObject* pyObj;
617 wxObject* wxObj;
618 wxNode* node = list->GetFirst();
619
620 bool blocked = wxPyBeginBlockThreads();
621 pyList = PyList_New(0);
622 while (node) {
623 wxObj = node->GetData();
624 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
625 PyList_Append(pyList, pyObj);
626 node = node->GetNext();
627 }
628 wxPyEndBlockThreads(blocked);
629 return pyList;
630 }
631
632 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
633
634
635 // Put some wx default wxChar* values into wxStrings.
636 DECLARE_DEF_STRING(ShapeCanvasNameStr);
637
638 PyObject *wxDiagram_GetShapeList(wxDiagram *self){
639 wxList* list = self->GetShapeList();
640 return wxPy_ConvertShapeList(list);
641 }
642
643 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
644 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
645 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
646 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
647 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
648 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
649 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
650 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
651
652
653 //---------------------------------------------------------------------------
654
655 // Convert from a Python list to a list of className objects. This one will
656 // work for any class for the VERY generic cases, but beyond that the helper
657 // needs to know more about the type.
658 wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
659 bool blocked = wxPyBeginBlockThreads();
660 if (!PyList_Check(pyList)) {
661 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
662 wxPyEndBlockThreads(blocked);
663 return NULL;
664 }
665 int count = PyList_Size(pyList);
666 wxList* list = new wxList;
667 if (! list) {
668 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
669 wxPyEndBlockThreads(blocked);
670 return NULL;
671 }
672 for (int x=0; x<count; x++) {
673 PyObject* pyo = PyList_GetItem(pyList, x);
674 wxObject* wxo = NULL;
675
676 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
677 wxString errmsg;
678 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
679 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
680 wxPyEndBlockThreads(blocked);
681 return NULL;
682 }
683 list->Append(wxo);
684 }
685 wxPyEndBlockThreads(blocked);
686 return list;
687 }
688
689 //---------------------------------------------------------------------------
690
691 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
692 bool blocked = wxPyBeginBlockThreads();
693 if (!PyList_Check(pyList)) {
694 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
695 wxPyEndBlockThreads(blocked);
696 return NULL;
697 }
698 int count = PyList_Size(pyList);
699 wxList* list = new wxList;
700 if (! list) {
701 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
702 wxPyEndBlockThreads(blocked);
703 return NULL;
704 }
705 for (int x=0; x<count; x++) {
706 PyObject* pyo = PyList_GetItem(pyList, x);
707
708 if (PyTuple_Check(pyo)) {
709 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
710 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
711
712 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
713 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
714
715 list->Append((wxObject*) new wxRealPoint(val1, val2));
716
717 } else {
718 wxRealPoint* wxo = NULL;
719 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
720 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
721 wxPyEndBlockThreads(blocked);
722 return NULL;
723 }
724 list->Append((wxObject*) new wxRealPoint(*wxo));
725 }
726 }
727 wxPyEndBlockThreads(blocked);
728 return list;
729 }
730
731 //---------------------------------------------------------------------------
732
733 PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
734 PyObject* target = NULL;
735
736 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
737 // If it's derived from wxShapeEvtHandler then there may
738 // already be a pointer to a Python object that we can use
739 // in the OOR data.
740 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
741 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
742 if (data) {
743 target = data->m_obj;
744 Py_INCREF(target);
745 }
746 }
747 if (! target) {
748 target = wxPyMake_wxObject2(source, FALSE);
749 if (target != Py_None)
750 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
751 }
752 return target;
753 }
754
755 //---------------------------------------------------------------------------
756
757 PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
758 wxList* list = (wxList*)listbase;
759 PyObject* pyList;
760 PyObject* pyObj;
761 wxObject* wxObj;
762 wxNode* node = list->GetFirst();
763
764 bool blocked = wxPyBeginBlockThreads();
765 pyList = PyList_New(0);
766 while (node) {
767 wxObj = node->GetData();
768 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
769 PyList_Append(pyList, pyObj);
770 node = node->GetNext();
771 }
772 wxPyEndBlockThreads(blocked);
773 return pyList;
774 }
775
776
777 //---------------------------------------------------------------------------
778
779 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
780 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
781 IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
782 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
783 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
784 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
785 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
786 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
787 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
788 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
789 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
790 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
791 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
793 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
794
795 //---------------------------------------------------------------------------
796
797 // extern "C" SWIGEXPORT(void) initoglbasicc();
798 // extern "C" SWIGEXPORT(void) initoglshapesc();
799 // extern "C" SWIGEXPORT(void) initoglshapes2c();
800 // extern "C" SWIGEXPORT(void) initoglcanvasc();
801
802 #ifdef __cplusplus
803 extern "C" {
804 #endif
805 static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
806 PyObject *resultobj;
807 wxShapeRegion *result;
808 char *kwnames[] = {
809 NULL
810 };
811
812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
813 {
814 PyThreadState* __tstate = wxPyBeginAllowThreads();
815 result = (wxShapeRegion *)new wxShapeRegion();
816
817 wxPyEndAllowThreads(__tstate);
818 if (PyErr_Occurred()) SWIG_fail;
819 }
820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShapeRegion, 1);
821 return resultobj;
822 fail:
823 return NULL;
824 }
825
826
827 static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
828 PyObject *resultobj;
829 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
830 wxString *arg2 = 0 ;
831 bool temp2 = False ;
832 PyObject * obj0 = 0 ;
833 PyObject * obj1 = 0 ;
834 char *kwnames[] = {
835 (char *) "self",(char *) "s", NULL
836 };
837
838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
841 {
842 arg2 = wxString_in_helper(obj1);
843 if (arg2 == NULL) SWIG_fail;
844 temp2 = True;
845 }
846 {
847 PyThreadState* __tstate = wxPyBeginAllowThreads();
848 (arg1)->SetText((wxString const &)*arg2);
849
850 wxPyEndAllowThreads(__tstate);
851 if (PyErr_Occurred()) SWIG_fail;
852 }
853 Py_INCREF(Py_None); resultobj = Py_None;
854 {
855 if (temp2)
856 delete arg2;
857 }
858 return resultobj;
859 fail:
860 {
861 if (temp2)
862 delete arg2;
863 }
864 return NULL;
865 }
866
867
868 static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
869 PyObject *resultobj;
870 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
871 wxFont *arg2 = (wxFont *) 0 ;
872 PyObject * obj0 = 0 ;
873 PyObject * obj1 = 0 ;
874 char *kwnames[] = {
875 (char *) "self",(char *) "f", NULL
876 };
877
878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
881 {
882 wxFont* temp;
883 if (obj1) {
884 if (obj1 == Py_None) {
885 temp = NULL;
886 }
887 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
888 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
889 return NULL;
890 }
891 }
892 if (temp)
893 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
894 temp->GetFamily(),
895 temp->GetStyle(),
896 temp->GetWeight(),
897 temp->GetUnderlined(),
898 temp->GetFaceName(),
899 temp->GetEncoding());
900 else
901 arg2 = NULL;
902 }
903 {
904 PyThreadState* __tstate = wxPyBeginAllowThreads();
905 (arg1)->SetFont(arg2);
906
907 wxPyEndAllowThreads(__tstate);
908 if (PyErr_Occurred()) SWIG_fail;
909 }
910 Py_INCREF(Py_None); resultobj = Py_None;
911 return resultobj;
912 fail:
913 return NULL;
914 }
915
916
917 static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
918 PyObject *resultobj;
919 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
920 double arg2 ;
921 double arg3 ;
922 PyObject * obj0 = 0 ;
923 PyObject * obj1 = 0 ;
924 PyObject * obj2 = 0 ;
925 char *kwnames[] = {
926 (char *) "self",(char *) "w",(char *) "h", NULL
927 };
928
929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
932 arg2 = (double) SWIG_AsDouble(obj1);
933 if (PyErr_Occurred()) SWIG_fail;
934 arg3 = (double) SWIG_AsDouble(obj2);
935 if (PyErr_Occurred()) SWIG_fail;
936 {
937 PyThreadState* __tstate = wxPyBeginAllowThreads();
938 (arg1)->SetMinSize(arg2,arg3);
939
940 wxPyEndAllowThreads(__tstate);
941 if (PyErr_Occurred()) SWIG_fail;
942 }
943 Py_INCREF(Py_None); resultobj = Py_None;
944 return resultobj;
945 fail:
946 return NULL;
947 }
948
949
950 static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
951 PyObject *resultobj;
952 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
953 double arg2 ;
954 double arg3 ;
955 PyObject * obj0 = 0 ;
956 PyObject * obj1 = 0 ;
957 PyObject * obj2 = 0 ;
958 char *kwnames[] = {
959 (char *) "self",(char *) "w",(char *) "h", NULL
960 };
961
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
965 arg2 = (double) SWIG_AsDouble(obj1);
966 if (PyErr_Occurred()) SWIG_fail;
967 arg3 = (double) SWIG_AsDouble(obj2);
968 if (PyErr_Occurred()) SWIG_fail;
969 {
970 PyThreadState* __tstate = wxPyBeginAllowThreads();
971 (arg1)->SetSize(arg2,arg3);
972
973 wxPyEndAllowThreads(__tstate);
974 if (PyErr_Occurred()) SWIG_fail;
975 }
976 Py_INCREF(Py_None); resultobj = Py_None;
977 return resultobj;
978 fail:
979 return NULL;
980 }
981
982
983 static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
984 PyObject *resultobj;
985 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
986 double arg2 ;
987 double arg3 ;
988 PyObject * obj0 = 0 ;
989 PyObject * obj1 = 0 ;
990 PyObject * obj2 = 0 ;
991 char *kwnames[] = {
992 (char *) "self",(char *) "x",(char *) "y", NULL
993 };
994
995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
998 arg2 = (double) SWIG_AsDouble(obj1);
999 if (PyErr_Occurred()) SWIG_fail;
1000 arg3 = (double) SWIG_AsDouble(obj2);
1001 if (PyErr_Occurred()) SWIG_fail;
1002 {
1003 PyThreadState* __tstate = wxPyBeginAllowThreads();
1004 (arg1)->SetPosition(arg2,arg3);
1005
1006 wxPyEndAllowThreads(__tstate);
1007 if (PyErr_Occurred()) SWIG_fail;
1008 }
1009 Py_INCREF(Py_None); resultobj = Py_None;
1010 return resultobj;
1011 fail:
1012 return NULL;
1013 }
1014
1015
1016 static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
1017 PyObject *resultobj;
1018 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1019 double arg2 ;
1020 double arg3 ;
1021 PyObject * obj0 = 0 ;
1022 PyObject * obj1 = 0 ;
1023 PyObject * obj2 = 0 ;
1024 char *kwnames[] = {
1025 (char *) "self",(char *) "x",(char *) "y", NULL
1026 };
1027
1028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
1029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1031 arg2 = (double) SWIG_AsDouble(obj1);
1032 if (PyErr_Occurred()) SWIG_fail;
1033 arg3 = (double) SWIG_AsDouble(obj2);
1034 if (PyErr_Occurred()) SWIG_fail;
1035 {
1036 PyThreadState* __tstate = wxPyBeginAllowThreads();
1037 (arg1)->SetProportions(arg2,arg3);
1038
1039 wxPyEndAllowThreads(__tstate);
1040 if (PyErr_Occurred()) SWIG_fail;
1041 }
1042 Py_INCREF(Py_None); resultobj = Py_None;
1043 return resultobj;
1044 fail:
1045 return NULL;
1046 }
1047
1048
1049 static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1050 PyObject *resultobj;
1051 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1052 int arg2 ;
1053 PyObject * obj0 = 0 ;
1054 PyObject * obj1 = 0 ;
1055 char *kwnames[] = {
1056 (char *) "self",(char *) "mode", NULL
1057 };
1058
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
1060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1062 arg2 = (int) SWIG_AsInt(obj1);
1063 if (PyErr_Occurred()) SWIG_fail;
1064 {
1065 PyThreadState* __tstate = wxPyBeginAllowThreads();
1066 (arg1)->SetFormatMode(arg2);
1067
1068 wxPyEndAllowThreads(__tstate);
1069 if (PyErr_Occurred()) SWIG_fail;
1070 }
1071 Py_INCREF(Py_None); resultobj = Py_None;
1072 return resultobj;
1073 fail:
1074 return NULL;
1075 }
1076
1077
1078 static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1079 PyObject *resultobj;
1080 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1081 wxString *arg2 = 0 ;
1082 bool temp2 = False ;
1083 PyObject * obj0 = 0 ;
1084 PyObject * obj1 = 0 ;
1085 char *kwnames[] = {
1086 (char *) "self",(char *) "s", NULL
1087 };
1088
1089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
1090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1092 {
1093 arg2 = wxString_in_helper(obj1);
1094 if (arg2 == NULL) SWIG_fail;
1095 temp2 = True;
1096 }
1097 {
1098 PyThreadState* __tstate = wxPyBeginAllowThreads();
1099 (arg1)->SetName((wxString const &)*arg2);
1100
1101 wxPyEndAllowThreads(__tstate);
1102 if (PyErr_Occurred()) SWIG_fail;
1103 }
1104 Py_INCREF(Py_None); resultobj = Py_None;
1105 {
1106 if (temp2)
1107 delete arg2;
1108 }
1109 return resultobj;
1110 fail:
1111 {
1112 if (temp2)
1113 delete arg2;
1114 }
1115 return NULL;
1116 }
1117
1118
1119 static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1120 PyObject *resultobj;
1121 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1122 wxString *arg2 = 0 ;
1123 bool temp2 = False ;
1124 PyObject * obj0 = 0 ;
1125 PyObject * obj1 = 0 ;
1126 char *kwnames[] = {
1127 (char *) "self",(char *) "col", NULL
1128 };
1129
1130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
1131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1133 {
1134 arg2 = wxString_in_helper(obj1);
1135 if (arg2 == NULL) SWIG_fail;
1136 temp2 = True;
1137 }
1138 {
1139 PyThreadState* __tstate = wxPyBeginAllowThreads();
1140 (arg1)->SetColour((wxString const &)*arg2);
1141
1142 wxPyEndAllowThreads(__tstate);
1143 if (PyErr_Occurred()) SWIG_fail;
1144 }
1145 Py_INCREF(Py_None); resultobj = Py_None;
1146 {
1147 if (temp2)
1148 delete arg2;
1149 }
1150 return resultobj;
1151 fail:
1152 {
1153 if (temp2)
1154 delete arg2;
1155 }
1156 return NULL;
1157 }
1158
1159
1160 static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1161 PyObject *resultobj;
1162 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1163 wxString result;
1164 PyObject * obj0 = 0 ;
1165 char *kwnames[] = {
1166 (char *) "self", NULL
1167 };
1168
1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
1170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1172 {
1173 PyThreadState* __tstate = wxPyBeginAllowThreads();
1174 result = (arg1)->GetText();
1175
1176 wxPyEndAllowThreads(__tstate);
1177 if (PyErr_Occurred()) SWIG_fail;
1178 }
1179 {
1180 #if wxUSE_UNICODE
1181 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1182 #else
1183 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1184 #endif
1185 }
1186 return resultobj;
1187 fail:
1188 return NULL;
1189 }
1190
1191
1192 static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1193 PyObject *resultobj;
1194 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1195 wxFont *result;
1196 PyObject * obj0 = 0 ;
1197 char *kwnames[] = {
1198 (char *) "self", NULL
1199 };
1200
1201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
1202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1204 {
1205 PyThreadState* __tstate = wxPyBeginAllowThreads();
1206 result = (wxFont *)(arg1)->GetFont();
1207
1208 wxPyEndAllowThreads(__tstate);
1209 if (PyErr_Occurred()) SWIG_fail;
1210 }
1211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
1212 return resultobj;
1213 fail:
1214 return NULL;
1215 }
1216
1217
1218 static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1219 PyObject *resultobj;
1220 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1221 double *arg2 = (double *) 0 ;
1222 double *arg3 = (double *) 0 ;
1223 double temp2 ;
1224 double temp3 ;
1225 PyObject * obj0 = 0 ;
1226 char *kwnames[] = {
1227 (char *) "self", NULL
1228 };
1229
1230 arg2 = &temp2;
1231 arg3 = &temp3;
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1235 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 (arg1)->GetMinSize(arg2,arg3);
1238
1239 wxPyEndAllowThreads(__tstate);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
1242 Py_INCREF(Py_None); resultobj = Py_None;
1243 {
1244 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1245 resultobj = t_output_helper(resultobj,o);
1246 }
1247 {
1248 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1249 resultobj = t_output_helper(resultobj,o);
1250 }
1251 return resultobj;
1252 fail:
1253 return NULL;
1254 }
1255
1256
1257 static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1258 PyObject *resultobj;
1259 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1260 double *arg2 = (double *) 0 ;
1261 double *arg3 = (double *) 0 ;
1262 double temp2 ;
1263 double temp3 ;
1264 PyObject * obj0 = 0 ;
1265 char *kwnames[] = {
1266 (char *) "self", NULL
1267 };
1268
1269 arg2 = &temp2;
1270 arg3 = &temp3;
1271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1274 {
1275 PyThreadState* __tstate = wxPyBeginAllowThreads();
1276 (arg1)->GetProportion(arg2,arg3);
1277
1278 wxPyEndAllowThreads(__tstate);
1279 if (PyErr_Occurred()) SWIG_fail;
1280 }
1281 Py_INCREF(Py_None); resultobj = Py_None;
1282 {
1283 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1284 resultobj = t_output_helper(resultobj,o);
1285 }
1286 {
1287 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1288 resultobj = t_output_helper(resultobj,o);
1289 }
1290 return resultobj;
1291 fail:
1292 return NULL;
1293 }
1294
1295
1296 static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1297 PyObject *resultobj;
1298 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1299 double *arg2 = (double *) 0 ;
1300 double *arg3 = (double *) 0 ;
1301 double temp2 ;
1302 double temp3 ;
1303 PyObject * obj0 = 0 ;
1304 char *kwnames[] = {
1305 (char *) "self", NULL
1306 };
1307
1308 arg2 = &temp2;
1309 arg3 = &temp3;
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1313 {
1314 PyThreadState* __tstate = wxPyBeginAllowThreads();
1315 (arg1)->GetSize(arg2,arg3);
1316
1317 wxPyEndAllowThreads(__tstate);
1318 if (PyErr_Occurred()) SWIG_fail;
1319 }
1320 Py_INCREF(Py_None); resultobj = Py_None;
1321 {
1322 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1323 resultobj = t_output_helper(resultobj,o);
1324 }
1325 {
1326 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1327 resultobj = t_output_helper(resultobj,o);
1328 }
1329 return resultobj;
1330 fail:
1331 return NULL;
1332 }
1333
1334
1335 static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject *resultobj;
1337 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1338 double *arg2 = (double *) 0 ;
1339 double *arg3 = (double *) 0 ;
1340 double temp2 ;
1341 double temp3 ;
1342 PyObject * obj0 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "self", NULL
1345 };
1346
1347 arg2 = &temp2;
1348 arg3 = &temp3;
1349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1352 {
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 (arg1)->GetPosition(arg2,arg3);
1355
1356 wxPyEndAllowThreads(__tstate);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 Py_INCREF(Py_None); resultobj = Py_None;
1360 {
1361 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1362 resultobj = t_output_helper(resultobj,o);
1363 }
1364 {
1365 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1366 resultobj = t_output_helper(resultobj,o);
1367 }
1368 return resultobj;
1369 fail:
1370 return NULL;
1371 }
1372
1373
1374 static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1375 PyObject *resultobj;
1376 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1377 int result;
1378 PyObject * obj0 = 0 ;
1379 char *kwnames[] = {
1380 (char *) "self", NULL
1381 };
1382
1383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1386 {
1387 PyThreadState* __tstate = wxPyBeginAllowThreads();
1388 result = (int)(arg1)->GetFormatMode();
1389
1390 wxPyEndAllowThreads(__tstate);
1391 if (PyErr_Occurred()) SWIG_fail;
1392 }
1393 resultobj = SWIG_FromInt((int)result);
1394 return resultobj;
1395 fail:
1396 return NULL;
1397 }
1398
1399
1400 static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject *resultobj;
1402 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1403 wxString result;
1404 PyObject * obj0 = 0 ;
1405 char *kwnames[] = {
1406 (char *) "self", NULL
1407 };
1408
1409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1412 {
1413 PyThreadState* __tstate = wxPyBeginAllowThreads();
1414 result = (arg1)->GetName();
1415
1416 wxPyEndAllowThreads(__tstate);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 {
1420 #if wxUSE_UNICODE
1421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1422 #else
1423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1424 #endif
1425 }
1426 return resultobj;
1427 fail:
1428 return NULL;
1429 }
1430
1431
1432 static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject *resultobj;
1434 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1435 wxString result;
1436 PyObject * obj0 = 0 ;
1437 char *kwnames[] = {
1438 (char *) "self", NULL
1439 };
1440
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1444 {
1445 PyThreadState* __tstate = wxPyBeginAllowThreads();
1446 result = (arg1)->GetColour();
1447
1448 wxPyEndAllowThreads(__tstate);
1449 if (PyErr_Occurred()) SWIG_fail;
1450 }
1451 {
1452 #if wxUSE_UNICODE
1453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1454 #else
1455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1456 #endif
1457 }
1458 return resultobj;
1459 fail:
1460 return NULL;
1461 }
1462
1463
1464 static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1465 PyObject *resultobj;
1466 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1467 wxColour result;
1468 PyObject * obj0 = 0 ;
1469 char *kwnames[] = {
1470 (char *) "self", NULL
1471 };
1472
1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 result = (arg1)->GetActualColourObject();
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 {
1484 wxColour * resultptr;
1485 resultptr = new wxColour((wxColour &) result);
1486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1487 }
1488 return resultobj;
1489 fail:
1490 return NULL;
1491 }
1492
1493
1494 static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1495 PyObject *resultobj;
1496 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1497 wxList *result;
1498 PyObject * obj0 = 0 ;
1499 char *kwnames[] = {
1500 (char *) "self", NULL
1501 };
1502
1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1506 {
1507 PyThreadState* __tstate = wxPyBeginAllowThreads();
1508 {
1509 wxList &_result_ref = (arg1)->GetFormattedText();
1510 result = (wxList *) &_result_ref;
1511 }
1512
1513 wxPyEndAllowThreads(__tstate);
1514 if (PyErr_Occurred()) SWIG_fail;
1515 }
1516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxList, 0);
1517 return resultobj;
1518 fail:
1519 return NULL;
1520 }
1521
1522
1523 static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1526 wxString result;
1527 PyObject * obj0 = 0 ;
1528 char *kwnames[] = {
1529 (char *) "self", NULL
1530 };
1531
1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1535 {
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 result = (arg1)->GetPenColour();
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
1542 {
1543 #if wxUSE_UNICODE
1544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1545 #else
1546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1547 #endif
1548 }
1549 return resultobj;
1550 fail:
1551 return NULL;
1552 }
1553
1554
1555 static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject *resultobj;
1557 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1558 int result;
1559 PyObject * obj0 = 0 ;
1560 char *kwnames[] = {
1561 (char *) "self", NULL
1562 };
1563
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1567 {
1568 PyThreadState* __tstate = wxPyBeginAllowThreads();
1569 result = (int)(arg1)->GetPenStyle();
1570
1571 wxPyEndAllowThreads(__tstate);
1572 if (PyErr_Occurred()) SWIG_fail;
1573 }
1574 resultobj = SWIG_FromInt((int)result);
1575 return resultobj;
1576 fail:
1577 return NULL;
1578 }
1579
1580
1581 static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1582 PyObject *resultobj;
1583 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1584 int arg2 ;
1585 PyObject * obj0 = 0 ;
1586 PyObject * obj1 = 0 ;
1587 char *kwnames[] = {
1588 (char *) "self",(char *) "style", NULL
1589 };
1590
1591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
1592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1594 arg2 = (int) SWIG_AsInt(obj1);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 {
1597 PyThreadState* __tstate = wxPyBeginAllowThreads();
1598 (arg1)->SetPenStyle(arg2);
1599
1600 wxPyEndAllowThreads(__tstate);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 }
1603 Py_INCREF(Py_None); resultobj = Py_None;
1604 return resultobj;
1605 fail:
1606 return NULL;
1607 }
1608
1609
1610 static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject *resultobj;
1612 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1613 wxString *arg2 = 0 ;
1614 bool temp2 = False ;
1615 PyObject * obj0 = 0 ;
1616 PyObject * obj1 = 0 ;
1617 char *kwnames[] = {
1618 (char *) "self",(char *) "col", NULL
1619 };
1620
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1624 {
1625 arg2 = wxString_in_helper(obj1);
1626 if (arg2 == NULL) SWIG_fail;
1627 temp2 = True;
1628 }
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 (arg1)->SetPenColour((wxString const &)*arg2);
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 Py_INCREF(Py_None); resultobj = Py_None;
1637 {
1638 if (temp2)
1639 delete arg2;
1640 }
1641 return resultobj;
1642 fail:
1643 {
1644 if (temp2)
1645 delete arg2;
1646 }
1647 return NULL;
1648 }
1649
1650
1651 static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1654 wxPen *result;
1655 PyObject * obj0 = 0 ;
1656 char *kwnames[] = {
1657 (char *) "self", NULL
1658 };
1659
1660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1663 {
1664 PyThreadState* __tstate = wxPyBeginAllowThreads();
1665 result = (wxPen *)(arg1)->GetActualPen();
1666
1667 wxPyEndAllowThreads(__tstate);
1668 if (PyErr_Occurred()) SWIG_fail;
1669 }
1670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
1671 return resultobj;
1672 fail:
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1680 double result;
1681 PyObject * obj0 = 0 ;
1682 char *kwnames[] = {
1683 (char *) "self", NULL
1684 };
1685
1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 result = (double)(arg1)->GetWidth();
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 resultobj = SWIG_FromDouble((double)result);
1697 return resultobj;
1698 fail:
1699 return NULL;
1700 }
1701
1702
1703 static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject *resultobj;
1705 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1706 double result;
1707 PyObject * obj0 = 0 ;
1708 char *kwnames[] = {
1709 (char *) "self", NULL
1710 };
1711
1712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1715 {
1716 PyThreadState* __tstate = wxPyBeginAllowThreads();
1717 result = (double)(arg1)->GetHeight();
1718
1719 wxPyEndAllowThreads(__tstate);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 }
1722 resultobj = SWIG_FromDouble((double)result);
1723 return resultobj;
1724 fail:
1725 return NULL;
1726 }
1727
1728
1729 static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject *resultobj;
1731 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1732 PyObject * obj0 = 0 ;
1733 char *kwnames[] = {
1734 (char *) "self", NULL
1735 };
1736
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 (arg1)->ClearText();
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 Py_INCREF(Py_None); resultobj = Py_None;
1748 return resultobj;
1749 fail:
1750 return NULL;
1751 }
1752
1753
1754 static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1755 PyObject *obj;
1756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1757 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1758 Py_INCREF(obj);
1759 return Py_BuildValue((char *)"");
1760 }
1761 static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 int arg1 = (int) 0 ;
1764 double arg2 = (double) 0.0 ;
1765 double arg3 = (double) 0.0 ;
1766 wxAttachmentPoint *result;
1767 PyObject * obj0 = 0 ;
1768 PyObject * obj1 = 0 ;
1769 PyObject * obj2 = 0 ;
1770 char *kwnames[] = {
1771 (char *) "id",(char *) "x",(char *) "y", NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
1775 if (obj0) {
1776 arg1 = (int) SWIG_AsInt(obj0);
1777 if (PyErr_Occurred()) SWIG_fail;
1778 }
1779 if (obj1) {
1780 arg2 = (double) SWIG_AsDouble(obj1);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 }
1783 if (obj2) {
1784 arg3 = (double) SWIG_AsDouble(obj2);
1785 if (PyErr_Occurred()) SWIG_fail;
1786 }
1787 {
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
1794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAttachmentPoint, 1);
1795 return resultobj;
1796 fail:
1797 return NULL;
1798 }
1799
1800
1801 static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject *resultobj;
1803 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1804 int arg2 ;
1805 PyObject * obj0 = 0 ;
1806 PyObject * obj1 = 0 ;
1807 char *kwnames[] = {
1808 (char *) "self",(char *) "m_id", NULL
1809 };
1810
1811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
1812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1814 arg2 = (int) SWIG_AsInt(obj1);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 if (arg1) (arg1)->m_id = arg2;
1817
1818 Py_INCREF(Py_None); resultobj = Py_None;
1819 return resultobj;
1820 fail:
1821 return NULL;
1822 }
1823
1824
1825 static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1826 PyObject *resultobj;
1827 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1828 int result;
1829 PyObject * obj0 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "self", NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 result = (int) ((arg1)->m_id);
1838
1839 resultobj = SWIG_FromInt((int)result);
1840 return resultobj;
1841 fail:
1842 return NULL;
1843 }
1844
1845
1846 static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1847 PyObject *resultobj;
1848 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1849 double arg2 ;
1850 PyObject * obj0 = 0 ;
1851 PyObject * obj1 = 0 ;
1852 char *kwnames[] = {
1853 (char *) "self",(char *) "m_x", NULL
1854 };
1855
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
1857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1859 arg2 = (double) SWIG_AsDouble(obj1);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 if (arg1) (arg1)->m_x = arg2;
1862
1863 Py_INCREF(Py_None); resultobj = Py_None;
1864 return resultobj;
1865 fail:
1866 return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1873 double result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1882 result = (double) ((arg1)->m_x);
1883
1884 resultobj = SWIG_FromDouble((double)result);
1885 return resultobj;
1886 fail:
1887 return NULL;
1888 }
1889
1890
1891 static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject *resultobj;
1893 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1894 double arg2 ;
1895 PyObject * obj0 = 0 ;
1896 PyObject * obj1 = 0 ;
1897 char *kwnames[] = {
1898 (char *) "self",(char *) "m_y", NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1904 arg2 = (double) SWIG_AsDouble(obj1);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 if (arg1) (arg1)->m_y = arg2;
1907
1908 Py_INCREF(Py_None); resultobj = Py_None;
1909 return resultobj;
1910 fail:
1911 return NULL;
1912 }
1913
1914
1915 static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1916 PyObject *resultobj;
1917 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1918 double result;
1919 PyObject * obj0 = 0 ;
1920 char *kwnames[] = {
1921 (char *) "self", NULL
1922 };
1923
1924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
1925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1927 result = (double) ((arg1)->m_y);
1928
1929 resultobj = SWIG_FromDouble((double)result);
1930 return resultobj;
1931 fail:
1932 return NULL;
1933 }
1934
1935
1936 static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
1937 PyObject *obj;
1938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1939 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1940 Py_INCREF(obj);
1941 return Py_BuildValue((char *)"");
1942 }
1943 static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1944 PyObject *resultobj;
1945 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1946 wxPyShape *arg2 = (wxPyShape *) NULL ;
1947 wxPyShapeEvtHandler *result;
1948 PyObject * obj0 = 0 ;
1949 PyObject * obj1 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "prev",(char *) "shape", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1955 if (obj0) {
1956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
1957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1958 }
1959 if (obj1) {
1960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
1961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1962 }
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 {
1971 resultobj = wxPyMake_wxShapeEvtHandler(result);
1972 }
1973 return resultobj;
1974 fail:
1975 return NULL;
1976 }
1977
1978
1979 static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1980 PyObject *resultobj;
1981 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1982 PyObject *arg2 = (PyObject *) 0 ;
1983 PyObject *arg3 = (PyObject *) 0 ;
1984 PyObject * obj0 = 0 ;
1985 PyObject * obj1 = 0 ;
1986 PyObject * obj2 = 0 ;
1987 char *kwnames[] = {
1988 (char *) "self",(char *) "self",(char *) "_class", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
1993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1994 arg2 = obj1;
1995 arg3 = obj2;
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
1998 (arg1)->_setCallbackInfo(arg2,arg3);
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
2003 Py_INCREF(Py_None); resultobj = Py_None;
2004 return resultobj;
2005 fail:
2006 return NULL;
2007 }
2008
2009
2010 static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2013 PyObject *arg2 = (PyObject *) 0 ;
2014 PyObject * obj0 = 0 ;
2015 PyObject * obj1 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self",(char *) "_self", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2023 arg2 = obj1;
2024 {
2025 PyThreadState* __tstate = wxPyBeginAllowThreads();
2026 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
2027
2028 wxPyEndAllowThreads(__tstate);
2029 if (PyErr_Occurred()) SWIG_fail;
2030 }
2031 Py_INCREF(Py_None); resultobj = Py_None;
2032 return resultobj;
2033 fail:
2034 return NULL;
2035 }
2036
2037
2038 static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject *resultobj;
2040 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2041 wxPyShape *arg2 = (wxPyShape *) 0 ;
2042 PyObject * obj0 = 0 ;
2043 PyObject * obj1 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "sh", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
2052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2053 {
2054 PyThreadState* __tstate = wxPyBeginAllowThreads();
2055 (arg1)->SetShape(arg2);
2056
2057 wxPyEndAllowThreads(__tstate);
2058 if (PyErr_Occurred()) SWIG_fail;
2059 }
2060 Py_INCREF(Py_None); resultobj = Py_None;
2061 return resultobj;
2062 fail:
2063 return NULL;
2064 }
2065
2066
2067 static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject *resultobj;
2069 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2070 wxPyShape *result;
2071 PyObject * obj0 = 0 ;
2072 char *kwnames[] = {
2073 (char *) "self", NULL
2074 };
2075
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
2077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2079 {
2080 PyThreadState* __tstate = wxPyBeginAllowThreads();
2081 result = (wxPyShape *)(arg1)->GetShape();
2082
2083 wxPyEndAllowThreads(__tstate);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 }
2086 {
2087 resultobj = wxPyMake_wxShapeEvtHandler(result);
2088 }
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2098 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2099 PyObject * obj0 = 0 ;
2100 PyObject * obj1 = 0 ;
2101 char *kwnames[] = {
2102 (char *) "self",(char *) "handler", NULL
2103 };
2104
2105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
2109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2110 {
2111 PyThreadState* __tstate = wxPyBeginAllowThreads();
2112 (arg1)->SetPreviousHandler(arg2);
2113
2114 wxPyEndAllowThreads(__tstate);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 Py_INCREF(Py_None); resultobj = Py_None;
2118 return resultobj;
2119 fail:
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2125 PyObject *resultobj;
2126 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2127 wxPyShapeEvtHandler *result;
2128 PyObject * obj0 = 0 ;
2129 char *kwnames[] = {
2130 (char *) "self", NULL
2131 };
2132
2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
2138 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) SWIG_fail;
2142 }
2143 {
2144 resultobj = wxPyMake_wxShapeEvtHandler(result);
2145 }
2146 return resultobj;
2147 fail:
2148 return NULL;
2149 }
2150
2151
2152 static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
2153 PyObject *resultobj;
2154 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2155 wxPyShapeEvtHandler *result;
2156 PyObject * obj0 = 0 ;
2157 char *kwnames[] = {
2158 (char *) "self", NULL
2159 };
2160
2161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2164 {
2165 PyThreadState* __tstate = wxPyBeginAllowThreads();
2166 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2167
2168 wxPyEndAllowThreads(__tstate);
2169 if (PyErr_Occurred()) SWIG_fail;
2170 }
2171 {
2172 resultobj = wxPyMake_wxShapeEvtHandler(result);
2173 }
2174 return resultobj;
2175 fail:
2176 return NULL;
2177 }
2178
2179
2180 static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2181 PyObject *resultobj;
2182 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2183 PyObject * obj0 = 0 ;
2184 char *kwnames[] = {
2185 (char *) "self", NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 (arg1)->base_OnDelete();
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 Py_INCREF(Py_None); resultobj = Py_None;
2199 return resultobj;
2200 fail:
2201 return NULL;
2202 }
2203
2204
2205 static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
2206 PyObject *resultobj;
2207 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2208 wxDC *arg2 = 0 ;
2209 PyObject * obj0 = 0 ;
2210 PyObject * obj1 = 0 ;
2211 char *kwnames[] = {
2212 (char *) "self",(char *) "dc", NULL
2213 };
2214
2215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1)
2220 SWIG_fail;
2221 if (arg2 == NULL) {
2222 PyErr_SetString(PyExc_TypeError,"null reference");
2223 SWIG_fail;
2224 }
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 (arg1)->base_OnDraw(*arg2);
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 Py_INCREF(Py_None); resultobj = Py_None;
2233 return resultobj;
2234 fail:
2235 return NULL;
2236 }
2237
2238
2239 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2242 wxDC *arg2 = 0 ;
2243 PyObject * obj0 = 0 ;
2244 PyObject * obj1 = 0 ;
2245 char *kwnames[] = {
2246 (char *) "self",(char *) "dc", NULL
2247 };
2248
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2253 SWIG_POINTER_EXCEPTION | 0)) == -1)
2254 SWIG_fail;
2255 if (arg2 == NULL) {
2256 PyErr_SetString(PyExc_TypeError,"null reference");
2257 SWIG_fail;
2258 }
2259 {
2260 PyThreadState* __tstate = wxPyBeginAllowThreads();
2261 (arg1)->base_OnDrawContents(*arg2);
2262
2263 wxPyEndAllowThreads(__tstate);
2264 if (PyErr_Occurred()) SWIG_fail;
2265 }
2266 Py_INCREF(Py_None); resultobj = Py_None;
2267 return resultobj;
2268 fail:
2269 return NULL;
2270 }
2271
2272
2273 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject *resultobj;
2275 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2276 wxDC *arg2 = 0 ;
2277 bool arg3 = (bool) False ;
2278 PyObject * obj0 = 0 ;
2279 PyObject * obj1 = 0 ;
2280 PyObject * obj2 = 0 ;
2281 char *kwnames[] = {
2282 (char *) "self",(char *) "dc",(char *) "erase", NULL
2283 };
2284
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2289 SWIG_POINTER_EXCEPTION | 0)) == -1)
2290 SWIG_fail;
2291 if (arg2 == NULL) {
2292 PyErr_SetString(PyExc_TypeError,"null reference");
2293 SWIG_fail;
2294 }
2295 if (obj2) {
2296 arg3 = (bool) SWIG_AsBool(obj2);
2297 if (PyErr_Occurred()) SWIG_fail;
2298 }
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 (arg1)->base_OnDrawBranches(*arg2,arg3);
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 Py_INCREF(Py_None); resultobj = Py_None;
2307 return resultobj;
2308 fail:
2309 return NULL;
2310 }
2311
2312
2313 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2316 wxDC *arg2 = 0 ;
2317 PyObject * obj0 = 0 ;
2318 PyObject * obj1 = 0 ;
2319 char *kwnames[] = {
2320 (char *) "self",(char *) "dc", NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2327 SWIG_POINTER_EXCEPTION | 0)) == -1)
2328 SWIG_fail;
2329 if (arg2 == NULL) {
2330 PyErr_SetString(PyExc_TypeError,"null reference");
2331 SWIG_fail;
2332 }
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 (arg1)->base_OnMoveLinks(*arg2);
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
2340 Py_INCREF(Py_None); resultobj = Py_None;
2341 return resultobj;
2342 fail:
2343 return NULL;
2344 }
2345
2346
2347 static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2348 PyObject *resultobj;
2349 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2350 wxDC *arg2 = 0 ;
2351 PyObject * obj0 = 0 ;
2352 PyObject * obj1 = 0 ;
2353 char *kwnames[] = {
2354 (char *) "self",(char *) "dc", NULL
2355 };
2356
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2361 SWIG_POINTER_EXCEPTION | 0)) == -1)
2362 SWIG_fail;
2363 if (arg2 == NULL) {
2364 PyErr_SetString(PyExc_TypeError,"null reference");
2365 SWIG_fail;
2366 }
2367 {
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 (arg1)->base_OnErase(*arg2);
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 Py_INCREF(Py_None); resultobj = Py_None;
2375 return resultobj;
2376 fail:
2377 return NULL;
2378 }
2379
2380
2381 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2382 PyObject *resultobj;
2383 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2384 wxDC *arg2 = 0 ;
2385 PyObject * obj0 = 0 ;
2386 PyObject * obj1 = 0 ;
2387 char *kwnames[] = {
2388 (char *) "self",(char *) "dc", NULL
2389 };
2390
2391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2395 SWIG_POINTER_EXCEPTION | 0)) == -1)
2396 SWIG_fail;
2397 if (arg2 == NULL) {
2398 PyErr_SetString(PyExc_TypeError,"null reference");
2399 SWIG_fail;
2400 }
2401 {
2402 PyThreadState* __tstate = wxPyBeginAllowThreads();
2403 (arg1)->base_OnEraseContents(*arg2);
2404
2405 wxPyEndAllowThreads(__tstate);
2406 if (PyErr_Occurred()) SWIG_fail;
2407 }
2408 Py_INCREF(Py_None); resultobj = Py_None;
2409 return resultobj;
2410 fail:
2411 return NULL;
2412 }
2413
2414
2415 static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2416 PyObject *resultobj;
2417 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2418 wxDC *arg2 = 0 ;
2419 PyObject * obj0 = 0 ;
2420 PyObject * obj1 = 0 ;
2421 char *kwnames[] = {
2422 (char *) "self",(char *) "dc", NULL
2423 };
2424
2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2429 SWIG_POINTER_EXCEPTION | 0)) == -1)
2430 SWIG_fail;
2431 if (arg2 == NULL) {
2432 PyErr_SetString(PyExc_TypeError,"null reference");
2433 SWIG_fail;
2434 }
2435 {
2436 PyThreadState* __tstate = wxPyBeginAllowThreads();
2437 (arg1)->base_OnHighlight(*arg2);
2438
2439 wxPyEndAllowThreads(__tstate);
2440 if (PyErr_Occurred()) SWIG_fail;
2441 }
2442 Py_INCREF(Py_None); resultobj = Py_None;
2443 return resultobj;
2444 fail:
2445 return NULL;
2446 }
2447
2448
2449 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject *resultobj;
2451 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2452 double arg2 ;
2453 double arg3 ;
2454 int arg4 = (int) 0 ;
2455 int arg5 = (int) 0 ;
2456 PyObject * obj0 = 0 ;
2457 PyObject * obj1 = 0 ;
2458 PyObject * obj2 = 0 ;
2459 PyObject * obj3 = 0 ;
2460 PyObject * obj4 = 0 ;
2461 char *kwnames[] = {
2462 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2463 };
2464
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2468 arg2 = (double) SWIG_AsDouble(obj1);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 arg3 = (double) SWIG_AsDouble(obj2);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 if (obj3) {
2473 arg4 = (int) SWIG_AsInt(obj3);
2474 if (PyErr_Occurred()) SWIG_fail;
2475 }
2476 if (obj4) {
2477 arg5 = (int) SWIG_AsInt(obj4);
2478 if (PyErr_Occurred()) SWIG_fail;
2479 }
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 Py_INCREF(Py_None); resultobj = Py_None;
2488 return resultobj;
2489 fail:
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2497 double arg2 ;
2498 double arg3 ;
2499 int arg4 = (int) 0 ;
2500 int arg5 = (int) 0 ;
2501 PyObject * obj0 = 0 ;
2502 PyObject * obj1 = 0 ;
2503 PyObject * obj2 = 0 ;
2504 PyObject * obj3 = 0 ;
2505 PyObject * obj4 = 0 ;
2506 char *kwnames[] = {
2507 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2513 arg2 = (double) SWIG_AsDouble(obj1);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 arg3 = (double) SWIG_AsDouble(obj2);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 if (obj3) {
2518 arg4 = (int) SWIG_AsInt(obj3);
2519 if (PyErr_Occurred()) SWIG_fail;
2520 }
2521 if (obj4) {
2522 arg5 = (int) SWIG_AsInt(obj4);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 }
2525 {
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
2527 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2528
2529 wxPyEndAllowThreads(__tstate);
2530 if (PyErr_Occurred()) SWIG_fail;
2531 }
2532 Py_INCREF(Py_None); resultobj = Py_None;
2533 return resultobj;
2534 fail:
2535 return NULL;
2536 }
2537
2538
2539 static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2540 PyObject *resultobj;
2541 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2542 double arg2 ;
2543 double arg3 ;
2544 int arg4 = (int) 0 ;
2545 int arg5 = (int) 0 ;
2546 PyObject * obj0 = 0 ;
2547 PyObject * obj1 = 0 ;
2548 PyObject * obj2 = 0 ;
2549 PyObject * obj3 = 0 ;
2550 PyObject * obj4 = 0 ;
2551 char *kwnames[] = {
2552 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2553 };
2554
2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2558 arg2 = (double) SWIG_AsDouble(obj1);
2559 if (PyErr_Occurred()) SWIG_fail;
2560 arg3 = (double) SWIG_AsDouble(obj2);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 if (obj3) {
2563 arg4 = (int) SWIG_AsInt(obj3);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 if (obj4) {
2567 arg5 = (int) SWIG_AsInt(obj4);
2568 if (PyErr_Occurred()) SWIG_fail;
2569 }
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 Py_INCREF(Py_None); resultobj = Py_None;
2578 return resultobj;
2579 fail:
2580 return NULL;
2581 }
2582
2583
2584 static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj;
2586 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2587 double arg2 ;
2588 double arg3 ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 PyObject * obj2 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self",(char *) "x",(char *) "y", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2599 arg2 = (double) SWIG_AsDouble(obj1);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 arg3 = (double) SWIG_AsDouble(obj2);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 (arg1)->base_OnSize(arg2,arg3);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 Py_INCREF(Py_None); resultobj = Py_None;
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2620 wxDC *arg2 = 0 ;
2621 double arg3 ;
2622 double arg4 ;
2623 double arg5 ;
2624 double arg6 ;
2625 bool arg7 = (bool) True ;
2626 bool result;
2627 PyObject * obj0 = 0 ;
2628 PyObject * obj1 = 0 ;
2629 PyObject * obj2 = 0 ;
2630 PyObject * obj3 = 0 ;
2631 PyObject * obj4 = 0 ;
2632 PyObject * obj5 = 0 ;
2633 PyObject * obj6 = 0 ;
2634 char *kwnames[] = {
2635 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2636 };
2637
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2642 SWIG_POINTER_EXCEPTION | 0)) == -1)
2643 SWIG_fail;
2644 if (arg2 == NULL) {
2645 PyErr_SetString(PyExc_TypeError,"null reference");
2646 SWIG_fail;
2647 }
2648 arg3 = (double) SWIG_AsDouble(obj2);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 arg4 = (double) SWIG_AsDouble(obj3);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 arg5 = (double) SWIG_AsDouble(obj4);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 arg6 = (double) SWIG_AsDouble(obj5);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 if (obj6) {
2657 arg7 = (bool) SWIG_AsBool(obj6);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 {
2668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2669 }
2670 return resultobj;
2671 fail:
2672 return NULL;
2673 }
2674
2675
2676 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2677 PyObject *resultobj;
2678 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2679 wxDC *arg2 = 0 ;
2680 double arg3 ;
2681 double arg4 ;
2682 double arg5 ;
2683 double arg6 ;
2684 bool arg7 = (bool) True ;
2685 PyObject * obj0 = 0 ;
2686 PyObject * obj1 = 0 ;
2687 PyObject * obj2 = 0 ;
2688 PyObject * obj3 = 0 ;
2689 PyObject * obj4 = 0 ;
2690 PyObject * obj5 = 0 ;
2691 PyObject * obj6 = 0 ;
2692 char *kwnames[] = {
2693 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2694 };
2695
2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2700 SWIG_POINTER_EXCEPTION | 0)) == -1)
2701 SWIG_fail;
2702 if (arg2 == NULL) {
2703 PyErr_SetString(PyExc_TypeError,"null reference");
2704 SWIG_fail;
2705 }
2706 arg3 = (double) SWIG_AsDouble(obj2);
2707 if (PyErr_Occurred()) SWIG_fail;
2708 arg4 = (double) SWIG_AsDouble(obj3);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 arg5 = (double) SWIG_AsDouble(obj4);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 arg6 = (double) SWIG_AsDouble(obj5);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 if (obj6) {
2715 arg7 = (bool) SWIG_AsBool(obj6);
2716 if (PyErr_Occurred()) SWIG_fail;
2717 }
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
2725 Py_INCREF(Py_None); resultobj = Py_None;
2726 return resultobj;
2727 fail:
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2735 bool arg2 ;
2736 double arg3 ;
2737 double arg4 ;
2738 int arg5 = (int) 0 ;
2739 int arg6 = (int) 0 ;
2740 PyObject * obj0 = 0 ;
2741 PyObject * obj1 = 0 ;
2742 PyObject * obj2 = 0 ;
2743 PyObject * obj3 = 0 ;
2744 PyObject * obj4 = 0 ;
2745 PyObject * obj5 = 0 ;
2746 char *kwnames[] = {
2747 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2753 arg2 = (bool) SWIG_AsBool(obj1);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 arg3 = (double) SWIG_AsDouble(obj2);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 arg4 = (double) SWIG_AsDouble(obj3);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 if (obj4) {
2760 arg5 = (int) SWIG_AsInt(obj4);
2761 if (PyErr_Occurred()) SWIG_fail;
2762 }
2763 if (obj5) {
2764 arg6 = (int) SWIG_AsInt(obj5);
2765 if (PyErr_Occurred()) SWIG_fail;
2766 }
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 Py_INCREF(Py_None); resultobj = Py_None;
2775 return resultobj;
2776 fail:
2777 return NULL;
2778 }
2779
2780
2781 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2784 double arg2 ;
2785 double arg3 ;
2786 int arg4 = (int) 0 ;
2787 int arg5 = (int) 0 ;
2788 PyObject * obj0 = 0 ;
2789 PyObject * obj1 = 0 ;
2790 PyObject * obj2 = 0 ;
2791 PyObject * obj3 = 0 ;
2792 PyObject * obj4 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2800 arg2 = (double) SWIG_AsDouble(obj1);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 arg3 = (double) SWIG_AsDouble(obj2);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 if (obj3) {
2805 arg4 = (int) SWIG_AsInt(obj3);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 if (obj4) {
2809 arg5 = (int) SWIG_AsInt(obj4);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 Py_INCREF(Py_None); resultobj = Py_None;
2820 return resultobj;
2821 fail:
2822 return NULL;
2823 }
2824
2825
2826 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject *resultobj;
2828 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2829 double arg2 ;
2830 double arg3 ;
2831 int arg4 = (int) 0 ;
2832 int arg5 = (int) 0 ;
2833 PyObject * obj0 = 0 ;
2834 PyObject * obj1 = 0 ;
2835 PyObject * obj2 = 0 ;
2836 PyObject * obj3 = 0 ;
2837 PyObject * obj4 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2845 arg2 = (double) SWIG_AsDouble(obj1);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 arg3 = (double) SWIG_AsDouble(obj2);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 if (obj3) {
2850 arg4 = (int) SWIG_AsInt(obj3);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 if (obj4) {
2854 arg5 = (int) SWIG_AsInt(obj4);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 return resultobj;
2866 fail:
2867 return NULL;
2868 }
2869
2870
2871 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2874 bool arg2 ;
2875 double arg3 ;
2876 double arg4 ;
2877 int arg5 = (int) 0 ;
2878 int arg6 = (int) 0 ;
2879 PyObject * obj0 = 0 ;
2880 PyObject * obj1 = 0 ;
2881 PyObject * obj2 = 0 ;
2882 PyObject * obj3 = 0 ;
2883 PyObject * obj4 = 0 ;
2884 PyObject * obj5 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2892 arg2 = (bool) SWIG_AsBool(obj1);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 arg3 = (double) SWIG_AsDouble(obj2);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 arg4 = (double) SWIG_AsDouble(obj3);
2897 if (PyErr_Occurred()) SWIG_fail;
2898 if (obj4) {
2899 arg5 = (int) SWIG_AsInt(obj4);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 if (obj5) {
2903 arg6 = (int) SWIG_AsInt(obj5);
2904 if (PyErr_Occurred()) SWIG_fail;
2905 }
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 Py_INCREF(Py_None); resultobj = Py_None;
2914 return resultobj;
2915 fail:
2916 return NULL;
2917 }
2918
2919
2920 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2923 double arg2 ;
2924 double arg3 ;
2925 int arg4 = (int) 0 ;
2926 int arg5 = (int) 0 ;
2927 PyObject * obj0 = 0 ;
2928 PyObject * obj1 = 0 ;
2929 PyObject * obj2 = 0 ;
2930 PyObject * obj3 = 0 ;
2931 PyObject * obj4 = 0 ;
2932 char *kwnames[] = {
2933 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2934 };
2935
2936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2939 arg2 = (double) SWIG_AsDouble(obj1);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 arg3 = (double) SWIG_AsDouble(obj2);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 if (obj3) {
2944 arg4 = (int) SWIG_AsInt(obj3);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 if (obj4) {
2948 arg5 = (int) SWIG_AsInt(obj4);
2949 if (PyErr_Occurred()) SWIG_fail;
2950 }
2951 {
2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
2953 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2954
2955 wxPyEndAllowThreads(__tstate);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 Py_INCREF(Py_None); resultobj = Py_None;
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2968 double arg2 ;
2969 double arg3 ;
2970 int arg4 = (int) 0 ;
2971 int arg5 = (int) 0 ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 PyObject * obj2 = 0 ;
2975 PyObject * obj3 = 0 ;
2976 PyObject * obj4 = 0 ;
2977 char *kwnames[] = {
2978 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2979 };
2980
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2984 arg2 = (double) SWIG_AsDouble(obj1);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 arg3 = (double) SWIG_AsDouble(obj2);
2987 if (PyErr_Occurred()) SWIG_fail;
2988 if (obj3) {
2989 arg4 = (int) SWIG_AsInt(obj3);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 if (obj4) {
2993 arg5 = (int) SWIG_AsInt(obj4);
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007 }
3008
3009
3010 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3013 wxDC *arg2 = 0 ;
3014 double arg3 ;
3015 double arg4 ;
3016 double arg5 ;
3017 double arg6 ;
3018 PyObject * obj0 = 0 ;
3019 PyObject * obj1 = 0 ;
3020 PyObject * obj2 = 0 ;
3021 PyObject * obj3 = 0 ;
3022 PyObject * obj4 = 0 ;
3023 PyObject * obj5 = 0 ;
3024 char *kwnames[] = {
3025 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3026 };
3027
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3032 SWIG_POINTER_EXCEPTION | 0)) == -1)
3033 SWIG_fail;
3034 if (arg2 == NULL) {
3035 PyErr_SetString(PyExc_TypeError,"null reference");
3036 SWIG_fail;
3037 }
3038 arg3 = (double) SWIG_AsDouble(obj2);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 arg4 = (double) SWIG_AsDouble(obj3);
3041 if (PyErr_Occurred()) SWIG_fail;
3042 arg5 = (double) SWIG_AsDouble(obj4);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 arg6 = (double) SWIG_AsDouble(obj5);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 {
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
3048 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 Py_INCREF(Py_None); resultobj = Py_None;
3054 return resultobj;
3055 fail:
3056 return NULL;
3057 }
3058
3059
3060 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3061 PyObject *resultobj;
3062 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3063 wxDC *arg2 = 0 ;
3064 PyObject * obj0 = 0 ;
3065 PyObject * obj1 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "self",(char *) "dc", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3074 SWIG_POINTER_EXCEPTION | 0)) == -1)
3075 SWIG_fail;
3076 if (arg2 == NULL) {
3077 PyErr_SetString(PyExc_TypeError,"null reference");
3078 SWIG_fail;
3079 }
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 (arg1)->base_OnDrawControlPoints(*arg2);
3083
3084 wxPyEndAllowThreads(__tstate);
3085 if (PyErr_Occurred()) SWIG_fail;
3086 }
3087 Py_INCREF(Py_None); resultobj = Py_None;
3088 return resultobj;
3089 fail:
3090 return NULL;
3091 }
3092
3093
3094 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3095 PyObject *resultobj;
3096 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3097 wxDC *arg2 = 0 ;
3098 PyObject * obj0 = 0 ;
3099 PyObject * obj1 = 0 ;
3100 char *kwnames[] = {
3101 (char *) "self",(char *) "dc", NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
3105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3108 SWIG_POINTER_EXCEPTION | 0)) == -1)
3109 SWIG_fail;
3110 if (arg2 == NULL) {
3111 PyErr_SetString(PyExc_TypeError,"null reference");
3112 SWIG_fail;
3113 }
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 (arg1)->base_OnEraseControlPoints(*arg2);
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 Py_INCREF(Py_None); resultobj = Py_None;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125 }
3126
3127
3128 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3129 PyObject *resultobj;
3130 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3131 wxDC *arg2 = 0 ;
3132 bool arg3 = (bool) True ;
3133 PyObject * obj0 = 0 ;
3134 PyObject * obj1 = 0 ;
3135 PyObject * obj2 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
3141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1)
3145 SWIG_fail;
3146 if (arg2 == NULL) {
3147 PyErr_SetString(PyExc_TypeError,"null reference");
3148 SWIG_fail;
3149 }
3150 if (obj2) {
3151 arg3 = (bool) SWIG_AsBool(obj2);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 {
3155 PyThreadState* __tstate = wxPyBeginAllowThreads();
3156 (arg1)->base_OnMoveLink(*arg2,arg3);
3157
3158 wxPyEndAllowThreads(__tstate);
3159 if (PyErr_Occurred()) SWIG_fail;
3160 }
3161 Py_INCREF(Py_None); resultobj = Py_None;
3162 return resultobj;
3163 fail:
3164 return NULL;
3165 }
3166
3167
3168 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3169 PyObject *resultobj;
3170 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3171 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3172 bool arg3 ;
3173 double arg4 ;
3174 double arg5 ;
3175 int arg6 = (int) 0 ;
3176 int arg7 = (int) 0 ;
3177 PyObject * obj0 = 0 ;
3178 PyObject * obj1 = 0 ;
3179 PyObject * obj2 = 0 ;
3180 PyObject * obj3 = 0 ;
3181 PyObject * obj4 = 0 ;
3182 PyObject * obj5 = 0 ;
3183 PyObject * obj6 = 0 ;
3184 char *kwnames[] = {
3185 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3186 };
3187
3188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3193 arg3 = (bool) SWIG_AsBool(obj2);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 arg4 = (double) SWIG_AsDouble(obj3);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 arg5 = (double) SWIG_AsDouble(obj4);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 if (obj5) {
3200 arg6 = (int) SWIG_AsInt(obj5);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 if (obj6) {
3204 arg7 = (int) SWIG_AsInt(obj6);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 Py_INCREF(Py_None); resultobj = Py_None;
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3224 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3225 double arg3 ;
3226 double arg4 ;
3227 int arg5 = (int) 0 ;
3228 int arg6 = (int) 0 ;
3229 PyObject * obj0 = 0 ;
3230 PyObject * obj1 = 0 ;
3231 PyObject * obj2 = 0 ;
3232 PyObject * obj3 = 0 ;
3233 PyObject * obj4 = 0 ;
3234 PyObject * obj5 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3244 arg3 = (double) SWIG_AsDouble(obj2);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 arg4 = (double) SWIG_AsDouble(obj3);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 if (obj4) {
3249 arg5 = (int) SWIG_AsInt(obj4);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 if (obj5) {
3253 arg6 = (int) SWIG_AsInt(obj5);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 {
3257 PyThreadState* __tstate = wxPyBeginAllowThreads();
3258 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
3259
3260 wxPyEndAllowThreads(__tstate);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 }
3263 Py_INCREF(Py_None); resultobj = Py_None;
3264 return resultobj;
3265 fail:
3266 return NULL;
3267 }
3268
3269
3270 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3271 PyObject *resultobj;
3272 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3273 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3274 double arg3 ;
3275 double arg4 ;
3276 int arg5 = (int) 0 ;
3277 int arg6 = (int) 0 ;
3278 PyObject * obj0 = 0 ;
3279 PyObject * obj1 = 0 ;
3280 PyObject * obj2 = 0 ;
3281 PyObject * obj3 = 0 ;
3282 PyObject * obj4 = 0 ;
3283 PyObject * obj5 = 0 ;
3284 char *kwnames[] = {
3285 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3286 };
3287
3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3293 arg3 = (double) SWIG_AsDouble(obj2);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 arg4 = (double) SWIG_AsDouble(obj3);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 if (obj4) {
3298 arg5 = (int) SWIG_AsInt(obj4);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 if (obj5) {
3302 arg6 = (int) SWIG_AsInt(obj5);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 return resultobj;
3314 fail:
3315 return NULL;
3316 }
3317
3318
3319 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject *resultobj;
3321 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3322 double arg2 ;
3323 double arg3 ;
3324 PyObject * obj0 = 0 ;
3325 PyObject * obj1 = 0 ;
3326 PyObject * obj2 = 0 ;
3327 char *kwnames[] = {
3328 (char *) "self",(char *) "w",(char *) "h", NULL
3329 };
3330
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3334 arg2 = (double) SWIG_AsDouble(obj1);
3335 if (PyErr_Occurred()) SWIG_fail;
3336 arg3 = (double) SWIG_AsDouble(obj2);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 (arg1)->base_OnBeginSize(arg2,arg3);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 Py_INCREF(Py_None); resultobj = Py_None;
3346 return resultobj;
3347 fail:
3348 return NULL;
3349 }
3350
3351
3352 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject *resultobj;
3354 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3355 double arg2 ;
3356 double arg3 ;
3357 PyObject * obj0 = 0 ;
3358 PyObject * obj1 = 0 ;
3359 PyObject * obj2 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "w",(char *) "h", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3367 arg2 = (double) SWIG_AsDouble(obj1);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 arg3 = (double) SWIG_AsDouble(obj2);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 (arg1)->base_OnEndSize(arg2,arg3);
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 Py_INCREF(Py_None); resultobj = Py_None;
3379 return resultobj;
3380 fail:
3381 return NULL;
3382 }
3383
3384
3385 static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
3386 PyObject *obj;
3387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3388 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3389 Py_INCREF(obj);
3390 return Py_BuildValue((char *)"");
3391 }
3392 static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3395 wxPyShape *result;
3396 PyObject * obj0 = 0 ;
3397 char *kwnames[] = {
3398 (char *) "can", NULL
3399 };
3400
3401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3402 if (obj0) {
3403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
3404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3405 }
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 result = (wxPyShape *)new wxPyShape(arg1);
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 {
3414 resultobj = wxPyMake_wxShapeEvtHandler(result);
3415 }
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxPyShape *arg1 = (wxPyShape *) 0 ;
3425 PyObject *arg2 = (PyObject *) 0 ;
3426 PyObject *arg3 = (PyObject *) 0 ;
3427 PyObject * obj0 = 0 ;
3428 PyObject * obj1 = 0 ;
3429 PyObject * obj2 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self",(char *) "self",(char *) "_class", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3437 arg2 = obj1;
3438 arg3 = obj2;
3439 {
3440 PyThreadState* __tstate = wxPyBeginAllowThreads();
3441 (arg1)->_setCallbackInfo(arg2,arg3);
3442
3443 wxPyEndAllowThreads(__tstate);
3444 if (PyErr_Occurred()) SWIG_fail;
3445 }
3446 Py_INCREF(Py_None); resultobj = Py_None;
3447 return resultobj;
3448 fail:
3449 return NULL;
3450 }
3451
3452
3453 static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj;
3455 wxPyShape *arg1 = (wxPyShape *) 0 ;
3456 double *arg2 = (double *) 0 ;
3457 double *arg3 = (double *) 0 ;
3458 double temp2 ;
3459 double temp3 ;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 arg2 = &temp2;
3466 arg3 = &temp3;
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
3468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->GetBoundingBoxMax(arg2,arg3);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 Py_INCREF(Py_None); resultobj = Py_None;
3478 {
3479 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3480 resultobj = t_output_helper(resultobj,o);
3481 }
3482 {
3483 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3484 resultobj = t_output_helper(resultobj,o);
3485 }
3486 return resultobj;
3487 fail:
3488 return NULL;
3489 }
3490
3491
3492 static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3493 PyObject *resultobj;
3494 wxPyShape *arg1 = (wxPyShape *) 0 ;
3495 double *arg2 = (double *) 0 ;
3496 double *arg3 = (double *) 0 ;
3497 double temp2 ;
3498 double temp3 ;
3499 PyObject * obj0 = 0 ;
3500 char *kwnames[] = {
3501 (char *) "self", NULL
3502 };
3503
3504 arg2 = &temp2;
3505 arg3 = &temp3;
3506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
3507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 (arg1)->GetBoundingBoxMin(arg2,arg3);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 Py_INCREF(Py_None); resultobj = Py_None;
3517 {
3518 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3519 resultobj = t_output_helper(resultobj,o);
3520 }
3521 {
3522 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3523 resultobj = t_output_helper(resultobj,o);
3524 }
3525 return resultobj;
3526 fail:
3527 return NULL;
3528 }
3529
3530
3531 static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject *resultobj;
3533 wxPyShape *arg1 = (wxPyShape *) 0 ;
3534 double arg2 ;
3535 double arg3 ;
3536 double arg4 ;
3537 double arg5 ;
3538 double *arg6 = (double *) 0 ;
3539 double *arg7 = (double *) 0 ;
3540 bool result;
3541 double temp6 ;
3542 double temp7 ;
3543 PyObject * obj0 = 0 ;
3544 PyObject * obj1 = 0 ;
3545 PyObject * obj2 = 0 ;
3546 PyObject * obj3 = 0 ;
3547 PyObject * obj4 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3550 };
3551
3552 arg6 = &temp6;
3553 arg7 = &temp7;
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3557 arg2 = (double) SWIG_AsDouble(obj1);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 arg3 = (double) SWIG_AsDouble(obj2);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 arg4 = (double) SWIG_AsDouble(obj3);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 arg5 = (double) SWIG_AsDouble(obj4);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
3572 {
3573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3574 }
3575 {
3576 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3577 resultobj = t_output_helper(resultobj,o);
3578 }
3579 {
3580 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3581 resultobj = t_output_helper(resultobj,o);
3582 }
3583 return resultobj;
3584 fail:
3585 return NULL;
3586 }
3587
3588
3589 static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3590 PyObject *resultobj;
3591 wxPyShape *arg1 = (wxPyShape *) 0 ;
3592 wxPyShapeCanvas *result;
3593 PyObject * obj0 = 0 ;
3594 char *kwnames[] = {
3595 (char *) "self", NULL
3596 };
3597
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
3599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 {
3609 resultobj = wxPyMake_wxObject(result);
3610 }
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxPyShape *arg1 = (wxPyShape *) 0 ;
3620 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3621 PyObject * obj0 = 0 ;
3622 PyObject * obj1 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "the_canvas", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
3628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 (arg1)->SetCanvas(arg2);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 Py_INCREF(Py_None); resultobj = Py_None;
3640 return resultobj;
3641 fail:
3642 return NULL;
3643 }
3644
3645
3646 static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject *resultobj;
3648 wxPyShape *arg1 = (wxPyShape *) 0 ;
3649 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3650 wxPyShape *arg3 = (wxPyShape *) NULL ;
3651 PyObject * obj0 = 0 ;
3652 PyObject * obj1 = 0 ;
3653 PyObject * obj2 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3663 if (obj2) {
3664 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
3665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3666 }
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 (arg1)->AddToCanvas(arg2,arg3);
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
3674 Py_INCREF(Py_None); resultobj = Py_None;
3675 return resultobj;
3676 fail:
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 wxPyShape *arg1 = (wxPyShape *) 0 ;
3684 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3685 PyObject * obj0 = 0 ;
3686 PyObject * obj1 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self",(char *) "the_canvas", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 (arg1)->InsertInCanvas(arg2);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 Py_INCREF(Py_None); resultobj = Py_None;
3704 return resultobj;
3705 fail:
3706 return NULL;
3707 }
3708
3709
3710 static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxPyShape *arg1 = (wxPyShape *) 0 ;
3713 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3714 PyObject * obj0 = 0 ;
3715 PyObject * obj1 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self",(char *) "the_canvas", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 {
3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
3727 (arg1)->RemoveFromCanvas(arg2);
3728
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 Py_INCREF(Py_None); resultobj = Py_None;
3733 return resultobj;
3734 fail:
3735 return NULL;
3736 }
3737
3738
3739 static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3740 PyObject *resultobj;
3741 wxPyShape *arg1 = (wxPyShape *) 0 ;
3742 double result;
3743 PyObject * obj0 = 0 ;
3744 char *kwnames[] = {
3745 (char *) "self", NULL
3746 };
3747
3748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
3749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3751 {
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 result = (double)(arg1)->GetX();
3754
3755 wxPyEndAllowThreads(__tstate);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 }
3758 resultobj = SWIG_FromDouble((double)result);
3759 return resultobj;
3760 fail:
3761 return NULL;
3762 }
3763
3764
3765 static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj;
3767 wxPyShape *arg1 = (wxPyShape *) 0 ;
3768 double result;
3769 PyObject * obj0 = 0 ;
3770 char *kwnames[] = {
3771 (char *) "self", NULL
3772 };
3773
3774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
3775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (double)(arg1)->GetY();
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 resultobj = SWIG_FromDouble((double)result);
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxPyShape *arg1 = (wxPyShape *) 0 ;
3794 double arg2 ;
3795 PyObject * obj0 = 0 ;
3796 PyObject * obj1 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self",(char *) "x", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
3802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3804 arg2 = (double) SWIG_AsDouble(obj1);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 (arg1)->SetX(arg2);
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 Py_INCREF(Py_None); resultobj = Py_None;
3814 return resultobj;
3815 fail:
3816 return NULL;
3817 }
3818
3819
3820 static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxPyShape *arg1 = (wxPyShape *) 0 ;
3823 double arg2 ;
3824 PyObject * obj0 = 0 ;
3825 PyObject * obj1 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self",(char *) "y", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
3831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3833 arg2 = (double) SWIG_AsDouble(obj1);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 (arg1)->SetY(arg2);
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 Py_INCREF(Py_None); resultobj = Py_None;
3843 return resultobj;
3844 fail:
3845 return NULL;
3846 }
3847
3848
3849 static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject *resultobj;
3851 wxPyShape *arg1 = (wxPyShape *) 0 ;
3852 wxPyShape *result;
3853 PyObject * obj0 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (wxPyShape *)(arg1)->GetParent();
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 {
3869 resultobj = wxPyMake_wxShapeEvtHandler(result);
3870 }
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxPyShape *arg1 = (wxPyShape *) 0 ;
3880 wxPyShape *arg2 = (wxPyShape *) 0 ;
3881 PyObject * obj0 = 0 ;
3882 PyObject * obj1 = 0 ;
3883 char *kwnames[] = {
3884 (char *) "self",(char *) "p", NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 (arg1)->SetParent(arg2);
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 Py_INCREF(Py_None); resultobj = Py_None;
3900 return resultobj;
3901 fail:
3902 return NULL;
3903 }
3904
3905
3906 static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3907 PyObject *resultobj;
3908 wxPyShape *arg1 = (wxPyShape *) 0 ;
3909 wxPyShape *result;
3910 PyObject * obj0 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "self", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 result = (wxPyShape *)(arg1)->GetTopAncestor();
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 {
3926 resultobj = wxPyMake_wxShapeEvtHandler(result);
3927 }
3928 return resultobj;
3929 fail:
3930 return NULL;
3931 }
3932
3933
3934 static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxPyShape *arg1 = (wxPyShape *) 0 ;
3937 PyObject *result;
3938 PyObject * obj0 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "self", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 result = (PyObject *)wxPyShape_GetChildren(arg1);
3949
3950 wxPyEndAllowThreads(__tstate);
3951 if (PyErr_Occurred()) SWIG_fail;
3952 }
3953 resultobj = result;
3954 return resultobj;
3955 fail:
3956 return NULL;
3957 }
3958
3959
3960 static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3961 PyObject *resultobj;
3962 wxPyShape *arg1 = (wxPyShape *) 0 ;
3963 PyObject * obj0 = 0 ;
3964 char *kwnames[] = {
3965 (char *) "self", NULL
3966 };
3967
3968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 (arg1)->Unlink();
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 Py_INCREF(Py_None); resultobj = Py_None;
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxPyShape *arg1 = (wxPyShape *) 0 ;
3988 bool arg2 ;
3989 PyObject * obj0 = 0 ;
3990 PyObject * obj1 = 0 ;
3991 char *kwnames[] = {
3992 (char *) "self",(char *) "drawH", NULL
3993 };
3994
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3998 arg2 = (bool) SWIG_AsBool(obj1);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 (arg1)->SetDrawHandles(arg2);
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 Py_INCREF(Py_None); resultobj = Py_None;
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxPyShape *arg1 = (wxPyShape *) 0 ;
4017 bool result;
4018 PyObject * obj0 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "self", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
4024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (bool)(arg1)->GetDrawHandles();
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 {
4034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4035 }
4036 return resultobj;
4037 fail:
4038 return NULL;
4039 }
4040
4041
4042 static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4043 PyObject *resultobj;
4044 wxPyShape *arg1 = (wxPyShape *) 0 ;
4045 PyObject * obj0 = 0 ;
4046 char *kwnames[] = {
4047 (char *) "self", NULL
4048 };
4049
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
4051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 (arg1)->MakeControlPoints();
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 Py_INCREF(Py_None); resultobj = Py_None;
4061 return resultobj;
4062 fail:
4063 return NULL;
4064 }
4065
4066
4067 static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject *resultobj;
4069 wxPyShape *arg1 = (wxPyShape *) 0 ;
4070 wxDC *arg2 = (wxDC *) NULL ;
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj1 = 0 ;
4073 char *kwnames[] = {
4074 (char *) "self",(char *) "dc", NULL
4075 };
4076
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
4078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4080 if (obj1) {
4081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4083 }
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 (arg1)->DeleteControlPoints(arg2);
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 Py_INCREF(Py_None); resultobj = Py_None;
4092 return resultobj;
4093 fail:
4094 return NULL;
4095 }
4096
4097
4098 static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4099 PyObject *resultobj;
4100 wxPyShape *arg1 = (wxPyShape *) 0 ;
4101 PyObject * obj0 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "self", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
4107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 (arg1)->ResetControlPoints();
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 Py_INCREF(Py_None); resultobj = Py_None;
4117 return resultobj;
4118 fail:
4119 return NULL;
4120 }
4121
4122
4123 static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4124 PyObject *resultobj;
4125 wxPyShape *arg1 = (wxPyShape *) 0 ;
4126 wxPyShapeEvtHandler *result;
4127 PyObject * obj0 = 0 ;
4128 char *kwnames[] = {
4129 (char *) "self", NULL
4130 };
4131
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
4133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4135 {
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4138
4139 wxPyEndAllowThreads(__tstate);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 {
4143 resultobj = wxPyMake_wxShapeEvtHandler(result);
4144 }
4145 return resultobj;
4146 fail:
4147 return NULL;
4148 }
4149
4150
4151 static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject *resultobj;
4153 wxPyShape *arg1 = (wxPyShape *) 0 ;
4154 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4155 PyObject * obj0 = 0 ;
4156 PyObject * obj1 = 0 ;
4157 char *kwnames[] = {
4158 (char *) "self",(char *) "handler", NULL
4159 };
4160
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
4162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
4165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4166 {
4167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4168 (arg1)->SetEventHandler(arg2);
4169
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 Py_INCREF(Py_None); resultobj = Py_None;
4174 return resultobj;
4175 fail:
4176 return NULL;
4177 }
4178
4179
4180 static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj;
4182 wxPyShape *arg1 = (wxPyShape *) 0 ;
4183 PyObject * obj0 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
4189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 (arg1)->MakeMandatoryControlPoints();
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 Py_INCREF(Py_None); resultobj = Py_None;
4199 return resultobj;
4200 fail:
4201 return NULL;
4202 }
4203
4204
4205 static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj;
4207 wxPyShape *arg1 = (wxPyShape *) 0 ;
4208 PyObject * obj0 = 0 ;
4209 char *kwnames[] = {
4210 (char *) "self", NULL
4211 };
4212
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
4214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 (arg1)->ResetMandatoryControlPoints();
4219
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 Py_INCREF(Py_None); resultobj = Py_None;
4224 return resultobj;
4225 fail:
4226 return NULL;
4227 }
4228
4229
4230 static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
4231 PyObject *resultobj;
4232 wxPyShape *arg1 = (wxPyShape *) 0 ;
4233 bool result;
4234 PyObject * obj0 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self", NULL
4237 };
4238
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
4240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4242 {
4243 PyThreadState* __tstate = wxPyBeginAllowThreads();
4244 result = (bool)(arg1)->Recompute();
4245
4246 wxPyEndAllowThreads(__tstate);
4247 if (PyErr_Occurred()) SWIG_fail;
4248 }
4249 {
4250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4251 }
4252 return resultobj;
4253 fail:
4254 return NULL;
4255 }
4256
4257
4258 static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4259 PyObject *resultobj;
4260 wxPyShape *arg1 = (wxPyShape *) 0 ;
4261 PyObject * obj0 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "self", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
4267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4269 {
4270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4271 (arg1)->CalculateSize();
4272
4273 wxPyEndAllowThreads(__tstate);
4274 if (PyErr_Occurred()) SWIG_fail;
4275 }
4276 Py_INCREF(Py_None); resultobj = Py_None;
4277 return resultobj;
4278 fail:
4279 return NULL;
4280 }
4281
4282
4283 static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4284 PyObject *resultobj;
4285 wxPyShape *arg1 = (wxPyShape *) 0 ;
4286 bool arg2 = (bool) True ;
4287 wxDC *arg3 = (wxDC *) NULL ;
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj1 = 0 ;
4290 PyObject * obj2 = 0 ;
4291 char *kwnames[] = {
4292 (char *) "self",(char *) "select",(char *) "dc", NULL
4293 };
4294
4295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
4296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4298 if (obj1) {
4299 arg2 = (bool) SWIG_AsBool(obj1);
4300 if (PyErr_Occurred()) SWIG_fail;
4301 }
4302 if (obj2) {
4303 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
4304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4305 }
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 (arg1)->Select(arg2,arg3);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 Py_INCREF(Py_None); resultobj = Py_None;
4314 return resultobj;
4315 fail:
4316 return NULL;
4317 }
4318
4319
4320 static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj;
4322 wxPyShape *arg1 = (wxPyShape *) 0 ;
4323 bool arg2 = (bool) True ;
4324 bool arg3 = (bool) False ;
4325 PyObject * obj0 = 0 ;
4326 PyObject * obj1 = 0 ;
4327 PyObject * obj2 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
4333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4335 if (obj1) {
4336 arg2 = (bool) SWIG_AsBool(obj1);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 if (obj2) {
4340 arg3 = (bool) SWIG_AsBool(obj2);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 (arg1)->SetHighlight(arg2,arg3);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 Py_INCREF(Py_None); resultobj = Py_None;
4351 return resultobj;
4352 fail:
4353 return NULL;
4354 }
4355
4356
4357 static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxPyShape *arg1 = (wxPyShape *) 0 ;
4360 bool result;
4361 PyObject * obj0 = 0 ;
4362 char *kwnames[] = {
4363 (char *) "self", NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
4367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 result = (bool)(arg1)->IsHighlighted();
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 {
4377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4378 }
4379 return resultobj;
4380 fail:
4381 return NULL;
4382 }
4383
4384
4385 static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
4386 PyObject *resultobj;
4387 wxPyShape *arg1 = (wxPyShape *) 0 ;
4388 bool result;
4389 PyObject * obj0 = 0 ;
4390 char *kwnames[] = {
4391 (char *) "self", NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
4395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 result = (bool)(arg1)->Selected();
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 {
4405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4406 }
4407 return resultobj;
4408 fail:
4409 return NULL;
4410 }
4411
4412
4413 static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject *resultobj;
4415 wxPyShape *arg1 = (wxPyShape *) 0 ;
4416 bool result;
4417 PyObject * obj0 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 result = (bool)(arg1)->AncestorSelected();
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 {
4433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4434 }
4435 return resultobj;
4436 fail:
4437 return NULL;
4438 }
4439
4440
4441 static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj;
4443 wxPyShape *arg1 = (wxPyShape *) 0 ;
4444 int arg2 = (int) OP_ALL ;
4445 bool arg3 = (bool) False ;
4446 PyObject * obj0 = 0 ;
4447 PyObject * obj1 = 0 ;
4448 PyObject * obj2 = 0 ;
4449 char *kwnames[] = {
4450 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
4454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4456 if (obj1) {
4457 arg2 = (int) SWIG_AsInt(obj1);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 if (obj2) {
4461 arg3 = (bool) SWIG_AsBool(obj2);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 {
4465 PyThreadState* __tstate = wxPyBeginAllowThreads();
4466 (arg1)->SetSensitivityFilter(arg2,arg3);
4467
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 Py_INCREF(Py_None); resultobj = Py_None;
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj;
4480 wxPyShape *arg1 = (wxPyShape *) 0 ;
4481 int result;
4482 PyObject * obj0 = 0 ;
4483 char *kwnames[] = {
4484 (char *) "self", NULL
4485 };
4486
4487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
4488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4490 {
4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
4492 result = (int)(arg1)->GetSensitivityFilter();
4493
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 resultobj = SWIG_FromInt((int)result);
4498 return resultobj;
4499 fail:
4500 return NULL;
4501 }
4502
4503
4504 static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 wxPyShape *arg1 = (wxPyShape *) 0 ;
4507 bool arg2 ;
4508 bool arg3 = (bool) False ;
4509 PyObject * obj0 = 0 ;
4510 PyObject * obj1 = 0 ;
4511 PyObject * obj2 = 0 ;
4512 char *kwnames[] = {
4513 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4519 arg2 = (bool) SWIG_AsBool(obj1);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 if (obj2) {
4522 arg3 = (bool) SWIG_AsBool(obj2);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 (arg1)->SetDraggable(arg2,arg3);
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 Py_INCREF(Py_None); resultobj = Py_None;
4533 return resultobj;
4534 fail:
4535 return NULL;
4536 }
4537
4538
4539 static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject *resultobj;
4541 wxPyShape *arg1 = (wxPyShape *) 0 ;
4542 bool arg2 ;
4543 bool arg3 ;
4544 PyObject * obj0 = 0 ;
4545 PyObject * obj1 = 0 ;
4546 PyObject * obj2 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "self",(char *) "x",(char *) "y", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4554 arg2 = (bool) SWIG_AsBool(obj1);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 arg3 = (bool) SWIG_AsBool(obj2);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 (arg1)->SetFixedSize(arg2,arg3);
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 Py_INCREF(Py_None); resultobj = Py_None;
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxPyShape *arg1 = (wxPyShape *) 0 ;
4575 bool *arg2 = (bool *) 0 ;
4576 bool *arg3 = (bool *) 0 ;
4577 bool temp2 ;
4578 bool temp3 ;
4579 PyObject * obj0 = 0 ;
4580 char *kwnames[] = {
4581 (char *) "self", NULL
4582 };
4583
4584 arg2 = &temp2;
4585 arg3 = &temp3;
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
4587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 (arg1)->GetFixedSize(arg2,arg3);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 {
4598 PyObject *o = PyInt_FromLong((long) (*arg2));
4599 resultobj = t_output_helper(resultobj,o);
4600 }
4601 {
4602 PyObject *o = PyInt_FromLong((long) (*arg3));
4603 resultobj = t_output_helper(resultobj,o);
4604 }
4605 return resultobj;
4606 fail:
4607 return NULL;
4608 }
4609
4610
4611 static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4612 PyObject *resultobj;
4613 wxPyShape *arg1 = (wxPyShape *) 0 ;
4614 bool result;
4615 PyObject * obj0 = 0 ;
4616 char *kwnames[] = {
4617 (char *) "self", NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
4621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 result = (bool)(arg1)->GetFixedWidth();
4626
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 {
4631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4632 }
4633 return resultobj;
4634 fail:
4635 return NULL;
4636 }
4637
4638
4639 static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4640 PyObject *resultobj;
4641 wxPyShape *arg1 = (wxPyShape *) 0 ;
4642 bool result;
4643 PyObject * obj0 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "self", NULL
4646 };
4647
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
4649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 result = (bool)(arg1)->GetFixedHeight();
4654
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 {
4659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4660 }
4661 return resultobj;
4662 fail:
4663 return NULL;
4664 }
4665
4666
4667 static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj;
4669 wxPyShape *arg1 = (wxPyShape *) 0 ;
4670 bool arg2 ;
4671 PyObject * obj0 = 0 ;
4672 PyObject * obj1 = 0 ;
4673 char *kwnames[] = {
4674 (char *) "self",(char *) "sp", NULL
4675 };
4676
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
4678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4680 arg2 = (bool) SWIG_AsBool(obj1);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 (arg1)->SetSpaceAttachments(arg2);
4685
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 Py_INCREF(Py_None); resultobj = Py_None;
4690 return resultobj;
4691 fail:
4692 return NULL;
4693 }
4694
4695
4696 static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4697 PyObject *resultobj;
4698 wxPyShape *arg1 = (wxPyShape *) 0 ;
4699 bool result;
4700 PyObject * obj0 = 0 ;
4701 char *kwnames[] = {
4702 (char *) "self", NULL
4703 };
4704
4705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
4706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 result = (bool)(arg1)->GetSpaceAttachments();
4711
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 {
4716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4717 }
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxPyShape *arg1 = (wxPyShape *) 0 ;
4727 int arg2 ;
4728 bool arg3 = (bool) False ;
4729 PyObject * obj0 = 0 ;
4730 PyObject * obj1 = 0 ;
4731 PyObject * obj2 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4739 arg2 = (int) SWIG_AsInt(obj1);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 if (obj2) {
4742 arg3 = (bool) SWIG_AsBool(obj2);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 (arg1)->SetShadowMode(arg2,arg3);
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 Py_INCREF(Py_None); resultobj = Py_None;
4753 return resultobj;
4754 fail:
4755 return NULL;
4756 }
4757
4758
4759 static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4760 PyObject *resultobj;
4761 wxPyShape *arg1 = (wxPyShape *) 0 ;
4762 int result;
4763 PyObject * obj0 = 0 ;
4764 char *kwnames[] = {
4765 (char *) "self", NULL
4766 };
4767
4768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
4769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 result = (int)(arg1)->GetShadowMode();
4774
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 resultobj = SWIG_FromInt((int)result);
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject *resultobj;
4787 wxPyShape *arg1 = (wxPyShape *) 0 ;
4788 double arg2 ;
4789 double arg3 ;
4790 int *arg4 = (int *) 0 ;
4791 double *arg5 = (double *) 0 ;
4792 bool result;
4793 int temp4 ;
4794 double temp5 ;
4795 PyObject * obj0 = 0 ;
4796 PyObject * obj1 = 0 ;
4797 PyObject * obj2 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self",(char *) "x",(char *) "y", NULL
4800 };
4801
4802 arg4 = &temp4;
4803 arg5 = &temp5;
4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
4805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4807 arg2 = (double) SWIG_AsDouble(obj1);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 arg3 = (double) SWIG_AsDouble(obj2);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 {
4819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4820 }
4821 {
4822 PyObject *o = PyInt_FromLong((long) (*arg4));
4823 resultobj = t_output_helper(resultobj,o);
4824 }
4825 {
4826 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4827 resultobj = t_output_helper(resultobj,o);
4828 }
4829 return resultobj;
4830 fail:
4831 return NULL;
4832 }
4833
4834
4835 static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4836 PyObject *resultobj;
4837 wxPyShape *arg1 = (wxPyShape *) 0 ;
4838 bool arg2 ;
4839 PyObject * obj0 = 0 ;
4840 PyObject * obj1 = 0 ;
4841 char *kwnames[] = {
4842 (char *) "self",(char *) "cr", NULL
4843 };
4844
4845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
4846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4848 arg2 = (bool) SWIG_AsBool(obj1);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 (arg1)->SetCentreResize(arg2);
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 Py_INCREF(Py_None); resultobj = Py_None;
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj;
4866 wxPyShape *arg1 = (wxPyShape *) 0 ;
4867 bool result;
4868 PyObject * obj0 = 0 ;
4869 char *kwnames[] = {
4870 (char *) "self", NULL
4871 };
4872
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 result = (bool)(arg1)->GetCentreResize();
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 {
4884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4885 }
4886 return resultobj;
4887 fail:
4888 return NULL;
4889 }
4890
4891
4892 static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 wxPyShape *arg1 = (wxPyShape *) 0 ;
4895 bool arg2 ;
4896 PyObject * obj0 = 0 ;
4897 PyObject * obj1 = 0 ;
4898 char *kwnames[] = {
4899 (char *) "self",(char *) "ar", NULL
4900 };
4901
4902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4905 arg2 = (bool) SWIG_AsBool(obj1);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 (arg1)->SetMaintainAspectRatio(arg2);
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 Py_INCREF(Py_None); resultobj = Py_None;
4915 return resultobj;
4916 fail:
4917 return NULL;
4918 }
4919
4920
4921 static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4922 PyObject *resultobj;
4923 wxPyShape *arg1 = (wxPyShape *) 0 ;
4924 bool result;
4925 PyObject * obj0 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 result = (bool)(arg1)->GetMaintainAspectRatio();
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
4940 {
4941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4942 }
4943 return resultobj;
4944 fail:
4945 return NULL;
4946 }
4947
4948
4949 static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxPyShape *arg1 = (wxPyShape *) 0 ;
4952 PyObject *result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 result = (PyObject *)wxPyShape_GetLines(arg1);
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 resultobj = result;
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4976 PyObject *resultobj;
4977 wxPyShape *arg1 = (wxPyShape *) 0 ;
4978 bool arg2 ;
4979 PyObject * obj0 = 0 ;
4980 PyObject * obj1 = 0 ;
4981 char *kwnames[] = {
4982 (char *) "self",(char *) "flag", NULL
4983 };
4984
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4988 arg2 = (bool) SWIG_AsBool(obj1);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 {
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 (arg1)->SetDisableLabel(arg2);
4993
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 Py_INCREF(Py_None); resultobj = Py_None;
4998 return resultobj;
4999 fail:
5000 return NULL;
5001 }
5002
5003
5004 static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5005 PyObject *resultobj;
5006 wxPyShape *arg1 = (wxPyShape *) 0 ;
5007 bool result;
5008 PyObject * obj0 = 0 ;
5009 char *kwnames[] = {
5010 (char *) "self", NULL
5011 };
5012
5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
5014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 result = (bool)(arg1)->GetDisableLabel();
5019
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 {
5024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5025 }
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj;
5034 wxPyShape *arg1 = (wxPyShape *) 0 ;
5035 int arg2 ;
5036 PyObject * obj0 = 0 ;
5037 PyObject * obj1 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self",(char *) "mode", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
5043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5045 arg2 = (int) SWIG_AsInt(obj1);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 (arg1)->SetAttachmentMode(arg2);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 Py_INCREF(Py_None); resultobj = Py_None;
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxPyShape *arg1 = (wxPyShape *) 0 ;
5064 int result;
5065 PyObject * obj0 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 result = (int)(arg1)->GetAttachmentMode();
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 resultobj = SWIG_FromInt((int)result);
5081 return resultobj;
5082 fail:
5083 return NULL;
5084 }
5085
5086
5087 static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxPyShape *arg1 = (wxPyShape *) 0 ;
5090 long arg2 ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self",(char *) "i", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
5098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5100 arg2 = (long) SWIG_AsLong(obj1);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->SetId(arg2);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 Py_INCREF(Py_None); resultobj = Py_None;
5110 return resultobj;
5111 fail:
5112 return NULL;
5113 }
5114
5115
5116 static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxPyShape *arg1 = (wxPyShape *) 0 ;
5119 long result;
5120 PyObject * obj0 = 0 ;
5121 char *kwnames[] = {
5122 (char *) "self", NULL
5123 };
5124
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
5126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 result = (long)(arg1)->GetId();
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 resultobj = SWIG_FromLong((long)result);
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxPyShape *arg1 = (wxPyShape *) 0 ;
5145 wxPen *arg2 = (wxPen *) 0 ;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 char *kwnames[] = {
5149 (char *) "self",(char *) "pen", NULL
5150 };
5151
5152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
5153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5155 {
5156 wxPen* temp;
5157 if (obj1) {
5158 if (obj1 == Py_None) {
5159 temp = NULL;
5160 }
5161 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5162 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5163 return NULL;
5164 }
5165 }
5166 if (temp)
5167 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5168 temp->GetWidth(),
5169 temp->GetStyle());
5170 else
5171 arg2 = NULL;
5172 }
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->SetPen(arg2);
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 Py_INCREF(Py_None); resultobj = Py_None;
5181 return resultobj;
5182 fail:
5183 return NULL;
5184 }
5185
5186
5187 static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 wxPyShape *arg1 = (wxPyShape *) 0 ;
5190 wxBrush *arg2 = (wxBrush *) 0 ;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self",(char *) "brush", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
5198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5200 {
5201 wxBrush* temp;
5202 if (obj1) {
5203 if (obj1 == Py_None) {
5204 temp = NULL;
5205 }
5206 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5207 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5208 return NULL;
5209 }
5210 }
5211 if (temp)
5212 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5213 else
5214 arg2 = NULL;
5215 }
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->SetBrush(arg2);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxPyShape *arg1 = (wxPyShape *) 0 ;
5233 bool arg2 ;
5234 PyObject * obj0 = 0 ;
5235 PyObject * obj1 = 0 ;
5236 char *kwnames[] = {
5237 (char *) "self",(char *) "show", NULL
5238 };
5239
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
5241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5243 arg2 = (bool) SWIG_AsBool(obj1);
5244 if (PyErr_Occurred()) SWIG_fail;
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 (arg1)->Show(arg2);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 Py_INCREF(Py_None); resultobj = Py_None;
5253 return resultobj;
5254 fail:
5255 return NULL;
5256 }
5257
5258
5259 static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
5260 PyObject *resultobj;
5261 wxPyShape *arg1 = (wxPyShape *) 0 ;
5262 bool result;
5263 PyObject * obj0 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
5269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = (bool)(arg1)->IsShown();
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 {
5279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5280 }
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxPyShape *arg1 = (wxPyShape *) 0 ;
5290 wxDC *arg2 = 0 ;
5291 double arg3 ;
5292 double arg4 ;
5293 bool arg5 = (bool) True ;
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
5296 PyObject * obj2 = 0 ;
5297 PyObject * obj3 = 0 ;
5298 PyObject * obj4 = 0 ;
5299 char *kwnames[] = {
5300 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5301 };
5302
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5307 SWIG_POINTER_EXCEPTION | 0)) == -1)
5308 SWIG_fail;
5309 if (arg2 == NULL) {
5310 PyErr_SetString(PyExc_TypeError,"null reference");
5311 SWIG_fail;
5312 }
5313 arg3 = (double) SWIG_AsDouble(obj2);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 arg4 = (double) SWIG_AsDouble(obj3);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 if (obj4) {
5318 arg5 = (bool) SWIG_AsBool(obj4);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 (arg1)->Move(*arg2,arg3,arg4,arg5);
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 Py_INCREF(Py_None); resultobj = Py_None;
5329 return resultobj;
5330 fail:
5331 return NULL;
5332 }
5333
5334
5335 static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxPyShape *arg1 = (wxPyShape *) 0 ;
5338 wxDC *arg2 = 0 ;
5339 PyObject * obj0 = 0 ;
5340 PyObject * obj1 = 0 ;
5341 char *kwnames[] = {
5342 (char *) "self",(char *) "dc", NULL
5343 };
5344
5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
5346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5349 SWIG_POINTER_EXCEPTION | 0)) == -1)
5350 SWIG_fail;
5351 if (arg2 == NULL) {
5352 PyErr_SetString(PyExc_TypeError,"null reference");
5353 SWIG_fail;
5354 }
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 (arg1)->Erase(*arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 Py_INCREF(Py_None); resultobj = Py_None;
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxPyShape *arg1 = (wxPyShape *) 0 ;
5372 wxDC *arg2 = 0 ;
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self",(char *) "dc", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
5380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5383 SWIG_POINTER_EXCEPTION | 0)) == -1)
5384 SWIG_fail;
5385 if (arg2 == NULL) {
5386 PyErr_SetString(PyExc_TypeError,"null reference");
5387 SWIG_fail;
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 (arg1)->EraseContents(*arg2);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 Py_INCREF(Py_None); resultobj = Py_None;
5397 return resultobj;
5398 fail:
5399 return NULL;
5400 }
5401
5402
5403 static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 wxPyShape *arg1 = (wxPyShape *) 0 ;
5406 wxDC *arg2 = 0 ;
5407 PyObject * obj0 = 0 ;
5408 PyObject * obj1 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self",(char *) "dc", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
5414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5417 SWIG_POINTER_EXCEPTION | 0)) == -1)
5418 SWIG_fail;
5419 if (arg2 == NULL) {
5420 PyErr_SetString(PyExc_TypeError,"null reference");
5421 SWIG_fail;
5422 }
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 (arg1)->Draw(*arg2);
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
5430 Py_INCREF(Py_None); resultobj = Py_None;
5431 return resultobj;
5432 fail:
5433 return NULL;
5434 }
5435
5436
5437 static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
5438 PyObject *resultobj;
5439 wxPyShape *arg1 = (wxPyShape *) 0 ;
5440 PyObject * obj0 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
5446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5448 {
5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
5450 (arg1)->Flash();
5451
5452 wxPyEndAllowThreads(__tstate);
5453 if (PyErr_Occurred()) SWIG_fail;
5454 }
5455 Py_INCREF(Py_None); resultobj = Py_None;
5456 return resultobj;
5457 fail:
5458 return NULL;
5459 }
5460
5461
5462 static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5463 PyObject *resultobj;
5464 wxPyShape *arg1 = (wxPyShape *) 0 ;
5465 wxDC *arg2 = 0 ;
5466 PyObject * obj0 = 0 ;
5467 PyObject * obj1 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self",(char *) "dc", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
5473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1)
5477 SWIG_fail;
5478 if (arg2 == NULL) {
5479 PyErr_SetString(PyExc_TypeError,"null reference");
5480 SWIG_fail;
5481 }
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 (arg1)->MoveLinks(*arg2);
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 Py_INCREF(Py_None); resultobj = Py_None;
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxPyShape *arg1 = (wxPyShape *) 0 ;
5499 wxDC *arg2 = 0 ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "dc", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5510 SWIG_POINTER_EXCEPTION | 0)) == -1)
5511 SWIG_fail;
5512 if (arg2 == NULL) {
5513 PyErr_SetString(PyExc_TypeError,"null reference");
5514 SWIG_fail;
5515 }
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 (arg1)->DrawContents(*arg2);
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 Py_INCREF(Py_None); resultobj = Py_None;
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxPyShape *arg1 = (wxPyShape *) 0 ;
5533 double arg2 ;
5534 double arg3 ;
5535 bool arg4 = (bool) True ;
5536 PyObject * obj0 = 0 ;
5537 PyObject * obj1 = 0 ;
5538 PyObject * obj2 = 0 ;
5539 PyObject * obj3 = 0 ;
5540 char *kwnames[] = {
5541 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5542 };
5543
5544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5547 arg2 = (double) SWIG_AsDouble(obj1);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 arg3 = (double) SWIG_AsDouble(obj2);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 if (obj3) {
5552 arg4 = (bool) SWIG_AsBool(obj3);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 (arg1)->SetSize(arg2,arg3,arg4);
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 Py_INCREF(Py_None); resultobj = Py_None;
5563 return resultobj;
5564 fail:
5565 return NULL;
5566 }
5567
5568
5569 static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5570 PyObject *resultobj;
5571 wxPyShape *arg1 = (wxPyShape *) 0 ;
5572 double arg2 ;
5573 double arg3 ;
5574 PyObject * obj0 = 0 ;
5575 PyObject * obj1 = 0 ;
5576 PyObject * obj2 = 0 ;
5577 char *kwnames[] = {
5578 (char *) "self",(char *) "x",(char *) "y", NULL
5579 };
5580
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
5582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5584 arg2 = (double) SWIG_AsDouble(obj1);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 arg3 = (double) SWIG_AsDouble(obj2);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 (arg1)->SetAttachmentSize(arg2,arg3);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 Py_INCREF(Py_None); resultobj = Py_None;
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxPyShape *arg1 = (wxPyShape *) 0 ;
5605 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5606 PyObject * obj0 = 0 ;
5607 PyObject * obj1 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "self",(char *) "can", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
5613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
5616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 (arg1)->Attach(arg2);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 Py_INCREF(Py_None); resultobj = Py_None;
5625 return resultobj;
5626 fail:
5627 return NULL;
5628 }
5629
5630
5631 static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxPyShape *arg1 = (wxPyShape *) 0 ;
5634 PyObject * obj0 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "self", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
5640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 (arg1)->Detach();
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 Py_INCREF(Py_None); resultobj = Py_None;
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj;
5658 wxPyShape *arg1 = (wxPyShape *) 0 ;
5659 bool result;
5660 PyObject * obj0 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
5666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 result = (bool)(arg1)->Constrain();
5671
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 {
5676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5677 }
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxPyShape *arg1 = (wxPyShape *) 0 ;
5687 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5688 wxPyShape *arg3 = (wxPyShape *) 0 ;
5689 int arg4 = (int) 0 ;
5690 int arg5 = (int) 0 ;
5691 int arg6 = (int) -1 ;
5692 int arg7 = (int) -1 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 PyObject * obj2 = 0 ;
5696 PyObject * obj3 = 0 ;
5697 PyObject * obj4 = 0 ;
5698 PyObject * obj5 = 0 ;
5699 PyObject * obj6 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5709 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
5710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5711 if (obj3) {
5712 arg4 = (int) SWIG_AsInt(obj3);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 if (obj4) {
5716 arg5 = (int) SWIG_AsInt(obj4);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 if (obj5) {
5720 arg6 = (int) SWIG_AsInt(obj5);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 }
5723 if (obj6) {
5724 arg7 = (int) SWIG_AsInt(obj6);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5730
5731 wxPyEndAllowThreads(__tstate);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
5734 Py_INCREF(Py_None); resultobj = Py_None;
5735 return resultobj;
5736 fail:
5737 return NULL;
5738 }
5739
5740
5741 static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5742 PyObject *resultobj;
5743 wxPyShape *arg1 = (wxPyShape *) 0 ;
5744 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5745 int result;
5746 PyObject * obj0 = 0 ;
5747 PyObject * obj1 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "line", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (int)(arg1)->GetLinePosition(arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 resultobj = SWIG_FromInt((int)result);
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxPyShape *arg1 = (wxPyShape *) 0 ;
5774 wxString *arg2 = 0 ;
5775 bool temp2 = False ;
5776 PyObject * obj0 = 0 ;
5777 PyObject * obj1 = 0 ;
5778 char *kwnames[] = {
5779 (char *) "self",(char *) "string", NULL
5780 };
5781
5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
5783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5785 {
5786 arg2 = wxString_in_helper(obj1);
5787 if (arg2 == NULL) SWIG_fail;
5788 temp2 = True;
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 (arg1)->AddText((wxString const &)*arg2);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 Py_INCREF(Py_None); resultobj = Py_None;
5798 {
5799 if (temp2)
5800 delete arg2;
5801 }
5802 return resultobj;
5803 fail:
5804 {
5805 if (temp2)
5806 delete arg2;
5807 }
5808 return NULL;
5809 }
5810
5811
5812 static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxPyShape *arg1 = (wxPyShape *) 0 ;
5815 wxPen *result;
5816 PyObject * obj0 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "self", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
5822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (wxPen *)(arg1)->GetPen();
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxPyShape *arg1 = (wxPyShape *) 0 ;
5841 wxBrush *result;
5842 PyObject * obj0 = 0 ;
5843 char *kwnames[] = {
5844 (char *) "self", NULL
5845 };
5846
5847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
5848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 result = (wxBrush *)(arg1)->GetBrush();
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
5858 return resultobj;
5859 fail:
5860 return NULL;
5861 }
5862
5863
5864 static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj;
5866 wxPyShape *arg1 = (wxPyShape *) 0 ;
5867 PyObject * obj0 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
5873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 (arg1)->SetDefaultRegionSize();
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 Py_INCREF(Py_None); resultobj = Py_None;
5883 return resultobj;
5884 fail:
5885 return NULL;
5886 }
5887
5888
5889 static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj;
5891 wxPyShape *arg1 = (wxPyShape *) 0 ;
5892 wxDC *arg2 = 0 ;
5893 wxString *arg3 = 0 ;
5894 int arg4 = (int) 0 ;
5895 bool temp3 = False ;
5896 PyObject * obj0 = 0 ;
5897 PyObject * obj1 = 0 ;
5898 PyObject * obj2 = 0 ;
5899 PyObject * obj3 = 0 ;
5900 char *kwnames[] = {
5901 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5902 };
5903
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5908 SWIG_POINTER_EXCEPTION | 0)) == -1)
5909 SWIG_fail;
5910 if (arg2 == NULL) {
5911 PyErr_SetString(PyExc_TypeError,"null reference");
5912 SWIG_fail;
5913 }
5914 {
5915 arg3 = wxString_in_helper(obj2);
5916 if (arg3 == NULL) SWIG_fail;
5917 temp3 = True;
5918 }
5919 if (obj3) {
5920 arg4 = (int) SWIG_AsInt(obj3);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 {
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 Py_INCREF(Py_None); resultobj = Py_None;
5931 {
5932 if (temp3)
5933 delete arg3;
5934 }
5935 return resultobj;
5936 fail:
5937 {
5938 if (temp3)
5939 delete arg3;
5940 }
5941 return NULL;
5942 }
5943
5944
5945 static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5946 PyObject *resultobj;
5947 wxPyShape *arg1 = (wxPyShape *) 0 ;
5948 int arg2 ;
5949 int arg3 = (int) 0 ;
5950 PyObject * obj0 = 0 ;
5951 PyObject * obj1 = 0 ;
5952 PyObject * obj2 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 arg2 = (int) SWIG_AsInt(obj1);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 if (obj2) {
5963 arg3 = (int) SWIG_AsInt(obj2);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 (arg1)->SetFormatMode(arg2,arg3);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 Py_INCREF(Py_None); resultobj = Py_None;
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxPyShape *arg1 = (wxPyShape *) 0 ;
5983 int arg2 = (int) 0 ;
5984 int result;
5985 PyObject * obj0 = 0 ;
5986 PyObject * obj1 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self",(char *) "regionId", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5994 if (obj1) {
5995 arg2 = (int) SWIG_AsInt(obj1);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 result = (int)(arg1)->GetFormatMode(arg2);
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = SWIG_FromInt((int)result);
6006 return resultobj;
6007 fail:
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxPyShape *arg1 = (wxPyShape *) 0 ;
6015 wxFont *arg2 = (wxFont *) 0 ;
6016 int arg3 = (int) 0 ;
6017 PyObject * obj0 = 0 ;
6018 PyObject * obj1 = 0 ;
6019 PyObject * obj2 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "font",(char *) "regionId", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6027 {
6028 wxFont* temp;
6029 if (obj1) {
6030 if (obj1 == Py_None) {
6031 temp = NULL;
6032 }
6033 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
6034 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
6035 return NULL;
6036 }
6037 }
6038 if (temp)
6039 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6040 temp->GetFamily(),
6041 temp->GetStyle(),
6042 temp->GetWeight(),
6043 temp->GetUnderlined(),
6044 temp->GetFaceName(),
6045 temp->GetEncoding());
6046 else
6047 arg2 = NULL;
6048 }
6049 if (obj2) {
6050 arg3 = (int) SWIG_AsInt(obj2);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 (arg1)->SetFont(arg2,arg3);
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 Py_INCREF(Py_None); resultobj = Py_None;
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxPyShape *arg1 = (wxPyShape *) 0 ;
6070 int arg2 = (int) 0 ;
6071 wxFont *result;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "regionId", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 if (obj1) {
6082 arg2 = (int) SWIG_AsInt(obj1);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (wxFont *)(arg1)->GetFont(arg2);
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxPyShape *arg1 = (wxPyShape *) 0 ;
6102 wxString *arg2 = 0 ;
6103 int arg3 = (int) 0 ;
6104 bool temp2 = False ;
6105 PyObject * obj0 = 0 ;
6106 PyObject * obj1 = 0 ;
6107 PyObject * obj2 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6115 {
6116 arg2 = wxString_in_helper(obj1);
6117 if (arg2 == NULL) SWIG_fail;
6118 temp2 = True;
6119 }
6120 if (obj2) {
6121 arg3 = (int) SWIG_AsInt(obj2);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 Py_INCREF(Py_None); resultobj = Py_None;
6132 {
6133 if (temp2)
6134 delete arg2;
6135 }
6136 return resultobj;
6137 fail:
6138 {
6139 if (temp2)
6140 delete arg2;
6141 }
6142 return NULL;
6143 }
6144
6145
6146 static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj;
6148 wxPyShape *arg1 = (wxPyShape *) 0 ;
6149 int arg2 = (int) 0 ;
6150 wxString result;
6151 PyObject * obj0 = 0 ;
6152 PyObject * obj1 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self",(char *) "regionId", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6160 if (obj1) {
6161 arg2 = (int) SWIG_AsInt(obj1);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (arg1)->GetTextColour(arg2);
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
6172 #if wxUSE_UNICODE
6173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6174 #else
6175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6176 #endif
6177 }
6178 return resultobj;
6179 fail:
6180 return NULL;
6181 }
6182
6183
6184 static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6185 PyObject *resultobj;
6186 wxPyShape *arg1 = (wxPyShape *) 0 ;
6187 int result;
6188 PyObject * obj0 = 0 ;
6189 char *kwnames[] = {
6190 (char *) "self", NULL
6191 };
6192
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
6194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (int)(arg1)->GetNumberOfTextRegions();
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 resultobj = SWIG_FromInt((int)result);
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxPyShape *arg1 = (wxPyShape *) 0 ;
6213 wxString *arg2 = 0 ;
6214 int arg3 = (int) 0 ;
6215 bool temp2 = False ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 PyObject * obj2 = 0 ;
6219 char *kwnames[] = {
6220 (char *) "self",(char *) "name",(char *) "regionId", NULL
6221 };
6222
6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6226 {
6227 arg2 = wxString_in_helper(obj1);
6228 if (arg2 == NULL) SWIG_fail;
6229 temp2 = True;
6230 }
6231 if (obj2) {
6232 arg3 = (int) SWIG_AsInt(obj2);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 Py_INCREF(Py_None); resultobj = Py_None;
6243 {
6244 if (temp2)
6245 delete arg2;
6246 }
6247 return resultobj;
6248 fail:
6249 {
6250 if (temp2)
6251 delete arg2;
6252 }
6253 return NULL;
6254 }
6255
6256
6257 static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject *resultobj;
6259 wxPyShape *arg1 = (wxPyShape *) 0 ;
6260 int arg2 ;
6261 wxString result;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "self",(char *) "regionId", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
6269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6271 arg2 = (int) SWIG_AsInt(obj1);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 result = (arg1)->GetRegionName(arg2);
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 {
6281 #if wxUSE_UNICODE
6282 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6283 #else
6284 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6285 #endif
6286 }
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxPyShape *arg1 = (wxPyShape *) 0 ;
6296 wxString *arg2 = 0 ;
6297 int result;
6298 bool temp2 = False ;
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 char *kwnames[] = {
6302 (char *) "self",(char *) "name", NULL
6303 };
6304
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
6306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6308 {
6309 arg2 = wxString_in_helper(obj1);
6310 if (arg2 == NULL) SWIG_fail;
6311 temp2 = True;
6312 }
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 resultobj = SWIG_FromInt((int)result);
6321 {
6322 if (temp2)
6323 delete arg2;
6324 }
6325 return resultobj;
6326 fail:
6327 {
6328 if (temp2)
6329 delete arg2;
6330 }
6331 return NULL;
6332 }
6333
6334
6335 static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxPyShape *arg1 = (wxPyShape *) 0 ;
6338 wxString const &arg2_defvalue = wxPyEmptyString ;
6339 wxString *arg2 = (wxString *) &arg2_defvalue ;
6340 bool temp2 = False ;
6341 PyObject * obj0 = 0 ;
6342 PyObject * obj1 = 0 ;
6343 char *kwnames[] = {
6344 (char *) "self",(char *) "parentName", NULL
6345 };
6346
6347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
6348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6350 if (obj1) {
6351 {
6352 arg2 = wxString_in_helper(obj1);
6353 if (arg2 == NULL) SWIG_fail;
6354 temp2 = True;
6355 }
6356 }
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 (arg1)->NameRegions((wxString const &)*arg2);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 Py_INCREF(Py_None); resultobj = Py_None;
6365 {
6366 if (temp2)
6367 delete arg2;
6368 }
6369 return resultobj;
6370 fail:
6371 {
6372 if (temp2)
6373 delete arg2;
6374 }
6375 return NULL;
6376 }
6377
6378
6379 static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6380 PyObject *resultobj;
6381 wxPyShape *arg1 = (wxPyShape *) 0 ;
6382 PyObject *result;
6383 PyObject * obj0 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "self", NULL
6386 };
6387
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
6389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 result = (PyObject *)wxPyShape_GetRegions(arg1);
6394
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 }
6398 resultobj = result;
6399 return resultobj;
6400 fail:
6401 return NULL;
6402 }
6403
6404
6405 static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6406 PyObject *resultobj;
6407 wxPyShape *arg1 = (wxPyShape *) 0 ;
6408 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6409 PyObject * obj0 = 0 ;
6410 PyObject * obj1 = 0 ;
6411 char *kwnames[] = {
6412 (char *) "self",(char *) "region", NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
6416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxShapeRegion,
6419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 (arg1)->AddRegion(arg2);
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 Py_INCREF(Py_None); resultobj = Py_None;
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj;
6436 wxPyShape *arg1 = (wxPyShape *) 0 ;
6437 PyObject * obj0 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
6443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6445 {
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 (arg1)->ClearRegions();
6448
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 Py_INCREF(Py_None); resultobj = Py_None;
6453 return resultobj;
6454 fail:
6455 return NULL;
6456 }
6457
6458
6459 static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj;
6461 wxPyShape *arg1 = (wxPyShape *) 0 ;
6462 PyObject * obj0 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 (arg1)->AssignNewIds();
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 Py_INCREF(Py_None); resultobj = Py_None;
6478 return resultobj;
6479 fail:
6480 return NULL;
6481 }
6482
6483
6484 static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj;
6486 wxPyShape *arg1 = (wxPyShape *) 0 ;
6487 wxString *arg2 = 0 ;
6488 int *arg3 = (int *) 0 ;
6489 wxPyShape *result;
6490 bool temp2 = False ;
6491 int temp3 ;
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self",(char *) "regionName", NULL
6496 };
6497
6498 arg3 = &temp3;
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
6500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6502 {
6503 arg2 = wxString_in_helper(obj1);
6504 if (arg2 == NULL) SWIG_fail;
6505 temp2 = True;
6506 }
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6510
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 {
6515 resultobj = wxPyMake_wxShapeEvtHandler(result);
6516 }
6517 {
6518 PyObject *o = PyInt_FromLong((long) (*arg3));
6519 resultobj = t_output_helper(resultobj,o);
6520 }
6521 {
6522 if (temp2)
6523 delete arg2;
6524 }
6525 return resultobj;
6526 fail:
6527 {
6528 if (temp2)
6529 delete arg2;
6530 }
6531 return NULL;
6532 }
6533
6534
6535 static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
6536 PyObject *resultobj;
6537 wxPyShape *arg1 = (wxPyShape *) 0 ;
6538 wxStringList *arg2 = 0 ;
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self",(char *) "list", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
6546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStringList,
6549 SWIG_POINTER_EXCEPTION | 0)) == -1)
6550 SWIG_fail;
6551 if (arg2 == NULL) {
6552 PyErr_SetString(PyExc_TypeError,"null reference");
6553 SWIG_fail;
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 (arg1)->FindRegionNames(*arg2);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxPyShape *arg1 = (wxPyShape *) 0 ;
6572 int arg2 = (int) 0 ;
6573 PyObject * obj0 = 0 ;
6574 PyObject * obj1 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "self",(char *) "regionId", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6582 if (obj1) {
6583 arg2 = (int) SWIG_AsInt(obj1);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 (arg1)->ClearText(arg2);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 Py_INCREF(Py_None); resultobj = Py_None;
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxPyShape *arg1 = (wxPyShape *) 0 ;
6603 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6604 PyObject * obj0 = 0 ;
6605 PyObject * obj1 = 0 ;
6606 char *kwnames[] = {
6607 (char *) "self",(char *) "line", NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
6611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
6614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 (arg1)->RemoveLine(arg2);
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 Py_INCREF(Py_None); resultobj = Py_None;
6623 return resultobj;
6624 fail:
6625 return NULL;
6626 }
6627
6628
6629 static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6630 PyObject *resultobj;
6631 wxPyShape *arg1 = (wxPyShape *) 0 ;
6632 int arg2 ;
6633 double *arg3 = (double *) 0 ;
6634 double *arg4 = (double *) 0 ;
6635 int arg5 = (int) 0 ;
6636 int arg6 = (int) 1 ;
6637 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6638 bool result;
6639 double temp3 ;
6640 double temp4 ;
6641 PyObject * obj0 = 0 ;
6642 PyObject * obj1 = 0 ;
6643 PyObject * obj2 = 0 ;
6644 PyObject * obj3 = 0 ;
6645 PyObject * obj4 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6648 };
6649
6650 arg3 = &temp3;
6651 arg4 = &temp4;
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6655 arg2 = (int) SWIG_AsInt(obj1);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 if (obj2) {
6658 arg5 = (int) SWIG_AsInt(obj2);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 if (obj3) {
6662 arg6 = (int) SWIG_AsInt(obj3);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 if (obj4) {
6666 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 {
6677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6678 }
6679 {
6680 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6681 resultobj = t_output_helper(resultobj,o);
6682 }
6683 {
6684 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6685 resultobj = t_output_helper(resultobj,o);
6686 }
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 wxPyShape *arg1 = (wxPyShape *) 0 ;
6696 int result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
6703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = (int)(arg1)->GetNumberOfAttachments();
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 resultobj = SWIG_FromInt((int)result);
6713 return resultobj;
6714 fail:
6715 return NULL;
6716 }
6717
6718
6719 static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
6720 PyObject *resultobj;
6721 wxPyShape *arg1 = (wxPyShape *) 0 ;
6722 int arg2 ;
6723 bool result;
6724 PyObject * obj0 = 0 ;
6725 PyObject * obj1 = 0 ;
6726 char *kwnames[] = {
6727 (char *) "self",(char *) "attachment", NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
6731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6733 arg2 = (int) SWIG_AsInt(obj1);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 result = (bool)(arg1)->AttachmentIsValid(arg2);
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 {
6743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6744 }
6745 return resultobj;
6746 fail:
6747 return NULL;
6748 }
6749
6750
6751 static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6752 PyObject *resultobj;
6753 wxPyShape *arg1 = (wxPyShape *) 0 ;
6754 PyObject *result;
6755 PyObject * obj0 = 0 ;
6756 char *kwnames[] = {
6757 (char *) "self", NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6766
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 }
6770 resultobj = result;
6771 return resultobj;
6772 fail:
6773 return NULL;
6774 }
6775
6776
6777 static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject *resultobj;
6779 wxPyShape *arg1 = (wxPyShape *) 0 ;
6780 int arg2 ;
6781 double *arg3 = (double *) 0 ;
6782 double *arg4 = (double *) 0 ;
6783 int arg5 = (int) 0 ;
6784 int arg6 = (int) 1 ;
6785 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6786 bool result;
6787 double temp3 ;
6788 double temp4 ;
6789 PyObject * obj0 = 0 ;
6790 PyObject * obj1 = 0 ;
6791 PyObject * obj2 = 0 ;
6792 PyObject * obj3 = 0 ;
6793 PyObject * obj4 = 0 ;
6794 char *kwnames[] = {
6795 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6796 };
6797
6798 arg3 = &temp3;
6799 arg4 = &temp4;
6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6803 arg2 = (int) SWIG_AsInt(obj1);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 if (obj2) {
6806 arg5 = (int) SWIG_AsInt(obj2);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 if (obj3) {
6810 arg6 = (int) SWIG_AsInt(obj3);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 if (obj4) {
6814 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6816 }
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 {
6825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6826 }
6827 {
6828 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6829 resultobj = t_output_helper(resultobj,o);
6830 }
6831 {
6832 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6833 resultobj = t_output_helper(resultobj,o);
6834 }
6835 return resultobj;
6836 fail:
6837 return NULL;
6838 }
6839
6840
6841 static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj;
6843 wxPyShape *arg1 = (wxPyShape *) 0 ;
6844 wxRealPoint *arg2 = 0 ;
6845 wxRealPoint *arg3 = 0 ;
6846 int arg4 ;
6847 int arg5 ;
6848 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6849 wxRealPoint result;
6850 wxRealPoint temp2 ;
6851 wxRealPoint temp3 ;
6852 PyObject * obj0 = 0 ;
6853 PyObject * obj1 = 0 ;
6854 PyObject * obj2 = 0 ;
6855 PyObject * obj3 = 0 ;
6856 PyObject * obj4 = 0 ;
6857 PyObject * obj5 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6865 {
6866 arg2 = &temp2;
6867 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6868 }
6869 {
6870 arg3 = &temp3;
6871 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6872 }
6873 arg4 = (int) SWIG_AsInt(obj3);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 arg5 = (int) SWIG_AsInt(obj4);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyLineShape,
6878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 {
6887 wxRealPoint * resultptr;
6888 resultptr = new wxRealPoint((wxRealPoint &) result);
6889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
6890 }
6891 return resultobj;
6892 fail:
6893 return NULL;
6894 }
6895
6896
6897 static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6898 PyObject *resultobj;
6899 wxPyShape *arg1 = (wxPyShape *) 0 ;
6900 int arg2 ;
6901 wxRealPoint *arg3 = 0 ;
6902 wxRealPoint *arg4 = 0 ;
6903 bool result;
6904 wxRealPoint temp3 ;
6905 wxRealPoint temp4 ;
6906 PyObject * obj0 = 0 ;
6907 PyObject * obj1 = 0 ;
6908 PyObject * obj2 = 0 ;
6909 PyObject * obj3 = 0 ;
6910 char *kwnames[] = {
6911 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6912 };
6913
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6917 arg2 = (int) SWIG_AsInt(obj1);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 {
6920 arg3 = &temp3;
6921 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6922 }
6923 {
6924 arg4 = &temp4;
6925 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6926 }
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 {
6935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6936 }
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxPyShape *arg1 = (wxPyShape *) 0 ;
6946 wxDC *arg2 = 0 ;
6947 int arg3 = (int) -1 ;
6948 bool arg4 = (bool) False ;
6949 PyObject * obj0 = 0 ;
6950 PyObject * obj1 = 0 ;
6951 PyObject * obj2 = 0 ;
6952 PyObject * obj3 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6961 SWIG_POINTER_EXCEPTION | 0)) == -1)
6962 SWIG_fail;
6963 if (arg2 == NULL) {
6964 PyErr_SetString(PyExc_TypeError,"null reference");
6965 SWIG_fail;
6966 }
6967 if (obj2) {
6968 arg3 = (int) SWIG_AsInt(obj2);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 if (obj3) {
6972 arg4 = (bool) SWIG_AsBool(obj3);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 (arg1)->EraseLinks(*arg2,arg3,arg4);
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 Py_INCREF(Py_None); resultobj = Py_None;
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6990 PyObject *resultobj;
6991 wxPyShape *arg1 = (wxPyShape *) 0 ;
6992 wxDC *arg2 = 0 ;
6993 int arg3 = (int) -1 ;
6994 bool arg4 = (bool) False ;
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 PyObject * obj2 = 0 ;
6998 PyObject * obj3 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7007 SWIG_POINTER_EXCEPTION | 0)) == -1)
7008 SWIG_fail;
7009 if (arg2 == NULL) {
7010 PyErr_SetString(PyExc_TypeError,"null reference");
7011 SWIG_fail;
7012 }
7013 if (obj2) {
7014 arg3 = (int) SWIG_AsInt(obj2);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 if (obj3) {
7018 arg4 = (bool) SWIG_AsBool(obj3);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 (arg1)->DrawLinks(*arg2,arg3,arg4);
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 Py_INCREF(Py_None); resultobj = Py_None;
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 wxPyShape *arg1 = (wxPyShape *) 0 ;
7038 wxDC *arg2 = 0 ;
7039 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
7040 double arg4 ;
7041 double arg5 ;
7042 bool result;
7043 PyObject * obj0 = 0 ;
7044 PyObject * obj1 = 0 ;
7045 PyObject * obj2 = 0 ;
7046 PyObject * obj3 = 0 ;
7047 PyObject * obj4 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7056 SWIG_POINTER_EXCEPTION | 0)) == -1)
7057 SWIG_fail;
7058 if (arg2 == NULL) {
7059 PyErr_SetString(PyExc_TypeError,"null reference");
7060 SWIG_fail;
7061 }
7062 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyLineShape,
7063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7064 arg4 = (double) SWIG_AsDouble(obj3);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 arg5 = (double) SWIG_AsDouble(obj4);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 {
7076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7077 }
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxPyShape *arg1 = (wxPyShape *) 0 ;
7087 PyObject *arg2 = (PyObject *) 0 ;
7088 PyObject * obj0 = 0 ;
7089 PyObject * obj1 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "linesToSort", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
7095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7097 arg2 = obj1;
7098 {
7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
7100 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7101
7102 wxPyEndAllowThreads(__tstate);
7103 if (PyErr_Occurred()) SWIG_fail;
7104 }
7105 Py_INCREF(Py_None); resultobj = Py_None;
7106 return resultobj;
7107 fail:
7108 return NULL;
7109 }
7110
7111
7112 static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj;
7114 wxPyShape *arg1 = (wxPyShape *) 0 ;
7115 int arg2 ;
7116 wxRealPoint result;
7117 PyObject * obj0 = 0 ;
7118 PyObject * obj1 = 0 ;
7119 char *kwnames[] = {
7120 (char *) "self",(char *) "attachment", NULL
7121 };
7122
7123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
7124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7126 arg2 = (int) SWIG_AsInt(obj1);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 {
7136 wxRealPoint * resultptr;
7137 resultptr = new wxRealPoint((wxRealPoint &) result);
7138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
7139 }
7140 return resultobj;
7141 fail:
7142 return NULL;
7143 }
7144
7145
7146 static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7147 PyObject *resultobj;
7148 wxPyShape *arg1 = (wxPyShape *) 0 ;
7149 int arg2 ;
7150 wxRealPoint *arg3 = 0 ;
7151 wxRealPoint *arg4 = 0 ;
7152 wxRealPoint *arg5 = 0 ;
7153 wxRealPoint *arg6 = 0 ;
7154 bool result;
7155 wxRealPoint temp3 ;
7156 wxRealPoint temp4 ;
7157 wxRealPoint temp5 ;
7158 wxRealPoint temp6 ;
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 PyObject * obj2 = 0 ;
7162 PyObject * obj3 = 0 ;
7163 PyObject * obj4 = 0 ;
7164 PyObject * obj5 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7172 arg2 = (int) SWIG_AsInt(obj1);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 {
7175 arg3 = &temp3;
7176 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7177 }
7178 {
7179 arg4 = &temp4;
7180 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7181 }
7182 {
7183 arg5 = &temp5;
7184 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7185 }
7186 {
7187 arg6 = &temp6;
7188 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7189 }
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7199 }
7200 return resultobj;
7201 fail:
7202 return NULL;
7203 }
7204
7205
7206 static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxPyShape *arg1 = (wxPyShape *) 0 ;
7209 int arg2 ;
7210 int arg3 ;
7211 wxRealPoint *arg4 = 0 ;
7212 wxRealPoint *arg5 = 0 ;
7213 bool result;
7214 wxRealPoint temp4 ;
7215 wxRealPoint temp5 ;
7216 PyObject * obj0 = 0 ;
7217 PyObject * obj1 = 0 ;
7218 PyObject * obj2 = 0 ;
7219 PyObject * obj3 = 0 ;
7220 PyObject * obj4 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7228 arg2 = (int) SWIG_AsInt(obj1);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 arg3 = (int) SWIG_AsInt(obj2);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 {
7233 arg4 = &temp4;
7234 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7235 }
7236 {
7237 arg5 = &temp5;
7238 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 {
7248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7249 }
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj;
7258 wxPyShape *arg1 = (wxPyShape *) 0 ;
7259 int arg2 ;
7260 int result;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 char *kwnames[] = {
7264 (char *) "self",(char *) "attachment", NULL
7265 };
7266
7267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
7268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7270 arg2 = (int) SWIG_AsInt(obj1);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 resultobj = SWIG_FromInt((int)result);
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxPyShape *arg1 = (wxPyShape *) 0 ;
7289 int arg2 ;
7290 PyObject * obj0 = 0 ;
7291 PyObject * obj1 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "self",(char *) "len", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
7297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7299 arg2 = (int) SWIG_AsInt(obj1);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 (arg1)->SetBranchNeckLength(arg2);
7304
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 Py_INCREF(Py_None); resultobj = Py_None;
7309 return resultobj;
7310 fail:
7311 return NULL;
7312 }
7313
7314
7315 static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxPyShape *arg1 = (wxPyShape *) 0 ;
7318 int result;
7319 PyObject * obj0 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "self", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7327 {
7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7329 result = (int)(arg1)->GetBranchNeckLength();
7330
7331 wxPyEndAllowThreads(__tstate);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 resultobj = SWIG_FromInt((int)result);
7335 return resultobj;
7336 fail:
7337 return NULL;
7338 }
7339
7340
7341 static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7342 PyObject *resultobj;
7343 wxPyShape *arg1 = (wxPyShape *) 0 ;
7344 int arg2 ;
7345 PyObject * obj0 = 0 ;
7346 PyObject * obj1 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self",(char *) "len", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
7352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7354 arg2 = (int) SWIG_AsInt(obj1);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 (arg1)->SetBranchStemLength(arg2);
7359
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 Py_INCREF(Py_None); resultobj = Py_None;
7364 return resultobj;
7365 fail:
7366 return NULL;
7367 }
7368
7369
7370 static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7371 PyObject *resultobj;
7372 wxPyShape *arg1 = (wxPyShape *) 0 ;
7373 int result;
7374 PyObject * obj0 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
7380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 result = (int)(arg1)->GetBranchStemLength();
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 resultobj = SWIG_FromInt((int)result);
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxPyShape *arg1 = (wxPyShape *) 0 ;
7399 int arg2 ;
7400 PyObject * obj0 = 0 ;
7401 PyObject * obj1 = 0 ;
7402 char *kwnames[] = {
7403 (char *) "self",(char *) "len", NULL
7404 };
7405
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
7407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7409 arg2 = (int) SWIG_AsInt(obj1);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 (arg1)->SetBranchSpacing(arg2);
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 Py_INCREF(Py_None); resultobj = Py_None;
7419 return resultobj;
7420 fail:
7421 return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxPyShape *arg1 = (wxPyShape *) 0 ;
7428 int result;
7429 PyObject * obj0 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
7435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 result = (int)(arg1)->GetBranchSpacing();
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 resultobj = SWIG_FromInt((int)result);
7445 return resultobj;
7446 fail:
7447 return NULL;
7448 }
7449
7450
7451 static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj;
7453 wxPyShape *arg1 = (wxPyShape *) 0 ;
7454 long arg2 ;
7455 PyObject * obj0 = 0 ;
7456 PyObject * obj1 = 0 ;
7457 char *kwnames[] = {
7458 (char *) "self",(char *) "style", NULL
7459 };
7460
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
7462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7464 arg2 = (long) SWIG_AsLong(obj1);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 (arg1)->SetBranchStyle(arg2);
7469
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 Py_INCREF(Py_None); resultobj = Py_None;
7474 return resultobj;
7475 fail:
7476 return NULL;
7477 }
7478
7479
7480 static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7481 PyObject *resultobj;
7482 wxPyShape *arg1 = (wxPyShape *) 0 ;
7483 long result;
7484 PyObject * obj0 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 result = (long)(arg1)->GetBranchStyle();
7495
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 resultobj = SWIG_FromLong((long)result);
7500 return resultobj;
7501 fail:
7502 return NULL;
7503 }
7504
7505
7506 static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7507 PyObject *resultobj;
7508 wxPyShape *arg1 = (wxPyShape *) 0 ;
7509 int arg2 ;
7510 int result;
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
7513 char *kwnames[] = {
7514 (char *) "self",(char *) "physicalAttachment", NULL
7515 };
7516
7517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7520 arg2 = (int) SWIG_AsInt(obj1);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 resultobj = SWIG_FromInt((int)result);
7530 return resultobj;
7531 fail:
7532 return NULL;
7533 }
7534
7535
7536 static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj;
7538 wxPyShape *arg1 = (wxPyShape *) 0 ;
7539 int arg2 ;
7540 int result;
7541 PyObject * obj0 = 0 ;
7542 PyObject * obj1 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self",(char *) "logicalAttachment", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7550 arg2 = (int) SWIG_AsInt(obj1);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 resultobj = SWIG_FromInt((int)result);
7560 return resultobj;
7561 fail:
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxPyShape *arg1 = (wxPyShape *) 0 ;
7569 bool result;
7570 PyObject * obj0 = 0 ;
7571 char *kwnames[] = {
7572 (char *) "self", NULL
7573 };
7574
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
7576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (bool)(arg1)->Draggable();
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 {
7586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7587 }
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxPyShape *arg1 = (wxPyShape *) 0 ;
7597 wxPyShape *arg2 = (wxPyShape *) 0 ;
7598 bool result;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self",(char *) "image", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
7606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 result = (bool)(arg1)->HasDescendant(arg2);
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 {
7618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7619 }
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxPyShape *arg1 = (wxPyShape *) 0 ;
7629 bool arg2 = (bool) True ;
7630 bool arg3 = (bool) True ;
7631 wxPyShape *result;
7632 PyObject * obj0 = 0 ;
7633 PyObject * obj1 = 0 ;
7634 PyObject * obj2 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
7640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7642 if (obj1) {
7643 arg2 = (bool) SWIG_AsBool(obj1);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 if (obj2) {
7647 arg3 = (bool) SWIG_AsBool(obj2);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 {
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
7657 {
7658 resultobj = wxPyMake_wxShapeEvtHandler(result);
7659 }
7660 return resultobj;
7661 fail:
7662 return NULL;
7663 }
7664
7665
7666 static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj;
7668 wxPyShape *arg1 = (wxPyShape *) 0 ;
7669 wxPyShape *arg2 = 0 ;
7670 PyObject * obj0 = 0 ;
7671 PyObject * obj1 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self",(char *) "copy", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
7677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7680 SWIG_POINTER_EXCEPTION | 0)) == -1)
7681 SWIG_fail;
7682 if (arg2 == NULL) {
7683 PyErr_SetString(PyExc_TypeError,"null reference");
7684 SWIG_fail;
7685 }
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 (arg1)->Copy(*arg2);
7689
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 Py_INCREF(Py_None); resultobj = Py_None;
7694 return resultobj;
7695 fail:
7696 return NULL;
7697 }
7698
7699
7700 static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj;
7702 wxPyShape *arg1 = (wxPyShape *) 0 ;
7703 wxPyShape *arg2 = 0 ;
7704 PyObject * obj0 = 0 ;
7705 PyObject * obj1 = 0 ;
7706 char *kwnames[] = {
7707 (char *) "self",(char *) "copy", NULL
7708 };
7709
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
7711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7714 SWIG_POINTER_EXCEPTION | 0)) == -1)
7715 SWIG_fail;
7716 if (arg2 == NULL) {
7717 PyErr_SetString(PyExc_TypeError,"null reference");
7718 SWIG_fail;
7719 }
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 (arg1)->CopyWithHandler(*arg2);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 Py_INCREF(Py_None); resultobj = Py_None;
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxPyShape *arg1 = (wxPyShape *) 0 ;
7737 double arg2 ;
7738 double arg3 ;
7739 double arg4 ;
7740 PyObject * obj0 = 0 ;
7741 PyObject * obj1 = 0 ;
7742 PyObject * obj2 = 0 ;
7743 PyObject * obj3 = 0 ;
7744 char *kwnames[] = {
7745 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7746 };
7747
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7751 arg2 = (double) SWIG_AsDouble(obj1);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 arg3 = (double) SWIG_AsDouble(obj2);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 arg4 = (double) SWIG_AsDouble(obj3);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 (arg1)->Rotate(arg2,arg3,arg4);
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 Py_INCREF(Py_None); resultobj = Py_None;
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxPyShape *arg1 = (wxPyShape *) 0 ;
7774 double result;
7775 PyObject * obj0 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
7781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (double)(arg1)->GetRotation();
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 resultobj = SWIG_FromDouble((double)result);
7791 return resultobj;
7792 fail:
7793 return NULL;
7794 }
7795
7796
7797 static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxPyShape *arg1 = (wxPyShape *) 0 ;
7800 double arg2 ;
7801 PyObject * obj0 = 0 ;
7802 PyObject * obj1 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self",(char *) "rotation", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
7808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7810 arg2 = (double) SWIG_AsDouble(obj1);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 (arg1)->SetRotation(arg2);
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 Py_INCREF(Py_None); resultobj = Py_None;
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 wxPyShape *arg1 = (wxPyShape *) 0 ;
7829 PyObject * obj0 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 (arg1)->ClearAttachments();
7840
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 Py_INCREF(Py_None); resultobj = Py_None;
7845 return resultobj;
7846 fail:
7847 return NULL;
7848 }
7849
7850
7851 static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 wxPyShape *arg1 = (wxPyShape *) 0 ;
7854 wxDC *arg2 = 0 ;
7855 PyObject * obj0 = 0 ;
7856 PyObject * obj1 = 0 ;
7857 char *kwnames[] = {
7858 (char *) "self",(char *) "dc", NULL
7859 };
7860
7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
7862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7865 SWIG_POINTER_EXCEPTION | 0)) == -1)
7866 SWIG_fail;
7867 if (arg2 == NULL) {
7868 PyErr_SetString(PyExc_TypeError,"null reference");
7869 SWIG_fail;
7870 }
7871 {
7872 PyThreadState* __tstate = wxPyBeginAllowThreads();
7873 (arg1)->Recentre(*arg2);
7874
7875 wxPyEndAllowThreads(__tstate);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 Py_INCREF(Py_None); resultobj = Py_None;
7879 return resultobj;
7880 fail:
7881 return NULL;
7882 }
7883
7884
7885 static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject *resultobj;
7887 wxPyShape *arg1 = (wxPyShape *) 0 ;
7888 wxList *arg2 = 0 ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 char *kwnames[] = {
7892 (char *) "self",(char *) "list", NULL
7893 };
7894
7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
7896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxList,
7899 SWIG_POINTER_EXCEPTION | 0)) == -1)
7900 SWIG_fail;
7901 if (arg2 == NULL) {
7902 PyErr_SetString(PyExc_TypeError,"null reference");
7903 SWIG_fail;
7904 }
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 (arg1)->ClearPointList(*arg2);
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 Py_INCREF(Py_None); resultobj = Py_None;
7913 return resultobj;
7914 fail:
7915 return NULL;
7916 }
7917
7918
7919 static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
7920 PyObject *resultobj;
7921 wxPyShape *arg1 = (wxPyShape *) 0 ;
7922 wxPen result;
7923 PyObject * obj0 = 0 ;
7924 char *kwnames[] = {
7925 (char *) "self", NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
7929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 result = (arg1)->GetBackgroundPen();
7934
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 {
7939 wxPen * resultptr;
7940 resultptr = new wxPen((wxPen &) result);
7941 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPen, 1);
7942 }
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxPyShape *arg1 = (wxPyShape *) 0 ;
7952 wxBrush result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = (arg1)->GetBackgroundBrush();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 wxBrush * resultptr;
7970 resultptr = new wxBrush((wxBrush &) result);
7971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBrush, 1);
7972 }
7973 return resultobj;
7974 fail:
7975 return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxPyShape *arg1 = (wxPyShape *) 0 ;
7982 PyObject * obj0 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
7988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 (arg1)->base_OnDelete();
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 Py_INCREF(Py_None); resultobj = Py_None;
7998 return resultobj;
7999 fail:
8000 return NULL;
8001 }
8002
8003
8004 static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj;
8006 wxPyShape *arg1 = (wxPyShape *) 0 ;
8007 wxDC *arg2 = 0 ;
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj1 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self",(char *) "dc", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8018 SWIG_POINTER_EXCEPTION | 0)) == -1)
8019 SWIG_fail;
8020 if (arg2 == NULL) {
8021 PyErr_SetString(PyExc_TypeError,"null reference");
8022 SWIG_fail;
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 (arg1)->base_OnDraw(*arg2);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 Py_INCREF(Py_None); resultobj = Py_None;
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxPyShape *arg1 = (wxPyShape *) 0 ;
8041 wxDC *arg2 = 0 ;
8042 PyObject * obj0 = 0 ;
8043 PyObject * obj1 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self",(char *) "dc", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
8049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8052 SWIG_POINTER_EXCEPTION | 0)) == -1)
8053 SWIG_fail;
8054 if (arg2 == NULL) {
8055 PyErr_SetString(PyExc_TypeError,"null reference");
8056 SWIG_fail;
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 (arg1)->base_OnDrawContents(*arg2);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxPyShape *arg1 = (wxPyShape *) 0 ;
8075 wxDC *arg2 = 0 ;
8076 bool arg3 = (bool) False ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 PyObject * obj2 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "self",(char *) "dc",(char *) "erase", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
8085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8088 SWIG_POINTER_EXCEPTION | 0)) == -1)
8089 SWIG_fail;
8090 if (arg2 == NULL) {
8091 PyErr_SetString(PyExc_TypeError,"null reference");
8092 SWIG_fail;
8093 }
8094 if (obj2) {
8095 arg3 = (bool) SWIG_AsBool(obj2);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 {
8099 PyThreadState* __tstate = wxPyBeginAllowThreads();
8100 (arg1)->base_OnDrawBranches(*arg2,arg3);
8101
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 Py_INCREF(Py_None); resultobj = Py_None;
8106 return resultobj;
8107 fail:
8108 return NULL;
8109 }
8110
8111
8112 static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8113 PyObject *resultobj;
8114 wxPyShape *arg1 = (wxPyShape *) 0 ;
8115 wxDC *arg2 = 0 ;
8116 PyObject * obj0 = 0 ;
8117 PyObject * obj1 = 0 ;
8118 char *kwnames[] = {
8119 (char *) "self",(char *) "dc", NULL
8120 };
8121
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
8123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8126 SWIG_POINTER_EXCEPTION | 0)) == -1)
8127 SWIG_fail;
8128 if (arg2 == NULL) {
8129 PyErr_SetString(PyExc_TypeError,"null reference");
8130 SWIG_fail;
8131 }
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 (arg1)->base_OnMoveLinks(*arg2);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 Py_INCREF(Py_None); resultobj = Py_None;
8140 return resultobj;
8141 fail:
8142 return NULL;
8143 }
8144
8145
8146 static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxPyShape *arg1 = (wxPyShape *) 0 ;
8149 wxDC *arg2 = 0 ;
8150 PyObject * obj0 = 0 ;
8151 PyObject * obj1 = 0 ;
8152 char *kwnames[] = {
8153 (char *) "self",(char *) "dc", NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
8157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8160 SWIG_POINTER_EXCEPTION | 0)) == -1)
8161 SWIG_fail;
8162 if (arg2 == NULL) {
8163 PyErr_SetString(PyExc_TypeError,"null reference");
8164 SWIG_fail;
8165 }
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 (arg1)->base_OnErase(*arg2);
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 Py_INCREF(Py_None); resultobj = Py_None;
8174 return resultobj;
8175 fail:
8176 return NULL;
8177 }
8178
8179
8180 static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxPyShape *arg1 = (wxPyShape *) 0 ;
8183 wxDC *arg2 = 0 ;
8184 PyObject * obj0 = 0 ;
8185 PyObject * obj1 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self",(char *) "dc", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
8191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8193 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8194 SWIG_POINTER_EXCEPTION | 0)) == -1)
8195 SWIG_fail;
8196 if (arg2 == NULL) {
8197 PyErr_SetString(PyExc_TypeError,"null reference");
8198 SWIG_fail;
8199 }
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 (arg1)->base_OnEraseContents(*arg2);
8203
8204 wxPyEndAllowThreads(__tstate);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
8207 Py_INCREF(Py_None); resultobj = Py_None;
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxPyShape *arg1 = (wxPyShape *) 0 ;
8217 wxDC *arg2 = 0 ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "dc", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8228 SWIG_POINTER_EXCEPTION | 0)) == -1)
8229 SWIG_fail;
8230 if (arg2 == NULL) {
8231 PyErr_SetString(PyExc_TypeError,"null reference");
8232 SWIG_fail;
8233 }
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 (arg1)->base_OnHighlight(*arg2);
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
8241 Py_INCREF(Py_None); resultobj = Py_None;
8242 return resultobj;
8243 fail:
8244 return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxPyShape *arg1 = (wxPyShape *) 0 ;
8251 double arg2 ;
8252 double arg3 ;
8253 int arg4 = (int) 0 ;
8254 int arg5 = (int) 0 ;
8255 PyObject * obj0 = 0 ;
8256 PyObject * obj1 = 0 ;
8257 PyObject * obj2 = 0 ;
8258 PyObject * obj3 = 0 ;
8259 PyObject * obj4 = 0 ;
8260 char *kwnames[] = {
8261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8262 };
8263
8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8267 arg2 = (double) SWIG_AsDouble(obj1);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 arg3 = (double) SWIG_AsDouble(obj2);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 if (obj3) {
8272 arg4 = (int) SWIG_AsInt(obj3);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 if (obj4) {
8276 arg5 = (int) SWIG_AsInt(obj4);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj;
8295 wxPyShape *arg1 = (wxPyShape *) 0 ;
8296 double arg2 ;
8297 double arg3 ;
8298 int arg4 = (int) 0 ;
8299 int arg5 = (int) 0 ;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 PyObject * obj2 = 0 ;
8303 PyObject * obj3 = 0 ;
8304 PyObject * obj4 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8312 arg2 = (double) SWIG_AsDouble(obj1);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 arg3 = (double) SWIG_AsDouble(obj2);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 if (obj3) {
8317 arg4 = (int) SWIG_AsInt(obj3);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 if (obj4) {
8321 arg5 = (int) SWIG_AsInt(obj4);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 Py_INCREF(Py_None); resultobj = Py_None;
8332 return resultobj;
8333 fail:
8334 return NULL;
8335 }
8336
8337
8338 static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8339 PyObject *resultobj;
8340 wxPyShape *arg1 = (wxPyShape *) 0 ;
8341 double arg2 ;
8342 double arg3 ;
8343 int arg4 = (int) 0 ;
8344 int arg5 = (int) 0 ;
8345 PyObject * obj0 = 0 ;
8346 PyObject * obj1 = 0 ;
8347 PyObject * obj2 = 0 ;
8348 PyObject * obj3 = 0 ;
8349 PyObject * obj4 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8352 };
8353
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8357 arg2 = (double) SWIG_AsDouble(obj1);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 arg3 = (double) SWIG_AsDouble(obj2);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 if (obj3) {
8362 arg4 = (int) SWIG_AsInt(obj3);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 if (obj4) {
8366 arg5 = (int) SWIG_AsInt(obj4);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 Py_INCREF(Py_None); resultobj = Py_None;
8377 return resultobj;
8378 fail:
8379 return NULL;
8380 }
8381
8382
8383 static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8384 PyObject *resultobj;
8385 wxPyShape *arg1 = (wxPyShape *) 0 ;
8386 double arg2 ;
8387 double arg3 ;
8388 PyObject * obj0 = 0 ;
8389 PyObject * obj1 = 0 ;
8390 PyObject * obj2 = 0 ;
8391 char *kwnames[] = {
8392 (char *) "self",(char *) "x",(char *) "y", NULL
8393 };
8394
8395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8398 arg2 = (double) SWIG_AsDouble(obj1);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 arg3 = (double) SWIG_AsDouble(obj2);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 (arg1)->base_OnSize(arg2,arg3);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 Py_INCREF(Py_None); resultobj = Py_None;
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxPyShape *arg1 = (wxPyShape *) 0 ;
8419 wxDC *arg2 = 0 ;
8420 double arg3 ;
8421 double arg4 ;
8422 double arg5 ;
8423 double arg6 ;
8424 bool arg7 = (bool) True ;
8425 bool result;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 PyObject * obj2 = 0 ;
8429 PyObject * obj3 = 0 ;
8430 PyObject * obj4 = 0 ;
8431 PyObject * obj5 = 0 ;
8432 PyObject * obj6 = 0 ;
8433 char *kwnames[] = {
8434 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8435 };
8436
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8441 SWIG_POINTER_EXCEPTION | 0)) == -1)
8442 SWIG_fail;
8443 if (arg2 == NULL) {
8444 PyErr_SetString(PyExc_TypeError,"null reference");
8445 SWIG_fail;
8446 }
8447 arg3 = (double) SWIG_AsDouble(obj2);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 arg4 = (double) SWIG_AsDouble(obj3);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 arg5 = (double) SWIG_AsDouble(obj4);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 arg6 = (double) SWIG_AsDouble(obj5);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 if (obj6) {
8456 arg7 = (bool) SWIG_AsBool(obj6);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 {
8467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8468 }
8469 return resultobj;
8470 fail:
8471 return NULL;
8472 }
8473
8474
8475 static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8476 PyObject *resultobj;
8477 wxPyShape *arg1 = (wxPyShape *) 0 ;
8478 wxDC *arg2 = 0 ;
8479 double arg3 ;
8480 double arg4 ;
8481 double arg5 ;
8482 double arg6 ;
8483 bool arg7 = (bool) True ;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 PyObject * obj2 = 0 ;
8487 PyObject * obj3 = 0 ;
8488 PyObject * obj4 = 0 ;
8489 PyObject * obj5 = 0 ;
8490 PyObject * obj6 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8499 SWIG_POINTER_EXCEPTION | 0)) == -1)
8500 SWIG_fail;
8501 if (arg2 == NULL) {
8502 PyErr_SetString(PyExc_TypeError,"null reference");
8503 SWIG_fail;
8504 }
8505 arg3 = (double) SWIG_AsDouble(obj2);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 arg4 = (double) SWIG_AsDouble(obj3);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 arg5 = (double) SWIG_AsDouble(obj4);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 arg6 = (double) SWIG_AsDouble(obj5);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 if (obj6) {
8514 arg7 = (bool) SWIG_AsBool(obj6);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 Py_INCREF(Py_None); resultobj = Py_None;
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj;
8533 wxPyShape *arg1 = (wxPyShape *) 0 ;
8534 bool arg2 ;
8535 double arg3 ;
8536 double arg4 ;
8537 int arg5 = (int) 0 ;
8538 int arg6 = (int) 0 ;
8539 PyObject * obj0 = 0 ;
8540 PyObject * obj1 = 0 ;
8541 PyObject * obj2 = 0 ;
8542 PyObject * obj3 = 0 ;
8543 PyObject * obj4 = 0 ;
8544 PyObject * obj5 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8552 arg2 = (bool) SWIG_AsBool(obj1);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 arg3 = (double) SWIG_AsDouble(obj2);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 arg4 = (double) SWIG_AsDouble(obj3);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 if (obj4) {
8559 arg5 = (int) SWIG_AsInt(obj4);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 if (obj5) {
8563 arg6 = (int) SWIG_AsInt(obj5);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 Py_INCREF(Py_None); resultobj = Py_None;
8574 return resultobj;
8575 fail:
8576 return NULL;
8577 }
8578
8579
8580 static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxPyShape *arg1 = (wxPyShape *) 0 ;
8583 double arg2 ;
8584 double arg3 ;
8585 int arg4 = (int) 0 ;
8586 int arg5 = (int) 0 ;
8587 PyObject * obj0 = 0 ;
8588 PyObject * obj1 = 0 ;
8589 PyObject * obj2 = 0 ;
8590 PyObject * obj3 = 0 ;
8591 PyObject * obj4 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8599 arg2 = (double) SWIG_AsDouble(obj1);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 arg3 = (double) SWIG_AsDouble(obj2);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 if (obj3) {
8604 arg4 = (int) SWIG_AsInt(obj3);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 if (obj4) {
8608 arg5 = (int) SWIG_AsInt(obj4);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 Py_INCREF(Py_None); resultobj = Py_None;
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxPyShape *arg1 = (wxPyShape *) 0 ;
8628 double arg2 ;
8629 double arg3 ;
8630 int arg4 = (int) 0 ;
8631 int arg5 = (int) 0 ;
8632 PyObject * obj0 = 0 ;
8633 PyObject * obj1 = 0 ;
8634 PyObject * obj2 = 0 ;
8635 PyObject * obj3 = 0 ;
8636 PyObject * obj4 = 0 ;
8637 char *kwnames[] = {
8638 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8639 };
8640
8641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8644 arg2 = (double) SWIG_AsDouble(obj1);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 arg3 = (double) SWIG_AsDouble(obj2);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 if (obj3) {
8649 arg4 = (int) SWIG_AsInt(obj3);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 if (obj4) {
8653 arg5 = (int) SWIG_AsInt(obj4);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 Py_INCREF(Py_None); resultobj = Py_None;
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxPyShape *arg1 = (wxPyShape *) 0 ;
8673 bool arg2 ;
8674 double arg3 ;
8675 double arg4 ;
8676 int arg5 = (int) 0 ;
8677 int arg6 = (int) 0 ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8680 PyObject * obj2 = 0 ;
8681 PyObject * obj3 = 0 ;
8682 PyObject * obj4 = 0 ;
8683 PyObject * obj5 = 0 ;
8684 char *kwnames[] = {
8685 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8686 };
8687
8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8691 arg2 = (bool) SWIG_AsBool(obj1);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 arg3 = (double) SWIG_AsDouble(obj2);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 arg4 = (double) SWIG_AsDouble(obj3);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 if (obj4) {
8698 arg5 = (int) SWIG_AsInt(obj4);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 if (obj5) {
8702 arg6 = (int) SWIG_AsInt(obj5);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8708
8709 wxPyEndAllowThreads(__tstate);
8710 if (PyErr_Occurred()) SWIG_fail;
8711 }
8712 Py_INCREF(Py_None); resultobj = Py_None;
8713 return resultobj;
8714 fail:
8715 return NULL;
8716 }
8717
8718
8719 static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj;
8721 wxPyShape *arg1 = (wxPyShape *) 0 ;
8722 double arg2 ;
8723 double arg3 ;
8724 int arg4 = (int) 0 ;
8725 int arg5 = (int) 0 ;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 PyObject * obj2 = 0 ;
8729 PyObject * obj3 = 0 ;
8730 PyObject * obj4 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8738 arg2 = (double) SWIG_AsDouble(obj1);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 arg3 = (double) SWIG_AsDouble(obj2);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 if (obj3) {
8743 arg4 = (int) SWIG_AsInt(obj3);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 if (obj4) {
8747 arg5 = (int) SWIG_AsInt(obj4);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 Py_INCREF(Py_None); resultobj = Py_None;
8758 return resultobj;
8759 fail:
8760 return NULL;
8761 }
8762
8763
8764 static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxPyShape *arg1 = (wxPyShape *) 0 ;
8767 double arg2 ;
8768 double arg3 ;
8769 int arg4 = (int) 0 ;
8770 int arg5 = (int) 0 ;
8771 PyObject * obj0 = 0 ;
8772 PyObject * obj1 = 0 ;
8773 PyObject * obj2 = 0 ;
8774 PyObject * obj3 = 0 ;
8775 PyObject * obj4 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8783 arg2 = (double) SWIG_AsDouble(obj1);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 arg3 = (double) SWIG_AsDouble(obj2);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 if (obj3) {
8788 arg4 = (int) SWIG_AsInt(obj3);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 if (obj4) {
8792 arg5 = (int) SWIG_AsInt(obj4);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 {
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8798
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 Py_INCREF(Py_None); resultobj = Py_None;
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxPyShape *arg1 = (wxPyShape *) 0 ;
8812 wxDC *arg2 = 0 ;
8813 double arg3 ;
8814 double arg4 ;
8815 double arg5 ;
8816 double arg6 ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 PyObject * obj2 = 0 ;
8820 PyObject * obj3 = 0 ;
8821 PyObject * obj4 = 0 ;
8822 PyObject * obj5 = 0 ;
8823 char *kwnames[] = {
8824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8825 };
8826
8827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8831 SWIG_POINTER_EXCEPTION | 0)) == -1)
8832 SWIG_fail;
8833 if (arg2 == NULL) {
8834 PyErr_SetString(PyExc_TypeError,"null reference");
8835 SWIG_fail;
8836 }
8837 arg3 = (double) SWIG_AsDouble(obj2);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 arg4 = (double) SWIG_AsDouble(obj3);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 arg5 = (double) SWIG_AsDouble(obj4);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 arg6 = (double) SWIG_AsDouble(obj5);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 Py_INCREF(Py_None); resultobj = Py_None;
8853 return resultobj;
8854 fail:
8855 return NULL;
8856 }
8857
8858
8859 static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxPyShape *arg1 = (wxPyShape *) 0 ;
8862 wxDC *arg2 = 0 ;
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "dc", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8873 SWIG_POINTER_EXCEPTION | 0)) == -1)
8874 SWIG_fail;
8875 if (arg2 == NULL) {
8876 PyErr_SetString(PyExc_TypeError,"null reference");
8877 SWIG_fail;
8878 }
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->base_OnDrawControlPoints(*arg2);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890 }
8891
8892
8893 static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxPyShape *arg1 = (wxPyShape *) 0 ;
8896 wxDC *arg2 = 0 ;
8897 PyObject * obj0 = 0 ;
8898 PyObject * obj1 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self",(char *) "dc", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
8904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8907 SWIG_POINTER_EXCEPTION | 0)) == -1)
8908 SWIG_fail;
8909 if (arg2 == NULL) {
8910 PyErr_SetString(PyExc_TypeError,"null reference");
8911 SWIG_fail;
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 (arg1)->base_OnEraseControlPoints(*arg2);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 Py_INCREF(Py_None); resultobj = Py_None;
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxPyShape *arg1 = (wxPyShape *) 0 ;
8930 wxDC *arg2 = 0 ;
8931 bool arg3 = (bool) True ;
8932 PyObject * obj0 = 0 ;
8933 PyObject * obj1 = 0 ;
8934 PyObject * obj2 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8937 };
8938
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
8940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1)
8944 SWIG_fail;
8945 if (arg2 == NULL) {
8946 PyErr_SetString(PyExc_TypeError,"null reference");
8947 SWIG_fail;
8948 }
8949 if (obj2) {
8950 arg3 = (bool) SWIG_AsBool(obj2);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 (arg1)->base_OnMoveLink(*arg2,arg3);
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 Py_INCREF(Py_None); resultobj = Py_None;
8961 return resultobj;
8962 fail:
8963 return NULL;
8964 }
8965
8966
8967 static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj;
8969 wxPyShape *arg1 = (wxPyShape *) 0 ;
8970 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8971 bool arg3 ;
8972 double arg4 ;
8973 double arg5 ;
8974 int arg6 = (int) 0 ;
8975 int arg7 = (int) 0 ;
8976 PyObject * obj0 = 0 ;
8977 PyObject * obj1 = 0 ;
8978 PyObject * obj2 = 0 ;
8979 PyObject * obj3 = 0 ;
8980 PyObject * obj4 = 0 ;
8981 PyObject * obj5 = 0 ;
8982 PyObject * obj6 = 0 ;
8983 char *kwnames[] = {
8984 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8985 };
8986
8987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
8991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8992 arg3 = (bool) SWIG_AsBool(obj2);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 arg4 = (double) SWIG_AsDouble(obj3);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 arg5 = (double) SWIG_AsDouble(obj4);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 if (obj5) {
8999 arg6 = (int) SWIG_AsInt(obj5);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 if (obj6) {
9003 arg7 = (int) SWIG_AsInt(obj6);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 Py_INCREF(Py_None); resultobj = Py_None;
9014 return resultobj;
9015 fail:
9016 return NULL;
9017 }
9018
9019
9020 static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9021 PyObject *resultobj;
9022 wxPyShape *arg1 = (wxPyShape *) 0 ;
9023 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9024 double arg3 ;
9025 double arg4 ;
9026 int arg5 = (int) 0 ;
9027 int arg6 = (int) 0 ;
9028 PyObject * obj0 = 0 ;
9029 PyObject * obj1 = 0 ;
9030 PyObject * obj2 = 0 ;
9031 PyObject * obj3 = 0 ;
9032 PyObject * obj4 = 0 ;
9033 PyObject * obj5 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9043 arg3 = (double) SWIG_AsDouble(obj2);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 arg4 = (double) SWIG_AsDouble(obj3);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 if (obj4) {
9048 arg5 = (int) SWIG_AsInt(obj4);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 if (obj5) {
9052 arg6 = (int) SWIG_AsInt(obj5);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 Py_INCREF(Py_None); resultobj = Py_None;
9063 return resultobj;
9064 fail:
9065 return NULL;
9066 }
9067
9068
9069 static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxPyShape *arg1 = (wxPyShape *) 0 ;
9072 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9073 double arg3 ;
9074 double arg4 ;
9075 int arg5 = (int) 0 ;
9076 int arg6 = (int) 0 ;
9077 PyObject * obj0 = 0 ;
9078 PyObject * obj1 = 0 ;
9079 PyObject * obj2 = 0 ;
9080 PyObject * obj3 = 0 ;
9081 PyObject * obj4 = 0 ;
9082 PyObject * obj5 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9092 arg3 = (double) SWIG_AsDouble(obj2);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 arg4 = (double) SWIG_AsDouble(obj3);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 if (obj4) {
9097 arg5 = (int) SWIG_AsInt(obj4);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 if (obj5) {
9101 arg6 = (int) SWIG_AsInt(obj5);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 Py_INCREF(Py_None); resultobj = Py_None;
9112 return resultobj;
9113 fail:
9114 return NULL;
9115 }
9116
9117
9118 static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj;
9120 wxPyShape *arg1 = (wxPyShape *) 0 ;
9121 double arg2 ;
9122 double arg3 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 PyObject * obj2 = 0 ;
9126 char *kwnames[] = {
9127 (char *) "self",(char *) "w",(char *) "h", NULL
9128 };
9129
9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9133 arg2 = (double) SWIG_AsDouble(obj1);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 arg3 = (double) SWIG_AsDouble(obj2);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->base_OnBeginSize(arg2,arg3);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxPyShape *arg1 = (wxPyShape *) 0 ;
9154 double arg2 ;
9155 double arg3 ;
9156 PyObject * obj0 = 0 ;
9157 PyObject * obj1 = 0 ;
9158 PyObject * obj2 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self",(char *) "w",(char *) "h", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9166 arg2 = (double) SWIG_AsDouble(obj1);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 arg3 = (double) SWIG_AsDouble(obj2);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 (arg1)->base_OnEndSize(arg2,arg3);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 Py_INCREF(Py_None); resultobj = Py_None;
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
9185 PyObject *obj;
9186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9187 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9188 Py_INCREF(obj);
9189 return Py_BuildValue((char *)"");
9190 }
9191 static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxPseudoMetaFile *result;
9194 char *kwnames[] = {
9195 NULL
9196 };
9197
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 {
9207 resultobj = wxPyMake_wxObject(result);
9208 }
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9218 PyObject * obj0 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 delete arg1;
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 Py_INCREF(Py_None); resultobj = Py_None;
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9243 wxDC *arg2 = 0 ;
9244 double arg3 ;
9245 double arg4 ;
9246 PyObject * obj0 = 0 ;
9247 PyObject * obj1 = 0 ;
9248 PyObject * obj2 = 0 ;
9249 PyObject * obj3 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9258 SWIG_POINTER_EXCEPTION | 0)) == -1)
9259 SWIG_fail;
9260 if (arg2 == NULL) {
9261 PyErr_SetString(PyExc_TypeError,"null reference");
9262 SWIG_fail;
9263 }
9264 arg3 = (double) SWIG_AsDouble(obj2);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 arg4 = (double) SWIG_AsDouble(obj3);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 {
9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
9270 (arg1)->Draw(*arg2,arg3,arg4);
9271
9272 wxPyEndAllowThreads(__tstate);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 Py_INCREF(Py_None); resultobj = Py_None;
9276 return resultobj;
9277 fail:
9278 return NULL;
9279 }
9280
9281
9282 static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject *resultobj;
9284 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9285 PyObject * obj0 = 0 ;
9286 char *kwnames[] = {
9287 (char *) "self", NULL
9288 };
9289
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
9291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 (arg1)->Clear();
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 Py_INCREF(Py_None); resultobj = Py_None;
9301 return resultobj;
9302 fail:
9303 return NULL;
9304 }
9305
9306
9307 static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9308 PyObject *resultobj;
9309 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9310 wxPseudoMetaFile *arg2 = 0 ;
9311 PyObject * obj0 = 0 ;
9312 PyObject * obj1 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self",(char *) "copy", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
9318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPseudoMetaFile,
9321 SWIG_POINTER_EXCEPTION | 0)) == -1)
9322 SWIG_fail;
9323 if (arg2 == NULL) {
9324 PyErr_SetString(PyExc_TypeError,"null reference");
9325 SWIG_fail;
9326 }
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 (arg1)->Copy(*arg2);
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 Py_INCREF(Py_None); resultobj = Py_None;
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9342 PyObject *resultobj;
9343 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9344 double arg2 ;
9345 double arg3 ;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 PyObject * obj2 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self",(char *) "sx",(char *) "sy", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9356 arg2 = (double) SWIG_AsDouble(obj1);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 arg3 = (double) SWIG_AsDouble(obj2);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 (arg1)->Scale(arg2,arg3);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 Py_INCREF(Py_None); resultobj = Py_None;
9368 return resultobj;
9369 fail:
9370 return NULL;
9371 }
9372
9373
9374 static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9377 double arg2 ;
9378 double arg3 ;
9379 PyObject * obj0 = 0 ;
9380 PyObject * obj1 = 0 ;
9381 PyObject * obj2 = 0 ;
9382 char *kwnames[] = {
9383 (char *) "self",(char *) "w",(char *) "h", NULL
9384 };
9385
9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9389 arg2 = (double) SWIG_AsDouble(obj1);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 arg3 = (double) SWIG_AsDouble(obj2);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 (arg1)->ScaleTo(arg2,arg3);
9396
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
9400 Py_INCREF(Py_None); resultobj = Py_None;
9401 return resultobj;
9402 fail:
9403 return NULL;
9404 }
9405
9406
9407 static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
9408 PyObject *resultobj;
9409 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9410 double arg2 ;
9411 double arg3 ;
9412 PyObject * obj0 = 0 ;
9413 PyObject * obj1 = 0 ;
9414 PyObject * obj2 = 0 ;
9415 char *kwnames[] = {
9416 (char *) "self",(char *) "x",(char *) "y", NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9422 arg2 = (double) SWIG_AsDouble(obj1);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 arg3 = (double) SWIG_AsDouble(obj2);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 (arg1)->Translate(arg2,arg3);
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 Py_INCREF(Py_None); resultobj = Py_None;
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9443 double arg2 ;
9444 double arg3 ;
9445 double arg4 ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 PyObject * obj2 = 0 ;
9449 PyObject * obj3 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9457 arg2 = (double) SWIG_AsDouble(obj1);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 arg3 = (double) SWIG_AsDouble(obj2);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 arg4 = (double) SWIG_AsDouble(obj3);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 (arg1)->Rotate(arg2,arg3,arg4);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 Py_INCREF(Py_None); resultobj = Py_None;
9471 return resultobj;
9472 fail:
9473 return NULL;
9474 }
9475
9476
9477 static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9480 wxString *arg2 = 0 ;
9481 double *arg3 = (double *) 0 ;
9482 double *arg4 = (double *) 0 ;
9483 bool result;
9484 bool temp2 = False ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 PyObject * obj2 = 0 ;
9488 PyObject * obj3 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9496 {
9497 arg2 = wxString_in_helper(obj1);
9498 if (arg2 == NULL) SWIG_fail;
9499 temp2 = True;
9500 }
9501 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9503 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 {
9513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9514 }
9515 {
9516 if (temp2)
9517 delete arg2;
9518 }
9519 return resultobj;
9520 fail:
9521 {
9522 if (temp2)
9523 delete arg2;
9524 }
9525 return NULL;
9526 }
9527
9528
9529 static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj;
9531 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9532 double *arg2 = (double *) 0 ;
9533 double *arg3 = (double *) 0 ;
9534 double *arg4 = (double *) 0 ;
9535 double *arg5 = (double *) 0 ;
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 PyObject * obj2 = 0 ;
9539 PyObject * obj3 = 0 ;
9540 PyObject * obj4 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9550 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9552 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9554 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_double,
9555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9556 {
9557 PyThreadState* __tstate = wxPyBeginAllowThreads();
9558 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9559
9560 wxPyEndAllowThreads(__tstate);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 }
9563 Py_INCREF(Py_None); resultobj = Py_None;
9564 return resultobj;
9565 fail:
9566 return NULL;
9567 }
9568
9569
9570 static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj;
9572 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9573 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9574 PyObject * obj0 = 0 ;
9575 PyObject * obj1 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self",(char *) "shape", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
9581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDrawnShape,
9584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9585 {
9586 PyThreadState* __tstate = wxPyBeginAllowThreads();
9587 (arg1)->CalculateSize(arg2);
9588
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 Py_INCREF(Py_None); resultobj = Py_None;
9593 return resultobj;
9594 fail:
9595 return NULL;
9596 }
9597
9598
9599 static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj;
9601 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9602 bool arg2 ;
9603 PyObject * obj0 = 0 ;
9604 PyObject * obj1 = 0 ;
9605 char *kwnames[] = {
9606 (char *) "self",(char *) "rot", NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9612 arg2 = (bool) SWIG_AsBool(obj1);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 (arg1)->SetRotateable(arg2);
9617
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 Py_INCREF(Py_None); resultobj = Py_None;
9622 return resultobj;
9623 fail:
9624 return NULL;
9625 }
9626
9627
9628 static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9631 bool result;
9632 PyObject * obj0 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (bool)(arg1)->GetRotateable();
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 {
9648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9649 }
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9657 PyObject *resultobj;
9658 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9659 double arg2 ;
9660 double arg3 ;
9661 PyObject * obj0 = 0 ;
9662 PyObject * obj1 = 0 ;
9663 PyObject * obj2 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "w",(char *) "h", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9671 arg2 = (double) SWIG_AsDouble(obj1);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 arg3 = (double) SWIG_AsDouble(obj2);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 (arg1)->SetSize(arg2,arg3);
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 Py_INCREF(Py_None); resultobj = Py_None;
9683 return resultobj;
9684 fail:
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9692 wxBrush *arg2 = (wxBrush *) 0 ;
9693 PyObject * obj0 = 0 ;
9694 PyObject * obj1 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "brush", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9702 {
9703 wxBrush* temp;
9704 if (obj1) {
9705 if (obj1 == Py_None) {
9706 temp = NULL;
9707 }
9708 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9709 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9710 return NULL;
9711 }
9712 }
9713 if (temp)
9714 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9715 else
9716 arg2 = NULL;
9717 }
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 (arg1)->SetFillBrush(arg2);
9721
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 Py_INCREF(Py_None); resultobj = Py_None;
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj;
9734 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9735 wxBrush *result;
9736 PyObject * obj0 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (wxBrush *)(arg1)->GetFillBrush();
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
9752 return resultobj;
9753 fail:
9754 return NULL;
9755 }
9756
9757
9758 static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9761 wxPen *arg2 = (wxPen *) 0 ;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "pen", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9771 {
9772 wxPen* temp;
9773 if (obj1) {
9774 if (obj1 == Py_None) {
9775 temp = NULL;
9776 }
9777 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9778 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9779 return NULL;
9780 }
9781 }
9782 if (temp)
9783 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9784 temp->GetWidth(),
9785 temp->GetStyle());
9786 else
9787 arg2 = NULL;
9788 }
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 (arg1)->SetOutlinePen(arg2);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 Py_INCREF(Py_None); resultobj = Py_None;
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9806 wxPen *result;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 result = (wxPen *)(arg1)->GetOutlinePen();
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
9823 return resultobj;
9824 fail:
9825 return NULL;
9826 }
9827
9828
9829 static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9830 PyObject *resultobj;
9831 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9832 int arg2 ;
9833 PyObject * obj0 = 0 ;
9834 PyObject * obj1 = 0 ;
9835 char *kwnames[] = {
9836 (char *) "self",(char *) "op", NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
9840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9842 arg2 = (int) SWIG_AsInt(obj1);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 (arg1)->SetOutlineOp(arg2);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 Py_INCREF(Py_None); resultobj = Py_None;
9852 return resultobj;
9853 fail:
9854 return NULL;
9855 }
9856
9857
9858 static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj;
9860 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9861 int result;
9862 PyObject * obj0 = 0 ;
9863 char *kwnames[] = {
9864 (char *) "self", NULL
9865 };
9866
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
9868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (int)(arg1)->GetOutlineOp();
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 resultobj = SWIG_FromInt((int)result);
9878 return resultobj;
9879 fail:
9880 return NULL;
9881 }
9882
9883
9884 static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
9885 PyObject *resultobj;
9886 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9887 bool result;
9888 PyObject * obj0 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
9894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = (bool)(arg1)->IsValid();
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 {
9904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9905 }
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj;
9914 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9915 wxPoint *arg2 = 0 ;
9916 wxPoint *arg3 = 0 ;
9917 wxPoint temp2 ;
9918 wxPoint temp3 ;
9919 PyObject * obj0 = 0 ;
9920 PyObject * obj1 = 0 ;
9921 PyObject * obj2 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9929 {
9930 arg2 = &temp2;
9931 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9932 }
9933 {
9934 arg3 = &temp3;
9935 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 Py_INCREF(Py_None); resultobj = Py_None;
9945 return resultobj;
9946 fail:
9947 return NULL;
9948 }
9949
9950
9951 static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9952 PyObject *resultobj;
9953 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9954 wxRect *arg2 = 0 ;
9955 wxRect temp2 ;
9956 PyObject * obj0 = 0 ;
9957 PyObject * obj1 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self",(char *) "rect", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9965 {
9966 arg2 = &temp2;
9967 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9968 }
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 (arg1)->DrawRectangle((wxRect const &)*arg2);
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 Py_INCREF(Py_None); resultobj = Py_None;
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9986 wxRect *arg2 = 0 ;
9987 double arg3 ;
9988 wxRect temp2 ;
9989 PyObject * obj0 = 0 ;
9990 PyObject * obj1 = 0 ;
9991 PyObject * obj2 = 0 ;
9992 char *kwnames[] = {
9993 (char *) "self",(char *) "rect",(char *) "radius", NULL
9994 };
9995
9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9999 {
10000 arg2 = &temp2;
10001 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10002 }
10003 arg3 = (double) SWIG_AsDouble(obj2);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 Py_INCREF(Py_None); resultobj = Py_None;
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10022 wxPoint *arg2 = 0 ;
10023 wxPoint *arg3 = 0 ;
10024 wxPoint *arg4 = 0 ;
10025 wxPoint temp2 ;
10026 wxPoint temp3 ;
10027 wxPoint temp4 ;
10028 PyObject * obj0 = 0 ;
10029 PyObject * obj1 = 0 ;
10030 PyObject * obj2 = 0 ;
10031 PyObject * obj3 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10039 {
10040 arg2 = &temp2;
10041 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10042 }
10043 {
10044 arg3 = &temp3;
10045 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10046 }
10047 {
10048 arg4 = &temp4;
10049 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10050 }
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 Py_INCREF(Py_None); resultobj = Py_None;
10059 return resultobj;
10060 fail:
10061 return NULL;
10062 }
10063
10064
10065 static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10068 wxRect *arg2 = 0 ;
10069 double arg3 ;
10070 double arg4 ;
10071 wxRect temp2 ;
10072 PyObject * obj0 = 0 ;
10073 PyObject * obj1 = 0 ;
10074 PyObject * obj2 = 0 ;
10075 PyObject * obj3 = 0 ;
10076 char *kwnames[] = {
10077 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10078 };
10079
10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10083 {
10084 arg2 = &temp2;
10085 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10086 }
10087 arg3 = (double) SWIG_AsDouble(obj2);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 arg4 = (double) SWIG_AsDouble(obj3);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 {
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 Py_INCREF(Py_None); resultobj = Py_None;
10099 return resultobj;
10100 fail:
10101 return NULL;
10102 }
10103
10104
10105 static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10108 wxRect *arg2 = 0 ;
10109 wxRect temp2 ;
10110 PyObject * obj0 = 0 ;
10111 PyObject * obj1 = 0 ;
10112 char *kwnames[] = {
10113 (char *) "self",(char *) "rect", NULL
10114 };
10115
10116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
10117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10119 {
10120 arg2 = &temp2;
10121 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10122 }
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 (arg1)->DrawEllipse((wxRect const &)*arg2);
10126
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 }
10130 Py_INCREF(Py_None); resultobj = Py_None;
10131 return resultobj;
10132 fail:
10133 return NULL;
10134 }
10135
10136
10137 static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10138 PyObject *resultobj;
10139 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10140 wxPoint *arg2 = 0 ;
10141 wxPoint temp2 ;
10142 PyObject * obj0 = 0 ;
10143 PyObject * obj1 = 0 ;
10144 char *kwnames[] = {
10145 (char *) "self",(char *) "pt", NULL
10146 };
10147
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
10149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10151 {
10152 arg2 = &temp2;
10153 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10154 }
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 (arg1)->DrawPoint((wxPoint const &)*arg2);
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 Py_INCREF(Py_None); resultobj = Py_None;
10163 return resultobj;
10164 fail:
10165 return NULL;
10166 }
10167
10168
10169 static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
10170 PyObject *resultobj;
10171 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10172 wxString *arg2 = 0 ;
10173 wxPoint *arg3 = 0 ;
10174 bool temp2 = False ;
10175 wxPoint temp3 ;
10176 PyObject * obj0 = 0 ;
10177 PyObject * obj1 = 0 ;
10178 PyObject * obj2 = 0 ;
10179 char *kwnames[] = {
10180 (char *) "self",(char *) "text",(char *) "pt", NULL
10181 };
10182
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10186 {
10187 arg2 = wxString_in_helper(obj1);
10188 if (arg2 == NULL) SWIG_fail;
10189 temp2 = True;
10190 }
10191 {
10192 arg3 = &temp3;
10193 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10194 }
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 Py_INCREF(Py_None); resultobj = Py_None;
10203 {
10204 if (temp2)
10205 delete arg2;
10206 }
10207 return resultobj;
10208 fail:
10209 {
10210 if (temp2)
10211 delete arg2;
10212 }
10213 return NULL;
10214 }
10215
10216
10217 static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj;
10219 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10220 int arg2 ;
10221 wxPoint *arg3 = (wxPoint *) 0 ;
10222 PyObject * obj0 = 0 ;
10223 PyObject * obj1 = 0 ;
10224 PyObject * obj2 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
10230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10232 arg2 = (int) SWIG_AsInt(obj1);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10236 {
10237 PyThreadState* __tstate = wxPyBeginAllowThreads();
10238 (arg1)->DrawLines(arg2,arg3);
10239
10240 wxPyEndAllowThreads(__tstate);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 }
10243 Py_INCREF(Py_None); resultobj = Py_None;
10244 return resultobj;
10245 fail:
10246 return NULL;
10247 }
10248
10249
10250 static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
10251 PyObject *resultobj;
10252 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10253 int arg2 ;
10254 wxPoint *arg3 = (wxPoint *) 0 ;
10255 int arg4 = (int) 0 ;
10256 PyObject * obj0 = 0 ;
10257 PyObject * obj1 = 0 ;
10258 PyObject * obj2 = 0 ;
10259 PyObject * obj3 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10267 arg2 = (int) SWIG_AsInt(obj1);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10271 if (obj3) {
10272 arg4 = (int) SWIG_AsInt(obj3);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 (arg1)->DrawPolygon(arg2,arg3,arg4);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 Py_INCREF(Py_None); resultobj = Py_None;
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10292 int arg2 ;
10293 wxPoint *arg3 = (wxPoint *) 0 ;
10294 PyObject * obj0 = 0 ;
10295 PyObject * obj1 = 0 ;
10296 PyObject * obj2 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10304 arg2 = (int) SWIG_AsInt(obj1);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 (arg1)->DrawSpline(arg2,arg3);
10311
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 Py_INCREF(Py_None); resultobj = Py_None;
10316 return resultobj;
10317 fail:
10318 return NULL;
10319 }
10320
10321
10322 static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10325 wxRect *arg2 = 0 ;
10326 wxRect temp2 ;
10327 PyObject * obj0 = 0 ;
10328 PyObject * obj1 = 0 ;
10329 char *kwnames[] = {
10330 (char *) "self",(char *) "rect", NULL
10331 };
10332
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
10334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10336 {
10337 arg2 = &temp2;
10338 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10339 }
10340 {
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 (arg1)->SetClippingRect((wxRect const &)*arg2);
10343
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 Py_INCREF(Py_None); resultobj = Py_None;
10348 return resultobj;
10349 fail:
10350 return NULL;
10351 }
10352
10353
10354 static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj;
10356 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10357 PyObject * obj0 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
10363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->DestroyClippingRect();
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 return resultobj;
10374 fail:
10375 return NULL;
10376 }
10377
10378
10379 static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10382 wxPen *arg2 = (wxPen *) 0 ;
10383 bool arg3 = (bool) FALSE ;
10384 PyObject * obj0 = 0 ;
10385 PyObject * obj1 = 0 ;
10386 PyObject * obj2 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
10392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10394 {
10395 wxPen* temp;
10396 if (obj1) {
10397 if (obj1 == Py_None) {
10398 temp = NULL;
10399 }
10400 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10401 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10402 return NULL;
10403 }
10404 }
10405 if (temp)
10406 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10407 temp->GetWidth(),
10408 temp->GetStyle());
10409 else
10410 arg2 = NULL;
10411 }
10412 if (obj2) {
10413 arg3 = (bool) SWIG_AsBool(obj2);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 (arg1)->SetPen(arg2,arg3);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 Py_INCREF(Py_None); resultobj = Py_None;
10424 return resultobj;
10425 fail:
10426 return NULL;
10427 }
10428
10429
10430 static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10433 wxBrush *arg2 = (wxBrush *) 0 ;
10434 bool arg3 = (bool) FALSE ;
10435 PyObject * obj0 = 0 ;
10436 PyObject * obj1 = 0 ;
10437 PyObject * obj2 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
10443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10445 {
10446 wxBrush* temp;
10447 if (obj1) {
10448 if (obj1 == Py_None) {
10449 temp = NULL;
10450 }
10451 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10452 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10453 return NULL;
10454 }
10455 }
10456 if (temp)
10457 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10458 else
10459 arg2 = NULL;
10460 }
10461 if (obj2) {
10462 arg3 = (bool) SWIG_AsBool(obj2);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 (arg1)->SetBrush(arg2,arg3);
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 Py_INCREF(Py_None); resultobj = Py_None;
10473 return resultobj;
10474 fail:
10475 return NULL;
10476 }
10477
10478
10479 static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10480 PyObject *resultobj;
10481 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10482 wxFont *arg2 = (wxFont *) 0 ;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self",(char *) "font", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10492 {
10493 wxFont* temp;
10494 if (obj1) {
10495 if (obj1 == Py_None) {
10496 temp = NULL;
10497 }
10498 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10499 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10500 return NULL;
10501 }
10502 }
10503 if (temp)
10504 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10505 temp->GetFamily(),
10506 temp->GetStyle(),
10507 temp->GetWeight(),
10508 temp->GetUnderlined(),
10509 temp->GetFaceName(),
10510 temp->GetEncoding());
10511 else
10512 arg2 = NULL;
10513 }
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 (arg1)->SetFont(arg2);
10517
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 Py_INCREF(Py_None); resultobj = Py_None;
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10531 wxColour *arg2 = 0 ;
10532 wxColour temp2 ;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self",(char *) "colour", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
10540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10542 {
10543 arg2 = &temp2;
10544 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10545 }
10546 {
10547 PyThreadState* __tstate = wxPyBeginAllowThreads();
10548 (arg1)->SetTextColour((wxColour const &)*arg2);
10549
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 Py_INCREF(Py_None); resultobj = Py_None;
10554 return resultobj;
10555 fail:
10556 return NULL;
10557 }
10558
10559
10560 static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject *resultobj;
10562 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10563 wxColour *arg2 = 0 ;
10564 wxColour temp2 ;
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "colour", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10574 {
10575 arg2 = &temp2;
10576 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj;
10594 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10595 int arg2 ;
10596 PyObject * obj0 = 0 ;
10597 PyObject * obj1 = 0 ;
10598 char *kwnames[] = {
10599 (char *) "self",(char *) "mode", NULL
10600 };
10601
10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
10603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10605 arg2 = (int) SWIG_AsInt(obj1);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 (arg1)->SetBackgroundMode(arg2);
10610
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 Py_INCREF(Py_None); resultobj = Py_None;
10615 return resultobj;
10616 fail:
10617 return NULL;
10618 }
10619
10620
10621 static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
10622 PyObject *obj;
10623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10624 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10625 Py_INCREF(obj);
10626 return Py_BuildValue((char *)"");
10627 }
10628 static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10629 PyObject *resultobj;
10630 double arg1 = (double) 0.0 ;
10631 double arg2 = (double) 0.0 ;
10632 wxPyRectangleShape *result;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "width",(char *) "height", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10640 if (obj0) {
10641 arg1 = (double) SWIG_AsDouble(obj0);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 if (obj1) {
10645 arg2 = (double) SWIG_AsDouble(obj1);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyRectangleShape, 1);
10656 return resultobj;
10657 fail:
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10665 PyObject *arg2 = (PyObject *) 0 ;
10666 PyObject *arg3 = (PyObject *) 0 ;
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj1 = 0 ;
10669 PyObject * obj2 = 0 ;
10670 char *kwnames[] = {
10671 (char *) "self",(char *) "self",(char *) "_class", NULL
10672 };
10673
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10677 arg2 = obj1;
10678 arg3 = obj2;
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 (arg1)->_setCallbackInfo(arg2,arg3);
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 Py_INCREF(Py_None); resultobj = Py_None;
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10696 double arg2 ;
10697 PyObject * obj0 = 0 ;
10698 PyObject * obj1 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self",(char *) "radius", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
10704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10706 arg2 = (double) SWIG_AsDouble(obj1);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 (arg1)->SetCornerRadius(arg2);
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 Py_INCREF(Py_None); resultobj = Py_None;
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10725 double result;
10726 PyObject * obj0 = 0 ;
10727 char *kwnames[] = {
10728 (char *) "self", NULL
10729 };
10730
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
10732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 result = (double)(arg1)->GetCornerRadius();
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 resultobj = SWIG_FromDouble((double)result);
10742 return resultobj;
10743 fail:
10744 return NULL;
10745 }
10746
10747
10748 static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
10749 PyObject *resultobj;
10750 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10751 PyObject * obj0 = 0 ;
10752 char *kwnames[] = {
10753 (char *) "self", NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
10757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 (arg1)->base_OnDelete();
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 Py_INCREF(Py_None); resultobj = Py_None;
10767 return resultobj;
10768 fail:
10769 return NULL;
10770 }
10771
10772
10773 static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
10774 PyObject *resultobj;
10775 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10776 wxDC *arg2 = 0 ;
10777 PyObject * obj0 = 0 ;
10778 PyObject * obj1 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self",(char *) "dc", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10787 SWIG_POINTER_EXCEPTION | 0)) == -1)
10788 SWIG_fail;
10789 if (arg2 == NULL) {
10790 PyErr_SetString(PyExc_TypeError,"null reference");
10791 SWIG_fail;
10792 }
10793 {
10794 PyThreadState* __tstate = wxPyBeginAllowThreads();
10795 (arg1)->base_OnDraw(*arg2);
10796
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 Py_INCREF(Py_None); resultobj = Py_None;
10801 return resultobj;
10802 fail:
10803 return NULL;
10804 }
10805
10806
10807 static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj;
10809 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10810 wxDC *arg2 = 0 ;
10811 PyObject * obj0 = 0 ;
10812 PyObject * obj1 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self",(char *) "dc", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10821 SWIG_POINTER_EXCEPTION | 0)) == -1)
10822 SWIG_fail;
10823 if (arg2 == NULL) {
10824 PyErr_SetString(PyExc_TypeError,"null reference");
10825 SWIG_fail;
10826 }
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 (arg1)->base_OnDrawContents(*arg2);
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 Py_INCREF(Py_None); resultobj = Py_None;
10835 return resultobj;
10836 fail:
10837 return NULL;
10838 }
10839
10840
10841 static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10844 wxDC *arg2 = 0 ;
10845 bool arg3 = (bool) FALSE ;
10846 PyObject * obj0 = 0 ;
10847 PyObject * obj1 = 0 ;
10848 PyObject * obj2 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self",(char *) "dc",(char *) "erase", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10857 SWIG_POINTER_EXCEPTION | 0)) == -1)
10858 SWIG_fail;
10859 if (arg2 == NULL) {
10860 PyErr_SetString(PyExc_TypeError,"null reference");
10861 SWIG_fail;
10862 }
10863 if (obj2) {
10864 arg3 = (bool) SWIG_AsBool(obj2);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 (arg1)->base_OnDrawBranches(*arg2,arg3);
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 Py_INCREF(Py_None); resultobj = Py_None;
10875 return resultobj;
10876 fail:
10877 return NULL;
10878 }
10879
10880
10881 static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10882 PyObject *resultobj;
10883 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10884 wxDC *arg2 = 0 ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self",(char *) "dc", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10895 SWIG_POINTER_EXCEPTION | 0)) == -1)
10896 SWIG_fail;
10897 if (arg2 == NULL) {
10898 PyErr_SetString(PyExc_TypeError,"null reference");
10899 SWIG_fail;
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 (arg1)->base_OnMoveLinks(*arg2);
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
10908 Py_INCREF(Py_None); resultobj = Py_None;
10909 return resultobj;
10910 fail:
10911 return NULL;
10912 }
10913
10914
10915 static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10916 PyObject *resultobj;
10917 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10918 wxDC *arg2 = 0 ;
10919 PyObject * obj0 = 0 ;
10920 PyObject * obj1 = 0 ;
10921 char *kwnames[] = {
10922 (char *) "self",(char *) "dc", NULL
10923 };
10924
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10929 SWIG_POINTER_EXCEPTION | 0)) == -1)
10930 SWIG_fail;
10931 if (arg2 == NULL) {
10932 PyErr_SetString(PyExc_TypeError,"null reference");
10933 SWIG_fail;
10934 }
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 (arg1)->base_OnErase(*arg2);
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 Py_INCREF(Py_None); resultobj = Py_None;
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10952 wxDC *arg2 = 0 ;
10953 PyObject * obj0 = 0 ;
10954 PyObject * obj1 = 0 ;
10955 char *kwnames[] = {
10956 (char *) "self",(char *) "dc", NULL
10957 };
10958
10959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10963 SWIG_POINTER_EXCEPTION | 0)) == -1)
10964 SWIG_fail;
10965 if (arg2 == NULL) {
10966 PyErr_SetString(PyExc_TypeError,"null reference");
10967 SWIG_fail;
10968 }
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 (arg1)->base_OnEraseContents(*arg2);
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 Py_INCREF(Py_None); resultobj = Py_None;
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10986 wxDC *arg2 = 0 ;
10987 PyObject * obj0 = 0 ;
10988 PyObject * obj1 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self",(char *) "dc", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10997 SWIG_POINTER_EXCEPTION | 0)) == -1)
10998 SWIG_fail;
10999 if (arg2 == NULL) {
11000 PyErr_SetString(PyExc_TypeError,"null reference");
11001 SWIG_fail;
11002 }
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 (arg1)->base_OnHighlight(*arg2);
11006
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 Py_INCREF(Py_None); resultobj = Py_None;
11011 return resultobj;
11012 fail:
11013 return NULL;
11014 }
11015
11016
11017 static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj;
11019 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11020 double arg2 ;
11021 double arg3 ;
11022 int arg4 = (int) 0 ;
11023 int arg5 = (int) 0 ;
11024 PyObject * obj0 = 0 ;
11025 PyObject * obj1 = 0 ;
11026 PyObject * obj2 = 0 ;
11027 PyObject * obj3 = 0 ;
11028 PyObject * obj4 = 0 ;
11029 char *kwnames[] = {
11030 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11031 };
11032
11033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11036 arg2 = (double) SWIG_AsDouble(obj1);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 arg3 = (double) SWIG_AsDouble(obj2);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 if (obj3) {
11041 arg4 = (int) SWIG_AsInt(obj3);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 if (obj4) {
11045 arg5 = (int) SWIG_AsInt(obj4);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 Py_INCREF(Py_None); resultobj = Py_None;
11056 return resultobj;
11057 fail:
11058 return NULL;
11059 }
11060
11061
11062 static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11063 PyObject *resultobj;
11064 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11065 double arg2 ;
11066 double arg3 ;
11067 int arg4 = (int) 0 ;
11068 int arg5 = (int) 0 ;
11069 PyObject * obj0 = 0 ;
11070 PyObject * obj1 = 0 ;
11071 PyObject * obj2 = 0 ;
11072 PyObject * obj3 = 0 ;
11073 PyObject * obj4 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11081 arg2 = (double) SWIG_AsDouble(obj1);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 arg3 = (double) SWIG_AsDouble(obj2);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 if (obj3) {
11086 arg4 = (int) SWIG_AsInt(obj3);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 if (obj4) {
11090 arg5 = (int) SWIG_AsInt(obj4);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11096
11097 wxPyEndAllowThreads(__tstate);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
11100 Py_INCREF(Py_None); resultobj = Py_None;
11101 return resultobj;
11102 fail:
11103 return NULL;
11104 }
11105
11106
11107 static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11108 PyObject *resultobj;
11109 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11110 double arg2 ;
11111 double arg3 ;
11112 int arg4 = (int) 0 ;
11113 int arg5 = (int) 0 ;
11114 PyObject * obj0 = 0 ;
11115 PyObject * obj1 = 0 ;
11116 PyObject * obj2 = 0 ;
11117 PyObject * obj3 = 0 ;
11118 PyObject * obj4 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11126 arg2 = (double) SWIG_AsDouble(obj1);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 arg3 = (double) SWIG_AsDouble(obj2);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 if (obj3) {
11131 arg4 = (int) SWIG_AsInt(obj3);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 if (obj4) {
11135 arg5 = (int) SWIG_AsInt(obj4);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 Py_INCREF(Py_None); resultobj = Py_None;
11146 return resultobj;
11147 fail:
11148 return NULL;
11149 }
11150
11151
11152 static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj;
11154 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11155 double arg2 ;
11156 double arg3 ;
11157 PyObject * obj0 = 0 ;
11158 PyObject * obj1 = 0 ;
11159 PyObject * obj2 = 0 ;
11160 char *kwnames[] = {
11161 (char *) "self",(char *) "x",(char *) "y", NULL
11162 };
11163
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11167 arg2 = (double) SWIG_AsDouble(obj1);
11168 if (PyErr_Occurred()) SWIG_fail;
11169 arg3 = (double) SWIG_AsDouble(obj2);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 (arg1)->base_OnSize(arg2,arg3);
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 Py_INCREF(Py_None); resultobj = Py_None;
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj;
11187 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11188 wxDC *arg2 = 0 ;
11189 double arg3 ;
11190 double arg4 ;
11191 double arg5 ;
11192 double arg6 ;
11193 bool arg7 = (bool) True ;
11194 bool result;
11195 PyObject * obj0 = 0 ;
11196 PyObject * obj1 = 0 ;
11197 PyObject * obj2 = 0 ;
11198 PyObject * obj3 = 0 ;
11199 PyObject * obj4 = 0 ;
11200 PyObject * obj5 = 0 ;
11201 PyObject * obj6 = 0 ;
11202 char *kwnames[] = {
11203 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11204 };
11205
11206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11210 SWIG_POINTER_EXCEPTION | 0)) == -1)
11211 SWIG_fail;
11212 if (arg2 == NULL) {
11213 PyErr_SetString(PyExc_TypeError,"null reference");
11214 SWIG_fail;
11215 }
11216 arg3 = (double) SWIG_AsDouble(obj2);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 arg4 = (double) SWIG_AsDouble(obj3);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 arg5 = (double) SWIG_AsDouble(obj4);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 arg6 = (double) SWIG_AsDouble(obj5);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 if (obj6) {
11225 arg7 = (bool) SWIG_AsBool(obj6);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 {
11229 PyThreadState* __tstate = wxPyBeginAllowThreads();
11230 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11231
11232 wxPyEndAllowThreads(__tstate);
11233 if (PyErr_Occurred()) SWIG_fail;
11234 }
11235 {
11236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11237 }
11238 return resultobj;
11239 fail:
11240 return NULL;
11241 }
11242
11243
11244 static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj;
11246 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11247 wxDC *arg2 = 0 ;
11248 double arg3 ;
11249 double arg4 ;
11250 double arg5 ;
11251 double arg6 ;
11252 bool arg7 = (bool) True ;
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 PyObject * obj2 = 0 ;
11256 PyObject * obj3 = 0 ;
11257 PyObject * obj4 = 0 ;
11258 PyObject * obj5 = 0 ;
11259 PyObject * obj6 = 0 ;
11260 char *kwnames[] = {
11261 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11262 };
11263
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11268 SWIG_POINTER_EXCEPTION | 0)) == -1)
11269 SWIG_fail;
11270 if (arg2 == NULL) {
11271 PyErr_SetString(PyExc_TypeError,"null reference");
11272 SWIG_fail;
11273 }
11274 arg3 = (double) SWIG_AsDouble(obj2);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 arg4 = (double) SWIG_AsDouble(obj3);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 arg5 = (double) SWIG_AsDouble(obj4);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 arg6 = (double) SWIG_AsDouble(obj5);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 if (obj6) {
11283 arg7 = (bool) SWIG_AsBool(obj6);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 }
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11289
11290 wxPyEndAllowThreads(__tstate);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 }
11293 Py_INCREF(Py_None); resultobj = Py_None;
11294 return resultobj;
11295 fail:
11296 return NULL;
11297 }
11298
11299
11300 static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj;
11302 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11303 bool arg2 ;
11304 double arg3 ;
11305 double arg4 ;
11306 int arg5 = (int) 0 ;
11307 int arg6 = (int) 0 ;
11308 PyObject * obj0 = 0 ;
11309 PyObject * obj1 = 0 ;
11310 PyObject * obj2 = 0 ;
11311 PyObject * obj3 = 0 ;
11312 PyObject * obj4 = 0 ;
11313 PyObject * obj5 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11321 arg2 = (bool) SWIG_AsBool(obj1);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 arg3 = (double) SWIG_AsDouble(obj2);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 arg4 = (double) SWIG_AsDouble(obj3);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 if (obj4) {
11328 arg5 = (int) SWIG_AsInt(obj4);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 if (obj5) {
11332 arg6 = (int) SWIG_AsInt(obj5);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 Py_INCREF(Py_None); resultobj = Py_None;
11343 return resultobj;
11344 fail:
11345 return NULL;
11346 }
11347
11348
11349 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11350 PyObject *resultobj;
11351 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11352 double arg2 ;
11353 double arg3 ;
11354 int arg4 = (int) 0 ;
11355 int arg5 = (int) 0 ;
11356 PyObject * obj0 = 0 ;
11357 PyObject * obj1 = 0 ;
11358 PyObject * obj2 = 0 ;
11359 PyObject * obj3 = 0 ;
11360 PyObject * obj4 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11368 arg2 = (double) SWIG_AsDouble(obj1);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 arg3 = (double) SWIG_AsDouble(obj2);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 if (obj3) {
11373 arg4 = (int) SWIG_AsInt(obj3);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 if (obj4) {
11377 arg5 = (int) SWIG_AsInt(obj4);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11383
11384 wxPyEndAllowThreads(__tstate);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 Py_INCREF(Py_None); resultobj = Py_None;
11388 return resultobj;
11389 fail:
11390 return NULL;
11391 }
11392
11393
11394 static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11395 PyObject *resultobj;
11396 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11397 double arg2 ;
11398 double arg3 ;
11399 int arg4 = (int) 0 ;
11400 int arg5 = (int) 0 ;
11401 PyObject * obj0 = 0 ;
11402 PyObject * obj1 = 0 ;
11403 PyObject * obj2 = 0 ;
11404 PyObject * obj3 = 0 ;
11405 PyObject * obj4 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11413 arg2 = (double) SWIG_AsDouble(obj1);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 arg3 = (double) SWIG_AsDouble(obj2);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 if (obj3) {
11418 arg4 = (int) SWIG_AsInt(obj3);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 if (obj4) {
11422 arg5 = (int) SWIG_AsInt(obj4);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 Py_INCREF(Py_None); resultobj = Py_None;
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11442 bool arg2 ;
11443 double arg3 ;
11444 double arg4 ;
11445 int arg5 = (int) 0 ;
11446 int arg6 = (int) 0 ;
11447 PyObject * obj0 = 0 ;
11448 PyObject * obj1 = 0 ;
11449 PyObject * obj2 = 0 ;
11450 PyObject * obj3 = 0 ;
11451 PyObject * obj4 = 0 ;
11452 PyObject * obj5 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11460 arg2 = (bool) SWIG_AsBool(obj1);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 arg3 = (double) SWIG_AsDouble(obj2);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 arg4 = (double) SWIG_AsDouble(obj3);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 if (obj4) {
11467 arg5 = (int) SWIG_AsInt(obj4);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 if (obj5) {
11471 arg6 = (int) SWIG_AsInt(obj5);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 Py_INCREF(Py_None); resultobj = Py_None;
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11489 PyObject *resultobj;
11490 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11491 double arg2 ;
11492 double arg3 ;
11493 int arg4 = (int) 0 ;
11494 int arg5 = (int) 0 ;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 PyObject * obj2 = 0 ;
11498 PyObject * obj3 = 0 ;
11499 PyObject * obj4 = 0 ;
11500 char *kwnames[] = {
11501 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11502 };
11503
11504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11507 arg2 = (double) SWIG_AsDouble(obj1);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 arg3 = (double) SWIG_AsDouble(obj2);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 if (obj3) {
11512 arg4 = (int) SWIG_AsInt(obj3);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 if (obj4) {
11516 arg5 = (int) SWIG_AsInt(obj4);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 Py_INCREF(Py_None); resultobj = Py_None;
11527 return resultobj;
11528 fail:
11529 return NULL;
11530 }
11531
11532
11533 static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11534 PyObject *resultobj;
11535 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11536 double arg2 ;
11537 double arg3 ;
11538 int arg4 = (int) 0 ;
11539 int arg5 = (int) 0 ;
11540 PyObject * obj0 = 0 ;
11541 PyObject * obj1 = 0 ;
11542 PyObject * obj2 = 0 ;
11543 PyObject * obj3 = 0 ;
11544 PyObject * obj4 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11552 arg2 = (double) SWIG_AsDouble(obj1);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 arg3 = (double) SWIG_AsDouble(obj2);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 if (obj3) {
11557 arg4 = (int) SWIG_AsInt(obj3);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 if (obj4) {
11561 arg5 = (int) SWIG_AsInt(obj4);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11567
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 Py_INCREF(Py_None); resultobj = Py_None;
11572 return resultobj;
11573 fail:
11574 return NULL;
11575 }
11576
11577
11578 static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj;
11580 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11581 wxDC *arg2 = 0 ;
11582 double arg3 ;
11583 double arg4 ;
11584 double arg5 ;
11585 double arg6 ;
11586 PyObject * obj0 = 0 ;
11587 PyObject * obj1 = 0 ;
11588 PyObject * obj2 = 0 ;
11589 PyObject * obj3 = 0 ;
11590 PyObject * obj4 = 0 ;
11591 PyObject * obj5 = 0 ;
11592 char *kwnames[] = {
11593 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11594 };
11595
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11600 SWIG_POINTER_EXCEPTION | 0)) == -1)
11601 SWIG_fail;
11602 if (arg2 == NULL) {
11603 PyErr_SetString(PyExc_TypeError,"null reference");
11604 SWIG_fail;
11605 }
11606 arg3 = (double) SWIG_AsDouble(obj2);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 arg4 = (double) SWIG_AsDouble(obj3);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 arg5 = (double) SWIG_AsDouble(obj4);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 arg6 = (double) SWIG_AsDouble(obj5);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 {
11615 PyThreadState* __tstate = wxPyBeginAllowThreads();
11616 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11617
11618 wxPyEndAllowThreads(__tstate);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 }
11621 Py_INCREF(Py_None); resultobj = Py_None;
11622 return resultobj;
11623 fail:
11624 return NULL;
11625 }
11626
11627
11628 static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11629 PyObject *resultobj;
11630 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11631 wxDC *arg2 = 0 ;
11632 PyObject * obj0 = 0 ;
11633 PyObject * obj1 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self",(char *) "dc", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11642 SWIG_POINTER_EXCEPTION | 0)) == -1)
11643 SWIG_fail;
11644 if (arg2 == NULL) {
11645 PyErr_SetString(PyExc_TypeError,"null reference");
11646 SWIG_fail;
11647 }
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 (arg1)->base_OnDrawControlPoints(*arg2);
11651
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 Py_INCREF(Py_None); resultobj = Py_None;
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj;
11664 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11665 wxDC *arg2 = 0 ;
11666 PyObject * obj0 = 0 ;
11667 PyObject * obj1 = 0 ;
11668 char *kwnames[] = {
11669 (char *) "self",(char *) "dc", NULL
11670 };
11671
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11676 SWIG_POINTER_EXCEPTION | 0)) == -1)
11677 SWIG_fail;
11678 if (arg2 == NULL) {
11679 PyErr_SetString(PyExc_TypeError,"null reference");
11680 SWIG_fail;
11681 }
11682 {
11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
11684 (arg1)->base_OnEraseControlPoints(*arg2);
11685
11686 wxPyEndAllowThreads(__tstate);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 Py_INCREF(Py_None); resultobj = Py_None;
11690 return resultobj;
11691 fail:
11692 return NULL;
11693 }
11694
11695
11696 static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11697 PyObject *resultobj;
11698 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11699 wxDC *arg2 = 0 ;
11700 bool arg3 = (bool) True ;
11701 PyObject * obj0 = 0 ;
11702 PyObject * obj1 = 0 ;
11703 PyObject * obj2 = 0 ;
11704 char *kwnames[] = {
11705 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11711 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11712 SWIG_POINTER_EXCEPTION | 0)) == -1)
11713 SWIG_fail;
11714 if (arg2 == NULL) {
11715 PyErr_SetString(PyExc_TypeError,"null reference");
11716 SWIG_fail;
11717 }
11718 if (obj2) {
11719 arg3 = (bool) SWIG_AsBool(obj2);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 (arg1)->base_OnMoveLink(*arg2,arg3);
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
11729 Py_INCREF(Py_None); resultobj = Py_None;
11730 return resultobj;
11731 fail:
11732 return NULL;
11733 }
11734
11735
11736 static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject *resultobj;
11738 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11739 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11740 bool arg3 ;
11741 double arg4 ;
11742 double arg5 ;
11743 int arg6 = (int) 0 ;
11744 int arg7 = (int) 0 ;
11745 PyObject * obj0 = 0 ;
11746 PyObject * obj1 = 0 ;
11747 PyObject * obj2 = 0 ;
11748 PyObject * obj3 = 0 ;
11749 PyObject * obj4 = 0 ;
11750 PyObject * obj5 = 0 ;
11751 PyObject * obj6 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11761 arg3 = (bool) SWIG_AsBool(obj2);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 arg4 = (double) SWIG_AsDouble(obj3);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 arg5 = (double) SWIG_AsDouble(obj4);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 if (obj5) {
11768 arg6 = (int) SWIG_AsInt(obj5);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 if (obj6) {
11772 arg7 = (int) SWIG_AsInt(obj6);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 Py_INCREF(Py_None); resultobj = Py_None;
11783 return resultobj;
11784 fail:
11785 return NULL;
11786 }
11787
11788
11789 static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11792 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11793 double arg3 ;
11794 double arg4 ;
11795 int arg5 = (int) 0 ;
11796 int arg6 = (int) 0 ;
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
11799 PyObject * obj2 = 0 ;
11800 PyObject * obj3 = 0 ;
11801 PyObject * obj4 = 0 ;
11802 PyObject * obj5 = 0 ;
11803 char *kwnames[] = {
11804 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11805 };
11806
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11812 arg3 = (double) SWIG_AsDouble(obj2);
11813 if (PyErr_Occurred()) SWIG_fail;
11814 arg4 = (double) SWIG_AsDouble(obj3);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 if (obj4) {
11817 arg5 = (int) SWIG_AsInt(obj4);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 if (obj5) {
11821 arg6 = (int) SWIG_AsInt(obj5);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 Py_INCREF(Py_None); resultobj = Py_None;
11832 return resultobj;
11833 fail:
11834 return NULL;
11835 }
11836
11837
11838 static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11839 PyObject *resultobj;
11840 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11841 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11842 double arg3 ;
11843 double arg4 ;
11844 int arg5 = (int) 0 ;
11845 int arg6 = (int) 0 ;
11846 PyObject * obj0 = 0 ;
11847 PyObject * obj1 = 0 ;
11848 PyObject * obj2 = 0 ;
11849 PyObject * obj3 = 0 ;
11850 PyObject * obj4 = 0 ;
11851 PyObject * obj5 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11861 arg3 = (double) SWIG_AsDouble(obj2);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 arg4 = (double) SWIG_AsDouble(obj3);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 if (obj4) {
11866 arg5 = (int) SWIG_AsInt(obj4);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 if (obj5) {
11870 arg6 = (int) SWIG_AsInt(obj5);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 {
11874 PyThreadState* __tstate = wxPyBeginAllowThreads();
11875 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11876
11877 wxPyEndAllowThreads(__tstate);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 Py_INCREF(Py_None); resultobj = Py_None;
11881 return resultobj;
11882 fail:
11883 return NULL;
11884 }
11885
11886
11887 static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11888 PyObject *resultobj;
11889 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11890 double arg2 ;
11891 double arg3 ;
11892 PyObject * obj0 = 0 ;
11893 PyObject * obj1 = 0 ;
11894 PyObject * obj2 = 0 ;
11895 char *kwnames[] = {
11896 (char *) "self",(char *) "w",(char *) "h", NULL
11897 };
11898
11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11902 arg2 = (double) SWIG_AsDouble(obj1);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 arg3 = (double) SWIG_AsDouble(obj2);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 {
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
11908 (arg1)->base_OnBeginSize(arg2,arg3);
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 Py_INCREF(Py_None); resultobj = Py_None;
11914 return resultobj;
11915 fail:
11916 return NULL;
11917 }
11918
11919
11920 static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11921 PyObject *resultobj;
11922 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11923 double arg2 ;
11924 double arg3 ;
11925 PyObject * obj0 = 0 ;
11926 PyObject * obj1 = 0 ;
11927 PyObject * obj2 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self",(char *) "w",(char *) "h", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11935 arg2 = (double) SWIG_AsDouble(obj1);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 arg3 = (double) SWIG_AsDouble(obj2);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 (arg1)->base_OnEndSize(arg2,arg3);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 Py_INCREF(Py_None); resultobj = Py_None;
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
11954 PyObject *obj;
11955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11956 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
11957 Py_INCREF(obj);
11958 return Py_BuildValue((char *)"");
11959 }
11960 static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
11961 PyObject *resultobj;
11962 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
11963 wxPyShape *arg2 = (wxPyShape *) NULL ;
11964 double arg3 = (double) 0.0 ;
11965 double arg4 = (double) 0.0 ;
11966 double arg5 = (double) 0.0 ;
11967 int arg6 = (int) 0 ;
11968 wxPyControlPoint *result;
11969 PyObject * obj0 = 0 ;
11970 PyObject * obj1 = 0 ;
11971 PyObject * obj2 = 0 ;
11972 PyObject * obj3 = 0 ;
11973 PyObject * obj4 = 0 ;
11974 PyObject * obj5 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11980 if (obj0) {
11981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
11982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11983 }
11984 if (obj1) {
11985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
11986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11987 }
11988 if (obj2) {
11989 arg3 = (double) SWIG_AsDouble(obj2);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 if (obj3) {
11993 arg4 = (double) SWIG_AsDouble(obj3);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 if (obj4) {
11997 arg5 = (double) SWIG_AsDouble(obj4);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
12000 if (obj5) {
12001 arg6 = (int) SWIG_AsInt(obj5);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 {
12005 PyThreadState* __tstate = wxPyBeginAllowThreads();
12006 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
12007
12008 wxPyEndAllowThreads(__tstate);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 }
12011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControlPoint, 1);
12012 return resultobj;
12013 fail:
12014 return NULL;
12015 }
12016
12017
12018 static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12019 PyObject *resultobj;
12020 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12021 PyObject *arg2 = (PyObject *) 0 ;
12022 PyObject *arg3 = (PyObject *) 0 ;
12023 PyObject * obj0 = 0 ;
12024 PyObject * obj1 = 0 ;
12025 PyObject * obj2 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self",(char *) "self",(char *) "_class", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12033 arg2 = obj1;
12034 arg3 = obj2;
12035 {
12036 PyThreadState* __tstate = wxPyBeginAllowThreads();
12037 (arg1)->_setCallbackInfo(arg2,arg3);
12038
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 Py_INCREF(Py_None); resultobj = Py_None;
12043 return resultobj;
12044 fail:
12045 return NULL;
12046 }
12047
12048
12049 static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
12050 PyObject *resultobj;
12051 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12052 double arg2 ;
12053 PyObject * obj0 = 0 ;
12054 PyObject * obj1 = 0 ;
12055 char *kwnames[] = {
12056 (char *) "self",(char *) "radius", NULL
12057 };
12058
12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
12060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12062 arg2 = (double) SWIG_AsDouble(obj1);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 {
12065 PyThreadState* __tstate = wxPyBeginAllowThreads();
12066 (arg1)->SetCornerRadius(arg2);
12067
12068 wxPyEndAllowThreads(__tstate);
12069 if (PyErr_Occurred()) SWIG_fail;
12070 }
12071 Py_INCREF(Py_None); resultobj = Py_None;
12072 return resultobj;
12073 fail:
12074 return NULL;
12075 }
12076
12077
12078 static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12079 PyObject *resultobj;
12080 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12081 PyObject * obj0 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
12087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->base_OnDelete();
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 Py_INCREF(Py_None); resultobj = Py_None;
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj;
12105 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12106 wxDC *arg2 = 0 ;
12107 PyObject * obj0 = 0 ;
12108 PyObject * obj1 = 0 ;
12109 char *kwnames[] = {
12110 (char *) "self",(char *) "dc", NULL
12111 };
12112
12113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12117 SWIG_POINTER_EXCEPTION | 0)) == -1)
12118 SWIG_fail;
12119 if (arg2 == NULL) {
12120 PyErr_SetString(PyExc_TypeError,"null reference");
12121 SWIG_fail;
12122 }
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 (arg1)->base_OnDraw(*arg2);
12126
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 Py_INCREF(Py_None); resultobj = Py_None;
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj;
12139 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12140 wxDC *arg2 = 0 ;
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self",(char *) "dc", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12151 SWIG_POINTER_EXCEPTION | 0)) == -1)
12152 SWIG_fail;
12153 if (arg2 == NULL) {
12154 PyErr_SetString(PyExc_TypeError,"null reference");
12155 SWIG_fail;
12156 }
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 (arg1)->base_OnDrawContents(*arg2);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 Py_INCREF(Py_None); resultobj = Py_None;
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj;
12173 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12174 wxDC *arg2 = 0 ;
12175 bool arg3 = (bool) FALSE ;
12176 PyObject * obj0 = 0 ;
12177 PyObject * obj1 = 0 ;
12178 PyObject * obj2 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "dc",(char *) "erase", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12187 SWIG_POINTER_EXCEPTION | 0)) == -1)
12188 SWIG_fail;
12189 if (arg2 == NULL) {
12190 PyErr_SetString(PyExc_TypeError,"null reference");
12191 SWIG_fail;
12192 }
12193 if (obj2) {
12194 arg3 = (bool) SWIG_AsBool(obj2);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 (arg1)->base_OnDrawBranches(*arg2,arg3);
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 Py_INCREF(Py_None); resultobj = Py_None;
12205 return resultobj;
12206 fail:
12207 return NULL;
12208 }
12209
12210
12211 static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
12212 PyObject *resultobj;
12213 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12214 wxDC *arg2 = 0 ;
12215 PyObject * obj0 = 0 ;
12216 PyObject * obj1 = 0 ;
12217 char *kwnames[] = {
12218 (char *) "self",(char *) "dc", NULL
12219 };
12220
12221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
12222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12225 SWIG_POINTER_EXCEPTION | 0)) == -1)
12226 SWIG_fail;
12227 if (arg2 == NULL) {
12228 PyErr_SetString(PyExc_TypeError,"null reference");
12229 SWIG_fail;
12230 }
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
12233 (arg1)->base_OnMoveLinks(*arg2);
12234
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
12238 Py_INCREF(Py_None); resultobj = Py_None;
12239 return resultobj;
12240 fail:
12241 return NULL;
12242 }
12243
12244
12245 static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj;
12247 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12248 wxDC *arg2 = 0 ;
12249 PyObject * obj0 = 0 ;
12250 PyObject * obj1 = 0 ;
12251 char *kwnames[] = {
12252 (char *) "self",(char *) "dc", NULL
12253 };
12254
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12259 SWIG_POINTER_EXCEPTION | 0)) == -1)
12260 SWIG_fail;
12261 if (arg2 == NULL) {
12262 PyErr_SetString(PyExc_TypeError,"null reference");
12263 SWIG_fail;
12264 }
12265 {
12266 PyThreadState* __tstate = wxPyBeginAllowThreads();
12267 (arg1)->base_OnErase(*arg2);
12268
12269 wxPyEndAllowThreads(__tstate);
12270 if (PyErr_Occurred()) SWIG_fail;
12271 }
12272 Py_INCREF(Py_None); resultobj = Py_None;
12273 return resultobj;
12274 fail:
12275 return NULL;
12276 }
12277
12278
12279 static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12280 PyObject *resultobj;
12281 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12282 wxDC *arg2 = 0 ;
12283 PyObject * obj0 = 0 ;
12284 PyObject * obj1 = 0 ;
12285 char *kwnames[] = {
12286 (char *) "self",(char *) "dc", NULL
12287 };
12288
12289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
12290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12293 SWIG_POINTER_EXCEPTION | 0)) == -1)
12294 SWIG_fail;
12295 if (arg2 == NULL) {
12296 PyErr_SetString(PyExc_TypeError,"null reference");
12297 SWIG_fail;
12298 }
12299 {
12300 PyThreadState* __tstate = wxPyBeginAllowThreads();
12301 (arg1)->base_OnEraseContents(*arg2);
12302
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 Py_INCREF(Py_None); resultobj = Py_None;
12307 return resultobj;
12308 fail:
12309 return NULL;
12310 }
12311
12312
12313 static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12316 wxDC *arg2 = 0 ;
12317 PyObject * obj0 = 0 ;
12318 PyObject * obj1 = 0 ;
12319 char *kwnames[] = {
12320 (char *) "self",(char *) "dc", NULL
12321 };
12322
12323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
12324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12327 SWIG_POINTER_EXCEPTION | 0)) == -1)
12328 SWIG_fail;
12329 if (arg2 == NULL) {
12330 PyErr_SetString(PyExc_TypeError,"null reference");
12331 SWIG_fail;
12332 }
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 (arg1)->base_OnHighlight(*arg2);
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 Py_INCREF(Py_None); resultobj = Py_None;
12341 return resultobj;
12342 fail:
12343 return NULL;
12344 }
12345
12346
12347 static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12348 PyObject *resultobj;
12349 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12350 double arg2 ;
12351 double arg3 ;
12352 int arg4 = (int) 0 ;
12353 int arg5 = (int) 0 ;
12354 PyObject * obj0 = 0 ;
12355 PyObject * obj1 = 0 ;
12356 PyObject * obj2 = 0 ;
12357 PyObject * obj3 = 0 ;
12358 PyObject * obj4 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12366 arg2 = (double) SWIG_AsDouble(obj1);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 arg3 = (double) SWIG_AsDouble(obj2);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 if (obj3) {
12371 arg4 = (int) SWIG_AsInt(obj3);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 if (obj4) {
12375 arg5 = (int) SWIG_AsInt(obj4);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 Py_INCREF(Py_None); resultobj = Py_None;
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12395 double arg2 ;
12396 double arg3 ;
12397 int arg4 = (int) 0 ;
12398 int arg5 = (int) 0 ;
12399 PyObject * obj0 = 0 ;
12400 PyObject * obj1 = 0 ;
12401 PyObject * obj2 = 0 ;
12402 PyObject * obj3 = 0 ;
12403 PyObject * obj4 = 0 ;
12404 char *kwnames[] = {
12405 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12406 };
12407
12408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12411 arg2 = (double) SWIG_AsDouble(obj1);
12412 if (PyErr_Occurred()) SWIG_fail;
12413 arg3 = (double) SWIG_AsDouble(obj2);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 if (obj3) {
12416 arg4 = (int) SWIG_AsInt(obj3);
12417 if (PyErr_Occurred()) SWIG_fail;
12418 }
12419 if (obj4) {
12420 arg5 = (int) SWIG_AsInt(obj4);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 Py_INCREF(Py_None); resultobj = Py_None;
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj;
12439 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12440 double arg2 ;
12441 double arg3 ;
12442 int arg4 = (int) 0 ;
12443 int arg5 = (int) 0 ;
12444 PyObject * obj0 = 0 ;
12445 PyObject * obj1 = 0 ;
12446 PyObject * obj2 = 0 ;
12447 PyObject * obj3 = 0 ;
12448 PyObject * obj4 = 0 ;
12449 char *kwnames[] = {
12450 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12451 };
12452
12453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12456 arg2 = (double) SWIG_AsDouble(obj1);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 arg3 = (double) SWIG_AsDouble(obj2);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 if (obj3) {
12461 arg4 = (int) SWIG_AsInt(obj3);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 if (obj4) {
12465 arg5 = (int) SWIG_AsInt(obj4);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 Py_INCREF(Py_None); resultobj = Py_None;
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj;
12484 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12485 double arg2 ;
12486 double arg3 ;
12487 PyObject * obj0 = 0 ;
12488 PyObject * obj1 = 0 ;
12489 PyObject * obj2 = 0 ;
12490 char *kwnames[] = {
12491 (char *) "self",(char *) "x",(char *) "y", NULL
12492 };
12493
12494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12497 arg2 = (double) SWIG_AsDouble(obj1);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 arg3 = (double) SWIG_AsDouble(obj2);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 (arg1)->base_OnSize(arg2,arg3);
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 Py_INCREF(Py_None); resultobj = Py_None;
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12518 wxDC *arg2 = 0 ;
12519 double arg3 ;
12520 double arg4 ;
12521 double arg5 ;
12522 double arg6 ;
12523 bool arg7 = (bool) True ;
12524 bool result;
12525 PyObject * obj0 = 0 ;
12526 PyObject * obj1 = 0 ;
12527 PyObject * obj2 = 0 ;
12528 PyObject * obj3 = 0 ;
12529 PyObject * obj4 = 0 ;
12530 PyObject * obj5 = 0 ;
12531 PyObject * obj6 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12534 };
12535
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12540 SWIG_POINTER_EXCEPTION | 0)) == -1)
12541 SWIG_fail;
12542 if (arg2 == NULL) {
12543 PyErr_SetString(PyExc_TypeError,"null reference");
12544 SWIG_fail;
12545 }
12546 arg3 = (double) SWIG_AsDouble(obj2);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 arg4 = (double) SWIG_AsDouble(obj3);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 arg5 = (double) SWIG_AsDouble(obj4);
12551 if (PyErr_Occurred()) SWIG_fail;
12552 arg6 = (double) SWIG_AsDouble(obj5);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 if (obj6) {
12555 arg7 = (bool) SWIG_AsBool(obj6);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 {
12566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12567 }
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj;
12576 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12577 wxDC *arg2 = 0 ;
12578 double arg3 ;
12579 double arg4 ;
12580 double arg5 ;
12581 double arg6 ;
12582 bool arg7 = (bool) True ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 PyObject * obj2 = 0 ;
12586 PyObject * obj3 = 0 ;
12587 PyObject * obj4 = 0 ;
12588 PyObject * obj5 = 0 ;
12589 PyObject * obj6 = 0 ;
12590 char *kwnames[] = {
12591 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12598 SWIG_POINTER_EXCEPTION | 0)) == -1)
12599 SWIG_fail;
12600 if (arg2 == NULL) {
12601 PyErr_SetString(PyExc_TypeError,"null reference");
12602 SWIG_fail;
12603 }
12604 arg3 = (double) SWIG_AsDouble(obj2);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 arg4 = (double) SWIG_AsDouble(obj3);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 arg5 = (double) SWIG_AsDouble(obj4);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 arg6 = (double) SWIG_AsDouble(obj5);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 if (obj6) {
12613 arg7 = (bool) SWIG_AsBool(obj6);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
12623 Py_INCREF(Py_None); resultobj = Py_None;
12624 return resultobj;
12625 fail:
12626 return NULL;
12627 }
12628
12629
12630 static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12631 PyObject *resultobj;
12632 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12633 bool arg2 ;
12634 double arg3 ;
12635 double arg4 ;
12636 int arg5 = (int) 0 ;
12637 int arg6 = (int) 0 ;
12638 PyObject * obj0 = 0 ;
12639 PyObject * obj1 = 0 ;
12640 PyObject * obj2 = 0 ;
12641 PyObject * obj3 = 0 ;
12642 PyObject * obj4 = 0 ;
12643 PyObject * obj5 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12651 arg2 = (bool) SWIG_AsBool(obj1);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 arg3 = (double) SWIG_AsDouble(obj2);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 arg4 = (double) SWIG_AsDouble(obj3);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 if (obj4) {
12658 arg5 = (int) SWIG_AsInt(obj4);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 if (obj5) {
12662 arg6 = (int) SWIG_AsInt(obj5);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12682 double arg2 ;
12683 double arg3 ;
12684 int arg4 = (int) 0 ;
12685 int arg5 = (int) 0 ;
12686 PyObject * obj0 = 0 ;
12687 PyObject * obj1 = 0 ;
12688 PyObject * obj2 = 0 ;
12689 PyObject * obj3 = 0 ;
12690 PyObject * obj4 = 0 ;
12691 char *kwnames[] = {
12692 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12693 };
12694
12695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12698 arg2 = (double) SWIG_AsDouble(obj1);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 arg3 = (double) SWIG_AsDouble(obj2);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 if (obj3) {
12703 arg4 = (int) SWIG_AsInt(obj3);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 }
12706 if (obj4) {
12707 arg5 = (int) SWIG_AsInt(obj4);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 Py_INCREF(Py_None); resultobj = Py_None;
12718 return resultobj;
12719 fail:
12720 return NULL;
12721 }
12722
12723
12724 static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12725 PyObject *resultobj;
12726 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12727 double arg2 ;
12728 double arg3 ;
12729 int arg4 = (int) 0 ;
12730 int arg5 = (int) 0 ;
12731 PyObject * obj0 = 0 ;
12732 PyObject * obj1 = 0 ;
12733 PyObject * obj2 = 0 ;
12734 PyObject * obj3 = 0 ;
12735 PyObject * obj4 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12743 arg2 = (double) SWIG_AsDouble(obj1);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 arg3 = (double) SWIG_AsDouble(obj2);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 if (obj3) {
12748 arg4 = (int) SWIG_AsInt(obj3);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 if (obj4) {
12752 arg5 = (int) SWIG_AsInt(obj4);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 Py_INCREF(Py_None); resultobj = Py_None;
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12772 bool arg2 ;
12773 double arg3 ;
12774 double arg4 ;
12775 int arg5 = (int) 0 ;
12776 int arg6 = (int) 0 ;
12777 PyObject * obj0 = 0 ;
12778 PyObject * obj1 = 0 ;
12779 PyObject * obj2 = 0 ;
12780 PyObject * obj3 = 0 ;
12781 PyObject * obj4 = 0 ;
12782 PyObject * obj5 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12790 arg2 = (bool) SWIG_AsBool(obj1);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 arg3 = (double) SWIG_AsDouble(obj2);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 arg4 = (double) SWIG_AsDouble(obj3);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 if (obj4) {
12797 arg5 = (int) SWIG_AsInt(obj4);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 if (obj5) {
12801 arg6 = (int) SWIG_AsInt(obj5);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 Py_INCREF(Py_None); resultobj = Py_None;
12812 return resultobj;
12813 fail:
12814 return NULL;
12815 }
12816
12817
12818 static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12821 double arg2 ;
12822 double arg3 ;
12823 int arg4 = (int) 0 ;
12824 int arg5 = (int) 0 ;
12825 PyObject * obj0 = 0 ;
12826 PyObject * obj1 = 0 ;
12827 PyObject * obj2 = 0 ;
12828 PyObject * obj3 = 0 ;
12829 PyObject * obj4 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12837 arg2 = (double) SWIG_AsDouble(obj1);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 arg3 = (double) SWIG_AsDouble(obj2);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 if (obj3) {
12842 arg4 = (int) SWIG_AsInt(obj3);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 if (obj4) {
12846 arg5 = (int) SWIG_AsInt(obj4);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 Py_INCREF(Py_None); resultobj = Py_None;
12857 return resultobj;
12858 fail:
12859 return NULL;
12860 }
12861
12862
12863 static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12864 PyObject *resultobj;
12865 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12866 double arg2 ;
12867 double arg3 ;
12868 int arg4 = (int) 0 ;
12869 int arg5 = (int) 0 ;
12870 PyObject * obj0 = 0 ;
12871 PyObject * obj1 = 0 ;
12872 PyObject * obj2 = 0 ;
12873 PyObject * obj3 = 0 ;
12874 PyObject * obj4 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12882 arg2 = (double) SWIG_AsDouble(obj1);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 arg3 = (double) SWIG_AsDouble(obj2);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 if (obj3) {
12887 arg4 = (int) SWIG_AsInt(obj3);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 if (obj4) {
12891 arg5 = (int) SWIG_AsInt(obj4);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
12897
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 Py_INCREF(Py_None); resultobj = Py_None;
12902 return resultobj;
12903 fail:
12904 return NULL;
12905 }
12906
12907
12908 static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12909 PyObject *resultobj;
12910 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12911 wxDC *arg2 = 0 ;
12912 double arg3 ;
12913 double arg4 ;
12914 double arg5 ;
12915 double arg6 ;
12916 PyObject * obj0 = 0 ;
12917 PyObject * obj1 = 0 ;
12918 PyObject * obj2 = 0 ;
12919 PyObject * obj3 = 0 ;
12920 PyObject * obj4 = 0 ;
12921 PyObject * obj5 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12930 SWIG_POINTER_EXCEPTION | 0)) == -1)
12931 SWIG_fail;
12932 if (arg2 == NULL) {
12933 PyErr_SetString(PyExc_TypeError,"null reference");
12934 SWIG_fail;
12935 }
12936 arg3 = (double) SWIG_AsDouble(obj2);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 arg4 = (double) SWIG_AsDouble(obj3);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 arg5 = (double) SWIG_AsDouble(obj4);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 arg6 = (double) SWIG_AsDouble(obj5);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 Py_INCREF(Py_None); resultobj = Py_None;
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12961 wxDC *arg2 = 0 ;
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self",(char *) "dc", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
12969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12972 SWIG_POINTER_EXCEPTION | 0)) == -1)
12973 SWIG_fail;
12974 if (arg2 == NULL) {
12975 PyErr_SetString(PyExc_TypeError,"null reference");
12976 SWIG_fail;
12977 }
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 (arg1)->base_OnDrawControlPoints(*arg2);
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 Py_INCREF(Py_None); resultobj = Py_None;
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12995 wxDC *arg2 = 0 ;
12996 PyObject * obj0 = 0 ;
12997 PyObject * obj1 = 0 ;
12998 char *kwnames[] = {
12999 (char *) "self",(char *) "dc", NULL
13000 };
13001
13002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13006 SWIG_POINTER_EXCEPTION | 0)) == -1)
13007 SWIG_fail;
13008 if (arg2 == NULL) {
13009 PyErr_SetString(PyExc_TypeError,"null reference");
13010 SWIG_fail;
13011 }
13012 {
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 (arg1)->base_OnEraseControlPoints(*arg2);
13015
13016 wxPyEndAllowThreads(__tstate);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
13019 Py_INCREF(Py_None); resultobj = Py_None;
13020 return resultobj;
13021 fail:
13022 return NULL;
13023 }
13024
13025
13026 static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj;
13028 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13029 wxDC *arg2 = 0 ;
13030 bool arg3 = (bool) True ;
13031 PyObject * obj0 = 0 ;
13032 PyObject * obj1 = 0 ;
13033 PyObject * obj2 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13042 SWIG_POINTER_EXCEPTION | 0)) == -1)
13043 SWIG_fail;
13044 if (arg2 == NULL) {
13045 PyErr_SetString(PyExc_TypeError,"null reference");
13046 SWIG_fail;
13047 }
13048 if (obj2) {
13049 arg3 = (bool) SWIG_AsBool(obj2);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 (arg1)->base_OnMoveLink(*arg2,arg3);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 Py_INCREF(Py_None); resultobj = Py_None;
13060 return resultobj;
13061 fail:
13062 return NULL;
13063 }
13064
13065
13066 static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13067 PyObject *resultobj;
13068 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13069 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13070 bool arg3 ;
13071 double arg4 ;
13072 double arg5 ;
13073 int arg6 = (int) 0 ;
13074 int arg7 = (int) 0 ;
13075 PyObject * obj0 = 0 ;
13076 PyObject * obj1 = 0 ;
13077 PyObject * obj2 = 0 ;
13078 PyObject * obj3 = 0 ;
13079 PyObject * obj4 = 0 ;
13080 PyObject * obj5 = 0 ;
13081 PyObject * obj6 = 0 ;
13082 char *kwnames[] = {
13083 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13084 };
13085
13086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13091 arg3 = (bool) SWIG_AsBool(obj2);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 arg4 = (double) SWIG_AsDouble(obj3);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 arg5 = (double) SWIG_AsDouble(obj4);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 if (obj5) {
13098 arg6 = (int) SWIG_AsInt(obj5);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 if (obj6) {
13102 arg7 = (int) SWIG_AsInt(obj6);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13108
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 Py_INCREF(Py_None); resultobj = Py_None;
13113 return resultobj;
13114 fail:
13115 return NULL;
13116 }
13117
13118
13119 static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj;
13121 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13122 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13123 double arg3 ;
13124 double arg4 ;
13125 int arg5 = (int) 0 ;
13126 int arg6 = (int) 0 ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 PyObject * obj2 = 0 ;
13130 PyObject * obj3 = 0 ;
13131 PyObject * obj4 = 0 ;
13132 PyObject * obj5 = 0 ;
13133 char *kwnames[] = {
13134 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13135 };
13136
13137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13140 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13142 arg3 = (double) SWIG_AsDouble(obj2);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 arg4 = (double) SWIG_AsDouble(obj3);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 if (obj4) {
13147 arg5 = (int) SWIG_AsInt(obj4);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 if (obj5) {
13151 arg6 = (int) SWIG_AsInt(obj5);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13157
13158 wxPyEndAllowThreads(__tstate);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 }
13161 Py_INCREF(Py_None); resultobj = Py_None;
13162 return resultobj;
13163 fail:
13164 return NULL;
13165 }
13166
13167
13168 static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13169 PyObject *resultobj;
13170 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13171 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13172 double arg3 ;
13173 double arg4 ;
13174 int arg5 = (int) 0 ;
13175 int arg6 = (int) 0 ;
13176 PyObject * obj0 = 0 ;
13177 PyObject * obj1 = 0 ;
13178 PyObject * obj2 = 0 ;
13179 PyObject * obj3 = 0 ;
13180 PyObject * obj4 = 0 ;
13181 PyObject * obj5 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13191 arg3 = (double) SWIG_AsDouble(obj2);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 arg4 = (double) SWIG_AsDouble(obj3);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 if (obj4) {
13196 arg5 = (int) SWIG_AsInt(obj4);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 }
13199 if (obj5) {
13200 arg6 = (int) SWIG_AsInt(obj5);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 Py_INCREF(Py_None); resultobj = Py_None;
13211 return resultobj;
13212 fail:
13213 return NULL;
13214 }
13215
13216
13217 static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13220 double arg2 ;
13221 double arg3 ;
13222 PyObject * obj0 = 0 ;
13223 PyObject * obj1 = 0 ;
13224 PyObject * obj2 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "self",(char *) "w",(char *) "h", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13232 arg2 = (double) SWIG_AsDouble(obj1);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 arg3 = (double) SWIG_AsDouble(obj2);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 (arg1)->base_OnBeginSize(arg2,arg3);
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 Py_INCREF(Py_None); resultobj = Py_None;
13244 return resultobj;
13245 fail:
13246 return NULL;
13247 }
13248
13249
13250 static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj;
13252 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13253 double arg2 ;
13254 double arg3 ;
13255 PyObject * obj0 = 0 ;
13256 PyObject * obj1 = 0 ;
13257 PyObject * obj2 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "self",(char *) "w",(char *) "h", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13265 arg2 = (double) SWIG_AsDouble(obj1);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 arg3 = (double) SWIG_AsDouble(obj2);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->base_OnEndSize(arg2,arg3);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 Py_INCREF(Py_None); resultobj = Py_None;
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
13284 PyObject *obj;
13285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13286 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13287 Py_INCREF(obj);
13288 return Py_BuildValue((char *)"");
13289 }
13290 static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13291 PyObject *resultobj;
13292 wxPyBitmapShape *result;
13293 char *kwnames[] = {
13294 NULL
13295 };
13296
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapShape, 1);
13306 return resultobj;
13307 fail:
13308 return NULL;
13309 }
13310
13311
13312 static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj;
13314 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13315 PyObject *arg2 = (PyObject *) 0 ;
13316 PyObject *arg3 = (PyObject *) 0 ;
13317 PyObject * obj0 = 0 ;
13318 PyObject * obj1 = 0 ;
13319 PyObject * obj2 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "self",(char *) "self",(char *) "_class", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13327 arg2 = obj1;
13328 arg3 = obj2;
13329 {
13330 PyThreadState* __tstate = wxPyBeginAllowThreads();
13331 (arg1)->_setCallbackInfo(arg2,arg3);
13332
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 Py_INCREF(Py_None); resultobj = Py_None;
13337 return resultobj;
13338 fail:
13339 return NULL;
13340 }
13341
13342
13343 static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13346 wxBitmap *result;
13347 PyObject * obj0 = 0 ;
13348 char *kwnames[] = {
13349 (char *) "self", NULL
13350 };
13351
13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
13353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13355 {
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
13357 {
13358 wxBitmap &_result_ref = (arg1)->GetBitmap();
13359 result = (wxBitmap *) &_result_ref;
13360 }
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 {
13366 wxBitmap* resultptr = new wxBitmap(*result);
13367 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13368 }
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13378 wxString result;
13379 PyObject * obj0 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
13385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 result = (arg1)->GetFilename();
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 {
13395 #if wxUSE_UNICODE
13396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13397 #else
13398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13399 #endif
13400 }
13401 return resultobj;
13402 fail:
13403 return NULL;
13404 }
13405
13406
13407 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13408 PyObject *resultobj;
13409 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13410 wxBitmap *arg2 = 0 ;
13411 PyObject * obj0 = 0 ;
13412 PyObject * obj1 = 0 ;
13413 char *kwnames[] = {
13414 (char *) "self",(char *) "bitmap", NULL
13415 };
13416
13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
13418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
13421 SWIG_POINTER_EXCEPTION | 0)) == -1)
13422 SWIG_fail;
13423 if (arg2 == NULL) {
13424 PyErr_SetString(PyExc_TypeError,"null reference");
13425 SWIG_fail;
13426 }
13427 {
13428 PyThreadState* __tstate = wxPyBeginAllowThreads();
13429 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13430
13431 wxPyEndAllowThreads(__tstate);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 }
13434 Py_INCREF(Py_None); resultobj = Py_None;
13435 return resultobj;
13436 fail:
13437 return NULL;
13438 }
13439
13440
13441 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13442 PyObject *resultobj;
13443 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13444 wxString *arg2 = 0 ;
13445 bool temp2 = False ;
13446 PyObject * obj0 = 0 ;
13447 PyObject * obj1 = 0 ;
13448 char *kwnames[] = {
13449 (char *) "self",(char *) "filename", NULL
13450 };
13451
13452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
13453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13455 {
13456 arg2 = wxString_in_helper(obj1);
13457 if (arg2 == NULL) SWIG_fail;
13458 temp2 = True;
13459 }
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 (arg1)->SetFilename((wxString const &)*arg2);
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 Py_INCREF(Py_None); resultobj = Py_None;
13468 {
13469 if (temp2)
13470 delete arg2;
13471 }
13472 return resultobj;
13473 fail:
13474 {
13475 if (temp2)
13476 delete arg2;
13477 }
13478 return NULL;
13479 }
13480
13481
13482 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13485 PyObject * obj0 = 0 ;
13486 char *kwnames[] = {
13487 (char *) "self", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 (arg1)->base_OnDelete();
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 Py_INCREF(Py_None); resultobj = Py_None;
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13510 wxDC *arg2 = 0 ;
13511 PyObject * obj0 = 0 ;
13512 PyObject * obj1 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self",(char *) "dc", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13520 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13521 SWIG_POINTER_EXCEPTION | 0)) == -1)
13522 SWIG_fail;
13523 if (arg2 == NULL) {
13524 PyErr_SetString(PyExc_TypeError,"null reference");
13525 SWIG_fail;
13526 }
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 (arg1)->base_OnDraw(*arg2);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 Py_INCREF(Py_None); resultobj = Py_None;
13535 return resultobj;
13536 fail:
13537 return NULL;
13538 }
13539
13540
13541 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13542 PyObject *resultobj;
13543 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13544 wxDC *arg2 = 0 ;
13545 PyObject * obj0 = 0 ;
13546 PyObject * obj1 = 0 ;
13547 char *kwnames[] = {
13548 (char *) "self",(char *) "dc", NULL
13549 };
13550
13551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13555 SWIG_POINTER_EXCEPTION | 0)) == -1)
13556 SWIG_fail;
13557 if (arg2 == NULL) {
13558 PyErr_SetString(PyExc_TypeError,"null reference");
13559 SWIG_fail;
13560 }
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 (arg1)->base_OnDrawContents(*arg2);
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 Py_INCREF(Py_None); resultobj = Py_None;
13569 return resultobj;
13570 fail:
13571 return NULL;
13572 }
13573
13574
13575 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj;
13577 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13578 wxDC *arg2 = 0 ;
13579 bool arg3 = (bool) FALSE ;
13580 PyObject * obj0 = 0 ;
13581 PyObject * obj1 = 0 ;
13582 PyObject * obj2 = 0 ;
13583 char *kwnames[] = {
13584 (char *) "self",(char *) "dc",(char *) "erase", NULL
13585 };
13586
13587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13591 SWIG_POINTER_EXCEPTION | 0)) == -1)
13592 SWIG_fail;
13593 if (arg2 == NULL) {
13594 PyErr_SetString(PyExc_TypeError,"null reference");
13595 SWIG_fail;
13596 }
13597 if (obj2) {
13598 arg3 = (bool) SWIG_AsBool(obj2);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 (arg1)->base_OnDrawBranches(*arg2,arg3);
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 Py_INCREF(Py_None); resultobj = Py_None;
13609 return resultobj;
13610 fail:
13611 return NULL;
13612 }
13613
13614
13615 static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13616 PyObject *resultobj;
13617 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13618 wxDC *arg2 = 0 ;
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "self",(char *) "dc", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13629 SWIG_POINTER_EXCEPTION | 0)) == -1)
13630 SWIG_fail;
13631 if (arg2 == NULL) {
13632 PyErr_SetString(PyExc_TypeError,"null reference");
13633 SWIG_fail;
13634 }
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 (arg1)->base_OnMoveLinks(*arg2);
13638
13639 wxPyEndAllowThreads(__tstate);
13640 if (PyErr_Occurred()) SWIG_fail;
13641 }
13642 Py_INCREF(Py_None); resultobj = Py_None;
13643 return resultobj;
13644 fail:
13645 return NULL;
13646 }
13647
13648
13649 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13650 PyObject *resultobj;
13651 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13652 wxDC *arg2 = 0 ;
13653 PyObject * obj0 = 0 ;
13654 PyObject * obj1 = 0 ;
13655 char *kwnames[] = {
13656 (char *) "self",(char *) "dc", NULL
13657 };
13658
13659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13663 SWIG_POINTER_EXCEPTION | 0)) == -1)
13664 SWIG_fail;
13665 if (arg2 == NULL) {
13666 PyErr_SetString(PyExc_TypeError,"null reference");
13667 SWIG_fail;
13668 }
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 (arg1)->base_OnErase(*arg2);
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 Py_INCREF(Py_None); resultobj = Py_None;
13677 return resultobj;
13678 fail:
13679 return NULL;
13680 }
13681
13682
13683 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13684 PyObject *resultobj;
13685 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13686 wxDC *arg2 = 0 ;
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self",(char *) "dc", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13697 SWIG_POINTER_EXCEPTION | 0)) == -1)
13698 SWIG_fail;
13699 if (arg2 == NULL) {
13700 PyErr_SetString(PyExc_TypeError,"null reference");
13701 SWIG_fail;
13702 }
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 (arg1)->base_OnEraseContents(*arg2);
13706
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 Py_INCREF(Py_None); resultobj = Py_None;
13711 return resultobj;
13712 fail:
13713 return NULL;
13714 }
13715
13716
13717 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13718 PyObject *resultobj;
13719 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13720 wxDC *arg2 = 0 ;
13721 PyObject * obj0 = 0 ;
13722 PyObject * obj1 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "self",(char *) "dc", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13731 SWIG_POINTER_EXCEPTION | 0)) == -1)
13732 SWIG_fail;
13733 if (arg2 == NULL) {
13734 PyErr_SetString(PyExc_TypeError,"null reference");
13735 SWIG_fail;
13736 }
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 (arg1)->base_OnHighlight(*arg2);
13740
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 Py_INCREF(Py_None); resultobj = Py_None;
13745 return resultobj;
13746 fail:
13747 return NULL;
13748 }
13749
13750
13751 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13752 PyObject *resultobj;
13753 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13754 double arg2 ;
13755 double arg3 ;
13756 int arg4 = (int) 0 ;
13757 int arg5 = (int) 0 ;
13758 PyObject * obj0 = 0 ;
13759 PyObject * obj1 = 0 ;
13760 PyObject * obj2 = 0 ;
13761 PyObject * obj3 = 0 ;
13762 PyObject * obj4 = 0 ;
13763 char *kwnames[] = {
13764 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13765 };
13766
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13770 arg2 = (double) SWIG_AsDouble(obj1);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 arg3 = (double) SWIG_AsDouble(obj2);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 if (obj3) {
13775 arg4 = (int) SWIG_AsInt(obj3);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 if (obj4) {
13779 arg5 = (int) SWIG_AsInt(obj4);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 {
13783 PyThreadState* __tstate = wxPyBeginAllowThreads();
13784 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13785
13786 wxPyEndAllowThreads(__tstate);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
13789 Py_INCREF(Py_None); resultobj = Py_None;
13790 return resultobj;
13791 fail:
13792 return NULL;
13793 }
13794
13795
13796 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13797 PyObject *resultobj;
13798 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13799 double arg2 ;
13800 double arg3 ;
13801 int arg4 = (int) 0 ;
13802 int arg5 = (int) 0 ;
13803 PyObject * obj0 = 0 ;
13804 PyObject * obj1 = 0 ;
13805 PyObject * obj2 = 0 ;
13806 PyObject * obj3 = 0 ;
13807 PyObject * obj4 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13810 };
13811
13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13815 arg2 = (double) SWIG_AsDouble(obj1);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 arg3 = (double) SWIG_AsDouble(obj2);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 if (obj3) {
13820 arg4 = (int) SWIG_AsInt(obj3);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 if (obj4) {
13824 arg5 = (int) SWIG_AsInt(obj4);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 Py_INCREF(Py_None); resultobj = Py_None;
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13844 double arg2 ;
13845 double arg3 ;
13846 int arg4 = (int) 0 ;
13847 int arg5 = (int) 0 ;
13848 PyObject * obj0 = 0 ;
13849 PyObject * obj1 = 0 ;
13850 PyObject * obj2 = 0 ;
13851 PyObject * obj3 = 0 ;
13852 PyObject * obj4 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13855 };
13856
13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13860 arg2 = (double) SWIG_AsDouble(obj1);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 arg3 = (double) SWIG_AsDouble(obj2);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 if (obj3) {
13865 arg4 = (int) SWIG_AsInt(obj3);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 if (obj4) {
13869 arg5 = (int) SWIG_AsInt(obj4);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13875
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 Py_INCREF(Py_None); resultobj = Py_None;
13880 return resultobj;
13881 fail:
13882 return NULL;
13883 }
13884
13885
13886 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj;
13888 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13889 double arg2 ;
13890 double arg3 ;
13891 PyObject * obj0 = 0 ;
13892 PyObject * obj1 = 0 ;
13893 PyObject * obj2 = 0 ;
13894 char *kwnames[] = {
13895 (char *) "self",(char *) "x",(char *) "y", NULL
13896 };
13897
13898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13901 arg2 = (double) SWIG_AsDouble(obj1);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 arg3 = (double) SWIG_AsDouble(obj2);
13904 if (PyErr_Occurred()) SWIG_fail;
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 (arg1)->base_OnSize(arg2,arg3);
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 Py_INCREF(Py_None); resultobj = Py_None;
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13922 wxDC *arg2 = 0 ;
13923 double arg3 ;
13924 double arg4 ;
13925 double arg5 ;
13926 double arg6 ;
13927 bool arg7 = (bool) True ;
13928 bool result;
13929 PyObject * obj0 = 0 ;
13930 PyObject * obj1 = 0 ;
13931 PyObject * obj2 = 0 ;
13932 PyObject * obj3 = 0 ;
13933 PyObject * obj4 = 0 ;
13934 PyObject * obj5 = 0 ;
13935 PyObject * obj6 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13944 SWIG_POINTER_EXCEPTION | 0)) == -1)
13945 SWIG_fail;
13946 if (arg2 == NULL) {
13947 PyErr_SetString(PyExc_TypeError,"null reference");
13948 SWIG_fail;
13949 }
13950 arg3 = (double) SWIG_AsDouble(obj2);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 arg4 = (double) SWIG_AsDouble(obj3);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 arg5 = (double) SWIG_AsDouble(obj4);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 arg6 = (double) SWIG_AsDouble(obj5);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 if (obj6) {
13959 arg7 = (bool) SWIG_AsBool(obj6);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 {
13970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13971 }
13972 return resultobj;
13973 fail:
13974 return NULL;
13975 }
13976
13977
13978 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13979 PyObject *resultobj;
13980 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13981 wxDC *arg2 = 0 ;
13982 double arg3 ;
13983 double arg4 ;
13984 double arg5 ;
13985 double arg6 ;
13986 bool arg7 = (bool) True ;
13987 PyObject * obj0 = 0 ;
13988 PyObject * obj1 = 0 ;
13989 PyObject * obj2 = 0 ;
13990 PyObject * obj3 = 0 ;
13991 PyObject * obj4 = 0 ;
13992 PyObject * obj5 = 0 ;
13993 PyObject * obj6 = 0 ;
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13996 };
13997
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14002 SWIG_POINTER_EXCEPTION | 0)) == -1)
14003 SWIG_fail;
14004 if (arg2 == NULL) {
14005 PyErr_SetString(PyExc_TypeError,"null reference");
14006 SWIG_fail;
14007 }
14008 arg3 = (double) SWIG_AsDouble(obj2);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 arg4 = (double) SWIG_AsDouble(obj3);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 arg5 = (double) SWIG_AsDouble(obj4);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 arg6 = (double) SWIG_AsDouble(obj5);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 if (obj6) {
14017 arg7 = (bool) SWIG_AsBool(obj6);
14018 if (PyErr_Occurred()) SWIG_fail;
14019 }
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14023
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 Py_INCREF(Py_None); resultobj = Py_None;
14028 return resultobj;
14029 fail:
14030 return NULL;
14031 }
14032
14033
14034 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14035 PyObject *resultobj;
14036 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14037 bool arg2 ;
14038 double arg3 ;
14039 double arg4 ;
14040 int arg5 = (int) 0 ;
14041 int arg6 = (int) 0 ;
14042 PyObject * obj0 = 0 ;
14043 PyObject * obj1 = 0 ;
14044 PyObject * obj2 = 0 ;
14045 PyObject * obj3 = 0 ;
14046 PyObject * obj4 = 0 ;
14047 PyObject * obj5 = 0 ;
14048 char *kwnames[] = {
14049 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14050 };
14051
14052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14055 arg2 = (bool) SWIG_AsBool(obj1);
14056 if (PyErr_Occurred()) SWIG_fail;
14057 arg3 = (double) SWIG_AsDouble(obj2);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 arg4 = (double) SWIG_AsDouble(obj3);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 if (obj4) {
14062 arg5 = (int) SWIG_AsInt(obj4);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 }
14065 if (obj5) {
14066 arg6 = (int) SWIG_AsInt(obj5);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14086 double arg2 ;
14087 double arg3 ;
14088 int arg4 = (int) 0 ;
14089 int arg5 = (int) 0 ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 PyObject * obj2 = 0 ;
14093 PyObject * obj3 = 0 ;
14094 PyObject * obj4 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14097 };
14098
14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14102 arg2 = (double) SWIG_AsDouble(obj1);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 arg3 = (double) SWIG_AsDouble(obj2);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 if (obj3) {
14107 arg4 = (int) SWIG_AsInt(obj3);
14108 if (PyErr_Occurred()) SWIG_fail;
14109 }
14110 if (obj4) {
14111 arg5 = (int) SWIG_AsInt(obj4);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 Py_INCREF(Py_None); resultobj = Py_None;
14122 return resultobj;
14123 fail:
14124 return NULL;
14125 }
14126
14127
14128 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14129 PyObject *resultobj;
14130 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14131 double arg2 ;
14132 double arg3 ;
14133 int arg4 = (int) 0 ;
14134 int arg5 = (int) 0 ;
14135 PyObject * obj0 = 0 ;
14136 PyObject * obj1 = 0 ;
14137 PyObject * obj2 = 0 ;
14138 PyObject * obj3 = 0 ;
14139 PyObject * obj4 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14147 arg2 = (double) SWIG_AsDouble(obj1);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 arg3 = (double) SWIG_AsDouble(obj2);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 if (obj3) {
14152 arg4 = (int) SWIG_AsInt(obj3);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 if (obj4) {
14156 arg5 = (int) SWIG_AsInt(obj4);
14157 if (PyErr_Occurred()) SWIG_fail;
14158 }
14159 {
14160 PyThreadState* __tstate = wxPyBeginAllowThreads();
14161 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14162
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 Py_INCREF(Py_None); resultobj = Py_None;
14167 return resultobj;
14168 fail:
14169 return NULL;
14170 }
14171
14172
14173 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14174 PyObject *resultobj;
14175 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14176 bool arg2 ;
14177 double arg3 ;
14178 double arg4 ;
14179 int arg5 = (int) 0 ;
14180 int arg6 = (int) 0 ;
14181 PyObject * obj0 = 0 ;
14182 PyObject * obj1 = 0 ;
14183 PyObject * obj2 = 0 ;
14184 PyObject * obj3 = 0 ;
14185 PyObject * obj4 = 0 ;
14186 PyObject * obj5 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14194 arg2 = (bool) SWIG_AsBool(obj1);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 arg3 = (double) SWIG_AsDouble(obj2);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 arg4 = (double) SWIG_AsDouble(obj3);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 if (obj4) {
14201 arg5 = (int) SWIG_AsInt(obj4);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 if (obj5) {
14205 arg6 = (int) SWIG_AsInt(obj5);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 {
14209 PyThreadState* __tstate = wxPyBeginAllowThreads();
14210 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14211
14212 wxPyEndAllowThreads(__tstate);
14213 if (PyErr_Occurred()) SWIG_fail;
14214 }
14215 Py_INCREF(Py_None); resultobj = Py_None;
14216 return resultobj;
14217 fail:
14218 return NULL;
14219 }
14220
14221
14222 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14225 double arg2 ;
14226 double arg3 ;
14227 int arg4 = (int) 0 ;
14228 int arg5 = (int) 0 ;
14229 PyObject * obj0 = 0 ;
14230 PyObject * obj1 = 0 ;
14231 PyObject * obj2 = 0 ;
14232 PyObject * obj3 = 0 ;
14233 PyObject * obj4 = 0 ;
14234 char *kwnames[] = {
14235 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14236 };
14237
14238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14241 arg2 = (double) SWIG_AsDouble(obj1);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 arg3 = (double) SWIG_AsDouble(obj2);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 if (obj3) {
14246 arg4 = (int) SWIG_AsInt(obj3);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 if (obj4) {
14250 arg5 = (int) SWIG_AsInt(obj4);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 {
14254 PyThreadState* __tstate = wxPyBeginAllowThreads();
14255 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14256
14257 wxPyEndAllowThreads(__tstate);
14258 if (PyErr_Occurred()) SWIG_fail;
14259 }
14260 Py_INCREF(Py_None); resultobj = Py_None;
14261 return resultobj;
14262 fail:
14263 return NULL;
14264 }
14265
14266
14267 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14268 PyObject *resultobj;
14269 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14270 double arg2 ;
14271 double arg3 ;
14272 int arg4 = (int) 0 ;
14273 int arg5 = (int) 0 ;
14274 PyObject * obj0 = 0 ;
14275 PyObject * obj1 = 0 ;
14276 PyObject * obj2 = 0 ;
14277 PyObject * obj3 = 0 ;
14278 PyObject * obj4 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14286 arg2 = (double) SWIG_AsDouble(obj1);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 arg3 = (double) SWIG_AsDouble(obj2);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 if (obj3) {
14291 arg4 = (int) SWIG_AsInt(obj3);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 if (obj4) {
14295 arg5 = (int) SWIG_AsInt(obj4);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 Py_INCREF(Py_None); resultobj = Py_None;
14306 return resultobj;
14307 fail:
14308 return NULL;
14309 }
14310
14311
14312 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj;
14314 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14315 wxDC *arg2 = 0 ;
14316 double arg3 ;
14317 double arg4 ;
14318 double arg5 ;
14319 double arg6 ;
14320 PyObject * obj0 = 0 ;
14321 PyObject * obj1 = 0 ;
14322 PyObject * obj2 = 0 ;
14323 PyObject * obj3 = 0 ;
14324 PyObject * obj4 = 0 ;
14325 PyObject * obj5 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14334 SWIG_POINTER_EXCEPTION | 0)) == -1)
14335 SWIG_fail;
14336 if (arg2 == NULL) {
14337 PyErr_SetString(PyExc_TypeError,"null reference");
14338 SWIG_fail;
14339 }
14340 arg3 = (double) SWIG_AsDouble(obj2);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 arg4 = (double) SWIG_AsDouble(obj3);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 arg5 = (double) SWIG_AsDouble(obj4);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 arg6 = (double) SWIG_AsDouble(obj5);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 Py_INCREF(Py_None); resultobj = Py_None;
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14365 wxDC *arg2 = 0 ;
14366 PyObject * obj0 = 0 ;
14367 PyObject * obj1 = 0 ;
14368 char *kwnames[] = {
14369 (char *) "self",(char *) "dc", NULL
14370 };
14371
14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14376 SWIG_POINTER_EXCEPTION | 0)) == -1)
14377 SWIG_fail;
14378 if (arg2 == NULL) {
14379 PyErr_SetString(PyExc_TypeError,"null reference");
14380 SWIG_fail;
14381 }
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 (arg1)->base_OnDrawControlPoints(*arg2);
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 Py_INCREF(Py_None); resultobj = Py_None;
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14399 wxDC *arg2 = 0 ;
14400 PyObject * obj0 = 0 ;
14401 PyObject * obj1 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "self",(char *) "dc", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1)
14411 SWIG_fail;
14412 if (arg2 == NULL) {
14413 PyErr_SetString(PyExc_TypeError,"null reference");
14414 SWIG_fail;
14415 }
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 (arg1)->base_OnEraseControlPoints(*arg2);
14419
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
14423 Py_INCREF(Py_None); resultobj = Py_None;
14424 return resultobj;
14425 fail:
14426 return NULL;
14427 }
14428
14429
14430 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
14431 PyObject *resultobj;
14432 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14433 wxDC *arg2 = 0 ;
14434 bool arg3 = (bool) True ;
14435 PyObject * obj0 = 0 ;
14436 PyObject * obj1 = 0 ;
14437 PyObject * obj2 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14446 SWIG_POINTER_EXCEPTION | 0)) == -1)
14447 SWIG_fail;
14448 if (arg2 == NULL) {
14449 PyErr_SetString(PyExc_TypeError,"null reference");
14450 SWIG_fail;
14451 }
14452 if (obj2) {
14453 arg3 = (bool) SWIG_AsBool(obj2);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 (arg1)->base_OnMoveLink(*arg2,arg3);
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 Py_INCREF(Py_None); resultobj = Py_None;
14464 return resultobj;
14465 fail:
14466 return NULL;
14467 }
14468
14469
14470 static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14471 PyObject *resultobj;
14472 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14473 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14474 bool arg3 ;
14475 double arg4 ;
14476 double arg5 ;
14477 int arg6 = (int) 0 ;
14478 int arg7 = (int) 0 ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj1 = 0 ;
14481 PyObject * obj2 = 0 ;
14482 PyObject * obj3 = 0 ;
14483 PyObject * obj4 = 0 ;
14484 PyObject * obj5 = 0 ;
14485 PyObject * obj6 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14495 arg3 = (bool) SWIG_AsBool(obj2);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 arg4 = (double) SWIG_AsDouble(obj3);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 arg5 = (double) SWIG_AsDouble(obj4);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 if (obj5) {
14502 arg6 = (int) SWIG_AsInt(obj5);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 if (obj6) {
14506 arg7 = (int) SWIG_AsInt(obj6);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 Py_INCREF(Py_None); resultobj = Py_None;
14517 return resultobj;
14518 fail:
14519 return NULL;
14520 }
14521
14522
14523 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14526 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14527 double arg3 ;
14528 double arg4 ;
14529 int arg5 = (int) 0 ;
14530 int arg6 = (int) 0 ;
14531 PyObject * obj0 = 0 ;
14532 PyObject * obj1 = 0 ;
14533 PyObject * obj2 = 0 ;
14534 PyObject * obj3 = 0 ;
14535 PyObject * obj4 = 0 ;
14536 PyObject * obj5 = 0 ;
14537 char *kwnames[] = {
14538 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14539 };
14540
14541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14546 arg3 = (double) SWIG_AsDouble(obj2);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 arg4 = (double) SWIG_AsDouble(obj3);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 if (obj4) {
14551 arg5 = (int) SWIG_AsInt(obj4);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 if (obj5) {
14555 arg6 = (int) SWIG_AsInt(obj5);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 Py_INCREF(Py_None); resultobj = Py_None;
14566 return resultobj;
14567 fail:
14568 return NULL;
14569 }
14570
14571
14572 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14573 PyObject *resultobj;
14574 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14575 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14576 double arg3 ;
14577 double arg4 ;
14578 int arg5 = (int) 0 ;
14579 int arg6 = (int) 0 ;
14580 PyObject * obj0 = 0 ;
14581 PyObject * obj1 = 0 ;
14582 PyObject * obj2 = 0 ;
14583 PyObject * obj3 = 0 ;
14584 PyObject * obj4 = 0 ;
14585 PyObject * obj5 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14595 arg3 = (double) SWIG_AsDouble(obj2);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 arg4 = (double) SWIG_AsDouble(obj3);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 if (obj4) {
14600 arg5 = (int) SWIG_AsInt(obj4);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 if (obj5) {
14604 arg6 = (int) SWIG_AsInt(obj5);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 {
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
14609 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14610
14611 wxPyEndAllowThreads(__tstate);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
14614 Py_INCREF(Py_None); resultobj = Py_None;
14615 return resultobj;
14616 fail:
14617 return NULL;
14618 }
14619
14620
14621 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj;
14623 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14624 double arg2 ;
14625 double arg3 ;
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
14628 PyObject * obj2 = 0 ;
14629 char *kwnames[] = {
14630 (char *) "self",(char *) "w",(char *) "h", NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14636 arg2 = (double) SWIG_AsDouble(obj1);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 arg3 = (double) SWIG_AsDouble(obj2);
14639 if (PyErr_Occurred()) SWIG_fail;
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 (arg1)->base_OnBeginSize(arg2,arg3);
14643
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 Py_INCREF(Py_None); resultobj = Py_None;
14648 return resultobj;
14649 fail:
14650 return NULL;
14651 }
14652
14653
14654 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj;
14656 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14657 double arg2 ;
14658 double arg3 ;
14659 PyObject * obj0 = 0 ;
14660 PyObject * obj1 = 0 ;
14661 PyObject * obj2 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self",(char *) "w",(char *) "h", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14669 arg2 = (double) SWIG_AsDouble(obj1);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 arg3 = (double) SWIG_AsDouble(obj2);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 (arg1)->base_OnEndSize(arg2,arg3);
14676
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 Py_INCREF(Py_None); resultobj = Py_None;
14681 return resultobj;
14682 fail:
14683 return NULL;
14684 }
14685
14686
14687 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
14688 PyObject *obj;
14689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14690 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14691 Py_INCREF(obj);
14692 return Py_BuildValue((char *)"");
14693 }
14694 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14695 PyObject *resultobj;
14696 wxPyDrawnShape *result;
14697 char *kwnames[] = {
14698 NULL
14699 };
14700
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
14710 return resultobj;
14711 fail:
14712 return NULL;
14713 }
14714
14715
14716 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14717 PyObject *resultobj;
14718 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14719 PyObject *arg2 = (PyObject *) 0 ;
14720 PyObject *arg3 = (PyObject *) 0 ;
14721 PyObject * obj0 = 0 ;
14722 PyObject * obj1 = 0 ;
14723 PyObject * obj2 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self",(char *) "self",(char *) "_class", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14731 arg2 = obj1;
14732 arg3 = obj2;
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 (arg1)->_setCallbackInfo(arg2,arg3);
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 Py_INCREF(Py_None); resultobj = Py_None;
14741 return resultobj;
14742 fail:
14743 return NULL;
14744 }
14745
14746
14747 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14748 PyObject *resultobj;
14749 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14750 PyObject * obj0 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "self", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
14756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 (arg1)->CalculateSize();
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 Py_INCREF(Py_None); resultobj = Py_None;
14766 return resultobj;
14767 fail:
14768 return NULL;
14769 }
14770
14771
14772 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14773 PyObject *resultobj;
14774 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14775 PyObject * obj0 = 0 ;
14776 char *kwnames[] = {
14777 (char *) "self", NULL
14778 };
14779
14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
14781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14783 {
14784 PyThreadState* __tstate = wxPyBeginAllowThreads();
14785 (arg1)->DestroyClippingRect();
14786
14787 wxPyEndAllowThreads(__tstate);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 Py_INCREF(Py_None); resultobj = Py_None;
14791 return resultobj;
14792 fail:
14793 return NULL;
14794 }
14795
14796
14797 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14798 PyObject *resultobj;
14799 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14800 wxPoint *arg2 = 0 ;
14801 wxPoint *arg3 = 0 ;
14802 wxPoint *arg4 = 0 ;
14803 wxPoint temp2 ;
14804 wxPoint temp3 ;
14805 wxPoint temp4 ;
14806 PyObject * obj0 = 0 ;
14807 PyObject * obj1 = 0 ;
14808 PyObject * obj2 = 0 ;
14809 PyObject * obj3 = 0 ;
14810 char *kwnames[] = {
14811 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14812 };
14813
14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14817 {
14818 arg2 = &temp2;
14819 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14820 }
14821 {
14822 arg3 = &temp3;
14823 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14824 }
14825 {
14826 arg4 = &temp4;
14827 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14828 }
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 Py_INCREF(Py_None); resultobj = Py_None;
14837 return resultobj;
14838 fail:
14839 return NULL;
14840 }
14841
14842
14843 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
14844 PyObject *resultobj;
14845 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14846 int arg2 ;
14847 PyObject * obj0 = 0 ;
14848 PyObject * obj1 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self",(char *) "angle", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14856 arg2 = (int) SWIG_AsInt(obj1);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 (arg1)->DrawAtAngle(arg2);
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 Py_INCREF(Py_None); resultobj = Py_None;
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14875 wxRect *arg2 = 0 ;
14876 double arg3 ;
14877 double arg4 ;
14878 wxRect temp2 ;
14879 PyObject * obj0 = 0 ;
14880 PyObject * obj1 = 0 ;
14881 PyObject * obj2 = 0 ;
14882 PyObject * obj3 = 0 ;
14883 char *kwnames[] = {
14884 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14885 };
14886
14887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14890 {
14891 arg2 = &temp2;
14892 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14893 }
14894 arg3 = (double) SWIG_AsDouble(obj2);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 arg4 = (double) SWIG_AsDouble(obj3);
14897 if (PyErr_Occurred()) SWIG_fail;
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 Py_INCREF(Py_None); resultobj = Py_None;
14906 return resultobj;
14907 fail:
14908 return NULL;
14909 }
14910
14911
14912 static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
14913 PyObject *resultobj;
14914 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14915 wxPoint *arg2 = 0 ;
14916 wxPoint *arg3 = 0 ;
14917 wxPoint temp2 ;
14918 wxPoint temp3 ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 PyObject * obj2 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self",(char *) "point1",(char *) "point2", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
14927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14929 {
14930 arg2 = &temp2;
14931 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14932 }
14933 {
14934 arg3 = &temp3;
14935 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14936 }
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
14940
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
14944 Py_INCREF(Py_None); resultobj = Py_None;
14945 return resultobj;
14946 fail:
14947 return NULL;
14948 }
14949
14950
14951 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
14952 PyObject *resultobj;
14953 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14954 int arg2 ;
14955 wxPoint *arg3 = (wxPoint *) 0 ;
14956 PyObject * obj0 = 0 ;
14957 PyObject * obj1 = 0 ;
14958 PyObject * obj2 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
14964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14966 arg2 = (int) SWIG_AsInt(obj1);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
14969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 (arg1)->DrawLines(arg2,arg3);
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 Py_INCREF(Py_None); resultobj = Py_None;
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14987 wxPoint *arg2 = 0 ;
14988 wxPoint temp2 ;
14989 PyObject * obj0 = 0 ;
14990 PyObject * obj1 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self",(char *) "point", NULL
14993 };
14994
14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
14996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14998 {
14999 arg2 = &temp2;
15000 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15001 }
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 (arg1)->DrawPoint((wxPoint const &)*arg2);
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 Py_INCREF(Py_None); resultobj = Py_None;
15010 return resultobj;
15011 fail:
15012 return NULL;
15013 }
15014
15015
15016 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
15017 PyObject *resultobj;
15018 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15019 int arg2 ;
15020 wxPoint *arg3 = (wxPoint *) 0 ;
15021 int arg4 = (int) 0 ;
15022 PyObject * obj0 = 0 ;
15023 PyObject * obj1 = 0 ;
15024 PyObject * obj2 = 0 ;
15025 PyObject * obj3 = 0 ;
15026 char *kwnames[] = {
15027 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15028 };
15029
15030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15033 arg2 = (int) SWIG_AsInt(obj1);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15037 if (obj3) {
15038 arg4 = (int) SWIG_AsInt(obj3);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->DrawPolygon(arg2,arg3,arg4);
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 Py_INCREF(Py_None); resultobj = Py_None;
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15058 wxRect *arg2 = 0 ;
15059 wxRect temp2 ;
15060 PyObject * obj0 = 0 ;
15061 PyObject * obj1 = 0 ;
15062 char *kwnames[] = {
15063 (char *) "self",(char *) "rect", NULL
15064 };
15065
15066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
15067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15069 {
15070 arg2 = &temp2;
15071 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15072 }
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 (arg1)->DrawRectangle((wxRect const &)*arg2);
15076
15077 wxPyEndAllowThreads(__tstate);
15078 if (PyErr_Occurred()) SWIG_fail;
15079 }
15080 Py_INCREF(Py_None); resultobj = Py_None;
15081 return resultobj;
15082 fail:
15083 return NULL;
15084 }
15085
15086
15087 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15088 PyObject *resultobj;
15089 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15090 wxRect *arg2 = 0 ;
15091 double arg3 ;
15092 wxRect temp2 ;
15093 PyObject * obj0 = 0 ;
15094 PyObject * obj1 = 0 ;
15095 PyObject * obj2 = 0 ;
15096 char *kwnames[] = {
15097 (char *) "self",(char *) "rect",(char *) "radius", NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15103 {
15104 arg2 = &temp2;
15105 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15106 }
15107 arg3 = (double) SWIG_AsDouble(obj2);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 Py_INCREF(Py_None); resultobj = Py_None;
15117 return resultobj;
15118 fail:
15119 return NULL;
15120 }
15121
15122
15123 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15126 int arg2 ;
15127 wxPoint *arg3 = (wxPoint *) 0 ;
15128 PyObject * obj0 = 0 ;
15129 PyObject * obj1 = 0 ;
15130 PyObject * obj2 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
15136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15138 arg2 = (int) SWIG_AsInt(obj1);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 (arg1)->DrawSpline(arg2,arg3);
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 Py_INCREF(Py_None); resultobj = Py_None;
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj;
15158 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15159 wxString *arg2 = 0 ;
15160 wxPoint *arg3 = 0 ;
15161 bool temp2 = False ;
15162 wxPoint temp3 ;
15163 PyObject * obj0 = 0 ;
15164 PyObject * obj1 = 0 ;
15165 PyObject * obj2 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self",(char *) "text",(char *) "point", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15173 {
15174 arg2 = wxString_in_helper(obj1);
15175 if (arg2 == NULL) SWIG_fail;
15176 temp2 = True;
15177 }
15178 {
15179 arg3 = &temp3;
15180 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15181 }
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 Py_INCREF(Py_None); resultobj = Py_None;
15190 {
15191 if (temp2)
15192 delete arg2;
15193 }
15194 return resultobj;
15195 fail:
15196 {
15197 if (temp2)
15198 delete arg2;
15199 }
15200 return NULL;
15201 }
15202
15203
15204 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj;
15206 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15207 int result;
15208 PyObject * obj0 = 0 ;
15209 char *kwnames[] = {
15210 (char *) "self", NULL
15211 };
15212
15213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
15214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 result = (int)(arg1)->GetAngle();
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 resultobj = SWIG_FromInt((int)result);
15224 return resultobj;
15225 fail:
15226 return NULL;
15227 }
15228
15229
15230 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15231 PyObject *resultobj;
15232 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15233 wxPseudoMetaFile *result;
15234 PyObject * obj0 = 0 ;
15235 char *kwnames[] = {
15236 (char *) "self", NULL
15237 };
15238
15239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
15240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 {
15245 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15246 result = (wxPseudoMetaFile *) &_result_ref;
15247 }
15248
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
15260 PyObject *resultobj;
15261 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15262 double result;
15263 PyObject * obj0 = 0 ;
15264 char *kwnames[] = {
15265 (char *) "self", NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
15269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 result = (double)(arg1)->GetRotation();
15274
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 resultobj = SWIG_FromDouble((double)result);
15279 return resultobj;
15280 fail:
15281 return NULL;
15282 }
15283
15284
15285 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj;
15287 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15288 wxString *arg2 = 0 ;
15289 bool result;
15290 bool temp2 = False ;
15291 PyObject * obj0 = 0 ;
15292 PyObject * obj1 = 0 ;
15293 char *kwnames[] = {
15294 (char *) "self",(char *) "filename", NULL
15295 };
15296
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
15298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15300 {
15301 arg2 = wxString_in_helper(obj1);
15302 if (arg2 == NULL) SWIG_fail;
15303 temp2 = True;
15304 }
15305 {
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15308
15309 wxPyEndAllowThreads(__tstate);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 }
15312 {
15313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15314 }
15315 {
15316 if (temp2)
15317 delete arg2;
15318 }
15319 return resultobj;
15320 fail:
15321 {
15322 if (temp2)
15323 delete arg2;
15324 }
15325 return NULL;
15326 }
15327
15328
15329 static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15332 double arg2 ;
15333 double arg3 ;
15334 double arg4 ;
15335 PyObject * obj0 = 0 ;
15336 PyObject * obj1 = 0 ;
15337 PyObject * obj2 = 0 ;
15338 PyObject * obj3 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15346 arg2 = (double) SWIG_AsDouble(obj1);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 arg3 = (double) SWIG_AsDouble(obj2);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 arg4 = (double) SWIG_AsDouble(obj3);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 (arg1)->Rotate(arg2,arg3,arg4);
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 Py_INCREF(Py_None); resultobj = Py_None;
15360 return resultobj;
15361 fail:
15362 return NULL;
15363 }
15364
15365
15366 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15367 PyObject *resultobj;
15368 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15369 wxRect *arg2 = 0 ;
15370 wxRect temp2 ;
15371 PyObject * obj0 = 0 ;
15372 PyObject * obj1 = 0 ;
15373 char *kwnames[] = {
15374 (char *) "self",(char *) "rect", NULL
15375 };
15376
15377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
15378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15380 {
15381 arg2 = &temp2;
15382 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15383 }
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 (arg1)->SetClippingRect((wxRect const &)*arg2);
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
15391 Py_INCREF(Py_None); resultobj = Py_None;
15392 return resultobj;
15393 fail:
15394 return NULL;
15395 }
15396
15397
15398 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15399 PyObject *resultobj;
15400 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15401 wxColour *arg2 = 0 ;
15402 wxColour temp2 ;
15403 PyObject * obj0 = 0 ;
15404 PyObject * obj1 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self",(char *) "colour", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15412 {
15413 arg2 = &temp2;
15414 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15415 }
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 Py_INCREF(Py_None); resultobj = Py_None;
15424 return resultobj;
15425 fail:
15426 return NULL;
15427 }
15428
15429
15430 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15433 int arg2 ;
15434 PyObject * obj0 = 0 ;
15435 PyObject * obj1 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self",(char *) "mode", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15443 arg2 = (int) SWIG_AsInt(obj1);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 {
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 (arg1)->SetDrawnBackgroundMode(arg2);
15448
15449 wxPyEndAllowThreads(__tstate);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 Py_INCREF(Py_None); resultobj = Py_None;
15453 return resultobj;
15454 fail:
15455 return NULL;
15456 }
15457
15458
15459 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15462 wxBrush *arg2 = (wxBrush *) 0 ;
15463 bool arg3 = (bool) FALSE ;
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 PyObject * obj2 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15474 {
15475 wxBrush* temp;
15476 if (obj1) {
15477 if (obj1 == Py_None) {
15478 temp = NULL;
15479 }
15480 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15481 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15482 return NULL;
15483 }
15484 }
15485 if (temp)
15486 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15487 else
15488 arg2 = NULL;
15489 }
15490 if (obj2) {
15491 arg3 = (bool) SWIG_AsBool(obj2);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 (arg1)->SetDrawnBrush(arg2,arg3);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 Py_INCREF(Py_None); resultobj = Py_None;
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15511 wxFont *arg2 = (wxFont *) 0 ;
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 char *kwnames[] = {
15515 (char *) "self",(char *) "font", NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
15519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15521 {
15522 wxFont* temp;
15523 if (obj1) {
15524 if (obj1 == Py_None) {
15525 temp = NULL;
15526 }
15527 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15528 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15529 return NULL;
15530 }
15531 }
15532 if (temp)
15533 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15534 temp->GetFamily(),
15535 temp->GetStyle(),
15536 temp->GetWeight(),
15537 temp->GetUnderlined(),
15538 temp->GetFaceName(),
15539 temp->GetEncoding());
15540 else
15541 arg2 = NULL;
15542 }
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 (arg1)->SetDrawnFont(arg2);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 Py_INCREF(Py_None); resultobj = Py_None;
15551 return resultobj;
15552 fail:
15553 return NULL;
15554 }
15555
15556
15557 static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj;
15559 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15560 wxPen *arg2 = (wxPen *) 0 ;
15561 bool arg3 = (bool) FALSE ;
15562 PyObject * obj0 = 0 ;
15563 PyObject * obj1 = 0 ;
15564 PyObject * obj2 = 0 ;
15565 char *kwnames[] = {
15566 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15567 };
15568
15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15572 {
15573 wxPen* temp;
15574 if (obj1) {
15575 if (obj1 == Py_None) {
15576 temp = NULL;
15577 }
15578 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15579 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15580 return NULL;
15581 }
15582 }
15583 if (temp)
15584 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15585 temp->GetWidth(),
15586 temp->GetStyle());
15587 else
15588 arg2 = NULL;
15589 }
15590 if (obj2) {
15591 arg3 = (bool) SWIG_AsBool(obj2);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 {
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 (arg1)->SetDrawnPen(arg2,arg3);
15597
15598 wxPyEndAllowThreads(__tstate);
15599 if (PyErr_Occurred()) SWIG_fail;
15600 }
15601 Py_INCREF(Py_None); resultobj = Py_None;
15602 return resultobj;
15603 fail:
15604 return NULL;
15605 }
15606
15607
15608 static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15609 PyObject *resultobj;
15610 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15611 wxColour *arg2 = 0 ;
15612 wxColour temp2 ;
15613 PyObject * obj0 = 0 ;
15614 PyObject * obj1 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self",(char *) "colour", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
15620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15622 {
15623 arg2 = &temp2;
15624 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15625 }
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 Py_INCREF(Py_None); resultobj = Py_None;
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15643 double arg2 ;
15644 double arg3 ;
15645 PyObject * obj0 = 0 ;
15646 PyObject * obj1 = 0 ;
15647 PyObject * obj2 = 0 ;
15648 char *kwnames[] = {
15649 (char *) "self",(char *) "sx",(char *) "sy", NULL
15650 };
15651
15652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15655 arg2 = (double) SWIG_AsDouble(obj1);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 arg3 = (double) SWIG_AsDouble(obj2);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 {
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
15661 (arg1)->Scale(arg2,arg3);
15662
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 Py_INCREF(Py_None); resultobj = Py_None;
15667 return resultobj;
15668 fail:
15669 return NULL;
15670 }
15671
15672
15673 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15674 PyObject *resultobj;
15675 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15676 bool arg2 ;
15677 PyObject * obj0 = 0 ;
15678 PyObject * obj1 = 0 ;
15679 char *kwnames[] = {
15680 (char *) "self",(char *) "save", NULL
15681 };
15682
15683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
15684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15686 arg2 = (bool) SWIG_AsBool(obj1);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 (arg1)->SetSaveToFile(arg2);
15691
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 Py_INCREF(Py_None); resultobj = Py_None;
15696 return resultobj;
15697 fail:
15698 return NULL;
15699 }
15700
15701
15702 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
15703 PyObject *resultobj;
15704 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15705 double arg2 ;
15706 double arg3 ;
15707 PyObject * obj0 = 0 ;
15708 PyObject * obj1 = 0 ;
15709 PyObject * obj2 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self",(char *) "x",(char *) "y", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15717 arg2 = (double) SWIG_AsDouble(obj1);
15718 if (PyErr_Occurred()) SWIG_fail;
15719 arg3 = (double) SWIG_AsDouble(obj2);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 (arg1)->Translate(arg2,arg3);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 return resultobj;
15730 fail:
15731 return NULL;
15732 }
15733
15734
15735 static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj;
15737 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15738 PyObject * obj0 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
15744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 (arg1)->base_OnDelete();
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 Py_INCREF(Py_None); resultobj = Py_None;
15754 return resultobj;
15755 fail:
15756 return NULL;
15757 }
15758
15759
15760 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj;
15762 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15763 wxDC *arg2 = 0 ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "dc", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15774 SWIG_POINTER_EXCEPTION | 0)) == -1)
15775 SWIG_fail;
15776 if (arg2 == NULL) {
15777 PyErr_SetString(PyExc_TypeError,"null reference");
15778 SWIG_fail;
15779 }
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 (arg1)->base_OnDraw(*arg2);
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 Py_INCREF(Py_None); resultobj = Py_None;
15788 return resultobj;
15789 fail:
15790 return NULL;
15791 }
15792
15793
15794 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15795 PyObject *resultobj;
15796 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15797 wxDC *arg2 = 0 ;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "dc", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15808 SWIG_POINTER_EXCEPTION | 0)) == -1)
15809 SWIG_fail;
15810 if (arg2 == NULL) {
15811 PyErr_SetString(PyExc_TypeError,"null reference");
15812 SWIG_fail;
15813 }
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 (arg1)->base_OnDrawContents(*arg2);
15817
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 Py_INCREF(Py_None); resultobj = Py_None;
15822 return resultobj;
15823 fail:
15824 return NULL;
15825 }
15826
15827
15828 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15829 PyObject *resultobj;
15830 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15831 wxDC *arg2 = 0 ;
15832 bool arg3 = (bool) FALSE ;
15833 PyObject * obj0 = 0 ;
15834 PyObject * obj1 = 0 ;
15835 PyObject * obj2 = 0 ;
15836 char *kwnames[] = {
15837 (char *) "self",(char *) "dc",(char *) "erase", NULL
15838 };
15839
15840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15844 SWIG_POINTER_EXCEPTION | 0)) == -1)
15845 SWIG_fail;
15846 if (arg2 == NULL) {
15847 PyErr_SetString(PyExc_TypeError,"null reference");
15848 SWIG_fail;
15849 }
15850 if (obj2) {
15851 arg3 = (bool) SWIG_AsBool(obj2);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 (arg1)->base_OnDrawBranches(*arg2,arg3);
15857
15858 wxPyEndAllowThreads(__tstate);
15859 if (PyErr_Occurred()) SWIG_fail;
15860 }
15861 Py_INCREF(Py_None); resultobj = Py_None;
15862 return resultobj;
15863 fail:
15864 return NULL;
15865 }
15866
15867
15868 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15871 wxDC *arg2 = 0 ;
15872 PyObject * obj0 = 0 ;
15873 PyObject * obj1 = 0 ;
15874 char *kwnames[] = {
15875 (char *) "self",(char *) "dc", NULL
15876 };
15877
15878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15882 SWIG_POINTER_EXCEPTION | 0)) == -1)
15883 SWIG_fail;
15884 if (arg2 == NULL) {
15885 PyErr_SetString(PyExc_TypeError,"null reference");
15886 SWIG_fail;
15887 }
15888 {
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 (arg1)->base_OnMoveLinks(*arg2);
15891
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 Py_INCREF(Py_None); resultobj = Py_None;
15896 return resultobj;
15897 fail:
15898 return NULL;
15899 }
15900
15901
15902 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15903 PyObject *resultobj;
15904 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15905 wxDC *arg2 = 0 ;
15906 PyObject * obj0 = 0 ;
15907 PyObject * obj1 = 0 ;
15908 char *kwnames[] = {
15909 (char *) "self",(char *) "dc", NULL
15910 };
15911
15912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15916 SWIG_POINTER_EXCEPTION | 0)) == -1)
15917 SWIG_fail;
15918 if (arg2 == NULL) {
15919 PyErr_SetString(PyExc_TypeError,"null reference");
15920 SWIG_fail;
15921 }
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 (arg1)->base_OnErase(*arg2);
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 Py_INCREF(Py_None); resultobj = Py_None;
15930 return resultobj;
15931 fail:
15932 return NULL;
15933 }
15934
15935
15936 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15939 wxDC *arg2 = 0 ;
15940 PyObject * obj0 = 0 ;
15941 PyObject * obj1 = 0 ;
15942 char *kwnames[] = {
15943 (char *) "self",(char *) "dc", NULL
15944 };
15945
15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1)
15951 SWIG_fail;
15952 if (arg2 == NULL) {
15953 PyErr_SetString(PyExc_TypeError,"null reference");
15954 SWIG_fail;
15955 }
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 (arg1)->base_OnEraseContents(*arg2);
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 Py_INCREF(Py_None); resultobj = Py_None;
15964 return resultobj;
15965 fail:
15966 return NULL;
15967 }
15968
15969
15970 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15973 wxDC *arg2 = 0 ;
15974 PyObject * obj0 = 0 ;
15975 PyObject * obj1 = 0 ;
15976 char *kwnames[] = {
15977 (char *) "self",(char *) "dc", NULL
15978 };
15979
15980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15984 SWIG_POINTER_EXCEPTION | 0)) == -1)
15985 SWIG_fail;
15986 if (arg2 == NULL) {
15987 PyErr_SetString(PyExc_TypeError,"null reference");
15988 SWIG_fail;
15989 }
15990 {
15991 PyThreadState* __tstate = wxPyBeginAllowThreads();
15992 (arg1)->base_OnHighlight(*arg2);
15993
15994 wxPyEndAllowThreads(__tstate);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
15997 Py_INCREF(Py_None); resultobj = Py_None;
15998 return resultobj;
15999 fail:
16000 return NULL;
16001 }
16002
16003
16004 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16005 PyObject *resultobj;
16006 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16007 double arg2 ;
16008 double arg3 ;
16009 int arg4 = (int) 0 ;
16010 int arg5 = (int) 0 ;
16011 PyObject * obj0 = 0 ;
16012 PyObject * obj1 = 0 ;
16013 PyObject * obj2 = 0 ;
16014 PyObject * obj3 = 0 ;
16015 PyObject * obj4 = 0 ;
16016 char *kwnames[] = {
16017 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16018 };
16019
16020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16023 arg2 = (double) SWIG_AsDouble(obj1);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 arg3 = (double) SWIG_AsDouble(obj2);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 if (obj3) {
16028 arg4 = (int) SWIG_AsInt(obj3);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 if (obj4) {
16032 arg5 = (int) SWIG_AsInt(obj4);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 {
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 Py_INCREF(Py_None); resultobj = Py_None;
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16052 double arg2 ;
16053 double arg3 ;
16054 int arg4 = (int) 0 ;
16055 int arg5 = (int) 0 ;
16056 PyObject * obj0 = 0 ;
16057 PyObject * obj1 = 0 ;
16058 PyObject * obj2 = 0 ;
16059 PyObject * obj3 = 0 ;
16060 PyObject * obj4 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16068 arg2 = (double) SWIG_AsDouble(obj1);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 arg3 = (double) SWIG_AsDouble(obj2);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 if (obj3) {
16073 arg4 = (int) SWIG_AsInt(obj3);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 if (obj4) {
16077 arg5 = (int) SWIG_AsInt(obj4);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 {
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16083
16084 wxPyEndAllowThreads(__tstate);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 }
16087 Py_INCREF(Py_None); resultobj = Py_None;
16088 return resultobj;
16089 fail:
16090 return NULL;
16091 }
16092
16093
16094 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16097 double arg2 ;
16098 double arg3 ;
16099 int arg4 = (int) 0 ;
16100 int arg5 = (int) 0 ;
16101 PyObject * obj0 = 0 ;
16102 PyObject * obj1 = 0 ;
16103 PyObject * obj2 = 0 ;
16104 PyObject * obj3 = 0 ;
16105 PyObject * obj4 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16108 };
16109
16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16113 arg2 = (double) SWIG_AsDouble(obj1);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 arg3 = (double) SWIG_AsDouble(obj2);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 if (obj3) {
16118 arg4 = (int) SWIG_AsInt(obj3);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 if (obj4) {
16122 arg5 = (int) SWIG_AsInt(obj4);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 {
16126 PyThreadState* __tstate = wxPyBeginAllowThreads();
16127 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16128
16129 wxPyEndAllowThreads(__tstate);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 }
16132 Py_INCREF(Py_None); resultobj = Py_None;
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16142 double arg2 ;
16143 double arg3 ;
16144 PyObject * obj0 = 0 ;
16145 PyObject * obj1 = 0 ;
16146 PyObject * obj2 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self",(char *) "x",(char *) "y", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16154 arg2 = (double) SWIG_AsDouble(obj1);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 arg3 = (double) SWIG_AsDouble(obj2);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 {
16159 PyThreadState* __tstate = wxPyBeginAllowThreads();
16160 (arg1)->base_OnSize(arg2,arg3);
16161
16162 wxPyEndAllowThreads(__tstate);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 Py_INCREF(Py_None); resultobj = Py_None;
16166 return resultobj;
16167 fail:
16168 return NULL;
16169 }
16170
16171
16172 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16175 wxDC *arg2 = 0 ;
16176 double arg3 ;
16177 double arg4 ;
16178 double arg5 ;
16179 double arg6 ;
16180 bool arg7 = (bool) True ;
16181 bool result;
16182 PyObject * obj0 = 0 ;
16183 PyObject * obj1 = 0 ;
16184 PyObject * obj2 = 0 ;
16185 PyObject * obj3 = 0 ;
16186 PyObject * obj4 = 0 ;
16187 PyObject * obj5 = 0 ;
16188 PyObject * obj6 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16191 };
16192
16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16197 SWIG_POINTER_EXCEPTION | 0)) == -1)
16198 SWIG_fail;
16199 if (arg2 == NULL) {
16200 PyErr_SetString(PyExc_TypeError,"null reference");
16201 SWIG_fail;
16202 }
16203 arg3 = (double) SWIG_AsDouble(obj2);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 arg4 = (double) SWIG_AsDouble(obj3);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 arg5 = (double) SWIG_AsDouble(obj4);
16208 if (PyErr_Occurred()) SWIG_fail;
16209 arg6 = (double) SWIG_AsDouble(obj5);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 if (obj6) {
16212 arg7 = (bool) SWIG_AsBool(obj6);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 {
16216 PyThreadState* __tstate = wxPyBeginAllowThreads();
16217 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16218
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 {
16223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16224 }
16225 return resultobj;
16226 fail:
16227 return NULL;
16228 }
16229
16230
16231 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
16232 PyObject *resultobj;
16233 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16234 wxDC *arg2 = 0 ;
16235 double arg3 ;
16236 double arg4 ;
16237 double arg5 ;
16238 double arg6 ;
16239 bool arg7 = (bool) True ;
16240 PyObject * obj0 = 0 ;
16241 PyObject * obj1 = 0 ;
16242 PyObject * obj2 = 0 ;
16243 PyObject * obj3 = 0 ;
16244 PyObject * obj4 = 0 ;
16245 PyObject * obj5 = 0 ;
16246 PyObject * obj6 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16254 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16255 SWIG_POINTER_EXCEPTION | 0)) == -1)
16256 SWIG_fail;
16257 if (arg2 == NULL) {
16258 PyErr_SetString(PyExc_TypeError,"null reference");
16259 SWIG_fail;
16260 }
16261 arg3 = (double) SWIG_AsDouble(obj2);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 arg4 = (double) SWIG_AsDouble(obj3);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 arg5 = (double) SWIG_AsDouble(obj4);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 arg6 = (double) SWIG_AsDouble(obj5);
16268 if (PyErr_Occurred()) SWIG_fail;
16269 if (obj6) {
16270 arg7 = (bool) SWIG_AsBool(obj6);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 Py_INCREF(Py_None); resultobj = Py_None;
16281 return resultobj;
16282 fail:
16283 return NULL;
16284 }
16285
16286
16287 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16290 bool arg2 ;
16291 double arg3 ;
16292 double arg4 ;
16293 int arg5 = (int) 0 ;
16294 int arg6 = (int) 0 ;
16295 PyObject * obj0 = 0 ;
16296 PyObject * obj1 = 0 ;
16297 PyObject * obj2 = 0 ;
16298 PyObject * obj3 = 0 ;
16299 PyObject * obj4 = 0 ;
16300 PyObject * obj5 = 0 ;
16301 char *kwnames[] = {
16302 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16303 };
16304
16305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16308 arg2 = (bool) SWIG_AsBool(obj1);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 arg3 = (double) SWIG_AsDouble(obj2);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 arg4 = (double) SWIG_AsDouble(obj3);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 if (obj4) {
16315 arg5 = (int) SWIG_AsInt(obj4);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
16318 if (obj5) {
16319 arg6 = (int) SWIG_AsInt(obj5);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16325
16326 wxPyEndAllowThreads(__tstate);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 }
16329 Py_INCREF(Py_None); resultobj = Py_None;
16330 return resultobj;
16331 fail:
16332 return NULL;
16333 }
16334
16335
16336 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16339 double arg2 ;
16340 double arg3 ;
16341 int arg4 = (int) 0 ;
16342 int arg5 = (int) 0 ;
16343 PyObject * obj0 = 0 ;
16344 PyObject * obj1 = 0 ;
16345 PyObject * obj2 = 0 ;
16346 PyObject * obj3 = 0 ;
16347 PyObject * obj4 = 0 ;
16348 char *kwnames[] = {
16349 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16350 };
16351
16352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16355 arg2 = (double) SWIG_AsDouble(obj1);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 arg3 = (double) SWIG_AsDouble(obj2);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 if (obj3) {
16360 arg4 = (int) SWIG_AsInt(obj3);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 if (obj4) {
16364 arg5 = (int) SWIG_AsInt(obj4);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 Py_INCREF(Py_None); resultobj = Py_None;
16375 return resultobj;
16376 fail:
16377 return NULL;
16378 }
16379
16380
16381 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj;
16383 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16384 double arg2 ;
16385 double arg3 ;
16386 int arg4 = (int) 0 ;
16387 int arg5 = (int) 0 ;
16388 PyObject * obj0 = 0 ;
16389 PyObject * obj1 = 0 ;
16390 PyObject * obj2 = 0 ;
16391 PyObject * obj3 = 0 ;
16392 PyObject * obj4 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16400 arg2 = (double) SWIG_AsDouble(obj1);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 arg3 = (double) SWIG_AsDouble(obj2);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 if (obj3) {
16405 arg4 = (int) SWIG_AsInt(obj3);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 if (obj4) {
16409 arg5 = (int) SWIG_AsInt(obj4);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16415
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 Py_INCREF(Py_None); resultobj = Py_None;
16420 return resultobj;
16421 fail:
16422 return NULL;
16423 }
16424
16425
16426 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16427 PyObject *resultobj;
16428 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16429 bool arg2 ;
16430 double arg3 ;
16431 double arg4 ;
16432 int arg5 = (int) 0 ;
16433 int arg6 = (int) 0 ;
16434 PyObject * obj0 = 0 ;
16435 PyObject * obj1 = 0 ;
16436 PyObject * obj2 = 0 ;
16437 PyObject * obj3 = 0 ;
16438 PyObject * obj4 = 0 ;
16439 PyObject * obj5 = 0 ;
16440 char *kwnames[] = {
16441 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16442 };
16443
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16447 arg2 = (bool) SWIG_AsBool(obj1);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 arg3 = (double) SWIG_AsDouble(obj2);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 arg4 = (double) SWIG_AsDouble(obj3);
16452 if (PyErr_Occurred()) SWIG_fail;
16453 if (obj4) {
16454 arg5 = (int) SWIG_AsInt(obj4);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 if (obj5) {
16458 arg6 = (int) SWIG_AsInt(obj5);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
16462 PyThreadState* __tstate = wxPyBeginAllowThreads();
16463 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16464
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
16468 Py_INCREF(Py_None); resultobj = Py_None;
16469 return resultobj;
16470 fail:
16471 return NULL;
16472 }
16473
16474
16475 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16478 double arg2 ;
16479 double arg3 ;
16480 int arg4 = (int) 0 ;
16481 int arg5 = (int) 0 ;
16482 PyObject * obj0 = 0 ;
16483 PyObject * obj1 = 0 ;
16484 PyObject * obj2 = 0 ;
16485 PyObject * obj3 = 0 ;
16486 PyObject * obj4 = 0 ;
16487 char *kwnames[] = {
16488 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16489 };
16490
16491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16494 arg2 = (double) SWIG_AsDouble(obj1);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 arg3 = (double) SWIG_AsDouble(obj2);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 if (obj3) {
16499 arg4 = (int) SWIG_AsInt(obj3);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 if (obj4) {
16503 arg5 = (int) SWIG_AsInt(obj4);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 Py_INCREF(Py_None); resultobj = Py_None;
16514 return resultobj;
16515 fail:
16516 return NULL;
16517 }
16518
16519
16520 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj;
16522 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16523 double arg2 ;
16524 double arg3 ;
16525 int arg4 = (int) 0 ;
16526 int arg5 = (int) 0 ;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 PyObject * obj2 = 0 ;
16530 PyObject * obj3 = 0 ;
16531 PyObject * obj4 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16539 arg2 = (double) SWIG_AsDouble(obj1);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 arg3 = (double) SWIG_AsDouble(obj2);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 if (obj3) {
16544 arg4 = (int) SWIG_AsInt(obj3);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 if (obj4) {
16548 arg5 = (int) SWIG_AsInt(obj4);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 Py_INCREF(Py_None); resultobj = Py_None;
16559 return resultobj;
16560 fail:
16561 return NULL;
16562 }
16563
16564
16565 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16568 wxDC *arg2 = 0 ;
16569 double arg3 ;
16570 double arg4 ;
16571 double arg5 ;
16572 double arg6 ;
16573 PyObject * obj0 = 0 ;
16574 PyObject * obj1 = 0 ;
16575 PyObject * obj2 = 0 ;
16576 PyObject * obj3 = 0 ;
16577 PyObject * obj4 = 0 ;
16578 PyObject * obj5 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16587 SWIG_POINTER_EXCEPTION | 0)) == -1)
16588 SWIG_fail;
16589 if (arg2 == NULL) {
16590 PyErr_SetString(PyExc_TypeError,"null reference");
16591 SWIG_fail;
16592 }
16593 arg3 = (double) SWIG_AsDouble(obj2);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 arg4 = (double) SWIG_AsDouble(obj3);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 arg5 = (double) SWIG_AsDouble(obj4);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 arg6 = (double) SWIG_AsDouble(obj5);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16604
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 Py_INCREF(Py_None); resultobj = Py_None;
16609 return resultobj;
16610 fail:
16611 return NULL;
16612 }
16613
16614
16615 static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16618 wxDC *arg2 = 0 ;
16619 PyObject * obj0 = 0 ;
16620 PyObject * obj1 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self",(char *) "dc", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16629 SWIG_POINTER_EXCEPTION | 0)) == -1)
16630 SWIG_fail;
16631 if (arg2 == NULL) {
16632 PyErr_SetString(PyExc_TypeError,"null reference");
16633 SWIG_fail;
16634 }
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 (arg1)->base_OnDrawControlPoints(*arg2);
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 Py_INCREF(Py_None); resultobj = Py_None;
16643 return resultobj;
16644 fail:
16645 return NULL;
16646 }
16647
16648
16649 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16650 PyObject *resultobj;
16651 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16652 wxDC *arg2 = 0 ;
16653 PyObject * obj0 = 0 ;
16654 PyObject * obj1 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self",(char *) "dc", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16663 SWIG_POINTER_EXCEPTION | 0)) == -1)
16664 SWIG_fail;
16665 if (arg2 == NULL) {
16666 PyErr_SetString(PyExc_TypeError,"null reference");
16667 SWIG_fail;
16668 }
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 (arg1)->base_OnEraseControlPoints(*arg2);
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 Py_INCREF(Py_None); resultobj = Py_None;
16677 return resultobj;
16678 fail:
16679 return NULL;
16680 }
16681
16682
16683 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16684 PyObject *resultobj;
16685 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16686 wxDC *arg2 = 0 ;
16687 bool arg3 = (bool) True ;
16688 PyObject * obj0 = 0 ;
16689 PyObject * obj1 = 0 ;
16690 PyObject * obj2 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1)
16700 SWIG_fail;
16701 if (arg2 == NULL) {
16702 PyErr_SetString(PyExc_TypeError,"null reference");
16703 SWIG_fail;
16704 }
16705 if (obj2) {
16706 arg3 = (bool) SWIG_AsBool(obj2);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 {
16710 PyThreadState* __tstate = wxPyBeginAllowThreads();
16711 (arg1)->base_OnMoveLink(*arg2,arg3);
16712
16713 wxPyEndAllowThreads(__tstate);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 Py_INCREF(Py_None); resultobj = Py_None;
16717 return resultobj;
16718 fail:
16719 return NULL;
16720 }
16721
16722
16723 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16726 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16727 bool arg3 ;
16728 double arg4 ;
16729 double arg5 ;
16730 int arg6 = (int) 0 ;
16731 int arg7 = (int) 0 ;
16732 PyObject * obj0 = 0 ;
16733 PyObject * obj1 = 0 ;
16734 PyObject * obj2 = 0 ;
16735 PyObject * obj3 = 0 ;
16736 PyObject * obj4 = 0 ;
16737 PyObject * obj5 = 0 ;
16738 PyObject * obj6 = 0 ;
16739 char *kwnames[] = {
16740 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16741 };
16742
16743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16748 arg3 = (bool) SWIG_AsBool(obj2);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 arg4 = (double) SWIG_AsDouble(obj3);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 arg5 = (double) SWIG_AsDouble(obj4);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 if (obj5) {
16755 arg6 = (int) SWIG_AsInt(obj5);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 if (obj6) {
16759 arg7 = (int) SWIG_AsInt(obj6);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 {
16763 PyThreadState* __tstate = wxPyBeginAllowThreads();
16764 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16765
16766 wxPyEndAllowThreads(__tstate);
16767 if (PyErr_Occurred()) SWIG_fail;
16768 }
16769 Py_INCREF(Py_None); resultobj = Py_None;
16770 return resultobj;
16771 fail:
16772 return NULL;
16773 }
16774
16775
16776 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16777 PyObject *resultobj;
16778 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16779 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16780 double arg3 ;
16781 double arg4 ;
16782 int arg5 = (int) 0 ;
16783 int arg6 = (int) 0 ;
16784 PyObject * obj0 = 0 ;
16785 PyObject * obj1 = 0 ;
16786 PyObject * obj2 = 0 ;
16787 PyObject * obj3 = 0 ;
16788 PyObject * obj4 = 0 ;
16789 PyObject * obj5 = 0 ;
16790 char *kwnames[] = {
16791 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16792 };
16793
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16799 arg3 = (double) SWIG_AsDouble(obj2);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 arg4 = (double) SWIG_AsDouble(obj3);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 if (obj4) {
16804 arg5 = (int) SWIG_AsInt(obj4);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 if (obj5) {
16808 arg6 = (int) SWIG_AsInt(obj5);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 {
16812 PyThreadState* __tstate = wxPyBeginAllowThreads();
16813 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16814
16815 wxPyEndAllowThreads(__tstate);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 }
16818 Py_INCREF(Py_None); resultobj = Py_None;
16819 return resultobj;
16820 fail:
16821 return NULL;
16822 }
16823
16824
16825 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16828 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16829 double arg3 ;
16830 double arg4 ;
16831 int arg5 = (int) 0 ;
16832 int arg6 = (int) 0 ;
16833 PyObject * obj0 = 0 ;
16834 PyObject * obj1 = 0 ;
16835 PyObject * obj2 = 0 ;
16836 PyObject * obj3 = 0 ;
16837 PyObject * obj4 = 0 ;
16838 PyObject * obj5 = 0 ;
16839 char *kwnames[] = {
16840 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16841 };
16842
16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16848 arg3 = (double) SWIG_AsDouble(obj2);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 arg4 = (double) SWIG_AsDouble(obj3);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 if (obj4) {
16853 arg5 = (int) SWIG_AsInt(obj4);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 if (obj5) {
16857 arg6 = (int) SWIG_AsInt(obj5);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
16867 Py_INCREF(Py_None); resultobj = Py_None;
16868 return resultobj;
16869 fail:
16870 return NULL;
16871 }
16872
16873
16874 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16875 PyObject *resultobj;
16876 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16877 double arg2 ;
16878 double arg3 ;
16879 PyObject * obj0 = 0 ;
16880 PyObject * obj1 = 0 ;
16881 PyObject * obj2 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "self",(char *) "w",(char *) "h", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16889 arg2 = (double) SWIG_AsDouble(obj1);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 arg3 = (double) SWIG_AsDouble(obj2);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 {
16894 PyThreadState* __tstate = wxPyBeginAllowThreads();
16895 (arg1)->base_OnBeginSize(arg2,arg3);
16896
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 Py_INCREF(Py_None); resultobj = Py_None;
16901 return resultobj;
16902 fail:
16903 return NULL;
16904 }
16905
16906
16907 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16908 PyObject *resultobj;
16909 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16910 double arg2 ;
16911 double arg3 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 PyObject * obj2 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "self",(char *) "w",(char *) "h", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16922 arg2 = (double) SWIG_AsDouble(obj1);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 arg3 = (double) SWIG_AsDouble(obj2);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 (arg1)->base_OnEndSize(arg2,arg3);
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 Py_INCREF(Py_None); resultobj = Py_None;
16934 return resultobj;
16935 fail:
16936 return NULL;
16937 }
16938
16939
16940 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
16941 PyObject *obj;
16942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16943 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
16944 Py_INCREF(obj);
16945 return Py_BuildValue((char *)"");
16946 }
16947 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
16948 PyObject *resultobj;
16949 int arg1 ;
16950 wxPyShape *arg2 = (wxPyShape *) 0 ;
16951 PyObject *arg3 = (PyObject *) 0 ;
16952 wxOGLConstraint *result;
16953 PyObject * obj0 = 0 ;
16954 PyObject * obj1 = 0 ;
16955 PyObject * obj2 = 0 ;
16956 char *kwnames[] = {
16957 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16958 };
16959
16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
16961 arg1 = (int) SWIG_AsInt(obj0);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
16964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16965 arg3 = obj2;
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 {
16974 resultobj = wxPyMake_wxObject(result);
16975 }
16976 return resultobj;
16977 fail:
16978 return NULL;
16979 }
16980
16981
16982 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
16985 bool result;
16986 PyObject * obj0 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
16993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 result = (bool)(arg1)->Evaluate();
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 {
17002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17003 }
17004 return resultobj;
17005 fail:
17006 return NULL;
17007 }
17008
17009
17010 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj;
17012 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17013 double arg2 ;
17014 double arg3 ;
17015 PyObject * obj0 = 0 ;
17016 PyObject * obj1 = 0 ;
17017 PyObject * obj2 = 0 ;
17018 char *kwnames[] = {
17019 (char *) "self",(char *) "x",(char *) "y", NULL
17020 };
17021
17022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
17023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17025 arg2 = (double) SWIG_AsDouble(obj1);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 arg3 = (double) SWIG_AsDouble(obj2);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 (arg1)->SetSpacing(arg2,arg3);
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 Py_INCREF(Py_None); resultobj = Py_None;
17037 return resultobj;
17038 fail:
17039 return NULL;
17040 }
17041
17042
17043 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
17044 PyObject *resultobj;
17045 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17046 double arg2 ;
17047 double arg3 ;
17048 bool result;
17049 PyObject * obj0 = 0 ;
17050 PyObject * obj1 = 0 ;
17051 PyObject * obj2 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self",(char *) "a",(char *) "b", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
17057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17059 arg2 = (double) SWIG_AsDouble(obj1);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 arg3 = (double) SWIG_AsDouble(obj2);
17062 if (PyErr_Occurred()) SWIG_fail;
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (bool)(arg1)->Equals(arg2,arg3);
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 {
17071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17072 }
17073 return resultobj;
17074 fail:
17075 return NULL;
17076 }
17077
17078
17079 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
17080 PyObject *obj;
17081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17082 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17083 Py_INCREF(obj);
17084 return Py_BuildValue((char *)"");
17085 }
17086 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17087 PyObject *resultobj;
17088 wxPyCompositeShape *result;
17089 char *kwnames[] = {
17090 NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
17102 return resultobj;
17103 fail:
17104 return NULL;
17105 }
17106
17107
17108 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj;
17110 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17111 PyObject *arg2 = (PyObject *) 0 ;
17112 PyObject *arg3 = (PyObject *) 0 ;
17113 PyObject * obj0 = 0 ;
17114 PyObject * obj1 = 0 ;
17115 PyObject * obj2 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "self",(char *) "self",(char *) "_class", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17123 arg2 = obj1;
17124 arg3 = obj2;
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 (arg1)->_setCallbackInfo(arg2,arg3);
17128
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 Py_INCREF(Py_None); resultobj = Py_None;
17133 return resultobj;
17134 fail:
17135 return NULL;
17136 }
17137
17138
17139 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17142 wxPyShape *arg2 = (wxPyShape *) 0 ;
17143 wxPyShape *arg3 = (wxPyShape *) NULL ;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 PyObject * obj2 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17156 if (obj2) {
17157 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17159 }
17160 {
17161 PyThreadState* __tstate = wxPyBeginAllowThreads();
17162 (arg1)->AddChild(arg2,arg3);
17163
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 Py_INCREF(Py_None); resultobj = Py_None;
17168 return resultobj;
17169 fail:
17170 return NULL;
17171 }
17172
17173
17174 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj;
17176 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17177 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17178 wxOGLConstraint *result;
17179 PyObject * obj0 = 0 ;
17180 PyObject * obj1 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "constraint", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
17186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17190 {
17191 PyThreadState* __tstate = wxPyBeginAllowThreads();
17192 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17193
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
17197 {
17198 resultobj = wxPyMake_wxObject(result);
17199 }
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17209 int arg2 ;
17210 wxPyShape *arg3 = (wxPyShape *) 0 ;
17211 PyObject *arg4 = (PyObject *) 0 ;
17212 wxOGLConstraint *result;
17213 PyObject * obj0 = 0 ;
17214 PyObject * obj1 = 0 ;
17215 PyObject * obj2 = 0 ;
17216 PyObject * obj3 = 0 ;
17217 char *kwnames[] = {
17218 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17219 };
17220
17221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17224 arg2 = (int) SWIG_AsInt(obj1);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17228 arg4 = obj3;
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 {
17237 resultobj = wxPyMake_wxObject(result);
17238 }
17239 return resultobj;
17240 fail:
17241 return NULL;
17242 }
17243
17244
17245 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj;
17247 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17248 int arg2 ;
17249 wxPyShape *arg3 = (wxPyShape *) 0 ;
17250 wxPyShape *arg4 = (wxPyShape *) 0 ;
17251 wxOGLConstraint *result;
17252 PyObject * obj0 = 0 ;
17253 PyObject * obj1 = 0 ;
17254 PyObject * obj2 = 0 ;
17255 PyObject * obj3 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17263 arg2 = (int) SWIG_AsInt(obj1);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17267 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPyShape,
17268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 {
17277 resultobj = wxPyMake_wxObject(result);
17278 }
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
17294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->CalculateSize();
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj;
17312 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17313 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17314 bool result;
17315 PyObject * obj0 = 0 ;
17316 PyObject * obj1 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "self",(char *) "division", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
17322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
17325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 result = (bool)(arg1)->ContainsDivision(arg2);
17329
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 {
17334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17335 }
17336 return resultobj;
17337 fail:
17338 return NULL;
17339 }
17340
17341
17342 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17343 PyObject *resultobj;
17344 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17345 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17346 PyObject * obj0 = 0 ;
17347 PyObject * obj1 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self",(char *) "constraint", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
17353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 (arg1)->DeleteConstraint(arg2);
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 Py_INCREF(Py_None); resultobj = Py_None;
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17374 wxPyShape *arg2 = (wxPyShape *) 0 ;
17375 PyObject * obj0 = 0 ;
17376 PyObject * obj1 = 0 ;
17377 char *kwnames[] = {
17378 (char *) "self",(char *) "child", NULL
17379 };
17380
17381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
17382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 Py_INCREF(Py_None); resultobj = Py_None;
17394 return resultobj;
17395 fail:
17396 return NULL;
17397 }
17398
17399
17400 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj;
17402 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17403 wxPyShape *result;
17404 PyObject * obj0 = 0 ;
17405 char *kwnames[] = {
17406 (char *) "self", NULL
17407 };
17408
17409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
17410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17412 {
17413 PyThreadState* __tstate = wxPyBeginAllowThreads();
17414 result = (wxPyShape *)(arg1)->FindContainerImage();
17415
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 {
17420 resultobj = wxPyMake_wxShapeEvtHandler(result);
17421 }
17422 return resultobj;
17423 fail:
17424 return NULL;
17425 }
17426
17427
17428 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17431 PyObject *result;
17432 PyObject * obj0 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
17438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 resultobj = result;
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17457 PyObject *result;
17458 PyObject * obj0 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = result;
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 (arg1)->MakeContainer();
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 Py_INCREF(Py_None); resultobj = Py_None;
17499 return resultobj;
17500 fail:
17501 return NULL;
17502 }
17503
17504
17505 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
17506 PyObject *resultobj;
17507 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17508 bool result;
17509 PyObject * obj0 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "self", NULL
17512 };
17513
17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
17515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 result = (bool)(arg1)->Recompute();
17520
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 {
17525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17526 }
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17536 wxPyShape *arg2 = (wxPyShape *) 0 ;
17537 PyObject * obj0 = 0 ;
17538 PyObject * obj1 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self",(char *) "child", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 (arg1)->RemoveChild(arg2);
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 Py_INCREF(Py_None); resultobj = Py_None;
17556 return resultobj;
17557 fail:
17558 return NULL;
17559 }
17560
17561
17562 static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17565 PyObject * obj0 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "self", NULL
17568 };
17569
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
17571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 (arg1)->base_OnDelete();
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 Py_INCREF(Py_None); resultobj = Py_None;
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17590 wxDC *arg2 = 0 ;
17591 PyObject * obj0 = 0 ;
17592 PyObject * obj1 = 0 ;
17593 char *kwnames[] = {
17594 (char *) "self",(char *) "dc", NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17601 SWIG_POINTER_EXCEPTION | 0)) == -1)
17602 SWIG_fail;
17603 if (arg2 == NULL) {
17604 PyErr_SetString(PyExc_TypeError,"null reference");
17605 SWIG_fail;
17606 }
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 (arg1)->base_OnDraw(*arg2);
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 Py_INCREF(Py_None); resultobj = Py_None;
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17624 wxDC *arg2 = 0 ;
17625 PyObject * obj0 = 0 ;
17626 PyObject * obj1 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self",(char *) "dc", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17635 SWIG_POINTER_EXCEPTION | 0)) == -1)
17636 SWIG_fail;
17637 if (arg2 == NULL) {
17638 PyErr_SetString(PyExc_TypeError,"null reference");
17639 SWIG_fail;
17640 }
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 (arg1)->base_OnDrawContents(*arg2);
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 Py_INCREF(Py_None); resultobj = Py_None;
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17658 wxDC *arg2 = 0 ;
17659 bool arg3 = (bool) FALSE ;
17660 PyObject * obj0 = 0 ;
17661 PyObject * obj1 = 0 ;
17662 PyObject * obj2 = 0 ;
17663 char *kwnames[] = {
17664 (char *) "self",(char *) "dc",(char *) "erase", NULL
17665 };
17666
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17671 SWIG_POINTER_EXCEPTION | 0)) == -1)
17672 SWIG_fail;
17673 if (arg2 == NULL) {
17674 PyErr_SetString(PyExc_TypeError,"null reference");
17675 SWIG_fail;
17676 }
17677 if (obj2) {
17678 arg3 = (bool) SWIG_AsBool(obj2);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 (arg1)->base_OnDrawBranches(*arg2,arg3);
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 Py_INCREF(Py_None); resultobj = Py_None;
17689 return resultobj;
17690 fail:
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17698 wxDC *arg2 = 0 ;
17699 PyObject * obj0 = 0 ;
17700 PyObject * obj1 = 0 ;
17701 char *kwnames[] = {
17702 (char *) "self",(char *) "dc", NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17709 SWIG_POINTER_EXCEPTION | 0)) == -1)
17710 SWIG_fail;
17711 if (arg2 == NULL) {
17712 PyErr_SetString(PyExc_TypeError,"null reference");
17713 SWIG_fail;
17714 }
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 (arg1)->base_OnMoveLinks(*arg2);
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 Py_INCREF(Py_None); resultobj = Py_None;
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17732 wxDC *arg2 = 0 ;
17733 PyObject * obj0 = 0 ;
17734 PyObject * obj1 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "self",(char *) "dc", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17743 SWIG_POINTER_EXCEPTION | 0)) == -1)
17744 SWIG_fail;
17745 if (arg2 == NULL) {
17746 PyErr_SetString(PyExc_TypeError,"null reference");
17747 SWIG_fail;
17748 }
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 (arg1)->base_OnErase(*arg2);
17752
17753 wxPyEndAllowThreads(__tstate);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 }
17756 Py_INCREF(Py_None); resultobj = Py_None;
17757 return resultobj;
17758 fail:
17759 return NULL;
17760 }
17761
17762
17763 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17764 PyObject *resultobj;
17765 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17766 wxDC *arg2 = 0 ;
17767 PyObject * obj0 = 0 ;
17768 PyObject * obj1 = 0 ;
17769 char *kwnames[] = {
17770 (char *) "self",(char *) "dc", NULL
17771 };
17772
17773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17777 SWIG_POINTER_EXCEPTION | 0)) == -1)
17778 SWIG_fail;
17779 if (arg2 == NULL) {
17780 PyErr_SetString(PyExc_TypeError,"null reference");
17781 SWIG_fail;
17782 }
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 (arg1)->base_OnEraseContents(*arg2);
17786
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 Py_INCREF(Py_None); resultobj = Py_None;
17791 return resultobj;
17792 fail:
17793 return NULL;
17794 }
17795
17796
17797 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17798 PyObject *resultobj;
17799 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17800 wxDC *arg2 = 0 ;
17801 PyObject * obj0 = 0 ;
17802 PyObject * obj1 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self",(char *) "dc", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17811 SWIG_POINTER_EXCEPTION | 0)) == -1)
17812 SWIG_fail;
17813 if (arg2 == NULL) {
17814 PyErr_SetString(PyExc_TypeError,"null reference");
17815 SWIG_fail;
17816 }
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 (arg1)->base_OnHighlight(*arg2);
17820
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 Py_INCREF(Py_None); resultobj = Py_None;
17825 return resultobj;
17826 fail:
17827 return NULL;
17828 }
17829
17830
17831 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17832 PyObject *resultobj;
17833 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17834 double arg2 ;
17835 double arg3 ;
17836 int arg4 = (int) 0 ;
17837 int arg5 = (int) 0 ;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 PyObject * obj2 = 0 ;
17841 PyObject * obj3 = 0 ;
17842 PyObject * obj4 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17850 arg2 = (double) SWIG_AsDouble(obj1);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 arg3 = (double) SWIG_AsDouble(obj2);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 if (obj3) {
17855 arg4 = (int) SWIG_AsInt(obj3);
17856 if (PyErr_Occurred()) SWIG_fail;
17857 }
17858 if (obj4) {
17859 arg5 = (int) SWIG_AsInt(obj4);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 Py_INCREF(Py_None); resultobj = Py_None;
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17879 double arg2 ;
17880 double arg3 ;
17881 int arg4 = (int) 0 ;
17882 int arg5 = (int) 0 ;
17883 PyObject * obj0 = 0 ;
17884 PyObject * obj1 = 0 ;
17885 PyObject * obj2 = 0 ;
17886 PyObject * obj3 = 0 ;
17887 PyObject * obj4 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17895 arg2 = (double) SWIG_AsDouble(obj1);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 arg3 = (double) SWIG_AsDouble(obj2);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 if (obj3) {
17900 arg4 = (int) SWIG_AsInt(obj3);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 if (obj4) {
17904 arg5 = (int) SWIG_AsInt(obj4);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 Py_INCREF(Py_None); resultobj = Py_None;
17915 return resultobj;
17916 fail:
17917 return NULL;
17918 }
17919
17920
17921 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17924 double arg2 ;
17925 double arg3 ;
17926 int arg4 = (int) 0 ;
17927 int arg5 = (int) 0 ;
17928 PyObject * obj0 = 0 ;
17929 PyObject * obj1 = 0 ;
17930 PyObject * obj2 = 0 ;
17931 PyObject * obj3 = 0 ;
17932 PyObject * obj4 = 0 ;
17933 char *kwnames[] = {
17934 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17935 };
17936
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17940 arg2 = (double) SWIG_AsDouble(obj1);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 arg3 = (double) SWIG_AsDouble(obj2);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 if (obj3) {
17945 arg4 = (int) SWIG_AsInt(obj3);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 if (obj4) {
17949 arg5 = (int) SWIG_AsInt(obj4);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 Py_INCREF(Py_None); resultobj = Py_None;
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17969 double arg2 ;
17970 double arg3 ;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 PyObject * obj2 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "x",(char *) "y", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17981 arg2 = (double) SWIG_AsDouble(obj1);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 arg3 = (double) SWIG_AsDouble(obj2);
17984 if (PyErr_Occurred()) SWIG_fail;
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 (arg1)->base_OnSize(arg2,arg3);
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 Py_INCREF(Py_None); resultobj = Py_None;
17993 return resultobj;
17994 fail:
17995 return NULL;
17996 }
17997
17998
17999 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18002 wxDC *arg2 = 0 ;
18003 double arg3 ;
18004 double arg4 ;
18005 double arg5 ;
18006 double arg6 ;
18007 bool arg7 = (bool) True ;
18008 bool result;
18009 PyObject * obj0 = 0 ;
18010 PyObject * obj1 = 0 ;
18011 PyObject * obj2 = 0 ;
18012 PyObject * obj3 = 0 ;
18013 PyObject * obj4 = 0 ;
18014 PyObject * obj5 = 0 ;
18015 PyObject * obj6 = 0 ;
18016 char *kwnames[] = {
18017 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18018 };
18019
18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18024 SWIG_POINTER_EXCEPTION | 0)) == -1)
18025 SWIG_fail;
18026 if (arg2 == NULL) {
18027 PyErr_SetString(PyExc_TypeError,"null reference");
18028 SWIG_fail;
18029 }
18030 arg3 = (double) SWIG_AsDouble(obj2);
18031 if (PyErr_Occurred()) SWIG_fail;
18032 arg4 = (double) SWIG_AsDouble(obj3);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 arg5 = (double) SWIG_AsDouble(obj4);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 arg6 = (double) SWIG_AsDouble(obj5);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 if (obj6) {
18039 arg7 = (bool) SWIG_AsBool(obj6);
18040 if (PyErr_Occurred()) SWIG_fail;
18041 }
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18061 wxDC *arg2 = 0 ;
18062 double arg3 ;
18063 double arg4 ;
18064 double arg5 ;
18065 double arg6 ;
18066 bool arg7 = (bool) True ;
18067 PyObject * obj0 = 0 ;
18068 PyObject * obj1 = 0 ;
18069 PyObject * obj2 = 0 ;
18070 PyObject * obj3 = 0 ;
18071 PyObject * obj4 = 0 ;
18072 PyObject * obj5 = 0 ;
18073 PyObject * obj6 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18082 SWIG_POINTER_EXCEPTION | 0)) == -1)
18083 SWIG_fail;
18084 if (arg2 == NULL) {
18085 PyErr_SetString(PyExc_TypeError,"null reference");
18086 SWIG_fail;
18087 }
18088 arg3 = (double) SWIG_AsDouble(obj2);
18089 if (PyErr_Occurred()) SWIG_fail;
18090 arg4 = (double) SWIG_AsDouble(obj3);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 arg5 = (double) SWIG_AsDouble(obj4);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 arg6 = (double) SWIG_AsDouble(obj5);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 if (obj6) {
18097 arg7 = (bool) SWIG_AsBool(obj6);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 Py_INCREF(Py_None); resultobj = Py_None;
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18117 bool arg2 ;
18118 double arg3 ;
18119 double arg4 ;
18120 int arg5 = (int) 0 ;
18121 int arg6 = (int) 0 ;
18122 PyObject * obj0 = 0 ;
18123 PyObject * obj1 = 0 ;
18124 PyObject * obj2 = 0 ;
18125 PyObject * obj3 = 0 ;
18126 PyObject * obj4 = 0 ;
18127 PyObject * obj5 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18135 arg2 = (bool) SWIG_AsBool(obj1);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 arg3 = (double) SWIG_AsDouble(obj2);
18138 if (PyErr_Occurred()) SWIG_fail;
18139 arg4 = (double) SWIG_AsDouble(obj3);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 if (obj4) {
18142 arg5 = (int) SWIG_AsInt(obj4);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
18145 if (obj5) {
18146 arg6 = (int) SWIG_AsInt(obj5);
18147 if (PyErr_Occurred()) SWIG_fail;
18148 }
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 Py_INCREF(Py_None); resultobj = Py_None;
18157 return resultobj;
18158 fail:
18159 return NULL;
18160 }
18161
18162
18163 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18166 double arg2 ;
18167 double arg3 ;
18168 int arg4 = (int) 0 ;
18169 int arg5 = (int) 0 ;
18170 PyObject * obj0 = 0 ;
18171 PyObject * obj1 = 0 ;
18172 PyObject * obj2 = 0 ;
18173 PyObject * obj3 = 0 ;
18174 PyObject * obj4 = 0 ;
18175 char *kwnames[] = {
18176 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18177 };
18178
18179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18182 arg2 = (double) SWIG_AsDouble(obj1);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 arg3 = (double) SWIG_AsDouble(obj2);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 if (obj3) {
18187 arg4 = (int) SWIG_AsInt(obj3);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 if (obj4) {
18191 arg5 = (int) SWIG_AsInt(obj4);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
18201 Py_INCREF(Py_None); resultobj = Py_None;
18202 return resultobj;
18203 fail:
18204 return NULL;
18205 }
18206
18207
18208 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18211 double arg2 ;
18212 double arg3 ;
18213 int arg4 = (int) 0 ;
18214 int arg5 = (int) 0 ;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 PyObject * obj2 = 0 ;
18218 PyObject * obj3 = 0 ;
18219 PyObject * obj4 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18227 arg2 = (double) SWIG_AsDouble(obj1);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 arg3 = (double) SWIG_AsDouble(obj2);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 if (obj3) {
18232 arg4 = (int) SWIG_AsInt(obj3);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 if (obj4) {
18236 arg5 = (int) SWIG_AsInt(obj4);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 {
18240 PyThreadState* __tstate = wxPyBeginAllowThreads();
18241 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18242
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 Py_INCREF(Py_None); resultobj = Py_None;
18247 return resultobj;
18248 fail:
18249 return NULL;
18250 }
18251
18252
18253 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18256 bool arg2 ;
18257 double arg3 ;
18258 double arg4 ;
18259 int arg5 = (int) 0 ;
18260 int arg6 = (int) 0 ;
18261 PyObject * obj0 = 0 ;
18262 PyObject * obj1 = 0 ;
18263 PyObject * obj2 = 0 ;
18264 PyObject * obj3 = 0 ;
18265 PyObject * obj4 = 0 ;
18266 PyObject * obj5 = 0 ;
18267 char *kwnames[] = {
18268 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18269 };
18270
18271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18274 arg2 = (bool) SWIG_AsBool(obj1);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 arg3 = (double) SWIG_AsDouble(obj2);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 arg4 = (double) SWIG_AsDouble(obj3);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 if (obj4) {
18281 arg5 = (int) SWIG_AsInt(obj4);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 }
18284 if (obj5) {
18285 arg6 = (int) SWIG_AsInt(obj5);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 {
18289 PyThreadState* __tstate = wxPyBeginAllowThreads();
18290 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18291
18292 wxPyEndAllowThreads(__tstate);
18293 if (PyErr_Occurred()) SWIG_fail;
18294 }
18295 Py_INCREF(Py_None); resultobj = Py_None;
18296 return resultobj;
18297 fail:
18298 return NULL;
18299 }
18300
18301
18302 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj;
18304 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18305 double arg2 ;
18306 double arg3 ;
18307 int arg4 = (int) 0 ;
18308 int arg5 = (int) 0 ;
18309 PyObject * obj0 = 0 ;
18310 PyObject * obj1 = 0 ;
18311 PyObject * obj2 = 0 ;
18312 PyObject * obj3 = 0 ;
18313 PyObject * obj4 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18321 arg2 = (double) SWIG_AsDouble(obj1);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 arg3 = (double) SWIG_AsDouble(obj2);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 if (obj3) {
18326 arg4 = (int) SWIG_AsInt(obj3);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 if (obj4) {
18330 arg5 = (int) SWIG_AsInt(obj4);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 Py_INCREF(Py_None); resultobj = Py_None;
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18350 double arg2 ;
18351 double arg3 ;
18352 int arg4 = (int) 0 ;
18353 int arg5 = (int) 0 ;
18354 PyObject * obj0 = 0 ;
18355 PyObject * obj1 = 0 ;
18356 PyObject * obj2 = 0 ;
18357 PyObject * obj3 = 0 ;
18358 PyObject * obj4 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18366 arg2 = (double) SWIG_AsDouble(obj1);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 arg3 = (double) SWIG_AsDouble(obj2);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 if (obj3) {
18371 arg4 = (int) SWIG_AsInt(obj3);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 if (obj4) {
18375 arg5 = (int) SWIG_AsInt(obj4);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 Py_INCREF(Py_None); resultobj = Py_None;
18386 return resultobj;
18387 fail:
18388 return NULL;
18389 }
18390
18391
18392 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18395 wxDC *arg2 = 0 ;
18396 double arg3 ;
18397 double arg4 ;
18398 double arg5 ;
18399 double arg6 ;
18400 PyObject * obj0 = 0 ;
18401 PyObject * obj1 = 0 ;
18402 PyObject * obj2 = 0 ;
18403 PyObject * obj3 = 0 ;
18404 PyObject * obj4 = 0 ;
18405 PyObject * obj5 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18414 SWIG_POINTER_EXCEPTION | 0)) == -1)
18415 SWIG_fail;
18416 if (arg2 == NULL) {
18417 PyErr_SetString(PyExc_TypeError,"null reference");
18418 SWIG_fail;
18419 }
18420 arg3 = (double) SWIG_AsDouble(obj2);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 arg4 = (double) SWIG_AsDouble(obj3);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 arg5 = (double) SWIG_AsDouble(obj4);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 arg6 = (double) SWIG_AsDouble(obj5);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 Py_INCREF(Py_None); resultobj = Py_None;
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18443 PyObject *resultobj;
18444 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18445 wxDC *arg2 = 0 ;
18446 PyObject * obj0 = 0 ;
18447 PyObject * obj1 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self",(char *) "dc", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18456 SWIG_POINTER_EXCEPTION | 0)) == -1)
18457 SWIG_fail;
18458 if (arg2 == NULL) {
18459 PyErr_SetString(PyExc_TypeError,"null reference");
18460 SWIG_fail;
18461 }
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 (arg1)->base_OnDrawControlPoints(*arg2);
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 Py_INCREF(Py_None); resultobj = Py_None;
18470 return resultobj;
18471 fail:
18472 return NULL;
18473 }
18474
18475
18476 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18479 wxDC *arg2 = 0 ;
18480 PyObject * obj0 = 0 ;
18481 PyObject * obj1 = 0 ;
18482 char *kwnames[] = {
18483 (char *) "self",(char *) "dc", NULL
18484 };
18485
18486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18490 SWIG_POINTER_EXCEPTION | 0)) == -1)
18491 SWIG_fail;
18492 if (arg2 == NULL) {
18493 PyErr_SetString(PyExc_TypeError,"null reference");
18494 SWIG_fail;
18495 }
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->base_OnEraseControlPoints(*arg2);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 return resultobj;
18505 fail:
18506 return NULL;
18507 }
18508
18509
18510 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18513 wxDC *arg2 = 0 ;
18514 bool arg3 = (bool) True ;
18515 PyObject * obj0 = 0 ;
18516 PyObject * obj1 = 0 ;
18517 PyObject * obj2 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18526 SWIG_POINTER_EXCEPTION | 0)) == -1)
18527 SWIG_fail;
18528 if (arg2 == NULL) {
18529 PyErr_SetString(PyExc_TypeError,"null reference");
18530 SWIG_fail;
18531 }
18532 if (obj2) {
18533 arg3 = (bool) SWIG_AsBool(obj2);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 }
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 (arg1)->base_OnMoveLink(*arg2,arg3);
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 Py_INCREF(Py_None); resultobj = Py_None;
18544 return resultobj;
18545 fail:
18546 return NULL;
18547 }
18548
18549
18550 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18551 PyObject *resultobj;
18552 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18553 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18554 bool arg3 ;
18555 double arg4 ;
18556 double arg5 ;
18557 int arg6 = (int) 0 ;
18558 int arg7 = (int) 0 ;
18559 PyObject * obj0 = 0 ;
18560 PyObject * obj1 = 0 ;
18561 PyObject * obj2 = 0 ;
18562 PyObject * obj3 = 0 ;
18563 PyObject * obj4 = 0 ;
18564 PyObject * obj5 = 0 ;
18565 PyObject * obj6 = 0 ;
18566 char *kwnames[] = {
18567 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18568 };
18569
18570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18575 arg3 = (bool) SWIG_AsBool(obj2);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 arg4 = (double) SWIG_AsDouble(obj3);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 arg5 = (double) SWIG_AsDouble(obj4);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 if (obj5) {
18582 arg6 = (int) SWIG_AsInt(obj5);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 if (obj6) {
18586 arg7 = (int) SWIG_AsInt(obj6);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 Py_INCREF(Py_None); resultobj = Py_None;
18597 return resultobj;
18598 fail:
18599 return NULL;
18600 }
18601
18602
18603 static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18606 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18607 double arg3 ;
18608 double arg4 ;
18609 int arg5 = (int) 0 ;
18610 int arg6 = (int) 0 ;
18611 PyObject * obj0 = 0 ;
18612 PyObject * obj1 = 0 ;
18613 PyObject * obj2 = 0 ;
18614 PyObject * obj3 = 0 ;
18615 PyObject * obj4 = 0 ;
18616 PyObject * obj5 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18626 arg3 = (double) SWIG_AsDouble(obj2);
18627 if (PyErr_Occurred()) SWIG_fail;
18628 arg4 = (double) SWIG_AsDouble(obj3);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 if (obj4) {
18631 arg5 = (int) SWIG_AsInt(obj4);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 if (obj5) {
18635 arg6 = (int) SWIG_AsInt(obj5);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 {
18639 PyThreadState* __tstate = wxPyBeginAllowThreads();
18640 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18641
18642 wxPyEndAllowThreads(__tstate);
18643 if (PyErr_Occurred()) SWIG_fail;
18644 }
18645 Py_INCREF(Py_None); resultobj = Py_None;
18646 return resultobj;
18647 fail:
18648 return NULL;
18649 }
18650
18651
18652 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18653 PyObject *resultobj;
18654 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18655 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18656 double arg3 ;
18657 double arg4 ;
18658 int arg5 = (int) 0 ;
18659 int arg6 = (int) 0 ;
18660 PyObject * obj0 = 0 ;
18661 PyObject * obj1 = 0 ;
18662 PyObject * obj2 = 0 ;
18663 PyObject * obj3 = 0 ;
18664 PyObject * obj4 = 0 ;
18665 PyObject * obj5 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18675 arg3 = (double) SWIG_AsDouble(obj2);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 arg4 = (double) SWIG_AsDouble(obj3);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 if (obj4) {
18680 arg5 = (int) SWIG_AsInt(obj4);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 if (obj5) {
18684 arg6 = (int) SWIG_AsInt(obj5);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 {
18688 PyThreadState* __tstate = wxPyBeginAllowThreads();
18689 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18690
18691 wxPyEndAllowThreads(__tstate);
18692 if (PyErr_Occurred()) SWIG_fail;
18693 }
18694 Py_INCREF(Py_None); resultobj = Py_None;
18695 return resultobj;
18696 fail:
18697 return NULL;
18698 }
18699
18700
18701 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18702 PyObject *resultobj;
18703 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18704 double arg2 ;
18705 double arg3 ;
18706 PyObject * obj0 = 0 ;
18707 PyObject * obj1 = 0 ;
18708 PyObject * obj2 = 0 ;
18709 char *kwnames[] = {
18710 (char *) "self",(char *) "w",(char *) "h", NULL
18711 };
18712
18713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18716 arg2 = (double) SWIG_AsDouble(obj1);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 arg3 = (double) SWIG_AsDouble(obj2);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 (arg1)->base_OnBeginSize(arg2,arg3);
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 Py_INCREF(Py_None); resultobj = Py_None;
18728 return resultobj;
18729 fail:
18730 return NULL;
18731 }
18732
18733
18734 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18735 PyObject *resultobj;
18736 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18737 double arg2 ;
18738 double arg3 ;
18739 PyObject * obj0 = 0 ;
18740 PyObject * obj1 = 0 ;
18741 PyObject * obj2 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self",(char *) "w",(char *) "h", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18749 arg2 = (double) SWIG_AsDouble(obj1);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 arg3 = (double) SWIG_AsDouble(obj2);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 (arg1)->base_OnEndSize(arg2,arg3);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 Py_INCREF(Py_None); resultobj = Py_None;
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
18768 PyObject *obj;
18769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18770 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
18771 Py_INCREF(obj);
18772 return Py_BuildValue((char *)"");
18773 }
18774 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 double arg1 = (double) 0.0 ;
18777 double arg2 = (double) 0.0 ;
18778 wxPyDividedShape *result;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "width",(char *) "height", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
18786 if (obj0) {
18787 arg1 = (double) SWIG_AsDouble(obj0);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 if (obj1) {
18791 arg2 = (double) SWIG_AsDouble(obj1);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18811 PyObject *arg2 = (PyObject *) 0 ;
18812 PyObject *arg3 = (PyObject *) 0 ;
18813 PyObject * obj0 = 0 ;
18814 PyObject * obj1 = 0 ;
18815 PyObject * obj2 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self",(char *) "self",(char *) "_class", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18823 arg2 = obj1;
18824 arg3 = obj2;
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 (arg1)->_setCallbackInfo(arg2,arg3);
18828
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 Py_INCREF(Py_None); resultobj = Py_None;
18833 return resultobj;
18834 fail:
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18842 PyObject * obj0 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "self", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
18848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18850 {
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 (arg1)->EditRegions();
18853
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 Py_INCREF(Py_None); resultobj = Py_None;
18858 return resultobj;
18859 fail:
18860 return NULL;
18861 }
18862
18863
18864 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
18865 PyObject *resultobj;
18866 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18867 PyObject * obj0 = 0 ;
18868 char *kwnames[] = {
18869 (char *) "self", NULL
18870 };
18871
18872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
18873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18875 {
18876 PyThreadState* __tstate = wxPyBeginAllowThreads();
18877 (arg1)->SetRegionSizes();
18878
18879 wxPyEndAllowThreads(__tstate);
18880 if (PyErr_Occurred()) SWIG_fail;
18881 }
18882 Py_INCREF(Py_None); resultobj = Py_None;
18883 return resultobj;
18884 fail:
18885 return NULL;
18886 }
18887
18888
18889 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
18890 PyObject *resultobj;
18891 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18892 PyObject * obj0 = 0 ;
18893 char *kwnames[] = {
18894 (char *) "self", NULL
18895 };
18896
18897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
18898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18900 {
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 (arg1)->base_OnDelete();
18903
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 Py_INCREF(Py_None); resultobj = Py_None;
18908 return resultobj;
18909 fail:
18910 return NULL;
18911 }
18912
18913
18914 static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18915 PyObject *resultobj;
18916 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18917 wxDC *arg2 = 0 ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self",(char *) "dc", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18927 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18928 SWIG_POINTER_EXCEPTION | 0)) == -1)
18929 SWIG_fail;
18930 if (arg2 == NULL) {
18931 PyErr_SetString(PyExc_TypeError,"null reference");
18932 SWIG_fail;
18933 }
18934 {
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 (arg1)->base_OnDraw(*arg2);
18937
18938 wxPyEndAllowThreads(__tstate);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 Py_INCREF(Py_None); resultobj = Py_None;
18942 return resultobj;
18943 fail:
18944 return NULL;
18945 }
18946
18947
18948 static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18951 wxDC *arg2 = 0 ;
18952 PyObject * obj0 = 0 ;
18953 PyObject * obj1 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self",(char *) "dc", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18962 SWIG_POINTER_EXCEPTION | 0)) == -1)
18963 SWIG_fail;
18964 if (arg2 == NULL) {
18965 PyErr_SetString(PyExc_TypeError,"null reference");
18966 SWIG_fail;
18967 }
18968 {
18969 PyThreadState* __tstate = wxPyBeginAllowThreads();
18970 (arg1)->base_OnDrawContents(*arg2);
18971
18972 wxPyEndAllowThreads(__tstate);
18973 if (PyErr_Occurred()) SWIG_fail;
18974 }
18975 Py_INCREF(Py_None); resultobj = Py_None;
18976 return resultobj;
18977 fail:
18978 return NULL;
18979 }
18980
18981
18982 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18983 PyObject *resultobj;
18984 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18985 wxDC *arg2 = 0 ;
18986 bool arg3 = (bool) FALSE ;
18987 PyObject * obj0 = 0 ;
18988 PyObject * obj1 = 0 ;
18989 PyObject * obj2 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self",(char *) "dc",(char *) "erase", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18998 SWIG_POINTER_EXCEPTION | 0)) == -1)
18999 SWIG_fail;
19000 if (arg2 == NULL) {
19001 PyErr_SetString(PyExc_TypeError,"null reference");
19002 SWIG_fail;
19003 }
19004 if (obj2) {
19005 arg3 = (bool) SWIG_AsBool(obj2);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 (arg1)->base_OnDrawBranches(*arg2,arg3);
19011
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 Py_INCREF(Py_None); resultobj = Py_None;
19016 return resultobj;
19017 fail:
19018 return NULL;
19019 }
19020
19021
19022 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19025 wxDC *arg2 = 0 ;
19026 PyObject * obj0 = 0 ;
19027 PyObject * obj1 = 0 ;
19028 char *kwnames[] = {
19029 (char *) "self",(char *) "dc", NULL
19030 };
19031
19032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
19033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19036 SWIG_POINTER_EXCEPTION | 0)) == -1)
19037 SWIG_fail;
19038 if (arg2 == NULL) {
19039 PyErr_SetString(PyExc_TypeError,"null reference");
19040 SWIG_fail;
19041 }
19042 {
19043 PyThreadState* __tstate = wxPyBeginAllowThreads();
19044 (arg1)->base_OnMoveLinks(*arg2);
19045
19046 wxPyEndAllowThreads(__tstate);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 Py_INCREF(Py_None); resultobj = Py_None;
19050 return resultobj;
19051 fail:
19052 return NULL;
19053 }
19054
19055
19056 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19057 PyObject *resultobj;
19058 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19059 wxDC *arg2 = 0 ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 char *kwnames[] = {
19063 (char *) "self",(char *) "dc", NULL
19064 };
19065
19066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19070 SWIG_POINTER_EXCEPTION | 0)) == -1)
19071 SWIG_fail;
19072 if (arg2 == NULL) {
19073 PyErr_SetString(PyExc_TypeError,"null reference");
19074 SWIG_fail;
19075 }
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 (arg1)->base_OnErase(*arg2);
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 Py_INCREF(Py_None); resultobj = Py_None;
19084 return resultobj;
19085 fail:
19086 return NULL;
19087 }
19088
19089
19090 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19091 PyObject *resultobj;
19092 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19093 wxDC *arg2 = 0 ;
19094 PyObject * obj0 = 0 ;
19095 PyObject * obj1 = 0 ;
19096 char *kwnames[] = {
19097 (char *) "self",(char *) "dc", NULL
19098 };
19099
19100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19104 SWIG_POINTER_EXCEPTION | 0)) == -1)
19105 SWIG_fail;
19106 if (arg2 == NULL) {
19107 PyErr_SetString(PyExc_TypeError,"null reference");
19108 SWIG_fail;
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->base_OnEraseContents(*arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19127 wxDC *arg2 = 0 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "dc", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19138 SWIG_POINTER_EXCEPTION | 0)) == -1)
19139 SWIG_fail;
19140 if (arg2 == NULL) {
19141 PyErr_SetString(PyExc_TypeError,"null reference");
19142 SWIG_fail;
19143 }
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 (arg1)->base_OnHighlight(*arg2);
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 Py_INCREF(Py_None); resultobj = Py_None;
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19161 double arg2 ;
19162 double arg3 ;
19163 int arg4 = (int) 0 ;
19164 int arg5 = (int) 0 ;
19165 PyObject * obj0 = 0 ;
19166 PyObject * obj1 = 0 ;
19167 PyObject * obj2 = 0 ;
19168 PyObject * obj3 = 0 ;
19169 PyObject * obj4 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19177 arg2 = (double) SWIG_AsDouble(obj1);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 arg3 = (double) SWIG_AsDouble(obj2);
19180 if (PyErr_Occurred()) SWIG_fail;
19181 if (obj3) {
19182 arg4 = (int) SWIG_AsInt(obj3);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 if (obj4) {
19186 arg5 = (int) SWIG_AsInt(obj4);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 }
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 Py_INCREF(Py_None); resultobj = Py_None;
19197 return resultobj;
19198 fail:
19199 return NULL;
19200 }
19201
19202
19203 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19206 double arg2 ;
19207 double arg3 ;
19208 int arg4 = (int) 0 ;
19209 int arg5 = (int) 0 ;
19210 PyObject * obj0 = 0 ;
19211 PyObject * obj1 = 0 ;
19212 PyObject * obj2 = 0 ;
19213 PyObject * obj3 = 0 ;
19214 PyObject * obj4 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19222 arg2 = (double) SWIG_AsDouble(obj1);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 arg3 = (double) SWIG_AsDouble(obj2);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 if (obj3) {
19227 arg4 = (int) SWIG_AsInt(obj3);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 if (obj4) {
19231 arg5 = (int) SWIG_AsInt(obj4);
19232 if (PyErr_Occurred()) SWIG_fail;
19233 }
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19237
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 Py_INCREF(Py_None); resultobj = Py_None;
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19251 double arg2 ;
19252 double arg3 ;
19253 int arg4 = (int) 0 ;
19254 int arg5 = (int) 0 ;
19255 PyObject * obj0 = 0 ;
19256 PyObject * obj1 = 0 ;
19257 PyObject * obj2 = 0 ;
19258 PyObject * obj3 = 0 ;
19259 PyObject * obj4 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19267 arg2 = (double) SWIG_AsDouble(obj1);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 arg3 = (double) SWIG_AsDouble(obj2);
19270 if (PyErr_Occurred()) SWIG_fail;
19271 if (obj3) {
19272 arg4 = (int) SWIG_AsInt(obj3);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 if (obj4) {
19276 arg5 = (int) SWIG_AsInt(obj4);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 {
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19282
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
19286 Py_INCREF(Py_None); resultobj = Py_None;
19287 return resultobj;
19288 fail:
19289 return NULL;
19290 }
19291
19292
19293 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj;
19295 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19296 double arg2 ;
19297 double arg3 ;
19298 PyObject * obj0 = 0 ;
19299 PyObject * obj1 = 0 ;
19300 PyObject * obj2 = 0 ;
19301 char *kwnames[] = {
19302 (char *) "self",(char *) "x",(char *) "y", NULL
19303 };
19304
19305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19308 arg2 = (double) SWIG_AsDouble(obj1);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 arg3 = (double) SWIG_AsDouble(obj2);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 (arg1)->base_OnSize(arg2,arg3);
19315
19316 wxPyEndAllowThreads(__tstate);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
19319 Py_INCREF(Py_None); resultobj = Py_None;
19320 return resultobj;
19321 fail:
19322 return NULL;
19323 }
19324
19325
19326 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19329 wxDC *arg2 = 0 ;
19330 double arg3 ;
19331 double arg4 ;
19332 double arg5 ;
19333 double arg6 ;
19334 bool arg7 = (bool) True ;
19335 bool result;
19336 PyObject * obj0 = 0 ;
19337 PyObject * obj1 = 0 ;
19338 PyObject * obj2 = 0 ;
19339 PyObject * obj3 = 0 ;
19340 PyObject * obj4 = 0 ;
19341 PyObject * obj5 = 0 ;
19342 PyObject * obj6 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19351 SWIG_POINTER_EXCEPTION | 0)) == -1)
19352 SWIG_fail;
19353 if (arg2 == NULL) {
19354 PyErr_SetString(PyExc_TypeError,"null reference");
19355 SWIG_fail;
19356 }
19357 arg3 = (double) SWIG_AsDouble(obj2);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 arg4 = (double) SWIG_AsDouble(obj3);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 arg5 = (double) SWIG_AsDouble(obj4);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 arg6 = (double) SWIG_AsDouble(obj5);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 if (obj6) {
19366 arg7 = (bool) SWIG_AsBool(obj6);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 {
19377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19378 }
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19388 wxDC *arg2 = 0 ;
19389 double arg3 ;
19390 double arg4 ;
19391 double arg5 ;
19392 double arg6 ;
19393 bool arg7 = (bool) True ;
19394 PyObject * obj0 = 0 ;
19395 PyObject * obj1 = 0 ;
19396 PyObject * obj2 = 0 ;
19397 PyObject * obj3 = 0 ;
19398 PyObject * obj4 = 0 ;
19399 PyObject * obj5 = 0 ;
19400 PyObject * obj6 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19409 SWIG_POINTER_EXCEPTION | 0)) == -1)
19410 SWIG_fail;
19411 if (arg2 == NULL) {
19412 PyErr_SetString(PyExc_TypeError,"null reference");
19413 SWIG_fail;
19414 }
19415 arg3 = (double) SWIG_AsDouble(obj2);
19416 if (PyErr_Occurred()) SWIG_fail;
19417 arg4 = (double) SWIG_AsDouble(obj3);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 arg5 = (double) SWIG_AsDouble(obj4);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 arg6 = (double) SWIG_AsDouble(obj5);
19422 if (PyErr_Occurred()) SWIG_fail;
19423 if (obj6) {
19424 arg7 = (bool) SWIG_AsBool(obj6);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 }
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19430
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 Py_INCREF(Py_None); resultobj = Py_None;
19435 return resultobj;
19436 fail:
19437 return NULL;
19438 }
19439
19440
19441 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19442 PyObject *resultobj;
19443 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19444 bool arg2 ;
19445 double arg3 ;
19446 double arg4 ;
19447 int arg5 = (int) 0 ;
19448 int arg6 = (int) 0 ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 PyObject * obj2 = 0 ;
19452 PyObject * obj3 = 0 ;
19453 PyObject * obj4 = 0 ;
19454 PyObject * obj5 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19462 arg2 = (bool) SWIG_AsBool(obj1);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 arg3 = (double) SWIG_AsDouble(obj2);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 arg4 = (double) SWIG_AsDouble(obj3);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 if (obj4) {
19469 arg5 = (int) SWIG_AsInt(obj4);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 if (obj5) {
19473 arg6 = (int) SWIG_AsInt(obj5);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 {
19477 PyThreadState* __tstate = wxPyBeginAllowThreads();
19478 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19479
19480 wxPyEndAllowThreads(__tstate);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 Py_INCREF(Py_None); resultobj = Py_None;
19484 return resultobj;
19485 fail:
19486 return NULL;
19487 }
19488
19489
19490 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19493 double arg2 ;
19494 double arg3 ;
19495 int arg4 = (int) 0 ;
19496 int arg5 = (int) 0 ;
19497 PyObject * obj0 = 0 ;
19498 PyObject * obj1 = 0 ;
19499 PyObject * obj2 = 0 ;
19500 PyObject * obj3 = 0 ;
19501 PyObject * obj4 = 0 ;
19502 char *kwnames[] = {
19503 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19504 };
19505
19506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19509 arg2 = (double) SWIG_AsDouble(obj1);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 arg3 = (double) SWIG_AsDouble(obj2);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 if (obj3) {
19514 arg4 = (int) SWIG_AsInt(obj3);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
19517 if (obj4) {
19518 arg5 = (int) SWIG_AsInt(obj4);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 }
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 Py_INCREF(Py_None); resultobj = Py_None;
19529 return resultobj;
19530 fail:
19531 return NULL;
19532 }
19533
19534
19535 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19536 PyObject *resultobj;
19537 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19538 double arg2 ;
19539 double arg3 ;
19540 int arg4 = (int) 0 ;
19541 int arg5 = (int) 0 ;
19542 PyObject * obj0 = 0 ;
19543 PyObject * obj1 = 0 ;
19544 PyObject * obj2 = 0 ;
19545 PyObject * obj3 = 0 ;
19546 PyObject * obj4 = 0 ;
19547 char *kwnames[] = {
19548 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19554 arg2 = (double) SWIG_AsDouble(obj1);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 arg3 = (double) SWIG_AsDouble(obj2);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 if (obj3) {
19559 arg4 = (int) SWIG_AsInt(obj3);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
19562 if (obj4) {
19563 arg5 = (int) SWIG_AsInt(obj4);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 {
19567 PyThreadState* __tstate = wxPyBeginAllowThreads();
19568 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19569
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 Py_INCREF(Py_None); resultobj = Py_None;
19574 return resultobj;
19575 fail:
19576 return NULL;
19577 }
19578
19579
19580 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19581 PyObject *resultobj;
19582 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19583 bool arg2 ;
19584 double arg3 ;
19585 double arg4 ;
19586 int arg5 = (int) 0 ;
19587 int arg6 = (int) 0 ;
19588 PyObject * obj0 = 0 ;
19589 PyObject * obj1 = 0 ;
19590 PyObject * obj2 = 0 ;
19591 PyObject * obj3 = 0 ;
19592 PyObject * obj4 = 0 ;
19593 PyObject * obj5 = 0 ;
19594 char *kwnames[] = {
19595 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19596 };
19597
19598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19601 arg2 = (bool) SWIG_AsBool(obj1);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 arg3 = (double) SWIG_AsDouble(obj2);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 arg4 = (double) SWIG_AsDouble(obj3);
19606 if (PyErr_Occurred()) SWIG_fail;
19607 if (obj4) {
19608 arg5 = (int) SWIG_AsInt(obj4);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 if (obj5) {
19612 arg6 = (int) SWIG_AsInt(obj5);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 Py_INCREF(Py_None); resultobj = Py_None;
19623 return resultobj;
19624 fail:
19625 return NULL;
19626 }
19627
19628
19629 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19632 double arg2 ;
19633 double arg3 ;
19634 int arg4 = (int) 0 ;
19635 int arg5 = (int) 0 ;
19636 PyObject * obj0 = 0 ;
19637 PyObject * obj1 = 0 ;
19638 PyObject * obj2 = 0 ;
19639 PyObject * obj3 = 0 ;
19640 PyObject * obj4 = 0 ;
19641 char *kwnames[] = {
19642 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19643 };
19644
19645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19648 arg2 = (double) SWIG_AsDouble(obj1);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 arg3 = (double) SWIG_AsDouble(obj2);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 if (obj3) {
19653 arg4 = (int) SWIG_AsInt(obj3);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
19656 if (obj4) {
19657 arg5 = (int) SWIG_AsInt(obj4);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 Py_INCREF(Py_None); resultobj = Py_None;
19668 return resultobj;
19669 fail:
19670 return NULL;
19671 }
19672
19673
19674 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19675 PyObject *resultobj;
19676 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19677 double arg2 ;
19678 double arg3 ;
19679 int arg4 = (int) 0 ;
19680 int arg5 = (int) 0 ;
19681 PyObject * obj0 = 0 ;
19682 PyObject * obj1 = 0 ;
19683 PyObject * obj2 = 0 ;
19684 PyObject * obj3 = 0 ;
19685 PyObject * obj4 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19688 };
19689
19690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19693 arg2 = (double) SWIG_AsDouble(obj1);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 arg3 = (double) SWIG_AsDouble(obj2);
19696 if (PyErr_Occurred()) SWIG_fail;
19697 if (obj3) {
19698 arg4 = (int) SWIG_AsInt(obj3);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 if (obj4) {
19702 arg5 = (int) SWIG_AsInt(obj4);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 {
19706 PyThreadState* __tstate = wxPyBeginAllowThreads();
19707 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19708
19709 wxPyEndAllowThreads(__tstate);
19710 if (PyErr_Occurred()) SWIG_fail;
19711 }
19712 Py_INCREF(Py_None); resultobj = Py_None;
19713 return resultobj;
19714 fail:
19715 return NULL;
19716 }
19717
19718
19719 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19722 wxDC *arg2 = 0 ;
19723 double arg3 ;
19724 double arg4 ;
19725 double arg5 ;
19726 double arg6 ;
19727 PyObject * obj0 = 0 ;
19728 PyObject * obj1 = 0 ;
19729 PyObject * obj2 = 0 ;
19730 PyObject * obj3 = 0 ;
19731 PyObject * obj4 = 0 ;
19732 PyObject * obj5 = 0 ;
19733 char *kwnames[] = {
19734 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19735 };
19736
19737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19741 SWIG_POINTER_EXCEPTION | 0)) == -1)
19742 SWIG_fail;
19743 if (arg2 == NULL) {
19744 PyErr_SetString(PyExc_TypeError,"null reference");
19745 SWIG_fail;
19746 }
19747 arg3 = (double) SWIG_AsDouble(obj2);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 arg4 = (double) SWIG_AsDouble(obj3);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 arg5 = (double) SWIG_AsDouble(obj4);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 arg6 = (double) SWIG_AsDouble(obj5);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 Py_INCREF(Py_None); resultobj = Py_None;
19763 return resultobj;
19764 fail:
19765 return NULL;
19766 }
19767
19768
19769 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19770 PyObject *resultobj;
19771 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19772 wxDC *arg2 = 0 ;
19773 PyObject * obj0 = 0 ;
19774 PyObject * obj1 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self",(char *) "dc", NULL
19777 };
19778
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19783 SWIG_POINTER_EXCEPTION | 0)) == -1)
19784 SWIG_fail;
19785 if (arg2 == NULL) {
19786 PyErr_SetString(PyExc_TypeError,"null reference");
19787 SWIG_fail;
19788 }
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 (arg1)->base_OnDrawControlPoints(*arg2);
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 Py_INCREF(Py_None); resultobj = Py_None;
19797 return resultobj;
19798 fail:
19799 return NULL;
19800 }
19801
19802
19803 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19806 wxDC *arg2 = 0 ;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "dc", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1)
19818 SWIG_fail;
19819 if (arg2 == NULL) {
19820 PyErr_SetString(PyExc_TypeError,"null reference");
19821 SWIG_fail;
19822 }
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 (arg1)->base_OnEraseControlPoints(*arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 Py_INCREF(Py_None); resultobj = Py_None;
19831 return resultobj;
19832 fail:
19833 return NULL;
19834 }
19835
19836
19837 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj;
19839 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19840 wxDC *arg2 = 0 ;
19841 bool arg3 = (bool) True ;
19842 PyObject * obj0 = 0 ;
19843 PyObject * obj1 = 0 ;
19844 PyObject * obj2 = 0 ;
19845 char *kwnames[] = {
19846 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19847 };
19848
19849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19853 SWIG_POINTER_EXCEPTION | 0)) == -1)
19854 SWIG_fail;
19855 if (arg2 == NULL) {
19856 PyErr_SetString(PyExc_TypeError,"null reference");
19857 SWIG_fail;
19858 }
19859 if (obj2) {
19860 arg3 = (bool) SWIG_AsBool(obj2);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 (arg1)->base_OnMoveLink(*arg2,arg3);
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 Py_INCREF(Py_None); resultobj = Py_None;
19871 return resultobj;
19872 fail:
19873 return NULL;
19874 }
19875
19876
19877 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19880 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19881 bool arg3 ;
19882 double arg4 ;
19883 double arg5 ;
19884 int arg6 = (int) 0 ;
19885 int arg7 = (int) 0 ;
19886 PyObject * obj0 = 0 ;
19887 PyObject * obj1 = 0 ;
19888 PyObject * obj2 = 0 ;
19889 PyObject * obj3 = 0 ;
19890 PyObject * obj4 = 0 ;
19891 PyObject * obj5 = 0 ;
19892 PyObject * obj6 = 0 ;
19893 char *kwnames[] = {
19894 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19895 };
19896
19897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19902 arg3 = (bool) SWIG_AsBool(obj2);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 arg4 = (double) SWIG_AsDouble(obj3);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 arg5 = (double) SWIG_AsDouble(obj4);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 if (obj5) {
19909 arg6 = (int) SWIG_AsInt(obj5);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 if (obj6) {
19913 arg7 = (int) SWIG_AsInt(obj6);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 Py_INCREF(Py_None); resultobj = Py_None;
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19933 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19934 double arg3 ;
19935 double arg4 ;
19936 int arg5 = (int) 0 ;
19937 int arg6 = (int) 0 ;
19938 PyObject * obj0 = 0 ;
19939 PyObject * obj1 = 0 ;
19940 PyObject * obj2 = 0 ;
19941 PyObject * obj3 = 0 ;
19942 PyObject * obj4 = 0 ;
19943 PyObject * obj5 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19953 arg3 = (double) SWIG_AsDouble(obj2);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 arg4 = (double) SWIG_AsDouble(obj3);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 if (obj4) {
19958 arg5 = (int) SWIG_AsInt(obj4);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 if (obj5) {
19962 arg6 = (int) SWIG_AsInt(obj5);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 {
19966 PyThreadState* __tstate = wxPyBeginAllowThreads();
19967 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19968
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 Py_INCREF(Py_None); resultobj = Py_None;
19973 return resultobj;
19974 fail:
19975 return NULL;
19976 }
19977
19978
19979 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19980 PyObject *resultobj;
19981 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19982 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19983 double arg3 ;
19984 double arg4 ;
19985 int arg5 = (int) 0 ;
19986 int arg6 = (int) 0 ;
19987 PyObject * obj0 = 0 ;
19988 PyObject * obj1 = 0 ;
19989 PyObject * obj2 = 0 ;
19990 PyObject * obj3 = 0 ;
19991 PyObject * obj4 = 0 ;
19992 PyObject * obj5 = 0 ;
19993 char *kwnames[] = {
19994 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20002 arg3 = (double) SWIG_AsDouble(obj2);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 arg4 = (double) SWIG_AsDouble(obj3);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 if (obj4) {
20007 arg5 = (int) SWIG_AsInt(obj4);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 if (obj5) {
20011 arg6 = (int) SWIG_AsInt(obj5);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 Py_INCREF(Py_None); resultobj = Py_None;
20022 return resultobj;
20023 fail:
20024 return NULL;
20025 }
20026
20027
20028 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20029 PyObject *resultobj;
20030 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20031 double arg2 ;
20032 double arg3 ;
20033 PyObject * obj0 = 0 ;
20034 PyObject * obj1 = 0 ;
20035 PyObject * obj2 = 0 ;
20036 char *kwnames[] = {
20037 (char *) "self",(char *) "w",(char *) "h", NULL
20038 };
20039
20040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20043 arg2 = (double) SWIG_AsDouble(obj1);
20044 if (PyErr_Occurred()) SWIG_fail;
20045 arg3 = (double) SWIG_AsDouble(obj2);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 (arg1)->base_OnBeginSize(arg2,arg3);
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 Py_INCREF(Py_None); resultobj = Py_None;
20055 return resultobj;
20056 fail:
20057 return NULL;
20058 }
20059
20060
20061 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20062 PyObject *resultobj;
20063 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20064 double arg2 ;
20065 double arg3 ;
20066 PyObject * obj0 = 0 ;
20067 PyObject * obj1 = 0 ;
20068 PyObject * obj2 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self",(char *) "w",(char *) "h", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20076 arg2 = (double) SWIG_AsDouble(obj1);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 arg3 = (double) SWIG_AsDouble(obj2);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 (arg1)->base_OnEndSize(arg2,arg3);
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 Py_INCREF(Py_None); resultobj = Py_None;
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
20095 PyObject *obj;
20096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20097 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20098 Py_INCREF(obj);
20099 return Py_BuildValue((char *)"");
20100 }
20101 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20102 PyObject *resultobj;
20103 wxPyDivisionShape *result;
20104 char *kwnames[] = {
20105 NULL
20106 };
20107
20108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 {
20117 resultobj = wxPyMake_wxShapeEvtHandler(result);
20118 }
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20126 PyObject *resultobj;
20127 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20128 PyObject *arg2 = (PyObject *) 0 ;
20129 PyObject *arg3 = (PyObject *) 0 ;
20130 PyObject * obj0 = 0 ;
20131 PyObject * obj1 = 0 ;
20132 PyObject * obj2 = 0 ;
20133 char *kwnames[] = {
20134 (char *) "self",(char *) "self",(char *) "_class", NULL
20135 };
20136
20137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20140 arg2 = obj1;
20141 arg3 = obj2;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 (arg1)->_setCallbackInfo(arg2,arg3);
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 Py_INCREF(Py_None); resultobj = Py_None;
20150 return resultobj;
20151 fail:
20152 return NULL;
20153 }
20154
20155
20156 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj;
20158 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20159 double arg2 ;
20160 bool arg3 ;
20161 PyObject * obj0 = 0 ;
20162 PyObject * obj1 = 0 ;
20163 PyObject * obj2 = 0 ;
20164 char *kwnames[] = {
20165 (char *) "self",(char *) "bottom",(char *) "test", NULL
20166 };
20167
20168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
20169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20171 arg2 = (double) SWIG_AsDouble(obj1);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 arg3 = (bool) SWIG_AsBool(obj2);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 {
20176 PyThreadState* __tstate = wxPyBeginAllowThreads();
20177 (arg1)->AdjustBottom(arg2,arg3);
20178
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 Py_INCREF(Py_None); resultobj = Py_None;
20183 return resultobj;
20184 fail:
20185 return NULL;
20186 }
20187
20188
20189 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20190 PyObject *resultobj;
20191 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20192 double arg2 ;
20193 bool arg3 ;
20194 PyObject * obj0 = 0 ;
20195 PyObject * obj1 = 0 ;
20196 PyObject * obj2 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self",(char *) "left",(char *) "test", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
20202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20204 arg2 = (double) SWIG_AsDouble(obj1);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 arg3 = (bool) SWIG_AsBool(obj2);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 (arg1)->AdjustLeft(arg2,arg3);
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 Py_INCREF(Py_None); resultobj = Py_None;
20216 return resultobj;
20217 fail:
20218 return NULL;
20219 }
20220
20221
20222 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20225 double arg2 ;
20226 bool arg3 ;
20227 PyObject * obj0 = 0 ;
20228 PyObject * obj1 = 0 ;
20229 PyObject * obj2 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self",(char *) "right",(char *) "test", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
20235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20237 arg2 = (double) SWIG_AsDouble(obj1);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 arg3 = (bool) SWIG_AsBool(obj2);
20240 if (PyErr_Occurred()) SWIG_fail;
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 (arg1)->AdjustRight(arg2,arg3);
20244
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 Py_INCREF(Py_None); resultobj = Py_None;
20249 return resultobj;
20250 fail:
20251 return NULL;
20252 }
20253
20254
20255 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
20256 PyObject *resultobj;
20257 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20258 double arg2 ;
20259 bool arg3 ;
20260 PyObject * obj0 = 0 ;
20261 PyObject * obj1 = 0 ;
20262 PyObject * obj2 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "self",(char *) "top",(char *) "test", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
20268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20270 arg2 = (double) SWIG_AsDouble(obj1);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 arg3 = (bool) SWIG_AsBool(obj2);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 (arg1)->AdjustTop(arg2,arg3);
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 Py_INCREF(Py_None); resultobj = Py_None;
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20291 int arg2 ;
20292 PyObject * obj0 = 0 ;
20293 PyObject * obj1 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self",(char *) "direction", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
20299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20301 arg2 = (int) SWIG_AsInt(obj1);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 (arg1)->Divide(arg2);
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 Py_INCREF(Py_None); resultobj = Py_None;
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20320 int arg2 ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self",(char *) "side", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
20328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20330 arg2 = (int) SWIG_AsInt(obj1);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 (arg1)->EditEdge(arg2);
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 Py_INCREF(Py_None); resultobj = Py_None;
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20349 wxPyDivisionShape *result;
20350 PyObject * obj0 = 0 ;
20351 char *kwnames[] = {
20352 (char *) "self", NULL
20353 };
20354
20355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
20356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 {
20366 resultobj = wxPyMake_wxShapeEvtHandler(result);
20367 }
20368 return resultobj;
20369 fail:
20370 return NULL;
20371 }
20372
20373
20374 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj;
20376 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20377 int result;
20378 PyObject * obj0 = 0 ;
20379 char *kwnames[] = {
20380 (char *) "self", NULL
20381 };
20382
20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
20384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 result = (int)(arg1)->GetHandleSide();
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 resultobj = SWIG_FromInt((int)result);
20394 return resultobj;
20395 fail:
20396 return NULL;
20397 }
20398
20399
20400 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20401 PyObject *resultobj;
20402 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20403 wxPyDivisionShape *result;
20404 PyObject * obj0 = 0 ;
20405 char *kwnames[] = {
20406 (char *) "self", NULL
20407 };
20408
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
20410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20412 {
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20415
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 {
20420 resultobj = wxPyMake_wxShapeEvtHandler(result);
20421 }
20422 return resultobj;
20423 fail:
20424 return NULL;
20425 }
20426
20427
20428 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20429 PyObject *resultobj;
20430 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20431 wxString result;
20432 PyObject * obj0 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
20438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 result = (arg1)->GetLeftSideColour();
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 {
20448 #if wxUSE_UNICODE
20449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20450 #else
20451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20452 #endif
20453 }
20454 return resultobj;
20455 fail:
20456 return NULL;
20457 }
20458
20459
20460 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj;
20462 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20463 wxPen *result;
20464 PyObject * obj0 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
20470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 result = (wxPen *)(arg1)->GetLeftSidePen();
20475
20476 wxPyEndAllowThreads(__tstate);
20477 if (PyErr_Occurred()) SWIG_fail;
20478 }
20479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20480 return resultobj;
20481 fail:
20482 return NULL;
20483 }
20484
20485
20486 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20487 PyObject *resultobj;
20488 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20489 wxPyDivisionShape *result;
20490 PyObject * obj0 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "self", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
20496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 {
20506 resultobj = wxPyMake_wxShapeEvtHandler(result);
20507 }
20508 return resultobj;
20509 fail:
20510 return NULL;
20511 }
20512
20513
20514 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj;
20516 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20517 wxPyDivisionShape *result;
20518 PyObject * obj0 = 0 ;
20519 char *kwnames[] = {
20520 (char *) "self", NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
20524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 {
20534 resultobj = wxPyMake_wxShapeEvtHandler(result);
20535 }
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20545 wxPen *result;
20546 PyObject * obj0 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 result = (wxPen *)(arg1)->GetTopSidePen();
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20562 return resultobj;
20563 fail:
20564 return NULL;
20565 }
20566
20567
20568 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
20569 PyObject *resultobj;
20570 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20571 int arg2 ;
20572 double arg3 ;
20573 bool arg4 ;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 PyObject * obj2 = 0 ;
20577 PyObject * obj3 = 0 ;
20578 char *kwnames[] = {
20579 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20580 };
20581
20582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20585 arg2 = (int) SWIG_AsInt(obj1);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 arg3 = (double) SWIG_AsDouble(obj2);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 arg4 = (bool) SWIG_AsBool(obj3);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 Py_INCREF(Py_None); resultobj = Py_None;
20599 return resultobj;
20600 fail:
20601 return NULL;
20602 }
20603
20604
20605 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj;
20607 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20608 double arg2 ;
20609 double arg3 ;
20610 PyObject * obj0 = 0 ;
20611 PyObject * obj1 = 0 ;
20612 PyObject * obj2 = 0 ;
20613 char *kwnames[] = {
20614 (char *) "self",(char *) "x",(char *) "y", NULL
20615 };
20616
20617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
20618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20620 arg2 = (double) SWIG_AsDouble(obj1);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 arg3 = (double) SWIG_AsDouble(obj2);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 (arg1)->PopupMenu(arg2,arg3);
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 Py_INCREF(Py_None); resultobj = Py_None;
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20641 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20642 PyObject * obj0 = 0 ;
20643 PyObject * obj1 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "self",(char *) "shape", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
20649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 (arg1)->SetBottomSide(arg2);
20656
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 Py_INCREF(Py_None); resultobj = Py_None;
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20670 int arg2 ;
20671 PyObject * obj0 = 0 ;
20672 PyObject * obj1 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self",(char *) "side", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
20678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20680 arg2 = (int) SWIG_AsInt(obj1);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 (arg1)->SetHandleSide(arg2);
20685
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
20689 Py_INCREF(Py_None); resultobj = Py_None;
20690 return resultobj;
20691 fail:
20692 return NULL;
20693 }
20694
20695
20696 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20699 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20700 PyObject * obj0 = 0 ;
20701 PyObject * obj1 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "self",(char *) "shape", NULL
20704 };
20705
20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
20707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 (arg1)->SetLeftSide(arg2);
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 Py_INCREF(Py_None); resultobj = Py_None;
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20728 wxString *arg2 = 0 ;
20729 bool temp2 = False ;
20730 PyObject * obj0 = 0 ;
20731 PyObject * obj1 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self",(char *) "colour", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20739 {
20740 arg2 = wxString_in_helper(obj1);
20741 if (arg2 == NULL) SWIG_fail;
20742 temp2 = True;
20743 }
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 (arg1)->SetLeftSideColour((wxString const &)*arg2);
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 Py_INCREF(Py_None); resultobj = Py_None;
20752 {
20753 if (temp2)
20754 delete arg2;
20755 }
20756 return resultobj;
20757 fail:
20758 {
20759 if (temp2)
20760 delete arg2;
20761 }
20762 return NULL;
20763 }
20764
20765
20766 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20767 PyObject *resultobj;
20768 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20769 wxPen *arg2 = (wxPen *) 0 ;
20770 PyObject * obj0 = 0 ;
20771 PyObject * obj1 = 0 ;
20772 char *kwnames[] = {
20773 (char *) "self",(char *) "pen", NULL
20774 };
20775
20776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
20777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20779 {
20780 wxPen* temp;
20781 if (obj1) {
20782 if (obj1 == Py_None) {
20783 temp = NULL;
20784 }
20785 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20786 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20787 return NULL;
20788 }
20789 }
20790 if (temp)
20791 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20792 temp->GetWidth(),
20793 temp->GetStyle());
20794 else
20795 arg2 = NULL;
20796 }
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 (arg1)->SetLeftSidePen(arg2);
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 Py_INCREF(Py_None); resultobj = Py_None;
20805 return resultobj;
20806 fail:
20807 return NULL;
20808 }
20809
20810
20811 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20814 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20815 PyObject * obj0 = 0 ;
20816 PyObject * obj1 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self",(char *) "shape", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
20822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 (arg1)->SetRightSide(arg2);
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 Py_INCREF(Py_None); resultobj = Py_None;
20834 return resultobj;
20835 fail:
20836 return NULL;
20837 }
20838
20839
20840 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj;
20842 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20843 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20844 PyObject * obj0 = 0 ;
20845 PyObject * obj1 = 0 ;
20846 char *kwnames[] = {
20847 (char *) "self",(char *) "shape", NULL
20848 };
20849
20850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
20851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 (arg1)->SetTopSide(arg2);
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 Py_INCREF(Py_None); resultobj = Py_None;
20863 return resultobj;
20864 fail:
20865 return NULL;
20866 }
20867
20868
20869 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20870 PyObject *resultobj;
20871 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20872 wxString *arg2 = 0 ;
20873 bool temp2 = False ;
20874 PyObject * obj0 = 0 ;
20875 PyObject * obj1 = 0 ;
20876 char *kwnames[] = {
20877 (char *) "self",(char *) "colour", NULL
20878 };
20879
20880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
20881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20883 {
20884 arg2 = wxString_in_helper(obj1);
20885 if (arg2 == NULL) SWIG_fail;
20886 temp2 = True;
20887 }
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 (arg1)->SetTopSideColour((wxString const &)*arg2);
20891
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 Py_INCREF(Py_None); resultobj = Py_None;
20896 {
20897 if (temp2)
20898 delete arg2;
20899 }
20900 return resultobj;
20901 fail:
20902 {
20903 if (temp2)
20904 delete arg2;
20905 }
20906 return NULL;
20907 }
20908
20909
20910 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20911 PyObject *resultobj;
20912 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20913 wxPen *arg2 = (wxPen *) 0 ;
20914 PyObject * obj0 = 0 ;
20915 PyObject * obj1 = 0 ;
20916 char *kwnames[] = {
20917 (char *) "self",(char *) "pen", NULL
20918 };
20919
20920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
20921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20923 {
20924 wxPen* temp;
20925 if (obj1) {
20926 if (obj1 == Py_None) {
20927 temp = NULL;
20928 }
20929 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20930 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20931 return NULL;
20932 }
20933 }
20934 if (temp)
20935 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20936 temp->GetWidth(),
20937 temp->GetStyle());
20938 else
20939 arg2 = NULL;
20940 }
20941 {
20942 PyThreadState* __tstate = wxPyBeginAllowThreads();
20943 (arg1)->SetTopSidePen(arg2);
20944
20945 wxPyEndAllowThreads(__tstate);
20946 if (PyErr_Occurred()) SWIG_fail;
20947 }
20948 Py_INCREF(Py_None); resultobj = Py_None;
20949 return resultobj;
20950 fail:
20951 return NULL;
20952 }
20953
20954
20955 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20956 PyObject *resultobj;
20957 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20958 PyObject * obj0 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 (arg1)->base_OnDelete();
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 Py_INCREF(Py_None); resultobj = Py_None;
20974 return resultobj;
20975 fail:
20976 return NULL;
20977 }
20978
20979
20980 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
20981 PyObject *resultobj;
20982 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20983 wxDC *arg2 = 0 ;
20984 PyObject * obj0 = 0 ;
20985 PyObject * obj1 = 0 ;
20986 char *kwnames[] = {
20987 (char *) "self",(char *) "dc", NULL
20988 };
20989
20990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
20991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20994 SWIG_POINTER_EXCEPTION | 0)) == -1)
20995 SWIG_fail;
20996 if (arg2 == NULL) {
20997 PyErr_SetString(PyExc_TypeError,"null reference");
20998 SWIG_fail;
20999 }
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 (arg1)->base_OnDraw(*arg2);
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 Py_INCREF(Py_None); resultobj = Py_None;
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21017 wxDC *arg2 = 0 ;
21018 PyObject * obj0 = 0 ;
21019 PyObject * obj1 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self",(char *) "dc", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21028 SWIG_POINTER_EXCEPTION | 0)) == -1)
21029 SWIG_fail;
21030 if (arg2 == NULL) {
21031 PyErr_SetString(PyExc_TypeError,"null reference");
21032 SWIG_fail;
21033 }
21034 {
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 (arg1)->base_OnDrawContents(*arg2);
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 Py_INCREF(Py_None); resultobj = Py_None;
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21051 wxDC *arg2 = 0 ;
21052 bool arg3 = (bool) FALSE ;
21053 PyObject * obj0 = 0 ;
21054 PyObject * obj1 = 0 ;
21055 PyObject * obj2 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self",(char *) "dc",(char *) "erase", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21064 SWIG_POINTER_EXCEPTION | 0)) == -1)
21065 SWIG_fail;
21066 if (arg2 == NULL) {
21067 PyErr_SetString(PyExc_TypeError,"null reference");
21068 SWIG_fail;
21069 }
21070 if (obj2) {
21071 arg3 = (bool) SWIG_AsBool(obj2);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 {
21075 PyThreadState* __tstate = wxPyBeginAllowThreads();
21076 (arg1)->base_OnDrawBranches(*arg2,arg3);
21077
21078 wxPyEndAllowThreads(__tstate);
21079 if (PyErr_Occurred()) SWIG_fail;
21080 }
21081 Py_INCREF(Py_None); resultobj = Py_None;
21082 return resultobj;
21083 fail:
21084 return NULL;
21085 }
21086
21087
21088 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21089 PyObject *resultobj;
21090 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21091 wxDC *arg2 = 0 ;
21092 PyObject * obj0 = 0 ;
21093 PyObject * obj1 = 0 ;
21094 char *kwnames[] = {
21095 (char *) "self",(char *) "dc", NULL
21096 };
21097
21098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21102 SWIG_POINTER_EXCEPTION | 0)) == -1)
21103 SWIG_fail;
21104 if (arg2 == NULL) {
21105 PyErr_SetString(PyExc_TypeError,"null reference");
21106 SWIG_fail;
21107 }
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 (arg1)->base_OnMoveLinks(*arg2);
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 Py_INCREF(Py_None); resultobj = Py_None;
21116 return resultobj;
21117 fail:
21118 return NULL;
21119 }
21120
21121
21122 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21123 PyObject *resultobj;
21124 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21125 wxDC *arg2 = 0 ;
21126 PyObject * obj0 = 0 ;
21127 PyObject * obj1 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "self",(char *) "dc", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21136 SWIG_POINTER_EXCEPTION | 0)) == -1)
21137 SWIG_fail;
21138 if (arg2 == NULL) {
21139 PyErr_SetString(PyExc_TypeError,"null reference");
21140 SWIG_fail;
21141 }
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 (arg1)->base_OnErase(*arg2);
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 Py_INCREF(Py_None); resultobj = Py_None;
21150 return resultobj;
21151 fail:
21152 return NULL;
21153 }
21154
21155
21156 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21157 PyObject *resultobj;
21158 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21159 wxDC *arg2 = 0 ;
21160 PyObject * obj0 = 0 ;
21161 PyObject * obj1 = 0 ;
21162 char *kwnames[] = {
21163 (char *) "self",(char *) "dc", NULL
21164 };
21165
21166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21170 SWIG_POINTER_EXCEPTION | 0)) == -1)
21171 SWIG_fail;
21172 if (arg2 == NULL) {
21173 PyErr_SetString(PyExc_TypeError,"null reference");
21174 SWIG_fail;
21175 }
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 (arg1)->base_OnEraseContents(*arg2);
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 Py_INCREF(Py_None); resultobj = Py_None;
21184 return resultobj;
21185 fail:
21186 return NULL;
21187 }
21188
21189
21190 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj;
21192 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21193 wxDC *arg2 = 0 ;
21194 PyObject * obj0 = 0 ;
21195 PyObject * obj1 = 0 ;
21196 char *kwnames[] = {
21197 (char *) "self",(char *) "dc", NULL
21198 };
21199
21200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21204 SWIG_POINTER_EXCEPTION | 0)) == -1)
21205 SWIG_fail;
21206 if (arg2 == NULL) {
21207 PyErr_SetString(PyExc_TypeError,"null reference");
21208 SWIG_fail;
21209 }
21210 {
21211 PyThreadState* __tstate = wxPyBeginAllowThreads();
21212 (arg1)->base_OnHighlight(*arg2);
21213
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 Py_INCREF(Py_None); resultobj = Py_None;
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21227 double arg2 ;
21228 double arg3 ;
21229 int arg4 = (int) 0 ;
21230 int arg5 = (int) 0 ;
21231 PyObject * obj0 = 0 ;
21232 PyObject * obj1 = 0 ;
21233 PyObject * obj2 = 0 ;
21234 PyObject * obj3 = 0 ;
21235 PyObject * obj4 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21243 arg2 = (double) SWIG_AsDouble(obj1);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 arg3 = (double) SWIG_AsDouble(obj2);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 if (obj3) {
21248 arg4 = (int) SWIG_AsInt(obj3);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 if (obj4) {
21252 arg5 = (int) SWIG_AsInt(obj4);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 Py_INCREF(Py_None); resultobj = Py_None;
21263 return resultobj;
21264 fail:
21265 return NULL;
21266 }
21267
21268
21269 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj;
21271 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21272 double arg2 ;
21273 double arg3 ;
21274 int arg4 = (int) 0 ;
21275 int arg5 = (int) 0 ;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 PyObject * obj2 = 0 ;
21279 PyObject * obj3 = 0 ;
21280 PyObject * obj4 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21288 arg2 = (double) SWIG_AsDouble(obj1);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 arg3 = (double) SWIG_AsDouble(obj2);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 if (obj3) {
21293 arg4 = (int) SWIG_AsInt(obj3);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 if (obj4) {
21297 arg5 = (int) SWIG_AsInt(obj4);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21303
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
21307 Py_INCREF(Py_None); resultobj = Py_None;
21308 return resultobj;
21309 fail:
21310 return NULL;
21311 }
21312
21313
21314 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21315 PyObject *resultobj;
21316 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21317 double arg2 ;
21318 double arg3 ;
21319 int arg4 = (int) 0 ;
21320 int arg5 = (int) 0 ;
21321 PyObject * obj0 = 0 ;
21322 PyObject * obj1 = 0 ;
21323 PyObject * obj2 = 0 ;
21324 PyObject * obj3 = 0 ;
21325 PyObject * obj4 = 0 ;
21326 char *kwnames[] = {
21327 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21328 };
21329
21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21333 arg2 = (double) SWIG_AsDouble(obj1);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 arg3 = (double) SWIG_AsDouble(obj2);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 if (obj3) {
21338 arg4 = (int) SWIG_AsInt(obj3);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 if (obj4) {
21342 arg5 = (int) SWIG_AsInt(obj4);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 Py_INCREF(Py_None); resultobj = Py_None;
21353 return resultobj;
21354 fail:
21355 return NULL;
21356 }
21357
21358
21359 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21360 PyObject *resultobj;
21361 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21362 double arg2 ;
21363 double arg3 ;
21364 PyObject * obj0 = 0 ;
21365 PyObject * obj1 = 0 ;
21366 PyObject * obj2 = 0 ;
21367 char *kwnames[] = {
21368 (char *) "self",(char *) "x",(char *) "y", NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
21372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21374 arg2 = (double) SWIG_AsDouble(obj1);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 arg3 = (double) SWIG_AsDouble(obj2);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 (arg1)->base_OnSize(arg2,arg3);
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
21385 Py_INCREF(Py_None); resultobj = Py_None;
21386 return resultobj;
21387 fail:
21388 return NULL;
21389 }
21390
21391
21392 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21393 PyObject *resultobj;
21394 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21395 wxDC *arg2 = 0 ;
21396 double arg3 ;
21397 double arg4 ;
21398 double arg5 ;
21399 double arg6 ;
21400 bool arg7 = (bool) True ;
21401 bool result;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 PyObject * obj2 = 0 ;
21405 PyObject * obj3 = 0 ;
21406 PyObject * obj4 = 0 ;
21407 PyObject * obj5 = 0 ;
21408 PyObject * obj6 = 0 ;
21409 char *kwnames[] = {
21410 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21411 };
21412
21413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21417 SWIG_POINTER_EXCEPTION | 0)) == -1)
21418 SWIG_fail;
21419 if (arg2 == NULL) {
21420 PyErr_SetString(PyExc_TypeError,"null reference");
21421 SWIG_fail;
21422 }
21423 arg3 = (double) SWIG_AsDouble(obj2);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 arg4 = (double) SWIG_AsDouble(obj3);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 arg5 = (double) SWIG_AsDouble(obj4);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 arg6 = (double) SWIG_AsDouble(obj5);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 if (obj6) {
21432 arg7 = (bool) SWIG_AsBool(obj6);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 {
21443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21444 }
21445 return resultobj;
21446 fail:
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21454 wxDC *arg2 = 0 ;
21455 double arg3 ;
21456 double arg4 ;
21457 double arg5 ;
21458 double arg6 ;
21459 bool arg7 = (bool) True ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 PyObject * obj2 = 0 ;
21463 PyObject * obj3 = 0 ;
21464 PyObject * obj4 = 0 ;
21465 PyObject * obj5 = 0 ;
21466 PyObject * obj6 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21475 SWIG_POINTER_EXCEPTION | 0)) == -1)
21476 SWIG_fail;
21477 if (arg2 == NULL) {
21478 PyErr_SetString(PyExc_TypeError,"null reference");
21479 SWIG_fail;
21480 }
21481 arg3 = (double) SWIG_AsDouble(obj2);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 arg4 = (double) SWIG_AsDouble(obj3);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 arg5 = (double) SWIG_AsDouble(obj4);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 arg6 = (double) SWIG_AsDouble(obj5);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 if (obj6) {
21490 arg7 = (bool) SWIG_AsBool(obj6);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 Py_INCREF(Py_None); resultobj = Py_None;
21501 return resultobj;
21502 fail:
21503 return NULL;
21504 }
21505
21506
21507 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21508 PyObject *resultobj;
21509 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21510 bool arg2 ;
21511 double arg3 ;
21512 double arg4 ;
21513 int arg5 = (int) 0 ;
21514 int arg6 = (int) 0 ;
21515 PyObject * obj0 = 0 ;
21516 PyObject * obj1 = 0 ;
21517 PyObject * obj2 = 0 ;
21518 PyObject * obj3 = 0 ;
21519 PyObject * obj4 = 0 ;
21520 PyObject * obj5 = 0 ;
21521 char *kwnames[] = {
21522 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21523 };
21524
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21528 arg2 = (bool) SWIG_AsBool(obj1);
21529 if (PyErr_Occurred()) SWIG_fail;
21530 arg3 = (double) SWIG_AsDouble(obj2);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 arg4 = (double) SWIG_AsDouble(obj3);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 if (obj4) {
21535 arg5 = (int) SWIG_AsInt(obj4);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 }
21538 if (obj5) {
21539 arg6 = (int) SWIG_AsInt(obj5);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 {
21543 PyThreadState* __tstate = wxPyBeginAllowThreads();
21544 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21545
21546 wxPyEndAllowThreads(__tstate);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 Py_INCREF(Py_None); resultobj = Py_None;
21550 return resultobj;
21551 fail:
21552 return NULL;
21553 }
21554
21555
21556 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21557 PyObject *resultobj;
21558 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21559 double arg2 ;
21560 double arg3 ;
21561 int arg4 = (int) 0 ;
21562 int arg5 = (int) 0 ;
21563 PyObject * obj0 = 0 ;
21564 PyObject * obj1 = 0 ;
21565 PyObject * obj2 = 0 ;
21566 PyObject * obj3 = 0 ;
21567 PyObject * obj4 = 0 ;
21568 char *kwnames[] = {
21569 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21570 };
21571
21572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21575 arg2 = (double) SWIG_AsDouble(obj1);
21576 if (PyErr_Occurred()) SWIG_fail;
21577 arg3 = (double) SWIG_AsDouble(obj2);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 if (obj3) {
21580 arg4 = (int) SWIG_AsInt(obj3);
21581 if (PyErr_Occurred()) SWIG_fail;
21582 }
21583 if (obj4) {
21584 arg5 = (int) SWIG_AsInt(obj4);
21585 if (PyErr_Occurred()) SWIG_fail;
21586 }
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21590
21591 wxPyEndAllowThreads(__tstate);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 }
21594 Py_INCREF(Py_None); resultobj = Py_None;
21595 return resultobj;
21596 fail:
21597 return NULL;
21598 }
21599
21600
21601 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21602 PyObject *resultobj;
21603 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21604 double arg2 ;
21605 double arg3 ;
21606 int arg4 = (int) 0 ;
21607 int arg5 = (int) 0 ;
21608 PyObject * obj0 = 0 ;
21609 PyObject * obj1 = 0 ;
21610 PyObject * obj2 = 0 ;
21611 PyObject * obj3 = 0 ;
21612 PyObject * obj4 = 0 ;
21613 char *kwnames[] = {
21614 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21615 };
21616
21617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21620 arg2 = (double) SWIG_AsDouble(obj1);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 arg3 = (double) SWIG_AsDouble(obj2);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 if (obj3) {
21625 arg4 = (int) SWIG_AsInt(obj3);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 if (obj4) {
21629 arg5 = (int) SWIG_AsInt(obj4);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 Py_INCREF(Py_None); resultobj = Py_None;
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21649 bool arg2 ;
21650 double arg3 ;
21651 double arg4 ;
21652 int arg5 = (int) 0 ;
21653 int arg6 = (int) 0 ;
21654 PyObject * obj0 = 0 ;
21655 PyObject * obj1 = 0 ;
21656 PyObject * obj2 = 0 ;
21657 PyObject * obj3 = 0 ;
21658 PyObject * obj4 = 0 ;
21659 PyObject * obj5 = 0 ;
21660 char *kwnames[] = {
21661 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21662 };
21663
21664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21667 arg2 = (bool) SWIG_AsBool(obj1);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 arg3 = (double) SWIG_AsDouble(obj2);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 arg4 = (double) SWIG_AsDouble(obj3);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 if (obj4) {
21674 arg5 = (int) SWIG_AsInt(obj4);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 if (obj5) {
21678 arg6 = (int) SWIG_AsInt(obj5);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 }
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 Py_INCREF(Py_None); resultobj = Py_None;
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21696 PyObject *resultobj;
21697 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21698 double arg2 ;
21699 double arg3 ;
21700 int arg4 = (int) 0 ;
21701 int arg5 = (int) 0 ;
21702 PyObject * obj0 = 0 ;
21703 PyObject * obj1 = 0 ;
21704 PyObject * obj2 = 0 ;
21705 PyObject * obj3 = 0 ;
21706 PyObject * obj4 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21714 arg2 = (double) SWIG_AsDouble(obj1);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 arg3 = (double) SWIG_AsDouble(obj2);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 if (obj3) {
21719 arg4 = (int) SWIG_AsInt(obj3);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 }
21722 if (obj4) {
21723 arg5 = (int) SWIG_AsInt(obj4);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
21729
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 Py_INCREF(Py_None); resultobj = Py_None;
21734 return resultobj;
21735 fail:
21736 return NULL;
21737 }
21738
21739
21740 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21741 PyObject *resultobj;
21742 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21743 double arg2 ;
21744 double arg3 ;
21745 int arg4 = (int) 0 ;
21746 int arg5 = (int) 0 ;
21747 PyObject * obj0 = 0 ;
21748 PyObject * obj1 = 0 ;
21749 PyObject * obj2 = 0 ;
21750 PyObject * obj3 = 0 ;
21751 PyObject * obj4 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21759 arg2 = (double) SWIG_AsDouble(obj1);
21760 if (PyErr_Occurred()) SWIG_fail;
21761 arg3 = (double) SWIG_AsDouble(obj2);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 if (obj3) {
21764 arg4 = (int) SWIG_AsInt(obj3);
21765 if (PyErr_Occurred()) SWIG_fail;
21766 }
21767 if (obj4) {
21768 arg5 = (int) SWIG_AsInt(obj4);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 {
21772 PyThreadState* __tstate = wxPyBeginAllowThreads();
21773 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21774
21775 wxPyEndAllowThreads(__tstate);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 }
21778 Py_INCREF(Py_None); resultobj = Py_None;
21779 return resultobj;
21780 fail:
21781 return NULL;
21782 }
21783
21784
21785 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
21786 PyObject *resultobj;
21787 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21788 wxDC *arg2 = 0 ;
21789 double arg3 ;
21790 double arg4 ;
21791 double arg5 ;
21792 double arg6 ;
21793 PyObject * obj0 = 0 ;
21794 PyObject * obj1 = 0 ;
21795 PyObject * obj2 = 0 ;
21796 PyObject * obj3 = 0 ;
21797 PyObject * obj4 = 0 ;
21798 PyObject * obj5 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21807 SWIG_POINTER_EXCEPTION | 0)) == -1)
21808 SWIG_fail;
21809 if (arg2 == NULL) {
21810 PyErr_SetString(PyExc_TypeError,"null reference");
21811 SWIG_fail;
21812 }
21813 arg3 = (double) SWIG_AsDouble(obj2);
21814 if (PyErr_Occurred()) SWIG_fail;
21815 arg4 = (double) SWIG_AsDouble(obj3);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 arg5 = (double) SWIG_AsDouble(obj4);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 arg6 = (double) SWIG_AsDouble(obj5);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 {
21822 PyThreadState* __tstate = wxPyBeginAllowThreads();
21823 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21824
21825 wxPyEndAllowThreads(__tstate);
21826 if (PyErr_Occurred()) SWIG_fail;
21827 }
21828 Py_INCREF(Py_None); resultobj = Py_None;
21829 return resultobj;
21830 fail:
21831 return NULL;
21832 }
21833
21834
21835 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21836 PyObject *resultobj;
21837 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21838 wxDC *arg2 = 0 ;
21839 PyObject * obj0 = 0 ;
21840 PyObject * obj1 = 0 ;
21841 char *kwnames[] = {
21842 (char *) "self",(char *) "dc", NULL
21843 };
21844
21845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
21846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21849 SWIG_POINTER_EXCEPTION | 0)) == -1)
21850 SWIG_fail;
21851 if (arg2 == NULL) {
21852 PyErr_SetString(PyExc_TypeError,"null reference");
21853 SWIG_fail;
21854 }
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 (arg1)->base_OnDrawControlPoints(*arg2);
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 Py_INCREF(Py_None); resultobj = Py_None;
21863 return resultobj;
21864 fail:
21865 return NULL;
21866 }
21867
21868
21869 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21870 PyObject *resultobj;
21871 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21872 wxDC *arg2 = 0 ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 char *kwnames[] = {
21876 (char *) "self",(char *) "dc", NULL
21877 };
21878
21879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
21880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21883 SWIG_POINTER_EXCEPTION | 0)) == -1)
21884 SWIG_fail;
21885 if (arg2 == NULL) {
21886 PyErr_SetString(PyExc_TypeError,"null reference");
21887 SWIG_fail;
21888 }
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 (arg1)->base_OnEraseControlPoints(*arg2);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 Py_INCREF(Py_None); resultobj = Py_None;
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj;
21905 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21906 wxDC *arg2 = 0 ;
21907 bool arg3 = (bool) True ;
21908 PyObject * obj0 = 0 ;
21909 PyObject * obj1 = 0 ;
21910 PyObject * obj2 = 0 ;
21911 char *kwnames[] = {
21912 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21913 };
21914
21915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
21916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21919 SWIG_POINTER_EXCEPTION | 0)) == -1)
21920 SWIG_fail;
21921 if (arg2 == NULL) {
21922 PyErr_SetString(PyExc_TypeError,"null reference");
21923 SWIG_fail;
21924 }
21925 if (obj2) {
21926 arg3 = (bool) SWIG_AsBool(obj2);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 (arg1)->base_OnMoveLink(*arg2,arg3);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 Py_INCREF(Py_None); resultobj = Py_None;
21937 return resultobj;
21938 fail:
21939 return NULL;
21940 }
21941
21942
21943 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21946 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21947 bool arg3 ;
21948 double arg4 ;
21949 double arg5 ;
21950 int arg6 = (int) 0 ;
21951 int arg7 = (int) 0 ;
21952 PyObject * obj0 = 0 ;
21953 PyObject * obj1 = 0 ;
21954 PyObject * obj2 = 0 ;
21955 PyObject * obj3 = 0 ;
21956 PyObject * obj4 = 0 ;
21957 PyObject * obj5 = 0 ;
21958 PyObject * obj6 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21968 arg3 = (bool) SWIG_AsBool(obj2);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 arg4 = (double) SWIG_AsDouble(obj3);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 arg5 = (double) SWIG_AsDouble(obj4);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 if (obj5) {
21975 arg6 = (int) SWIG_AsInt(obj5);
21976 if (PyErr_Occurred()) SWIG_fail;
21977 }
21978 if (obj6) {
21979 arg7 = (int) SWIG_AsInt(obj6);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 {
21983 PyThreadState* __tstate = wxPyBeginAllowThreads();
21984 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
21985
21986 wxPyEndAllowThreads(__tstate);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 Py_INCREF(Py_None); resultobj = Py_None;
21990 return resultobj;
21991 fail:
21992 return NULL;
21993 }
21994
21995
21996 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21997 PyObject *resultobj;
21998 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21999 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22000 double arg3 ;
22001 double arg4 ;
22002 int arg5 = (int) 0 ;
22003 int arg6 = (int) 0 ;
22004 PyObject * obj0 = 0 ;
22005 PyObject * obj1 = 0 ;
22006 PyObject * obj2 = 0 ;
22007 PyObject * obj3 = 0 ;
22008 PyObject * obj4 = 0 ;
22009 PyObject * obj5 = 0 ;
22010 char *kwnames[] = {
22011 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22012 };
22013
22014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22019 arg3 = (double) SWIG_AsDouble(obj2);
22020 if (PyErr_Occurred()) SWIG_fail;
22021 arg4 = (double) SWIG_AsDouble(obj3);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 if (obj4) {
22024 arg5 = (int) SWIG_AsInt(obj4);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 if (obj5) {
22028 arg6 = (int) SWIG_AsInt(obj5);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 {
22032 PyThreadState* __tstate = wxPyBeginAllowThreads();
22033 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22034
22035 wxPyEndAllowThreads(__tstate);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 Py_INCREF(Py_None); resultobj = Py_None;
22039 return resultobj;
22040 fail:
22041 return NULL;
22042 }
22043
22044
22045 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22046 PyObject *resultobj;
22047 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22048 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22049 double arg3 ;
22050 double arg4 ;
22051 int arg5 = (int) 0 ;
22052 int arg6 = (int) 0 ;
22053 PyObject * obj0 = 0 ;
22054 PyObject * obj1 = 0 ;
22055 PyObject * obj2 = 0 ;
22056 PyObject * obj3 = 0 ;
22057 PyObject * obj4 = 0 ;
22058 PyObject * obj5 = 0 ;
22059 char *kwnames[] = {
22060 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22061 };
22062
22063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22068 arg3 = (double) SWIG_AsDouble(obj2);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 arg4 = (double) SWIG_AsDouble(obj3);
22071 if (PyErr_Occurred()) SWIG_fail;
22072 if (obj4) {
22073 arg5 = (int) SWIG_AsInt(obj4);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 if (obj5) {
22077 arg6 = (int) SWIG_AsInt(obj5);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 }
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22083
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 Py_INCREF(Py_None); resultobj = Py_None;
22088 return resultobj;
22089 fail:
22090 return NULL;
22091 }
22092
22093
22094 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22097 double arg2 ;
22098 double arg3 ;
22099 PyObject * obj0 = 0 ;
22100 PyObject * obj1 = 0 ;
22101 PyObject * obj2 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self",(char *) "w",(char *) "h", NULL
22104 };
22105
22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22109 arg2 = (double) SWIG_AsDouble(obj1);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 arg3 = (double) SWIG_AsDouble(obj2);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 {
22114 PyThreadState* __tstate = wxPyBeginAllowThreads();
22115 (arg1)->base_OnBeginSize(arg2,arg3);
22116
22117 wxPyEndAllowThreads(__tstate);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 Py_INCREF(Py_None); resultobj = Py_None;
22121 return resultobj;
22122 fail:
22123 return NULL;
22124 }
22125
22126
22127 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22128 PyObject *resultobj;
22129 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22130 double arg2 ;
22131 double arg3 ;
22132 PyObject * obj0 = 0 ;
22133 PyObject * obj1 = 0 ;
22134 PyObject * obj2 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self",(char *) "w",(char *) "h", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22142 arg2 = (double) SWIG_AsDouble(obj1);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 arg3 = (double) SWIG_AsDouble(obj2);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 {
22147 PyThreadState* __tstate = wxPyBeginAllowThreads();
22148 (arg1)->base_OnEndSize(arg2,arg3);
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 Py_INCREF(Py_None); resultobj = Py_None;
22154 return resultobj;
22155 fail:
22156 return NULL;
22157 }
22158
22159
22160 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
22161 PyObject *obj;
22162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22163 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22164 Py_INCREF(obj);
22165 return Py_BuildValue((char *)"");
22166 }
22167 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22168 PyObject *resultobj;
22169 double arg1 = (double) 0.0 ;
22170 double arg2 = (double) 0.0 ;
22171 wxPyEllipseShape *result;
22172 PyObject * obj0 = 0 ;
22173 PyObject * obj1 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "width",(char *) "height", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22179 if (obj0) {
22180 arg1 = (double) SWIG_AsDouble(obj0);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 if (obj1) {
22184 arg2 = (double) SWIG_AsDouble(obj1);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
22195 return resultobj;
22196 fail:
22197 return NULL;
22198 }
22199
22200
22201 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22204 PyObject *arg2 = (PyObject *) 0 ;
22205 PyObject *arg3 = (PyObject *) 0 ;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 PyObject * obj2 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self",(char *) "self",(char *) "_class", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22216 arg2 = obj1;
22217 arg3 = obj2;
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 (arg1)->_setCallbackInfo(arg2,arg3);
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 Py_INCREF(Py_None); resultobj = Py_None;
22226 return resultobj;
22227 fail:
22228 return NULL;
22229 }
22230
22231
22232 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22235 wxDC *arg2 = 0 ;
22236 PyObject * obj0 = 0 ;
22237 PyObject * obj1 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self",(char *) "dc", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22245 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22246 SWIG_POINTER_EXCEPTION | 0)) == -1)
22247 SWIG_fail;
22248 if (arg2 == NULL) {
22249 PyErr_SetString(PyExc_TypeError,"null reference");
22250 SWIG_fail;
22251 }
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 (arg1)->base_OnDraw(*arg2);
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 Py_INCREF(Py_None); resultobj = Py_None;
22260 return resultobj;
22261 fail:
22262 return NULL;
22263 }
22264
22265
22266 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22267 PyObject *resultobj;
22268 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22269 wxDC *arg2 = 0 ;
22270 PyObject * obj0 = 0 ;
22271 PyObject * obj1 = 0 ;
22272 char *kwnames[] = {
22273 (char *) "self",(char *) "dc", NULL
22274 };
22275
22276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22280 SWIG_POINTER_EXCEPTION | 0)) == -1)
22281 SWIG_fail;
22282 if (arg2 == NULL) {
22283 PyErr_SetString(PyExc_TypeError,"null reference");
22284 SWIG_fail;
22285 }
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 (arg1)->base_OnDrawContents(*arg2);
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 Py_INCREF(Py_None); resultobj = Py_None;
22294 return resultobj;
22295 fail:
22296 return NULL;
22297 }
22298
22299
22300 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj;
22302 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22303 wxDC *arg2 = 0 ;
22304 bool arg3 = (bool) FALSE ;
22305 PyObject * obj0 = 0 ;
22306 PyObject * obj1 = 0 ;
22307 PyObject * obj2 = 0 ;
22308 char *kwnames[] = {
22309 (char *) "self",(char *) "dc",(char *) "erase", NULL
22310 };
22311
22312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22316 SWIG_POINTER_EXCEPTION | 0)) == -1)
22317 SWIG_fail;
22318 if (arg2 == NULL) {
22319 PyErr_SetString(PyExc_TypeError,"null reference");
22320 SWIG_fail;
22321 }
22322 if (obj2) {
22323 arg3 = (bool) SWIG_AsBool(obj2);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 }
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
22328 (arg1)->base_OnDrawBranches(*arg2,arg3);
22329
22330 wxPyEndAllowThreads(__tstate);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 Py_INCREF(Py_None); resultobj = Py_None;
22334 return resultobj;
22335 fail:
22336 return NULL;
22337 }
22338
22339
22340 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22343 wxDC *arg2 = 0 ;
22344 PyObject * obj0 = 0 ;
22345 PyObject * obj1 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self",(char *) "dc", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22354 SWIG_POINTER_EXCEPTION | 0)) == -1)
22355 SWIG_fail;
22356 if (arg2 == NULL) {
22357 PyErr_SetString(PyExc_TypeError,"null reference");
22358 SWIG_fail;
22359 }
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 (arg1)->base_OnMoveLinks(*arg2);
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 Py_INCREF(Py_None); resultobj = Py_None;
22368 return resultobj;
22369 fail:
22370 return NULL;
22371 }
22372
22373
22374 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22377 wxDC *arg2 = 0 ;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self",(char *) "dc", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22388 SWIG_POINTER_EXCEPTION | 0)) == -1)
22389 SWIG_fail;
22390 if (arg2 == NULL) {
22391 PyErr_SetString(PyExc_TypeError,"null reference");
22392 SWIG_fail;
22393 }
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 (arg1)->base_OnErase(*arg2);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 Py_INCREF(Py_None); resultobj = Py_None;
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj;
22410 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22411 wxDC *arg2 = 0 ;
22412 PyObject * obj0 = 0 ;
22413 PyObject * obj1 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self",(char *) "dc", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22422 SWIG_POINTER_EXCEPTION | 0)) == -1)
22423 SWIG_fail;
22424 if (arg2 == NULL) {
22425 PyErr_SetString(PyExc_TypeError,"null reference");
22426 SWIG_fail;
22427 }
22428 {
22429 PyThreadState* __tstate = wxPyBeginAllowThreads();
22430 (arg1)->base_OnEraseContents(*arg2);
22431
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 Py_INCREF(Py_None); resultobj = Py_None;
22436 return resultobj;
22437 fail:
22438 return NULL;
22439 }
22440
22441
22442 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22443 PyObject *resultobj;
22444 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22445 wxDC *arg2 = 0 ;
22446 PyObject * obj0 = 0 ;
22447 PyObject * obj1 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self",(char *) "dc", NULL
22450 };
22451
22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22456 SWIG_POINTER_EXCEPTION | 0)) == -1)
22457 SWIG_fail;
22458 if (arg2 == NULL) {
22459 PyErr_SetString(PyExc_TypeError,"null reference");
22460 SWIG_fail;
22461 }
22462 {
22463 PyThreadState* __tstate = wxPyBeginAllowThreads();
22464 (arg1)->base_OnHighlight(*arg2);
22465
22466 wxPyEndAllowThreads(__tstate);
22467 if (PyErr_Occurred()) SWIG_fail;
22468 }
22469 Py_INCREF(Py_None); resultobj = Py_None;
22470 return resultobj;
22471 fail:
22472 return NULL;
22473 }
22474
22475
22476 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22477 PyObject *resultobj;
22478 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22479 double arg2 ;
22480 double arg3 ;
22481 int arg4 = (int) 0 ;
22482 int arg5 = (int) 0 ;
22483 PyObject * obj0 = 0 ;
22484 PyObject * obj1 = 0 ;
22485 PyObject * obj2 = 0 ;
22486 PyObject * obj3 = 0 ;
22487 PyObject * obj4 = 0 ;
22488 char *kwnames[] = {
22489 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22490 };
22491
22492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22495 arg2 = (double) SWIG_AsDouble(obj1);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 arg3 = (double) SWIG_AsDouble(obj2);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 if (obj3) {
22500 arg4 = (int) SWIG_AsInt(obj3);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 if (obj4) {
22504 arg5 = (int) SWIG_AsInt(obj4);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 Py_INCREF(Py_None); resultobj = Py_None;
22515 return resultobj;
22516 fail:
22517 return NULL;
22518 }
22519
22520
22521 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22524 double arg2 ;
22525 double arg3 ;
22526 int arg4 = (int) 0 ;
22527 int arg5 = (int) 0 ;
22528 PyObject * obj0 = 0 ;
22529 PyObject * obj1 = 0 ;
22530 PyObject * obj2 = 0 ;
22531 PyObject * obj3 = 0 ;
22532 PyObject * obj4 = 0 ;
22533 char *kwnames[] = {
22534 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22535 };
22536
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22540 arg2 = (double) SWIG_AsDouble(obj1);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 arg3 = (double) SWIG_AsDouble(obj2);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 if (obj3) {
22545 arg4 = (int) SWIG_AsInt(obj3);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 if (obj4) {
22549 arg5 = (int) SWIG_AsInt(obj4);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 }
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 Py_INCREF(Py_None); resultobj = Py_None;
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj;
22568 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22569 double arg2 ;
22570 double arg3 ;
22571 int arg4 = (int) 0 ;
22572 int arg5 = (int) 0 ;
22573 PyObject * obj0 = 0 ;
22574 PyObject * obj1 = 0 ;
22575 PyObject * obj2 = 0 ;
22576 PyObject * obj3 = 0 ;
22577 PyObject * obj4 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22585 arg2 = (double) SWIG_AsDouble(obj1);
22586 if (PyErr_Occurred()) SWIG_fail;
22587 arg3 = (double) SWIG_AsDouble(obj2);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 if (obj3) {
22590 arg4 = (int) SWIG_AsInt(obj3);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
22593 if (obj4) {
22594 arg5 = (int) SWIG_AsInt(obj4);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 Py_INCREF(Py_None); resultobj = Py_None;
22605 return resultobj;
22606 fail:
22607 return NULL;
22608 }
22609
22610
22611 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22612 PyObject *resultobj;
22613 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22614 double arg2 ;
22615 double arg3 ;
22616 PyObject * obj0 = 0 ;
22617 PyObject * obj1 = 0 ;
22618 PyObject * obj2 = 0 ;
22619 char *kwnames[] = {
22620 (char *) "self",(char *) "x",(char *) "y", NULL
22621 };
22622
22623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22626 arg2 = (double) SWIG_AsDouble(obj1);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 arg3 = (double) SWIG_AsDouble(obj2);
22629 if (PyErr_Occurred()) SWIG_fail;
22630 {
22631 PyThreadState* __tstate = wxPyBeginAllowThreads();
22632 (arg1)->base_OnSize(arg2,arg3);
22633
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 Py_INCREF(Py_None); resultobj = Py_None;
22638 return resultobj;
22639 fail:
22640 return NULL;
22641 }
22642
22643
22644 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22645 PyObject *resultobj;
22646 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22647 wxDC *arg2 = 0 ;
22648 double arg3 ;
22649 double arg4 ;
22650 double arg5 ;
22651 double arg6 ;
22652 bool arg7 = (bool) True ;
22653 bool result;
22654 PyObject * obj0 = 0 ;
22655 PyObject * obj1 = 0 ;
22656 PyObject * obj2 = 0 ;
22657 PyObject * obj3 = 0 ;
22658 PyObject * obj4 = 0 ;
22659 PyObject * obj5 = 0 ;
22660 PyObject * obj6 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22669 SWIG_POINTER_EXCEPTION | 0)) == -1)
22670 SWIG_fail;
22671 if (arg2 == NULL) {
22672 PyErr_SetString(PyExc_TypeError,"null reference");
22673 SWIG_fail;
22674 }
22675 arg3 = (double) SWIG_AsDouble(obj2);
22676 if (PyErr_Occurred()) SWIG_fail;
22677 arg4 = (double) SWIG_AsDouble(obj3);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 arg5 = (double) SWIG_AsDouble(obj4);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 arg6 = (double) SWIG_AsDouble(obj5);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 if (obj6) {
22684 arg7 = (bool) SWIG_AsBool(obj6);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22690
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 {
22695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22696 }
22697 return resultobj;
22698 fail:
22699 return NULL;
22700 }
22701
22702
22703 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj;
22705 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22706 wxDC *arg2 = 0 ;
22707 double arg3 ;
22708 double arg4 ;
22709 double arg5 ;
22710 double arg6 ;
22711 bool arg7 = (bool) True ;
22712 PyObject * obj0 = 0 ;
22713 PyObject * obj1 = 0 ;
22714 PyObject * obj2 = 0 ;
22715 PyObject * obj3 = 0 ;
22716 PyObject * obj4 = 0 ;
22717 PyObject * obj5 = 0 ;
22718 PyObject * obj6 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22727 SWIG_POINTER_EXCEPTION | 0)) == -1)
22728 SWIG_fail;
22729 if (arg2 == NULL) {
22730 PyErr_SetString(PyExc_TypeError,"null reference");
22731 SWIG_fail;
22732 }
22733 arg3 = (double) SWIG_AsDouble(obj2);
22734 if (PyErr_Occurred()) SWIG_fail;
22735 arg4 = (double) SWIG_AsDouble(obj3);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 arg5 = (double) SWIG_AsDouble(obj4);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 arg6 = (double) SWIG_AsDouble(obj5);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 if (obj6) {
22742 arg7 = (bool) SWIG_AsBool(obj6);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 }
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 Py_INCREF(Py_None); resultobj = Py_None;
22753 return resultobj;
22754 fail:
22755 return NULL;
22756 }
22757
22758
22759 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22760 PyObject *resultobj;
22761 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22762 bool arg2 ;
22763 double arg3 ;
22764 double arg4 ;
22765 int arg5 = (int) 0 ;
22766 int arg6 = (int) 0 ;
22767 PyObject * obj0 = 0 ;
22768 PyObject * obj1 = 0 ;
22769 PyObject * obj2 = 0 ;
22770 PyObject * obj3 = 0 ;
22771 PyObject * obj4 = 0 ;
22772 PyObject * obj5 = 0 ;
22773 char *kwnames[] = {
22774 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22775 };
22776
22777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22780 arg2 = (bool) SWIG_AsBool(obj1);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 arg3 = (double) SWIG_AsDouble(obj2);
22783 if (PyErr_Occurred()) SWIG_fail;
22784 arg4 = (double) SWIG_AsDouble(obj3);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 if (obj4) {
22787 arg5 = (int) SWIG_AsInt(obj4);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 }
22790 if (obj5) {
22791 arg6 = (int) SWIG_AsInt(obj5);
22792 if (PyErr_Occurred()) SWIG_fail;
22793 }
22794 {
22795 PyThreadState* __tstate = wxPyBeginAllowThreads();
22796 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22797
22798 wxPyEndAllowThreads(__tstate);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 Py_INCREF(Py_None); resultobj = Py_None;
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22809 PyObject *resultobj;
22810 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22811 double arg2 ;
22812 double arg3 ;
22813 int arg4 = (int) 0 ;
22814 int arg5 = (int) 0 ;
22815 PyObject * obj0 = 0 ;
22816 PyObject * obj1 = 0 ;
22817 PyObject * obj2 = 0 ;
22818 PyObject * obj3 = 0 ;
22819 PyObject * obj4 = 0 ;
22820 char *kwnames[] = {
22821 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22822 };
22823
22824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22827 arg2 = (double) SWIG_AsDouble(obj1);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 arg3 = (double) SWIG_AsDouble(obj2);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 if (obj3) {
22832 arg4 = (int) SWIG_AsInt(obj3);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 if (obj4) {
22836 arg5 = (int) SWIG_AsInt(obj4);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22842
22843 wxPyEndAllowThreads(__tstate);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
22846 Py_INCREF(Py_None); resultobj = Py_None;
22847 return resultobj;
22848 fail:
22849 return NULL;
22850 }
22851
22852
22853 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22854 PyObject *resultobj;
22855 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22856 double arg2 ;
22857 double arg3 ;
22858 int arg4 = (int) 0 ;
22859 int arg5 = (int) 0 ;
22860 PyObject * obj0 = 0 ;
22861 PyObject * obj1 = 0 ;
22862 PyObject * obj2 = 0 ;
22863 PyObject * obj3 = 0 ;
22864 PyObject * obj4 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22867 };
22868
22869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22872 arg2 = (double) SWIG_AsDouble(obj1);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 arg3 = (double) SWIG_AsDouble(obj2);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 if (obj3) {
22877 arg4 = (int) SWIG_AsInt(obj3);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 if (obj4) {
22881 arg5 = (int) SWIG_AsInt(obj4);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 }
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 Py_INCREF(Py_None); resultobj = Py_None;
22892 return resultobj;
22893 fail:
22894 return NULL;
22895 }
22896
22897
22898 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj;
22900 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22901 bool arg2 ;
22902 double arg3 ;
22903 double arg4 ;
22904 int arg5 = (int) 0 ;
22905 int arg6 = (int) 0 ;
22906 PyObject * obj0 = 0 ;
22907 PyObject * obj1 = 0 ;
22908 PyObject * obj2 = 0 ;
22909 PyObject * obj3 = 0 ;
22910 PyObject * obj4 = 0 ;
22911 PyObject * obj5 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22919 arg2 = (bool) SWIG_AsBool(obj1);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 arg3 = (double) SWIG_AsDouble(obj2);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 arg4 = (double) SWIG_AsDouble(obj3);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 if (obj4) {
22926 arg5 = (int) SWIG_AsInt(obj4);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 if (obj5) {
22930 arg6 = (int) SWIG_AsInt(obj5);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 Py_INCREF(Py_None); resultobj = Py_None;
22941 return resultobj;
22942 fail:
22943 return NULL;
22944 }
22945
22946
22947 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22950 double arg2 ;
22951 double arg3 ;
22952 int arg4 = (int) 0 ;
22953 int arg5 = (int) 0 ;
22954 PyObject * obj0 = 0 ;
22955 PyObject * obj1 = 0 ;
22956 PyObject * obj2 = 0 ;
22957 PyObject * obj3 = 0 ;
22958 PyObject * obj4 = 0 ;
22959 char *kwnames[] = {
22960 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22961 };
22962
22963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22966 arg2 = (double) SWIG_AsDouble(obj1);
22967 if (PyErr_Occurred()) SWIG_fail;
22968 arg3 = (double) SWIG_AsDouble(obj2);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 if (obj3) {
22971 arg4 = (int) SWIG_AsInt(obj3);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 if (obj4) {
22975 arg5 = (int) SWIG_AsInt(obj4);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22981
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 Py_INCREF(Py_None); resultobj = Py_None;
22986 return resultobj;
22987 fail:
22988 return NULL;
22989 }
22990
22991
22992 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj;
22994 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22995 double arg2 ;
22996 double arg3 ;
22997 int arg4 = (int) 0 ;
22998 int arg5 = (int) 0 ;
22999 PyObject * obj0 = 0 ;
23000 PyObject * obj1 = 0 ;
23001 PyObject * obj2 = 0 ;
23002 PyObject * obj3 = 0 ;
23003 PyObject * obj4 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23011 arg2 = (double) SWIG_AsDouble(obj1);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 arg3 = (double) SWIG_AsDouble(obj2);
23014 if (PyErr_Occurred()) SWIG_fail;
23015 if (obj3) {
23016 arg4 = (int) SWIG_AsInt(obj3);
23017 if (PyErr_Occurred()) SWIG_fail;
23018 }
23019 if (obj4) {
23020 arg5 = (int) SWIG_AsInt(obj4);
23021 if (PyErr_Occurred()) SWIG_fail;
23022 }
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23026
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
23030 Py_INCREF(Py_None); resultobj = Py_None;
23031 return resultobj;
23032 fail:
23033 return NULL;
23034 }
23035
23036
23037 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23038 PyObject *resultobj;
23039 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23040 wxDC *arg2 = 0 ;
23041 double arg3 ;
23042 double arg4 ;
23043 double arg5 ;
23044 double arg6 ;
23045 PyObject * obj0 = 0 ;
23046 PyObject * obj1 = 0 ;
23047 PyObject * obj2 = 0 ;
23048 PyObject * obj3 = 0 ;
23049 PyObject * obj4 = 0 ;
23050 PyObject * obj5 = 0 ;
23051 char *kwnames[] = {
23052 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23053 };
23054
23055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23059 SWIG_POINTER_EXCEPTION | 0)) == -1)
23060 SWIG_fail;
23061 if (arg2 == NULL) {
23062 PyErr_SetString(PyExc_TypeError,"null reference");
23063 SWIG_fail;
23064 }
23065 arg3 = (double) SWIG_AsDouble(obj2);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 arg4 = (double) SWIG_AsDouble(obj3);
23068 if (PyErr_Occurred()) SWIG_fail;
23069 arg5 = (double) SWIG_AsDouble(obj4);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 arg6 = (double) SWIG_AsDouble(obj5);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 {
23074 PyThreadState* __tstate = wxPyBeginAllowThreads();
23075 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23076
23077 wxPyEndAllowThreads(__tstate);
23078 if (PyErr_Occurred()) SWIG_fail;
23079 }
23080 Py_INCREF(Py_None); resultobj = Py_None;
23081 return resultobj;
23082 fail:
23083 return NULL;
23084 }
23085
23086
23087 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23088 PyObject *resultobj;
23089 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23090 wxDC *arg2 = 0 ;
23091 PyObject * obj0 = 0 ;
23092 PyObject * obj1 = 0 ;
23093 char *kwnames[] = {
23094 (char *) "self",(char *) "dc", NULL
23095 };
23096
23097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23101 SWIG_POINTER_EXCEPTION | 0)) == -1)
23102 SWIG_fail;
23103 if (arg2 == NULL) {
23104 PyErr_SetString(PyExc_TypeError,"null reference");
23105 SWIG_fail;
23106 }
23107 {
23108 PyThreadState* __tstate = wxPyBeginAllowThreads();
23109 (arg1)->base_OnDrawControlPoints(*arg2);
23110
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 Py_INCREF(Py_None); resultobj = Py_None;
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj;
23123 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23124 wxDC *arg2 = 0 ;
23125 PyObject * obj0 = 0 ;
23126 PyObject * obj1 = 0 ;
23127 char *kwnames[] = {
23128 (char *) "self",(char *) "dc", NULL
23129 };
23130
23131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23135 SWIG_POINTER_EXCEPTION | 0)) == -1)
23136 SWIG_fail;
23137 if (arg2 == NULL) {
23138 PyErr_SetString(PyExc_TypeError,"null reference");
23139 SWIG_fail;
23140 }
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 (arg1)->base_OnEraseControlPoints(*arg2);
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 Py_INCREF(Py_None); resultobj = Py_None;
23149 return resultobj;
23150 fail:
23151 return NULL;
23152 }
23153
23154
23155 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23158 wxDC *arg2 = 0 ;
23159 bool arg3 = (bool) True ;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 PyObject * obj2 = 0 ;
23163 char *kwnames[] = {
23164 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23165 };
23166
23167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23171 SWIG_POINTER_EXCEPTION | 0)) == -1)
23172 SWIG_fail;
23173 if (arg2 == NULL) {
23174 PyErr_SetString(PyExc_TypeError,"null reference");
23175 SWIG_fail;
23176 }
23177 if (obj2) {
23178 arg3 = (bool) SWIG_AsBool(obj2);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 (arg1)->base_OnMoveLink(*arg2,arg3);
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 Py_INCREF(Py_None); resultobj = Py_None;
23189 return resultobj;
23190 fail:
23191 return NULL;
23192 }
23193
23194
23195 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23196 PyObject *resultobj;
23197 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23198 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23199 bool arg3 ;
23200 double arg4 ;
23201 double arg5 ;
23202 int arg6 = (int) 0 ;
23203 int arg7 = (int) 0 ;
23204 PyObject * obj0 = 0 ;
23205 PyObject * obj1 = 0 ;
23206 PyObject * obj2 = 0 ;
23207 PyObject * obj3 = 0 ;
23208 PyObject * obj4 = 0 ;
23209 PyObject * obj5 = 0 ;
23210 PyObject * obj6 = 0 ;
23211 char *kwnames[] = {
23212 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23213 };
23214
23215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23220 arg3 = (bool) SWIG_AsBool(obj2);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 arg4 = (double) SWIG_AsDouble(obj3);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 arg5 = (double) SWIG_AsDouble(obj4);
23225 if (PyErr_Occurred()) SWIG_fail;
23226 if (obj5) {
23227 arg6 = (int) SWIG_AsInt(obj5);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 if (obj6) {
23231 arg7 = (int) SWIG_AsInt(obj6);
23232 if (PyErr_Occurred()) SWIG_fail;
23233 }
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23237
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 Py_INCREF(Py_None); resultobj = Py_None;
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23249 PyObject *resultobj;
23250 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23251 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23252 double arg3 ;
23253 double arg4 ;
23254 int arg5 = (int) 0 ;
23255 int arg6 = (int) 0 ;
23256 PyObject * obj0 = 0 ;
23257 PyObject * obj1 = 0 ;
23258 PyObject * obj2 = 0 ;
23259 PyObject * obj3 = 0 ;
23260 PyObject * obj4 = 0 ;
23261 PyObject * obj5 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23271 arg3 = (double) SWIG_AsDouble(obj2);
23272 if (PyErr_Occurred()) SWIG_fail;
23273 arg4 = (double) SWIG_AsDouble(obj3);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 if (obj4) {
23276 arg5 = (int) SWIG_AsInt(obj4);
23277 if (PyErr_Occurred()) SWIG_fail;
23278 }
23279 if (obj5) {
23280 arg6 = (int) SWIG_AsInt(obj5);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 {
23284 PyThreadState* __tstate = wxPyBeginAllowThreads();
23285 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23286
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 Py_INCREF(Py_None); resultobj = Py_None;
23291 return resultobj;
23292 fail:
23293 return NULL;
23294 }
23295
23296
23297 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23298 PyObject *resultobj;
23299 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23300 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23301 double arg3 ;
23302 double arg4 ;
23303 int arg5 = (int) 0 ;
23304 int arg6 = (int) 0 ;
23305 PyObject * obj0 = 0 ;
23306 PyObject * obj1 = 0 ;
23307 PyObject * obj2 = 0 ;
23308 PyObject * obj3 = 0 ;
23309 PyObject * obj4 = 0 ;
23310 PyObject * obj5 = 0 ;
23311 char *kwnames[] = {
23312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23313 };
23314
23315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23320 arg3 = (double) SWIG_AsDouble(obj2);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 arg4 = (double) SWIG_AsDouble(obj3);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 if (obj4) {
23325 arg5 = (int) SWIG_AsInt(obj4);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 if (obj5) {
23329 arg6 = (int) SWIG_AsInt(obj5);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 }
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
23334 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23335
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 Py_INCREF(Py_None); resultobj = Py_None;
23340 return resultobj;
23341 fail:
23342 return NULL;
23343 }
23344
23345
23346 static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23347 PyObject *resultobj;
23348 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23349 double arg2 ;
23350 double arg3 ;
23351 PyObject * obj0 = 0 ;
23352 PyObject * obj1 = 0 ;
23353 PyObject * obj2 = 0 ;
23354 char *kwnames[] = {
23355 (char *) "self",(char *) "w",(char *) "h", NULL
23356 };
23357
23358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23361 arg2 = (double) SWIG_AsDouble(obj1);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 arg3 = (double) SWIG_AsDouble(obj2);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 (arg1)->base_OnBeginSize(arg2,arg3);
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 Py_INCREF(Py_None); resultobj = Py_None;
23373 return resultobj;
23374 fail:
23375 return NULL;
23376 }
23377
23378
23379 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23380 PyObject *resultobj;
23381 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23382 double arg2 ;
23383 double arg3 ;
23384 PyObject * obj0 = 0 ;
23385 PyObject * obj1 = 0 ;
23386 PyObject * obj2 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self",(char *) "w",(char *) "h", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23394 arg2 = (double) SWIG_AsDouble(obj1);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 arg3 = (double) SWIG_AsDouble(obj2);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 (arg1)->base_OnEndSize(arg2,arg3);
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 Py_INCREF(Py_None); resultobj = Py_None;
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
23413 PyObject *obj;
23414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23415 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23416 Py_INCREF(obj);
23417 return Py_BuildValue((char *)"");
23418 }
23419 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 double arg1 = (double) 0.0 ;
23422 wxPyCircleShape *result;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "width", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23429 if (obj0) {
23430 arg1 = (double) SWIG_AsDouble(obj0);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 {
23434 PyThreadState* __tstate = wxPyBeginAllowThreads();
23435 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23436
23437 wxPyEndAllowThreads(__tstate);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 }
23440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
23441 return resultobj;
23442 fail:
23443 return NULL;
23444 }
23445
23446
23447 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23448 PyObject *resultobj;
23449 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23450 PyObject *arg2 = (PyObject *) 0 ;
23451 PyObject *arg3 = (PyObject *) 0 ;
23452 PyObject * obj0 = 0 ;
23453 PyObject * obj1 = 0 ;
23454 PyObject * obj2 = 0 ;
23455 char *kwnames[] = {
23456 (char *) "self",(char *) "self",(char *) "_class", NULL
23457 };
23458
23459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23462 arg2 = obj1;
23463 arg3 = obj2;
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 (arg1)->_setCallbackInfo(arg2,arg3);
23467
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
23471 Py_INCREF(Py_None); resultobj = Py_None;
23472 return resultobj;
23473 fail:
23474 return NULL;
23475 }
23476
23477
23478 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23479 PyObject *resultobj;
23480 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23481 wxDC *arg2 = 0 ;
23482 PyObject * obj0 = 0 ;
23483 PyObject * obj1 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self",(char *) "dc", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23492 SWIG_POINTER_EXCEPTION | 0)) == -1)
23493 SWIG_fail;
23494 if (arg2 == NULL) {
23495 PyErr_SetString(PyExc_TypeError,"null reference");
23496 SWIG_fail;
23497 }
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 (arg1)->base_OnDraw(*arg2);
23501
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 Py_INCREF(Py_None); resultobj = Py_None;
23506 return resultobj;
23507 fail:
23508 return NULL;
23509 }
23510
23511
23512 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23513 PyObject *resultobj;
23514 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23515 wxDC *arg2 = 0 ;
23516 PyObject * obj0 = 0 ;
23517 PyObject * obj1 = 0 ;
23518 char *kwnames[] = {
23519 (char *) "self",(char *) "dc", NULL
23520 };
23521
23522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23526 SWIG_POINTER_EXCEPTION | 0)) == -1)
23527 SWIG_fail;
23528 if (arg2 == NULL) {
23529 PyErr_SetString(PyExc_TypeError,"null reference");
23530 SWIG_fail;
23531 }
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 (arg1)->base_OnDrawContents(*arg2);
23535
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 Py_INCREF(Py_None); resultobj = Py_None;
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23547 PyObject *resultobj;
23548 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23549 wxDC *arg2 = 0 ;
23550 bool arg3 = (bool) FALSE ;
23551 PyObject * obj0 = 0 ;
23552 PyObject * obj1 = 0 ;
23553 PyObject * obj2 = 0 ;
23554 char *kwnames[] = {
23555 (char *) "self",(char *) "dc",(char *) "erase", NULL
23556 };
23557
23558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23562 SWIG_POINTER_EXCEPTION | 0)) == -1)
23563 SWIG_fail;
23564 if (arg2 == NULL) {
23565 PyErr_SetString(PyExc_TypeError,"null reference");
23566 SWIG_fail;
23567 }
23568 if (obj2) {
23569 arg3 = (bool) SWIG_AsBool(obj2);
23570 if (PyErr_Occurred()) SWIG_fail;
23571 }
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 (arg1)->base_OnDrawBranches(*arg2,arg3);
23575
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
23579 Py_INCREF(Py_None); resultobj = Py_None;
23580 return resultobj;
23581 fail:
23582 return NULL;
23583 }
23584
23585
23586 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23589 wxDC *arg2 = 0 ;
23590 PyObject * obj0 = 0 ;
23591 PyObject * obj1 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self",(char *) "dc", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23600 SWIG_POINTER_EXCEPTION | 0)) == -1)
23601 SWIG_fail;
23602 if (arg2 == NULL) {
23603 PyErr_SetString(PyExc_TypeError,"null reference");
23604 SWIG_fail;
23605 }
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 (arg1)->base_OnMoveLinks(*arg2);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 Py_INCREF(Py_None); resultobj = Py_None;
23614 return resultobj;
23615 fail:
23616 return NULL;
23617 }
23618
23619
23620 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23621 PyObject *resultobj;
23622 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23623 wxDC *arg2 = 0 ;
23624 PyObject * obj0 = 0 ;
23625 PyObject * obj1 = 0 ;
23626 char *kwnames[] = {
23627 (char *) "self",(char *) "dc", NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1)
23635 SWIG_fail;
23636 if (arg2 == NULL) {
23637 PyErr_SetString(PyExc_TypeError,"null reference");
23638 SWIG_fail;
23639 }
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 (arg1)->base_OnErase(*arg2);
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 Py_INCREF(Py_None); resultobj = Py_None;
23648 return resultobj;
23649 fail:
23650 return NULL;
23651 }
23652
23653
23654 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23655 PyObject *resultobj;
23656 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23657 wxDC *arg2 = 0 ;
23658 PyObject * obj0 = 0 ;
23659 PyObject * obj1 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self",(char *) "dc", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23668 SWIG_POINTER_EXCEPTION | 0)) == -1)
23669 SWIG_fail;
23670 if (arg2 == NULL) {
23671 PyErr_SetString(PyExc_TypeError,"null reference");
23672 SWIG_fail;
23673 }
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->base_OnEraseContents(*arg2);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 Py_INCREF(Py_None); resultobj = Py_None;
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23691 wxDC *arg2 = 0 ;
23692 PyObject * obj0 = 0 ;
23693 PyObject * obj1 = 0 ;
23694 char *kwnames[] = {
23695 (char *) "self",(char *) "dc", NULL
23696 };
23697
23698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23702 SWIG_POINTER_EXCEPTION | 0)) == -1)
23703 SWIG_fail;
23704 if (arg2 == NULL) {
23705 PyErr_SetString(PyExc_TypeError,"null reference");
23706 SWIG_fail;
23707 }
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 (arg1)->base_OnHighlight(*arg2);
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 Py_INCREF(Py_None); resultobj = Py_None;
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23725 double arg2 ;
23726 double arg3 ;
23727 int arg4 = (int) 0 ;
23728 int arg5 = (int) 0 ;
23729 PyObject * obj0 = 0 ;
23730 PyObject * obj1 = 0 ;
23731 PyObject * obj2 = 0 ;
23732 PyObject * obj3 = 0 ;
23733 PyObject * obj4 = 0 ;
23734 char *kwnames[] = {
23735 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23736 };
23737
23738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23741 arg2 = (double) SWIG_AsDouble(obj1);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 arg3 = (double) SWIG_AsDouble(obj2);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 if (obj3) {
23746 arg4 = (int) SWIG_AsInt(obj3);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 if (obj4) {
23750 arg5 = (int) SWIG_AsInt(obj4);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
23753 {
23754 PyThreadState* __tstate = wxPyBeginAllowThreads();
23755 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23756
23757 wxPyEndAllowThreads(__tstate);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 }
23760 Py_INCREF(Py_None); resultobj = Py_None;
23761 return resultobj;
23762 fail:
23763 return NULL;
23764 }
23765
23766
23767 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23768 PyObject *resultobj;
23769 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23770 double arg2 ;
23771 double arg3 ;
23772 int arg4 = (int) 0 ;
23773 int arg5 = (int) 0 ;
23774 PyObject * obj0 = 0 ;
23775 PyObject * obj1 = 0 ;
23776 PyObject * obj2 = 0 ;
23777 PyObject * obj3 = 0 ;
23778 PyObject * obj4 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23786 arg2 = (double) SWIG_AsDouble(obj1);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 arg3 = (double) SWIG_AsDouble(obj2);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 if (obj3) {
23791 arg4 = (int) SWIG_AsInt(obj3);
23792 if (PyErr_Occurred()) SWIG_fail;
23793 }
23794 if (obj4) {
23795 arg5 = (int) SWIG_AsInt(obj4);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 Py_INCREF(Py_None); resultobj = Py_None;
23806 return resultobj;
23807 fail:
23808 return NULL;
23809 }
23810
23811
23812 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23813 PyObject *resultobj;
23814 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23815 double arg2 ;
23816 double arg3 ;
23817 int arg4 = (int) 0 ;
23818 int arg5 = (int) 0 ;
23819 PyObject * obj0 = 0 ;
23820 PyObject * obj1 = 0 ;
23821 PyObject * obj2 = 0 ;
23822 PyObject * obj3 = 0 ;
23823 PyObject * obj4 = 0 ;
23824 char *kwnames[] = {
23825 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23826 };
23827
23828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23831 arg2 = (double) SWIG_AsDouble(obj1);
23832 if (PyErr_Occurred()) SWIG_fail;
23833 arg3 = (double) SWIG_AsDouble(obj2);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 if (obj3) {
23836 arg4 = (int) SWIG_AsInt(obj3);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 if (obj4) {
23840 arg5 = (int) SWIG_AsInt(obj4);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 Py_INCREF(Py_None); resultobj = Py_None;
23851 return resultobj;
23852 fail:
23853 return NULL;
23854 }
23855
23856
23857 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23858 PyObject *resultobj;
23859 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23860 double arg2 ;
23861 double arg3 ;
23862 PyObject * obj0 = 0 ;
23863 PyObject * obj1 = 0 ;
23864 PyObject * obj2 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "self",(char *) "x",(char *) "y", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23872 arg2 = (double) SWIG_AsDouble(obj1);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 arg3 = (double) SWIG_AsDouble(obj2);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 (arg1)->base_OnSize(arg2,arg3);
23879
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
23883 Py_INCREF(Py_None); resultobj = Py_None;
23884 return resultobj;
23885 fail:
23886 return NULL;
23887 }
23888
23889
23890 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23891 PyObject *resultobj;
23892 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23893 wxDC *arg2 = 0 ;
23894 double arg3 ;
23895 double arg4 ;
23896 double arg5 ;
23897 double arg6 ;
23898 bool arg7 = (bool) True ;
23899 bool result;
23900 PyObject * obj0 = 0 ;
23901 PyObject * obj1 = 0 ;
23902 PyObject * obj2 = 0 ;
23903 PyObject * obj3 = 0 ;
23904 PyObject * obj4 = 0 ;
23905 PyObject * obj5 = 0 ;
23906 PyObject * obj6 = 0 ;
23907 char *kwnames[] = {
23908 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23909 };
23910
23911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23915 SWIG_POINTER_EXCEPTION | 0)) == -1)
23916 SWIG_fail;
23917 if (arg2 == NULL) {
23918 PyErr_SetString(PyExc_TypeError,"null reference");
23919 SWIG_fail;
23920 }
23921 arg3 = (double) SWIG_AsDouble(obj2);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 arg4 = (double) SWIG_AsDouble(obj3);
23924 if (PyErr_Occurred()) SWIG_fail;
23925 arg5 = (double) SWIG_AsDouble(obj4);
23926 if (PyErr_Occurred()) SWIG_fail;
23927 arg6 = (double) SWIG_AsDouble(obj5);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 if (obj6) {
23930 arg7 = (bool) SWIG_AsBool(obj6);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 {
23941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23942 }
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23952 wxDC *arg2 = 0 ;
23953 double arg3 ;
23954 double arg4 ;
23955 double arg5 ;
23956 double arg6 ;
23957 bool arg7 = (bool) True ;
23958 PyObject * obj0 = 0 ;
23959 PyObject * obj1 = 0 ;
23960 PyObject * obj2 = 0 ;
23961 PyObject * obj3 = 0 ;
23962 PyObject * obj4 = 0 ;
23963 PyObject * obj5 = 0 ;
23964 PyObject * obj6 = 0 ;
23965 char *kwnames[] = {
23966 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23967 };
23968
23969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23973 SWIG_POINTER_EXCEPTION | 0)) == -1)
23974 SWIG_fail;
23975 if (arg2 == NULL) {
23976 PyErr_SetString(PyExc_TypeError,"null reference");
23977 SWIG_fail;
23978 }
23979 arg3 = (double) SWIG_AsDouble(obj2);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 arg4 = (double) SWIG_AsDouble(obj3);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 arg5 = (double) SWIG_AsDouble(obj4);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 arg6 = (double) SWIG_AsDouble(obj5);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 if (obj6) {
23988 arg7 = (bool) SWIG_AsBool(obj6);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 {
23992 PyThreadState* __tstate = wxPyBeginAllowThreads();
23993 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23994
23995 wxPyEndAllowThreads(__tstate);
23996 if (PyErr_Occurred()) SWIG_fail;
23997 }
23998 Py_INCREF(Py_None); resultobj = Py_None;
23999 return resultobj;
24000 fail:
24001 return NULL;
24002 }
24003
24004
24005 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24006 PyObject *resultobj;
24007 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24008 bool arg2 ;
24009 double arg3 ;
24010 double arg4 ;
24011 int arg5 = (int) 0 ;
24012 int arg6 = (int) 0 ;
24013 PyObject * obj0 = 0 ;
24014 PyObject * obj1 = 0 ;
24015 PyObject * obj2 = 0 ;
24016 PyObject * obj3 = 0 ;
24017 PyObject * obj4 = 0 ;
24018 PyObject * obj5 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24021 };
24022
24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24026 arg2 = (bool) SWIG_AsBool(obj1);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 arg3 = (double) SWIG_AsDouble(obj2);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 arg4 = (double) SWIG_AsDouble(obj3);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 if (obj4) {
24033 arg5 = (int) SWIG_AsInt(obj4);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
24036 if (obj5) {
24037 arg6 = (int) SWIG_AsInt(obj5);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 {
24041 PyThreadState* __tstate = wxPyBeginAllowThreads();
24042 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24043
24044 wxPyEndAllowThreads(__tstate);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 }
24047 Py_INCREF(Py_None); resultobj = Py_None;
24048 return resultobj;
24049 fail:
24050 return NULL;
24051 }
24052
24053
24054 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24055 PyObject *resultobj;
24056 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24057 double arg2 ;
24058 double arg3 ;
24059 int arg4 = (int) 0 ;
24060 int arg5 = (int) 0 ;
24061 PyObject * obj0 = 0 ;
24062 PyObject * obj1 = 0 ;
24063 PyObject * obj2 = 0 ;
24064 PyObject * obj3 = 0 ;
24065 PyObject * obj4 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24068 };
24069
24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24073 arg2 = (double) SWIG_AsDouble(obj1);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 arg3 = (double) SWIG_AsDouble(obj2);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 if (obj3) {
24078 arg4 = (int) SWIG_AsInt(obj3);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 if (obj4) {
24082 arg5 = (int) SWIG_AsInt(obj4);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 Py_INCREF(Py_None); resultobj = Py_None;
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj;
24101 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24102 double arg2 ;
24103 double arg3 ;
24104 int arg4 = (int) 0 ;
24105 int arg5 = (int) 0 ;
24106 PyObject * obj0 = 0 ;
24107 PyObject * obj1 = 0 ;
24108 PyObject * obj2 = 0 ;
24109 PyObject * obj3 = 0 ;
24110 PyObject * obj4 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24113 };
24114
24115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24118 arg2 = (double) SWIG_AsDouble(obj1);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 arg3 = (double) SWIG_AsDouble(obj2);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 if (obj3) {
24123 arg4 = (int) SWIG_AsInt(obj3);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 if (obj4) {
24127 arg5 = (int) SWIG_AsInt(obj4);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 {
24131 PyThreadState* __tstate = wxPyBeginAllowThreads();
24132 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24133
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 Py_INCREF(Py_None); resultobj = Py_None;
24138 return resultobj;
24139 fail:
24140 return NULL;
24141 }
24142
24143
24144 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24145 PyObject *resultobj;
24146 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24147 bool arg2 ;
24148 double arg3 ;
24149 double arg4 ;
24150 int arg5 = (int) 0 ;
24151 int arg6 = (int) 0 ;
24152 PyObject * obj0 = 0 ;
24153 PyObject * obj1 = 0 ;
24154 PyObject * obj2 = 0 ;
24155 PyObject * obj3 = 0 ;
24156 PyObject * obj4 = 0 ;
24157 PyObject * obj5 = 0 ;
24158 char *kwnames[] = {
24159 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24160 };
24161
24162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24165 arg2 = (bool) SWIG_AsBool(obj1);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 arg3 = (double) SWIG_AsDouble(obj2);
24168 if (PyErr_Occurred()) SWIG_fail;
24169 arg4 = (double) SWIG_AsDouble(obj3);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 if (obj4) {
24172 arg5 = (int) SWIG_AsInt(obj4);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 if (obj5) {
24176 arg6 = (int) SWIG_AsInt(obj5);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 Py_INCREF(Py_None); resultobj = Py_None;
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24196 double arg2 ;
24197 double arg3 ;
24198 int arg4 = (int) 0 ;
24199 int arg5 = (int) 0 ;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 PyObject * obj2 = 0 ;
24203 PyObject * obj3 = 0 ;
24204 PyObject * obj4 = 0 ;
24205 char *kwnames[] = {
24206 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24207 };
24208
24209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24212 arg2 = (double) SWIG_AsDouble(obj1);
24213 if (PyErr_Occurred()) SWIG_fail;
24214 arg3 = (double) SWIG_AsDouble(obj2);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 if (obj3) {
24217 arg4 = (int) SWIG_AsInt(obj3);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 if (obj4) {
24221 arg5 = (int) SWIG_AsInt(obj4);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 Py_INCREF(Py_None); resultobj = Py_None;
24232 return resultobj;
24233 fail:
24234 return NULL;
24235 }
24236
24237
24238 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj;
24240 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24241 double arg2 ;
24242 double arg3 ;
24243 int arg4 = (int) 0 ;
24244 int arg5 = (int) 0 ;
24245 PyObject * obj0 = 0 ;
24246 PyObject * obj1 = 0 ;
24247 PyObject * obj2 = 0 ;
24248 PyObject * obj3 = 0 ;
24249 PyObject * obj4 = 0 ;
24250 char *kwnames[] = {
24251 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24252 };
24253
24254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24257 arg2 = (double) SWIG_AsDouble(obj1);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 arg3 = (double) SWIG_AsDouble(obj2);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 if (obj3) {
24262 arg4 = (int) SWIG_AsInt(obj3);
24263 if (PyErr_Occurred()) SWIG_fail;
24264 }
24265 if (obj4) {
24266 arg5 = (int) SWIG_AsInt(obj4);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 Py_INCREF(Py_None); resultobj = Py_None;
24277 return resultobj;
24278 fail:
24279 return NULL;
24280 }
24281
24282
24283 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24284 PyObject *resultobj;
24285 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24286 wxDC *arg2 = 0 ;
24287 double arg3 ;
24288 double arg4 ;
24289 double arg5 ;
24290 double arg6 ;
24291 PyObject * obj0 = 0 ;
24292 PyObject * obj1 = 0 ;
24293 PyObject * obj2 = 0 ;
24294 PyObject * obj3 = 0 ;
24295 PyObject * obj4 = 0 ;
24296 PyObject * obj5 = 0 ;
24297 char *kwnames[] = {
24298 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24299 };
24300
24301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24305 SWIG_POINTER_EXCEPTION | 0)) == -1)
24306 SWIG_fail;
24307 if (arg2 == NULL) {
24308 PyErr_SetString(PyExc_TypeError,"null reference");
24309 SWIG_fail;
24310 }
24311 arg3 = (double) SWIG_AsDouble(obj2);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 arg4 = (double) SWIG_AsDouble(obj3);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 arg5 = (double) SWIG_AsDouble(obj4);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 arg6 = (double) SWIG_AsDouble(obj5);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 {
24320 PyThreadState* __tstate = wxPyBeginAllowThreads();
24321 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24322
24323 wxPyEndAllowThreads(__tstate);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
24326 Py_INCREF(Py_None); resultobj = Py_None;
24327 return resultobj;
24328 fail:
24329 return NULL;
24330 }
24331
24332
24333 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj;
24335 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24336 wxDC *arg2 = 0 ;
24337 PyObject * obj0 = 0 ;
24338 PyObject * obj1 = 0 ;
24339 char *kwnames[] = {
24340 (char *) "self",(char *) "dc", NULL
24341 };
24342
24343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24347 SWIG_POINTER_EXCEPTION | 0)) == -1)
24348 SWIG_fail;
24349 if (arg2 == NULL) {
24350 PyErr_SetString(PyExc_TypeError,"null reference");
24351 SWIG_fail;
24352 }
24353 {
24354 PyThreadState* __tstate = wxPyBeginAllowThreads();
24355 (arg1)->base_OnDrawControlPoints(*arg2);
24356
24357 wxPyEndAllowThreads(__tstate);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 }
24360 Py_INCREF(Py_None); resultobj = Py_None;
24361 return resultobj;
24362 fail:
24363 return NULL;
24364 }
24365
24366
24367 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24368 PyObject *resultobj;
24369 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24370 wxDC *arg2 = 0 ;
24371 PyObject * obj0 = 0 ;
24372 PyObject * obj1 = 0 ;
24373 char *kwnames[] = {
24374 (char *) "self",(char *) "dc", NULL
24375 };
24376
24377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24381 SWIG_POINTER_EXCEPTION | 0)) == -1)
24382 SWIG_fail;
24383 if (arg2 == NULL) {
24384 PyErr_SetString(PyExc_TypeError,"null reference");
24385 SWIG_fail;
24386 }
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 (arg1)->base_OnEraseControlPoints(*arg2);
24390
24391 wxPyEndAllowThreads(__tstate);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
24394 Py_INCREF(Py_None); resultobj = Py_None;
24395 return resultobj;
24396 fail:
24397 return NULL;
24398 }
24399
24400
24401 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24402 PyObject *resultobj;
24403 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24404 wxDC *arg2 = 0 ;
24405 bool arg3 = (bool) True ;
24406 PyObject * obj0 = 0 ;
24407 PyObject * obj1 = 0 ;
24408 PyObject * obj2 = 0 ;
24409 char *kwnames[] = {
24410 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24417 SWIG_POINTER_EXCEPTION | 0)) == -1)
24418 SWIG_fail;
24419 if (arg2 == NULL) {
24420 PyErr_SetString(PyExc_TypeError,"null reference");
24421 SWIG_fail;
24422 }
24423 if (obj2) {
24424 arg3 = (bool) SWIG_AsBool(obj2);
24425 if (PyErr_Occurred()) SWIG_fail;
24426 }
24427 {
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 (arg1)->base_OnMoveLink(*arg2,arg3);
24430
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 Py_INCREF(Py_None); resultobj = Py_None;
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24444 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24445 bool arg3 ;
24446 double arg4 ;
24447 double arg5 ;
24448 int arg6 = (int) 0 ;
24449 int arg7 = (int) 0 ;
24450 PyObject * obj0 = 0 ;
24451 PyObject * obj1 = 0 ;
24452 PyObject * obj2 = 0 ;
24453 PyObject * obj3 = 0 ;
24454 PyObject * obj4 = 0 ;
24455 PyObject * obj5 = 0 ;
24456 PyObject * obj6 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24466 arg3 = (bool) SWIG_AsBool(obj2);
24467 if (PyErr_Occurred()) SWIG_fail;
24468 arg4 = (double) SWIG_AsDouble(obj3);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 arg5 = (double) SWIG_AsDouble(obj4);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 if (obj5) {
24473 arg6 = (int) SWIG_AsInt(obj5);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 if (obj6) {
24477 arg7 = (int) SWIG_AsInt(obj6);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 {
24481 PyThreadState* __tstate = wxPyBeginAllowThreads();
24482 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24483
24484 wxPyEndAllowThreads(__tstate);
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
24487 Py_INCREF(Py_None); resultobj = Py_None;
24488 return resultobj;
24489 fail:
24490 return NULL;
24491 }
24492
24493
24494 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24495 PyObject *resultobj;
24496 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24497 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24498 double arg3 ;
24499 double arg4 ;
24500 int arg5 = (int) 0 ;
24501 int arg6 = (int) 0 ;
24502 PyObject * obj0 = 0 ;
24503 PyObject * obj1 = 0 ;
24504 PyObject * obj2 = 0 ;
24505 PyObject * obj3 = 0 ;
24506 PyObject * obj4 = 0 ;
24507 PyObject * obj5 = 0 ;
24508 char *kwnames[] = {
24509 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24510 };
24511
24512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24517 arg3 = (double) SWIG_AsDouble(obj2);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 arg4 = (double) SWIG_AsDouble(obj3);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 if (obj4) {
24522 arg5 = (int) SWIG_AsInt(obj4);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 if (obj5) {
24526 arg6 = (int) SWIG_AsInt(obj5);
24527 if (PyErr_Occurred()) SWIG_fail;
24528 }
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 Py_INCREF(Py_None); resultobj = Py_None;
24537 return resultobj;
24538 fail:
24539 return NULL;
24540 }
24541
24542
24543 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24544 PyObject *resultobj;
24545 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24546 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24547 double arg3 ;
24548 double arg4 ;
24549 int arg5 = (int) 0 ;
24550 int arg6 = (int) 0 ;
24551 PyObject * obj0 = 0 ;
24552 PyObject * obj1 = 0 ;
24553 PyObject * obj2 = 0 ;
24554 PyObject * obj3 = 0 ;
24555 PyObject * obj4 = 0 ;
24556 PyObject * obj5 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24566 arg3 = (double) SWIG_AsDouble(obj2);
24567 if (PyErr_Occurred()) SWIG_fail;
24568 arg4 = (double) SWIG_AsDouble(obj3);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 if (obj4) {
24571 arg5 = (int) SWIG_AsInt(obj4);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 if (obj5) {
24575 arg6 = (int) SWIG_AsInt(obj5);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24581
24582 wxPyEndAllowThreads(__tstate);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 }
24585 Py_INCREF(Py_None); resultobj = Py_None;
24586 return resultobj;
24587 fail:
24588 return NULL;
24589 }
24590
24591
24592 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24593 PyObject *resultobj;
24594 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24595 double arg2 ;
24596 double arg3 ;
24597 PyObject * obj0 = 0 ;
24598 PyObject * obj1 = 0 ;
24599 PyObject * obj2 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self",(char *) "w",(char *) "h", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24607 arg2 = (double) SWIG_AsDouble(obj1);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 arg3 = (double) SWIG_AsDouble(obj2);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 (arg1)->base_OnBeginSize(arg2,arg3);
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
24618 Py_INCREF(Py_None); resultobj = Py_None;
24619 return resultobj;
24620 fail:
24621 return NULL;
24622 }
24623
24624
24625 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24626 PyObject *resultobj;
24627 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24628 double arg2 ;
24629 double arg3 ;
24630 PyObject * obj0 = 0 ;
24631 PyObject * obj1 = 0 ;
24632 PyObject * obj2 = 0 ;
24633 char *kwnames[] = {
24634 (char *) "self",(char *) "w",(char *) "h", NULL
24635 };
24636
24637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24640 arg2 = (double) SWIG_AsDouble(obj1);
24641 if (PyErr_Occurred()) SWIG_fail;
24642 arg3 = (double) SWIG_AsDouble(obj2);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 {
24645 PyThreadState* __tstate = wxPyBeginAllowThreads();
24646 (arg1)->base_OnEndSize(arg2,arg3);
24647
24648 wxPyEndAllowThreads(__tstate);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 }
24651 Py_INCREF(Py_None); resultobj = Py_None;
24652 return resultobj;
24653 fail:
24654 return NULL;
24655 }
24656
24657
24658 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
24659 PyObject *obj;
24660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24661 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
24662 Py_INCREF(obj);
24663 return Py_BuildValue((char *)"");
24664 }
24665 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24666 PyObject *resultobj;
24667 int arg1 = (int) 0 ;
24668 int arg2 = (int) 0 ;
24669 double arg3 = (double) 0.0 ;
24670 double arg4 = (double) 0.0 ;
24671 wxString const &arg5_defvalue = wxPyEmptyString ;
24672 wxString *arg5 = (wxString *) &arg5_defvalue ;
24673 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
24674 long arg7 = (long) -1 ;
24675 wxArrowHead *result;
24676 bool temp5 = False ;
24677 PyObject * obj0 = 0 ;
24678 PyObject * obj1 = 0 ;
24679 PyObject * obj2 = 0 ;
24680 PyObject * obj3 = 0 ;
24681 PyObject * obj4 = 0 ;
24682 PyObject * obj5 = 0 ;
24683 PyObject * obj6 = 0 ;
24684 char *kwnames[] = {
24685 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24686 };
24687
24688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24689 if (obj0) {
24690 arg1 = (int) SWIG_AsInt(obj0);
24691 if (PyErr_Occurred()) SWIG_fail;
24692 }
24693 if (obj1) {
24694 arg2 = (int) SWIG_AsInt(obj1);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 if (obj2) {
24698 arg3 = (double) SWIG_AsDouble(obj2);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 if (obj3) {
24702 arg4 = (double) SWIG_AsDouble(obj3);
24703 if (PyErr_Occurred()) SWIG_fail;
24704 }
24705 if (obj4) {
24706 {
24707 arg5 = wxString_in_helper(obj4);
24708 if (arg5 == NULL) SWIG_fail;
24709 temp5 = True;
24710 }
24711 }
24712 if (obj5) {
24713 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPseudoMetaFile,
24714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24715 }
24716 if (obj6) {
24717 arg7 = (long) SWIG_AsLong(obj6);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 {
24721 PyThreadState* __tstate = wxPyBeginAllowThreads();
24722 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
24723
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
24727 {
24728 resultobj = wxPyMake_wxObject(result);
24729 }
24730 {
24731 if (temp5)
24732 delete arg5;
24733 }
24734 return resultobj;
24735 fail:
24736 {
24737 if (temp5)
24738 delete arg5;
24739 }
24740 return NULL;
24741 }
24742
24743
24744 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24745 PyObject *resultobj;
24746 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24747 PyObject * obj0 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
24753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 delete arg1;
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 Py_INCREF(Py_None); resultobj = Py_None;
24763 return resultobj;
24764 fail:
24765 return NULL;
24766 }
24767
24768
24769 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24770 PyObject *resultobj;
24771 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24772 int result;
24773 PyObject * obj0 = 0 ;
24774 char *kwnames[] = {
24775 (char *) "self", NULL
24776 };
24777
24778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
24779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 result = (int)(arg1)->_GetType();
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 resultobj = SWIG_FromInt((int)result);
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24798 int result;
24799 PyObject * obj0 = 0 ;
24800 char *kwnames[] = {
24801 (char *) "self", NULL
24802 };
24803
24804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
24805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24807 {
24808 PyThreadState* __tstate = wxPyBeginAllowThreads();
24809 result = (int)(arg1)->GetPosition();
24810
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 resultobj = SWIG_FromInt((int)result);
24815 return resultobj;
24816 fail:
24817 return NULL;
24818 }
24819
24820
24821 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24822 PyObject *resultobj;
24823 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24824 int arg2 ;
24825 PyObject * obj0 = 0 ;
24826 PyObject * obj1 = 0 ;
24827 char *kwnames[] = {
24828 (char *) "self",(char *) "pos", NULL
24829 };
24830
24831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24834 arg2 = (int) SWIG_AsInt(obj1);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 (arg1)->SetPosition(arg2);
24839
24840 wxPyEndAllowThreads(__tstate);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 }
24843 Py_INCREF(Py_None); resultobj = Py_None;
24844 return resultobj;
24845 fail:
24846 return NULL;
24847 }
24848
24849
24850 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24851 PyObject *resultobj;
24852 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24853 double result;
24854 PyObject * obj0 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
24860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 result = (double)(arg1)->GetXOffset();
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 resultobj = SWIG_FromDouble((double)result);
24870 return resultobj;
24871 fail:
24872 return NULL;
24873 }
24874
24875
24876 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24877 PyObject *resultobj;
24878 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24879 double result;
24880 PyObject * obj0 = 0 ;
24881 char *kwnames[] = {
24882 (char *) "self", NULL
24883 };
24884
24885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
24886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24888 {
24889 PyThreadState* __tstate = wxPyBeginAllowThreads();
24890 result = (double)(arg1)->GetYOffset();
24891
24892 wxPyEndAllowThreads(__tstate);
24893 if (PyErr_Occurred()) SWIG_fail;
24894 }
24895 resultobj = SWIG_FromDouble((double)result);
24896 return resultobj;
24897 fail:
24898 return NULL;
24899 }
24900
24901
24902 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24903 PyObject *resultobj;
24904 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24905 double result;
24906 PyObject * obj0 = 0 ;
24907 char *kwnames[] = {
24908 (char *) "self", NULL
24909 };
24910
24911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
24912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 result = (double)(arg1)->GetSpacing();
24917
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 resultobj = SWIG_FromDouble((double)result);
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj;
24930 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24931 double result;
24932 PyObject * obj0 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
24938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 result = (double)(arg1)->GetSize();
24943
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 resultobj = SWIG_FromDouble((double)result);
24948 return resultobj;
24949 fail:
24950 return NULL;
24951 }
24952
24953
24954 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
24955 PyObject *resultobj;
24956 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24957 wxString result;
24958 PyObject * obj0 = 0 ;
24959 char *kwnames[] = {
24960 (char *) "self", NULL
24961 };
24962
24963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
24964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24966 {
24967 PyThreadState* __tstate = wxPyBeginAllowThreads();
24968 result = (arg1)->GetName();
24969
24970 wxPyEndAllowThreads(__tstate);
24971 if (PyErr_Occurred()) SWIG_fail;
24972 }
24973 {
24974 #if wxUSE_UNICODE
24975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24976 #else
24977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24978 #endif
24979 }
24980 return resultobj;
24981 fail:
24982 return NULL;
24983 }
24984
24985
24986 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24989 double arg2 ;
24990 PyObject * obj0 = 0 ;
24991 PyObject * obj1 = 0 ;
24992 char *kwnames[] = {
24993 (char *) "self",(char *) "x", NULL
24994 };
24995
24996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
24997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24999 arg2 = (double) SWIG_AsDouble(obj1);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 (arg1)->SetXOffset(arg2);
25004
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 Py_INCREF(Py_None); resultobj = Py_None;
25009 return resultobj;
25010 fail:
25011 return NULL;
25012 }
25013
25014
25015 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25016 PyObject *resultobj;
25017 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25018 double arg2 ;
25019 PyObject * obj0 = 0 ;
25020 PyObject * obj1 = 0 ;
25021 char *kwnames[] = {
25022 (char *) "self",(char *) "y", NULL
25023 };
25024
25025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
25026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25028 arg2 = (double) SWIG_AsDouble(obj1);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 (arg1)->SetYOffset(arg2);
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 Py_INCREF(Py_None); resultobj = Py_None;
25038 return resultobj;
25039 fail:
25040 return NULL;
25041 }
25042
25043
25044 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25047 wxPseudoMetaFile *result;
25048 PyObject * obj0 = 0 ;
25049 char *kwnames[] = {
25050 (char *) "self", NULL
25051 };
25052
25053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
25054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
25059
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 {
25064 resultobj = wxPyMake_wxObject(result);
25065 }
25066 return resultobj;
25067 fail:
25068 return NULL;
25069 }
25070
25071
25072 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
25073 PyObject *resultobj;
25074 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25075 long result;
25076 PyObject * obj0 = 0 ;
25077 char *kwnames[] = {
25078 (char *) "self", NULL
25079 };
25080
25081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
25082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25084 {
25085 PyThreadState* __tstate = wxPyBeginAllowThreads();
25086 result = (long)(arg1)->GetId();
25087
25088 wxPyEndAllowThreads(__tstate);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 resultobj = SWIG_FromLong((long)result);
25092 return resultobj;
25093 fail:
25094 return NULL;
25095 }
25096
25097
25098 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
25099 PyObject *resultobj;
25100 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25101 int result;
25102 PyObject * obj0 = 0 ;
25103 char *kwnames[] = {
25104 (char *) "self", NULL
25105 };
25106
25107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
25108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25110 {
25111 PyThreadState* __tstate = wxPyBeginAllowThreads();
25112 result = (int)(arg1)->GetArrowEnd();
25113
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 resultobj = SWIG_FromInt((int)result);
25118 return resultobj;
25119 fail:
25120 return NULL;
25121 }
25122
25123
25124 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25125 PyObject *resultobj;
25126 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25127 double result;
25128 PyObject * obj0 = 0 ;
25129 char *kwnames[] = {
25130 (char *) "self", NULL
25131 };
25132
25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
25134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25136 {
25137 PyThreadState* __tstate = wxPyBeginAllowThreads();
25138 result = (double)(arg1)->GetArrowSize();
25139
25140 wxPyEndAllowThreads(__tstate);
25141 if (PyErr_Occurred()) SWIG_fail;
25142 }
25143 resultobj = SWIG_FromDouble((double)result);
25144 return resultobj;
25145 fail:
25146 return NULL;
25147 }
25148
25149
25150 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25151 PyObject *resultobj;
25152 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25153 double arg2 ;
25154 PyObject * obj0 = 0 ;
25155 PyObject * obj1 = 0 ;
25156 char *kwnames[] = {
25157 (char *) "self",(char *) "size", NULL
25158 };
25159
25160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
25161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25163 arg2 = (double) SWIG_AsDouble(obj1);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 (arg1)->SetSize(arg2);
25168
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
25172 Py_INCREF(Py_None); resultobj = Py_None;
25173 return resultobj;
25174 fail:
25175 return NULL;
25176 }
25177
25178
25179 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25180 PyObject *resultobj;
25181 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25182 double arg2 ;
25183 PyObject * obj0 = 0 ;
25184 PyObject * obj1 = 0 ;
25185 char *kwnames[] = {
25186 (char *) "self",(char *) "sp", NULL
25187 };
25188
25189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25192 arg2 = (double) SWIG_AsDouble(obj1);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 {
25195 PyThreadState* __tstate = wxPyBeginAllowThreads();
25196 (arg1)->SetSpacing(arg2);
25197
25198 wxPyEndAllowThreads(__tstate);
25199 if (PyErr_Occurred()) SWIG_fail;
25200 }
25201 Py_INCREF(Py_None); resultobj = Py_None;
25202 return resultobj;
25203 fail:
25204 return NULL;
25205 }
25206
25207
25208 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
25209 PyObject *obj;
25210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25211 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25212 Py_INCREF(obj);
25213 return Py_BuildValue((char *)"");
25214 }
25215 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25216 PyObject *resultobj;
25217 wxPyLineShape *result;
25218 char *kwnames[] = {
25219 NULL
25220 };
25221
25222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25223 {
25224 PyThreadState* __tstate = wxPyBeginAllowThreads();
25225 result = (wxPyLineShape *)new wxPyLineShape();
25226
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
25231 return resultobj;
25232 fail:
25233 return NULL;
25234 }
25235
25236
25237 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25238 PyObject *resultobj;
25239 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25240 PyObject *arg2 = (PyObject *) 0 ;
25241 PyObject *arg3 = (PyObject *) 0 ;
25242 PyObject * obj0 = 0 ;
25243 PyObject * obj1 = 0 ;
25244 PyObject * obj2 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "self",(char *) "self",(char *) "_class", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25252 arg2 = obj1;
25253 arg3 = obj2;
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 (arg1)->_setCallbackInfo(arg2,arg3);
25257
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 Py_INCREF(Py_None); resultobj = Py_None;
25262 return resultobj;
25263 fail:
25264 return NULL;
25265 }
25266
25267
25268 static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25269 PyObject *resultobj;
25270 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25271 int arg2 ;
25272 int arg3 = (int) ARROW_POSITION_END ;
25273 double arg4 = (double) 10.0 ;
25274 double arg5 = (double) 0.0 ;
25275 wxString const &arg6_defvalue = wxPyEmptyString ;
25276 wxString *arg6 = (wxString *) &arg6_defvalue ;
25277 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25278 long arg8 = (long) -1 ;
25279 bool temp6 = False ;
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj1 = 0 ;
25282 PyObject * obj2 = 0 ;
25283 PyObject * obj3 = 0 ;
25284 PyObject * obj4 = 0 ;
25285 PyObject * obj5 = 0 ;
25286 PyObject * obj6 = 0 ;
25287 PyObject * obj7 = 0 ;
25288 char *kwnames[] = {
25289 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25290 };
25291
25292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25295 arg2 = (int) SWIG_AsInt(obj1);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 if (obj2) {
25298 arg3 = (int) SWIG_AsInt(obj2);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 if (obj3) {
25302 arg4 = (double) SWIG_AsDouble(obj3);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 if (obj4) {
25306 arg5 = (double) SWIG_AsDouble(obj4);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 if (obj5) {
25310 {
25311 arg6 = wxString_in_helper(obj5);
25312 if (arg6 == NULL) SWIG_fail;
25313 temp6 = True;
25314 }
25315 }
25316 if (obj6) {
25317 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPseudoMetaFile,
25318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25319 }
25320 if (obj7) {
25321 arg8 = (long) SWIG_AsLong(obj7);
25322 if (PyErr_Occurred()) SWIG_fail;
25323 }
25324 {
25325 PyThreadState* __tstate = wxPyBeginAllowThreads();
25326 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25327
25328 wxPyEndAllowThreads(__tstate);
25329 if (PyErr_Occurred()) SWIG_fail;
25330 }
25331 Py_INCREF(Py_None); resultobj = Py_None;
25332 {
25333 if (temp6)
25334 delete arg6;
25335 }
25336 return resultobj;
25337 fail:
25338 {
25339 if (temp6)
25340 delete arg6;
25341 }
25342 return NULL;
25343 }
25344
25345
25346 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25349 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25350 PyObject *arg3 = (PyObject *) 0 ;
25351 int arg4 ;
25352 PyObject * obj0 = 0 ;
25353 PyObject * obj1 = 0 ;
25354 PyObject * obj2 = 0 ;
25355 PyObject * obj3 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
25364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25365 arg3 = obj2;
25366 arg4 = (int) SWIG_AsInt(obj3);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 {
25369 PyThreadState* __tstate = wxPyBeginAllowThreads();
25370 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25371
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 Py_INCREF(Py_None); resultobj = Py_None;
25376 return resultobj;
25377 fail:
25378 return NULL;
25379 }
25380
25381
25382 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25383 PyObject *resultobj;
25384 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25385 wxString *arg2 = 0 ;
25386 bool result;
25387 bool temp2 = False ;
25388 PyObject * obj0 = 0 ;
25389 PyObject * obj1 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "self",(char *) "name", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
25395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25397 {
25398 arg2 = wxString_in_helper(obj1);
25399 if (arg2 == NULL) SWIG_fail;
25400 temp2 = True;
25401 }
25402 {
25403 PyThreadState* __tstate = wxPyBeginAllowThreads();
25404 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
25405
25406 wxPyEndAllowThreads(__tstate);
25407 if (PyErr_Occurred()) SWIG_fail;
25408 }
25409 {
25410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25411 }
25412 {
25413 if (temp2)
25414 delete arg2;
25415 }
25416 return resultobj;
25417 fail:
25418 {
25419 if (temp2)
25420 delete arg2;
25421 }
25422 return NULL;
25423 }
25424
25425
25426 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25427 PyObject *resultobj;
25428 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25429 int arg2 = (int) -1 ;
25430 PyObject * obj0 = 0 ;
25431 PyObject * obj1 = 0 ;
25432 char *kwnames[] = {
25433 (char *) "self",(char *) "position", NULL
25434 };
25435
25436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
25437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25439 if (obj1) {
25440 arg2 = (int) SWIG_AsInt(obj1);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 {
25444 PyThreadState* __tstate = wxPyBeginAllowThreads();
25445 (arg1)->ClearArrowsAtPosition(arg2);
25446
25447 wxPyEndAllowThreads(__tstate);
25448 if (PyErr_Occurred()) SWIG_fail;
25449 }
25450 Py_INCREF(Py_None); resultobj = Py_None;
25451 return resultobj;
25452 fail:
25453 return NULL;
25454 }
25455
25456
25457 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25458 PyObject *resultobj;
25459 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25460 wxDC *arg2 = 0 ;
25461 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
25462 double arg4 ;
25463 bool arg5 ;
25464 PyObject * obj0 = 0 ;
25465 PyObject * obj1 = 0 ;
25466 PyObject * obj2 = 0 ;
25467 PyObject * obj3 = 0 ;
25468 PyObject * obj4 = 0 ;
25469 char *kwnames[] = {
25470 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25471 };
25472
25473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25477 SWIG_POINTER_EXCEPTION | 0)) == -1)
25478 SWIG_fail;
25479 if (arg2 == NULL) {
25480 PyErr_SetString(PyExc_TypeError,"null reference");
25481 SWIG_fail;
25482 }
25483 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
25484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25485 arg4 = (double) SWIG_AsDouble(obj3);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 arg5 = (bool) SWIG_AsBool(obj4);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 {
25490 PyThreadState* __tstate = wxPyBeginAllowThreads();
25491 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
25492
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 Py_INCREF(Py_None); resultobj = Py_None;
25497 return resultobj;
25498 fail:
25499 return NULL;
25500 }
25501
25502
25503 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25504 PyObject *resultobj;
25505 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25506 long arg2 ;
25507 bool result;
25508 PyObject * obj0 = 0 ;
25509 PyObject * obj1 = 0 ;
25510 char *kwnames[] = {
25511 (char *) "self",(char *) "arrowId", NULL
25512 };
25513
25514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25517 arg2 = (long) SWIG_AsLong(obj1);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 {
25520 PyThreadState* __tstate = wxPyBeginAllowThreads();
25521 result = (bool)(arg1)->DeleteArrowHead(arg2);
25522
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 {
25527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25528 }
25529 return resultobj;
25530 fail:
25531 return NULL;
25532 }
25533
25534
25535 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25536 PyObject *resultobj;
25537 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25538 int arg2 ;
25539 wxString *arg3 = 0 ;
25540 bool result;
25541 bool temp3 = False ;
25542 PyObject * obj0 = 0 ;
25543 PyObject * obj1 = 0 ;
25544 PyObject * obj2 = 0 ;
25545 char *kwnames[] = {
25546 (char *) "self",(char *) "position",(char *) "name", NULL
25547 };
25548
25549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25552 arg2 = (int) SWIG_AsInt(obj1);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 {
25555 arg3 = wxString_in_helper(obj2);
25556 if (arg3 == NULL) SWIG_fail;
25557 temp3 = True;
25558 }
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 {
25567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25568 }
25569 {
25570 if (temp3)
25571 delete arg3;
25572 }
25573 return resultobj;
25574 fail:
25575 {
25576 if (temp3)
25577 delete arg3;
25578 }
25579 return NULL;
25580 }
25581
25582
25583 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25584 PyObject *resultobj;
25585 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25586 bool result;
25587 PyObject * obj0 = 0 ;
25588 char *kwnames[] = {
25589 (char *) "self", NULL
25590 };
25591
25592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
25593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25595 {
25596 PyThreadState* __tstate = wxPyBeginAllowThreads();
25597 result = (bool)(arg1)->DeleteLineControlPoint();
25598
25599 wxPyEndAllowThreads(__tstate);
25600 if (PyErr_Occurred()) SWIG_fail;
25601 }
25602 {
25603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25604 }
25605 return resultobj;
25606 fail:
25607 return NULL;
25608 }
25609
25610
25611 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
25612 PyObject *resultobj;
25613 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25614 wxDC *arg2 = 0 ;
25615 PyObject * obj0 = 0 ;
25616 PyObject * obj1 = 0 ;
25617 char *kwnames[] = {
25618 (char *) "self",(char *) "dc", NULL
25619 };
25620
25621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
25622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25625 SWIG_POINTER_EXCEPTION | 0)) == -1)
25626 SWIG_fail;
25627 if (arg2 == NULL) {
25628 PyErr_SetString(PyExc_TypeError,"null reference");
25629 SWIG_fail;
25630 }
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 (arg1)->DrawArrows(*arg2);
25634
25635 wxPyEndAllowThreads(__tstate);
25636 if (PyErr_Occurred()) SWIG_fail;
25637 }
25638 Py_INCREF(Py_None); resultobj = Py_None;
25639 return resultobj;
25640 fail:
25641 return NULL;
25642 }
25643
25644
25645 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25646 PyObject *resultobj;
25647 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25648 wxDC *arg2 = 0 ;
25649 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25650 double arg4 ;
25651 double arg5 ;
25652 PyObject * obj0 = 0 ;
25653 PyObject * obj1 = 0 ;
25654 PyObject * obj2 = 0 ;
25655 PyObject * obj3 = 0 ;
25656 PyObject * obj4 = 0 ;
25657 char *kwnames[] = {
25658 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25659 };
25660
25661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25665 SWIG_POINTER_EXCEPTION | 0)) == -1)
25666 SWIG_fail;
25667 if (arg2 == NULL) {
25668 PyErr_SetString(PyExc_TypeError,"null reference");
25669 SWIG_fail;
25670 }
25671 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25673 arg4 = (double) SWIG_AsDouble(obj3);
25674 if (PyErr_Occurred()) SWIG_fail;
25675 arg5 = (double) SWIG_AsDouble(obj4);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
25680
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
25684 Py_INCREF(Py_None); resultobj = Py_None;
25685 return resultobj;
25686 fail:
25687 return NULL;
25688 }
25689
25690
25691 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25692 PyObject *resultobj;
25693 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25694 wxDC *arg2 = 0 ;
25695 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25696 double arg4 ;
25697 double arg5 ;
25698 PyObject * obj0 = 0 ;
25699 PyObject * obj1 = 0 ;
25700 PyObject * obj2 = 0 ;
25701 PyObject * obj3 = 0 ;
25702 PyObject * obj4 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25711 SWIG_POINTER_EXCEPTION | 0)) == -1)
25712 SWIG_fail;
25713 if (arg2 == NULL) {
25714 PyErr_SetString(PyExc_TypeError,"null reference");
25715 SWIG_fail;
25716 }
25717 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25719 arg4 = (double) SWIG_AsDouble(obj3);
25720 if (PyErr_Occurred()) SWIG_fail;
25721 arg5 = (double) SWIG_AsDouble(obj4);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
25726
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 Py_INCREF(Py_None); resultobj = Py_None;
25731 return resultobj;
25732 fail:
25733 return NULL;
25734 }
25735
25736
25737 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25738 PyObject *resultobj;
25739 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25740 long arg2 ;
25741 wxArrowHead *result;
25742 PyObject * obj0 = 0 ;
25743 PyObject * obj1 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self",(char *) "arrowId", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25751 arg2 = (long) SWIG_AsLong(obj1);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 {
25754 PyThreadState* __tstate = wxPyBeginAllowThreads();
25755 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
25756
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
25760 {
25761 resultobj = wxPyMake_wxObject(result);
25762 }
25763 return resultobj;
25764 fail:
25765 return NULL;
25766 }
25767
25768
25769 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25770 PyObject *resultobj;
25771 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25772 int arg2 ;
25773 wxString *arg3 = 0 ;
25774 wxArrowHead *result;
25775 bool temp3 = False ;
25776 PyObject * obj0 = 0 ;
25777 PyObject * obj1 = 0 ;
25778 PyObject * obj2 = 0 ;
25779 char *kwnames[] = {
25780 (char *) "self",(char *) "position",(char *) "name", NULL
25781 };
25782
25783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25786 arg2 = (int) SWIG_AsInt(obj1);
25787 if (PyErr_Occurred()) SWIG_fail;
25788 {
25789 arg3 = wxString_in_helper(obj2);
25790 if (arg3 == NULL) SWIG_fail;
25791 temp3 = True;
25792 }
25793 {
25794 PyThreadState* __tstate = wxPyBeginAllowThreads();
25795 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
25796
25797 wxPyEndAllowThreads(__tstate);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 {
25801 resultobj = wxPyMake_wxObject(result);
25802 }
25803 {
25804 if (temp3)
25805 delete arg3;
25806 }
25807 return resultobj;
25808 fail:
25809 {
25810 if (temp3)
25811 delete arg3;
25812 }
25813 return NULL;
25814 }
25815
25816
25817 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
25818 PyObject *resultobj;
25819 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25820 double *arg2 = (double *) 0 ;
25821 double *arg3 = (double *) 0 ;
25822 double *arg4 = (double *) 0 ;
25823 double *arg5 = (double *) 0 ;
25824 double temp2 ;
25825 double temp3 ;
25826 double temp4 ;
25827 double temp5 ;
25828 PyObject * obj0 = 0 ;
25829 char *kwnames[] = {
25830 (char *) "self", NULL
25831 };
25832
25833 arg2 = &temp2;
25834 arg3 = &temp3;
25835 arg4 = &temp4;
25836 arg5 = &temp5;
25837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
25838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
25843
25844 wxPyEndAllowThreads(__tstate);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 Py_INCREF(Py_None); resultobj = Py_None;
25848 {
25849 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25850 resultobj = t_output_helper(resultobj,o);
25851 }
25852 {
25853 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25854 resultobj = t_output_helper(resultobj,o);
25855 }
25856 {
25857 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25858 resultobj = t_output_helper(resultobj,o);
25859 }
25860 {
25861 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25862 resultobj = t_output_helper(resultobj,o);
25863 }
25864 return resultobj;
25865 fail:
25866 return NULL;
25867 }
25868
25869
25870 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25871 PyObject *resultobj;
25872 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25873 double arg2 ;
25874 double arg3 ;
25875 int result;
25876 PyObject * obj0 = 0 ;
25877 PyObject * obj1 = 0 ;
25878 PyObject * obj2 = 0 ;
25879 char *kwnames[] = {
25880 (char *) "self",(char *) "x",(char *) "y", NULL
25881 };
25882
25883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
25884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25886 arg2 = (double) SWIG_AsDouble(obj1);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 arg3 = (double) SWIG_AsDouble(obj2);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 result = (int)(arg1)->FindLinePosition(arg2,arg3);
25893
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 resultobj = SWIG_FromInt((int)result);
25898 return resultobj;
25899 fail:
25900 return NULL;
25901 }
25902
25903
25904 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
25905 PyObject *resultobj;
25906 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25907 double result;
25908 PyObject * obj0 = 0 ;
25909 char *kwnames[] = {
25910 (char *) "self", NULL
25911 };
25912
25913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
25914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25916 {
25917 PyThreadState* __tstate = wxPyBeginAllowThreads();
25918 result = (double)(arg1)->FindMinimumWidth();
25919
25920 wxPyEndAllowThreads(__tstate);
25921 if (PyErr_Occurred()) SWIG_fail;
25922 }
25923 resultobj = SWIG_FromDouble((double)result);
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
25931 PyObject *resultobj;
25932 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25933 wxPyShape *arg2 = (wxPyShape *) 0 ;
25934 int *arg3 = (int *) 0 ;
25935 int *arg4 = (int *) 0 ;
25936 bool arg5 ;
25937 int temp3 ;
25938 int temp4 ;
25939 PyObject * obj0 = 0 ;
25940 PyObject * obj1 = 0 ;
25941 PyObject * obj2 = 0 ;
25942 char *kwnames[] = {
25943 (char *) "self",(char *) "image",(char *) "incoming", NULL
25944 };
25945
25946 arg3 = &temp3;
25947 arg4 = &temp4;
25948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
25949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
25952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25953 arg5 = (bool) SWIG_AsBool(obj2);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 {
25956 PyThreadState* __tstate = wxPyBeginAllowThreads();
25957 (arg1)->FindNth(arg2,arg3,arg4,arg5);
25958
25959 wxPyEndAllowThreads(__tstate);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 }
25962 Py_INCREF(Py_None); resultobj = Py_None;
25963 {
25964 PyObject *o = PyInt_FromLong((long) (*arg3));
25965 resultobj = t_output_helper(resultobj,o);
25966 }
25967 {
25968 PyObject *o = PyInt_FromLong((long) (*arg4));
25969 resultobj = t_output_helper(resultobj,o);
25970 }
25971 return resultobj;
25972 fail:
25973 return NULL;
25974 }
25975
25976
25977 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
25978 PyObject *resultobj;
25979 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25980 int result;
25981 PyObject * obj0 = 0 ;
25982 char *kwnames[] = {
25983 (char *) "self", NULL
25984 };
25985
25986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
25987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25989 {
25990 PyThreadState* __tstate = wxPyBeginAllowThreads();
25991 result = (int)(arg1)->GetAttachmentFrom();
25992
25993 wxPyEndAllowThreads(__tstate);
25994 if (PyErr_Occurred()) SWIG_fail;
25995 }
25996 resultobj = SWIG_FromInt((int)result);
25997 return resultobj;
25998 fail:
25999 return NULL;
26000 }
26001
26002
26003 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26004 PyObject *resultobj;
26005 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26006 int result;
26007 PyObject * obj0 = 0 ;
26008 char *kwnames[] = {
26009 (char *) "self", NULL
26010 };
26011
26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
26013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 result = (int)(arg1)->GetAttachmentTo();
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 resultobj = SWIG_FromInt((int)result);
26023 return resultobj;
26024 fail:
26025 return NULL;
26026 }
26027
26028
26029 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26030 PyObject *resultobj;
26031 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26032 double *arg2 = (double *) 0 ;
26033 double *arg3 = (double *) 0 ;
26034 double *arg4 = (double *) 0 ;
26035 double *arg5 = (double *) 0 ;
26036 double temp2 ;
26037 double temp3 ;
26038 double temp4 ;
26039 double temp5 ;
26040 PyObject * obj0 = 0 ;
26041 char *kwnames[] = {
26042 (char *) "self", NULL
26043 };
26044
26045 arg2 = &temp2;
26046 arg3 = &temp3;
26047 arg4 = &temp4;
26048 arg5 = &temp5;
26049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
26050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26052 {
26053 PyThreadState* __tstate = wxPyBeginAllowThreads();
26054 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
26055
26056 wxPyEndAllowThreads(__tstate);
26057 if (PyErr_Occurred()) SWIG_fail;
26058 }
26059 Py_INCREF(Py_None); resultobj = Py_None;
26060 {
26061 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26062 resultobj = t_output_helper(resultobj,o);
26063 }
26064 {
26065 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26066 resultobj = t_output_helper(resultobj,o);
26067 }
26068 {
26069 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26070 resultobj = t_output_helper(resultobj,o);
26071 }
26072 {
26073 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26074 resultobj = t_output_helper(resultobj,o);
26075 }
26076 return resultobj;
26077 fail:
26078 return NULL;
26079 }
26080
26081
26082 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26083 PyObject *resultobj;
26084 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26085 wxPyShape *result;
26086 PyObject * obj0 = 0 ;
26087 char *kwnames[] = {
26088 (char *) "self", NULL
26089 };
26090
26091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
26092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26094 {
26095 PyThreadState* __tstate = wxPyBeginAllowThreads();
26096 result = (wxPyShape *)(arg1)->GetFrom();
26097
26098 wxPyEndAllowThreads(__tstate);
26099 if (PyErr_Occurred()) SWIG_fail;
26100 }
26101 {
26102 resultobj = wxPyMake_wxShapeEvtHandler(result);
26103 }
26104 return resultobj;
26105 fail:
26106 return NULL;
26107 }
26108
26109
26110 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26111 PyObject *resultobj;
26112 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26113 int arg2 ;
26114 double *arg3 = (double *) 0 ;
26115 double *arg4 = (double *) 0 ;
26116 double temp3 ;
26117 double temp4 ;
26118 PyObject * obj0 = 0 ;
26119 PyObject * obj1 = 0 ;
26120 char *kwnames[] = {
26121 (char *) "self",(char *) "position", NULL
26122 };
26123
26124 arg3 = &temp3;
26125 arg4 = &temp4;
26126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
26127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26129 arg2 = (int) SWIG_AsInt(obj1);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 {
26132 PyThreadState* __tstate = wxPyBeginAllowThreads();
26133 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26134
26135 wxPyEndAllowThreads(__tstate);
26136 if (PyErr_Occurred()) SWIG_fail;
26137 }
26138 Py_INCREF(Py_None); resultobj = Py_None;
26139 {
26140 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26141 resultobj = t_output_helper(resultobj,o);
26142 }
26143 {
26144 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26145 resultobj = t_output_helper(resultobj,o);
26146 }
26147 return resultobj;
26148 fail:
26149 return NULL;
26150 }
26151
26152
26153 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26154 PyObject *resultobj;
26155 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26156 wxPyShape *arg2 = (wxPyShape *) 0 ;
26157 wxRealPoint *result;
26158 PyObject * obj0 = 0 ;
26159 PyObject * obj1 = 0 ;
26160 char *kwnames[] = {
26161 (char *) "self",(char *) "shape", NULL
26162 };
26163
26164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
26165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26169 {
26170 PyThreadState* __tstate = wxPyBeginAllowThreads();
26171 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26172
26173 wxPyEndAllowThreads(__tstate);
26174 if (PyErr_Occurred()) SWIG_fail;
26175 }
26176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
26177 return resultobj;
26178 fail:
26179 return NULL;
26180 }
26181
26182
26183 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26184 PyObject *resultobj;
26185 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26186 wxPyShape *result;
26187 PyObject * obj0 = 0 ;
26188 char *kwnames[] = {
26189 (char *) "self", NULL
26190 };
26191
26192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
26193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26195 {
26196 PyThreadState* __tstate = wxPyBeginAllowThreads();
26197 result = (wxPyShape *)(arg1)->GetTo();
26198
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 {
26203 resultobj = wxPyMake_wxShapeEvtHandler(result);
26204 }
26205 return resultobj;
26206 fail:
26207 return NULL;
26208 }
26209
26210
26211 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
26212 PyObject *resultobj;
26213 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26214 PyObject * obj0 = 0 ;
26215 char *kwnames[] = {
26216 (char *) "self", NULL
26217 };
26218
26219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
26220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 (arg1)->Initialise();
26225
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 Py_INCREF(Py_None); resultobj = Py_None;
26230 return resultobj;
26231 fail:
26232 return NULL;
26233 }
26234
26235
26236 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26237 PyObject *resultobj;
26238 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26239 wxDC *arg2 = (wxDC *) 0 ;
26240 PyObject * obj0 = 0 ;
26241 PyObject * obj1 = 0 ;
26242 char *kwnames[] = {
26243 (char *) "self",(char *) "dc", NULL
26244 };
26245
26246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
26247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26251 {
26252 PyThreadState* __tstate = wxPyBeginAllowThreads();
26253 (arg1)->InsertLineControlPoint(arg2);
26254
26255 wxPyEndAllowThreads(__tstate);
26256 if (PyErr_Occurred()) SWIG_fail;
26257 }
26258 Py_INCREF(Py_None); resultobj = Py_None;
26259 return resultobj;
26260 fail:
26261 return NULL;
26262 }
26263
26264
26265 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26266 PyObject *resultobj;
26267 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26268 wxPyShape *arg2 = (wxPyShape *) 0 ;
26269 bool result;
26270 PyObject * obj0 = 0 ;
26271 PyObject * obj1 = 0 ;
26272 char *kwnames[] = {
26273 (char *) "self",(char *) "shape", NULL
26274 };
26275
26276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
26277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 result = (bool)(arg1)->IsEnd(arg2);
26284
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 {
26289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26290 }
26291 return resultobj;
26292 fail:
26293 return NULL;
26294 }
26295
26296
26297 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26298 PyObject *resultobj;
26299 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26300 bool result;
26301 PyObject * obj0 = 0 ;
26302 char *kwnames[] = {
26303 (char *) "self", NULL
26304 };
26305
26306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
26307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26309 {
26310 PyThreadState* __tstate = wxPyBeginAllowThreads();
26311 result = (bool)(arg1)->IsSpline();
26312
26313 wxPyEndAllowThreads(__tstate);
26314 if (PyErr_Occurred()) SWIG_fail;
26315 }
26316 {
26317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26318 }
26319 return resultobj;
26320 fail:
26321 return NULL;
26322 }
26323
26324
26325 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26326 PyObject *resultobj;
26327 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26328 int arg2 ;
26329 PyObject * obj0 = 0 ;
26330 PyObject * obj1 = 0 ;
26331 char *kwnames[] = {
26332 (char *) "self",(char *) "n", NULL
26333 };
26334
26335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26338 arg2 = (int) SWIG_AsInt(obj1);
26339 if (PyErr_Occurred()) SWIG_fail;
26340 {
26341 PyThreadState* __tstate = wxPyBeginAllowThreads();
26342 (arg1)->MakeLineControlPoints(arg2);
26343
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
26347 Py_INCREF(Py_None); resultobj = Py_None;
26348 return resultobj;
26349 fail:
26350 return NULL;
26351 }
26352
26353
26354 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26355 PyObject *resultobj;
26356 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26357 PyObject *result;
26358 PyObject * obj0 = 0 ;
26359 char *kwnames[] = {
26360 (char *) "self", NULL
26361 };
26362
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
26364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26369
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
26373 resultobj = result;
26374 return resultobj;
26375 fail:
26376 return NULL;
26377 }
26378
26379
26380 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26381 PyObject *resultobj;
26382 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26383 int arg2 ;
26384 PyObject * obj0 = 0 ;
26385 PyObject * obj1 = 0 ;
26386 char *kwnames[] = {
26387 (char *) "self",(char *) "fromAttach", NULL
26388 };
26389
26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
26391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26393 arg2 = (int) SWIG_AsInt(obj1);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 (arg1)->SetAttachmentFrom(arg2);
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 Py_INCREF(Py_None); resultobj = Py_None;
26403 return resultobj;
26404 fail:
26405 return NULL;
26406 }
26407
26408
26409 static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
26410 PyObject *resultobj;
26411 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26412 int arg2 ;
26413 int arg3 ;
26414 PyObject * obj0 = 0 ;
26415 PyObject * obj1 = 0 ;
26416 PyObject * obj2 = 0 ;
26417 char *kwnames[] = {
26418 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26419 };
26420
26421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
26422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26424 arg2 = (int) SWIG_AsInt(obj1);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 arg3 = (int) SWIG_AsInt(obj2);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 (arg1)->SetAttachments(arg2,arg3);
26431
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
26435 Py_INCREF(Py_None); resultobj = Py_None;
26436 return resultobj;
26437 fail:
26438 return NULL;
26439 }
26440
26441
26442 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26443 PyObject *resultobj;
26444 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26445 int arg2 ;
26446 PyObject * obj0 = 0 ;
26447 PyObject * obj1 = 0 ;
26448 char *kwnames[] = {
26449 (char *) "self",(char *) "toAttach", NULL
26450 };
26451
26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
26453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26455 arg2 = (int) SWIG_AsInt(obj1);
26456 if (PyErr_Occurred()) SWIG_fail;
26457 {
26458 PyThreadState* __tstate = wxPyBeginAllowThreads();
26459 (arg1)->SetAttachmentTo(arg2);
26460
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 Py_INCREF(Py_None); resultobj = Py_None;
26465 return resultobj;
26466 fail:
26467 return NULL;
26468 }
26469
26470
26471 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26472 PyObject *resultobj;
26473 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26474 double arg2 ;
26475 double arg3 ;
26476 double arg4 ;
26477 double arg5 ;
26478 PyObject * obj0 = 0 ;
26479 PyObject * obj1 = 0 ;
26480 PyObject * obj2 = 0 ;
26481 PyObject * obj3 = 0 ;
26482 PyObject * obj4 = 0 ;
26483 char *kwnames[] = {
26484 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26485 };
26486
26487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26490 arg2 = (double) SWIG_AsDouble(obj1);
26491 if (PyErr_Occurred()) SWIG_fail;
26492 arg3 = (double) SWIG_AsDouble(obj2);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 arg4 = (double) SWIG_AsDouble(obj3);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 arg5 = (double) SWIG_AsDouble(obj4);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 {
26499 PyThreadState* __tstate = wxPyBeginAllowThreads();
26500 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
26501
26502 wxPyEndAllowThreads(__tstate);
26503 if (PyErr_Occurred()) SWIG_fail;
26504 }
26505 Py_INCREF(Py_None); resultobj = Py_None;
26506 return resultobj;
26507 fail:
26508 return NULL;
26509 }
26510
26511
26512 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26513 PyObject *resultobj;
26514 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26515 wxPyShape *arg2 = (wxPyShape *) 0 ;
26516 PyObject * obj0 = 0 ;
26517 PyObject * obj1 = 0 ;
26518 char *kwnames[] = {
26519 (char *) "self",(char *) "object", NULL
26520 };
26521
26522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
26523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 (arg1)->SetFrom(arg2);
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 Py_INCREF(Py_None); resultobj = Py_None;
26535 return resultobj;
26536 fail:
26537 return NULL;
26538 }
26539
26540
26541 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
26542 PyObject *resultobj;
26543 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26544 bool arg2 ;
26545 PyObject * obj0 = 0 ;
26546 PyObject * obj1 = 0 ;
26547 char *kwnames[] = {
26548 (char *) "self",(char *) "ignore", NULL
26549 };
26550
26551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
26552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26554 arg2 = (bool) SWIG_AsBool(obj1);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 {
26557 PyThreadState* __tstate = wxPyBeginAllowThreads();
26558 (arg1)->SetIgnoreOffsets(arg2);
26559
26560 wxPyEndAllowThreads(__tstate);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 }
26563 Py_INCREF(Py_None); resultobj = Py_None;
26564 return resultobj;
26565 fail:
26566 return NULL;
26567 }
26568
26569
26570 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26571 PyObject *resultobj;
26572 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26573 bool arg2 ;
26574 PyObject * obj0 = 0 ;
26575 PyObject * obj1 = 0 ;
26576 char *kwnames[] = {
26577 (char *) "self",(char *) "spline", NULL
26578 };
26579
26580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
26581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26583 arg2 = (bool) SWIG_AsBool(obj1);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->SetSpline(arg2);
26588
26589 wxPyEndAllowThreads(__tstate);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 }
26592 Py_INCREF(Py_None); resultobj = Py_None;
26593 return resultobj;
26594 fail:
26595 return NULL;
26596 }
26597
26598
26599 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26600 PyObject *resultobj;
26601 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26602 wxPyShape *arg2 = (wxPyShape *) 0 ;
26603 PyObject * obj0 = 0 ;
26604 PyObject * obj1 = 0 ;
26605 char *kwnames[] = {
26606 (char *) "self",(char *) "object", NULL
26607 };
26608
26609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
26610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 (arg1)->SetTo(arg2);
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 Py_INCREF(Py_None); resultobj = Py_None;
26622 return resultobj;
26623 fail:
26624 return NULL;
26625 }
26626
26627
26628 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
26629 PyObject *resultobj;
26630 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26631 wxDC *arg2 = (wxDC *) NULL ;
26632 PyObject * obj0 = 0 ;
26633 PyObject * obj1 = 0 ;
26634 char *kwnames[] = {
26635 (char *) "self",(char *) "dc", NULL
26636 };
26637
26638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
26639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26641 if (obj1) {
26642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26644 }
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->Straighten(arg2);
26648
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 Py_INCREF(Py_None); resultobj = Py_None;
26653 return resultobj;
26654 fail:
26655 return NULL;
26656 }
26657
26658
26659 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
26660 PyObject *resultobj;
26661 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26662 PyObject * obj0 = 0 ;
26663 char *kwnames[] = {
26664 (char *) "self", NULL
26665 };
26666
26667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
26668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26670 {
26671 PyThreadState* __tstate = wxPyBeginAllowThreads();
26672 (arg1)->Unlink();
26673
26674 wxPyEndAllowThreads(__tstate);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 }
26677 Py_INCREF(Py_None); resultobj = Py_None;
26678 return resultobj;
26679 fail:
26680 return NULL;
26681 }
26682
26683
26684 static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26685 PyObject *resultobj;
26686 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26687 bool arg2 ;
26688 bool arg3 ;
26689 PyObject * obj0 = 0 ;
26690 PyObject * obj1 = 0 ;
26691 PyObject * obj2 = 0 ;
26692 char *kwnames[] = {
26693 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26694 };
26695
26696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
26697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26699 arg2 = (bool) SWIG_AsBool(obj1);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 arg3 = (bool) SWIG_AsBool(obj2);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 (arg1)->SetAlignmentOrientation(arg2,arg3);
26706
26707 wxPyEndAllowThreads(__tstate);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 }
26710 Py_INCREF(Py_None); resultobj = Py_None;
26711 return resultobj;
26712 fail:
26713 return NULL;
26714 }
26715
26716
26717 static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26718 PyObject *resultobj;
26719 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26720 bool arg2 ;
26721 int arg3 ;
26722 PyObject * obj0 = 0 ;
26723 PyObject * obj1 = 0 ;
26724 PyObject * obj2 = 0 ;
26725 char *kwnames[] = {
26726 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26727 };
26728
26729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
26730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26732 arg2 = (bool) SWIG_AsBool(obj1);
26733 if (PyErr_Occurred()) SWIG_fail;
26734 arg3 = (int) SWIG_AsInt(obj2);
26735 if (PyErr_Occurred()) SWIG_fail;
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 (arg1)->SetAlignmentType(arg2,arg3);
26739
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
26743 Py_INCREF(Py_None); resultobj = Py_None;
26744 return resultobj;
26745 fail:
26746 return NULL;
26747 }
26748
26749
26750 static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26751 PyObject *resultobj;
26752 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26753 bool arg2 ;
26754 bool result;
26755 PyObject * obj0 = 0 ;
26756 PyObject * obj1 = 0 ;
26757 char *kwnames[] = {
26758 (char *) "self",(char *) "isEnd", NULL
26759 };
26760
26761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
26762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26764 arg2 = (bool) SWIG_AsBool(obj1);
26765 if (PyErr_Occurred()) SWIG_fail;
26766 {
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
26769
26770 wxPyEndAllowThreads(__tstate);
26771 if (PyErr_Occurred()) SWIG_fail;
26772 }
26773 {
26774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26775 }
26776 return resultobj;
26777 fail:
26778 return NULL;
26779 }
26780
26781
26782 static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26783 PyObject *resultobj;
26784 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26785 bool arg2 ;
26786 int result;
26787 PyObject * obj0 = 0 ;
26788 PyObject * obj1 = 0 ;
26789 char *kwnames[] = {
26790 (char *) "self",(char *) "isEnd", NULL
26791 };
26792
26793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
26794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26796 arg2 = (bool) SWIG_AsBool(obj1);
26797 if (PyErr_Occurred()) SWIG_fail;
26798 {
26799 PyThreadState* __tstate = wxPyBeginAllowThreads();
26800 result = (int)(arg1)->GetAlignmentType(arg2);
26801
26802 wxPyEndAllowThreads(__tstate);
26803 if (PyErr_Occurred()) SWIG_fail;
26804 }
26805 resultobj = SWIG_FromInt((int)result);
26806 return resultobj;
26807 fail:
26808 return NULL;
26809 }
26810
26811
26812 static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
26813 PyObject *resultobj;
26814 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26815 int result;
26816 PyObject * obj0 = 0 ;
26817 char *kwnames[] = {
26818 (char *) "self", NULL
26819 };
26820
26821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
26822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26824 {
26825 PyThreadState* __tstate = wxPyBeginAllowThreads();
26826 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
26827
26828 wxPyEndAllowThreads(__tstate);
26829 if (PyErr_Occurred()) SWIG_fail;
26830 }
26831 resultobj = SWIG_FromInt((int)result);
26832 return resultobj;
26833 fail:
26834 return NULL;
26835 }
26836
26837
26838 static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26839 PyObject *resultobj;
26840 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26841 int result;
26842 PyObject * obj0 = 0 ;
26843 char *kwnames[] = {
26844 (char *) "self", NULL
26845 };
26846
26847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
26848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26850 {
26851 PyThreadState* __tstate = wxPyBeginAllowThreads();
26852 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
26853
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 resultobj = SWIG_FromInt((int)result);
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj;
26866 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26867 wxDC *arg2 = 0 ;
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char *kwnames[] = {
26871 (char *) "self",(char *) "dc", NULL
26872 };
26873
26874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
26875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26878 SWIG_POINTER_EXCEPTION | 0)) == -1)
26879 SWIG_fail;
26880 if (arg2 == NULL) {
26881 PyErr_SetString(PyExc_TypeError,"null reference");
26882 SWIG_fail;
26883 }
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 (arg1)->base_OnDraw(*arg2);
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 Py_INCREF(Py_None); resultobj = Py_None;
26892 return resultobj;
26893 fail:
26894 return NULL;
26895 }
26896
26897
26898 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
26899 PyObject *resultobj;
26900 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26901 wxDC *arg2 = 0 ;
26902 PyObject * obj0 = 0 ;
26903 PyObject * obj1 = 0 ;
26904 char *kwnames[] = {
26905 (char *) "self",(char *) "dc", NULL
26906 };
26907
26908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
26909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26912 SWIG_POINTER_EXCEPTION | 0)) == -1)
26913 SWIG_fail;
26914 if (arg2 == NULL) {
26915 PyErr_SetString(PyExc_TypeError,"null reference");
26916 SWIG_fail;
26917 }
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 (arg1)->base_OnDrawContents(*arg2);
26921
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 Py_INCREF(Py_None); resultobj = Py_None;
26926 return resultobj;
26927 fail:
26928 return NULL;
26929 }
26930
26931
26932 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
26933 PyObject *resultobj;
26934 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26935 wxDC *arg2 = 0 ;
26936 bool arg3 = (bool) FALSE ;
26937 PyObject * obj0 = 0 ;
26938 PyObject * obj1 = 0 ;
26939 PyObject * obj2 = 0 ;
26940 char *kwnames[] = {
26941 (char *) "self",(char *) "dc",(char *) "erase", NULL
26942 };
26943
26944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
26945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26948 SWIG_POINTER_EXCEPTION | 0)) == -1)
26949 SWIG_fail;
26950 if (arg2 == NULL) {
26951 PyErr_SetString(PyExc_TypeError,"null reference");
26952 SWIG_fail;
26953 }
26954 if (obj2) {
26955 arg3 = (bool) SWIG_AsBool(obj2);
26956 if (PyErr_Occurred()) SWIG_fail;
26957 }
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 (arg1)->base_OnDrawBranches(*arg2,arg3);
26961
26962 wxPyEndAllowThreads(__tstate);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
26965 Py_INCREF(Py_None); resultobj = Py_None;
26966 return resultobj;
26967 fail:
26968 return NULL;
26969 }
26970
26971
26972 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
26973 PyObject *resultobj;
26974 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26975 wxDC *arg2 = 0 ;
26976 PyObject * obj0 = 0 ;
26977 PyObject * obj1 = 0 ;
26978 char *kwnames[] = {
26979 (char *) "self",(char *) "dc", NULL
26980 };
26981
26982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
26983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26986 SWIG_POINTER_EXCEPTION | 0)) == -1)
26987 SWIG_fail;
26988 if (arg2 == NULL) {
26989 PyErr_SetString(PyExc_TypeError,"null reference");
26990 SWIG_fail;
26991 }
26992 {
26993 PyThreadState* __tstate = wxPyBeginAllowThreads();
26994 (arg1)->base_OnMoveLinks(*arg2);
26995
26996 wxPyEndAllowThreads(__tstate);
26997 if (PyErr_Occurred()) SWIG_fail;
26998 }
26999 Py_INCREF(Py_None); resultobj = Py_None;
27000 return resultobj;
27001 fail:
27002 return NULL;
27003 }
27004
27005
27006 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
27007 PyObject *resultobj;
27008 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27009 wxDC *arg2 = 0 ;
27010 PyObject * obj0 = 0 ;
27011 PyObject * obj1 = 0 ;
27012 char *kwnames[] = {
27013 (char *) "self",(char *) "dc", NULL
27014 };
27015
27016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
27017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27020 SWIG_POINTER_EXCEPTION | 0)) == -1)
27021 SWIG_fail;
27022 if (arg2 == NULL) {
27023 PyErr_SetString(PyExc_TypeError,"null reference");
27024 SWIG_fail;
27025 }
27026 {
27027 PyThreadState* __tstate = wxPyBeginAllowThreads();
27028 (arg1)->base_OnErase(*arg2);
27029
27030 wxPyEndAllowThreads(__tstate);
27031 if (PyErr_Occurred()) SWIG_fail;
27032 }
27033 Py_INCREF(Py_None); resultobj = Py_None;
27034 return resultobj;
27035 fail:
27036 return NULL;
27037 }
27038
27039
27040 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
27041 PyObject *resultobj;
27042 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27043 wxDC *arg2 = 0 ;
27044 PyObject * obj0 = 0 ;
27045 PyObject * obj1 = 0 ;
27046 char *kwnames[] = {
27047 (char *) "self",(char *) "dc", NULL
27048 };
27049
27050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
27051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27054 SWIG_POINTER_EXCEPTION | 0)) == -1)
27055 SWIG_fail;
27056 if (arg2 == NULL) {
27057 PyErr_SetString(PyExc_TypeError,"null reference");
27058 SWIG_fail;
27059 }
27060 {
27061 PyThreadState* __tstate = wxPyBeginAllowThreads();
27062 (arg1)->base_OnEraseContents(*arg2);
27063
27064 wxPyEndAllowThreads(__tstate);
27065 if (PyErr_Occurred()) SWIG_fail;
27066 }
27067 Py_INCREF(Py_None); resultobj = Py_None;
27068 return resultobj;
27069 fail:
27070 return NULL;
27071 }
27072
27073
27074 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj;
27076 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27077 wxDC *arg2 = 0 ;
27078 PyObject * obj0 = 0 ;
27079 PyObject * obj1 = 0 ;
27080 char *kwnames[] = {
27081 (char *) "self",(char *) "dc", NULL
27082 };
27083
27084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
27085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27088 SWIG_POINTER_EXCEPTION | 0)) == -1)
27089 SWIG_fail;
27090 if (arg2 == NULL) {
27091 PyErr_SetString(PyExc_TypeError,"null reference");
27092 SWIG_fail;
27093 }
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 (arg1)->base_OnHighlight(*arg2);
27097
27098 wxPyEndAllowThreads(__tstate);
27099 if (PyErr_Occurred()) SWIG_fail;
27100 }
27101 Py_INCREF(Py_None); resultobj = Py_None;
27102 return resultobj;
27103 fail:
27104 return NULL;
27105 }
27106
27107
27108 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27109 PyObject *resultobj;
27110 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27111 double arg2 ;
27112 double arg3 ;
27113 int arg4 = (int) 0 ;
27114 int arg5 = (int) 0 ;
27115 PyObject * obj0 = 0 ;
27116 PyObject * obj1 = 0 ;
27117 PyObject * obj2 = 0 ;
27118 PyObject * obj3 = 0 ;
27119 PyObject * obj4 = 0 ;
27120 char *kwnames[] = {
27121 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27122 };
27123
27124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27127 arg2 = (double) SWIG_AsDouble(obj1);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 arg3 = (double) SWIG_AsDouble(obj2);
27130 if (PyErr_Occurred()) SWIG_fail;
27131 if (obj3) {
27132 arg4 = (int) SWIG_AsInt(obj3);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 if (obj4) {
27136 arg5 = (int) SWIG_AsInt(obj4);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 {
27140 PyThreadState* __tstate = wxPyBeginAllowThreads();
27141 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27142
27143 wxPyEndAllowThreads(__tstate);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
27146 Py_INCREF(Py_None); resultobj = Py_None;
27147 return resultobj;
27148 fail:
27149 return NULL;
27150 }
27151
27152
27153 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27154 PyObject *resultobj;
27155 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27156 double arg2 ;
27157 double arg3 ;
27158 int arg4 = (int) 0 ;
27159 int arg5 = (int) 0 ;
27160 PyObject * obj0 = 0 ;
27161 PyObject * obj1 = 0 ;
27162 PyObject * obj2 = 0 ;
27163 PyObject * obj3 = 0 ;
27164 PyObject * obj4 = 0 ;
27165 char *kwnames[] = {
27166 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27167 };
27168
27169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27172 arg2 = (double) SWIG_AsDouble(obj1);
27173 if (PyErr_Occurred()) SWIG_fail;
27174 arg3 = (double) SWIG_AsDouble(obj2);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 if (obj3) {
27177 arg4 = (int) SWIG_AsInt(obj3);
27178 if (PyErr_Occurred()) SWIG_fail;
27179 }
27180 if (obj4) {
27181 arg5 = (int) SWIG_AsInt(obj4);
27182 if (PyErr_Occurred()) SWIG_fail;
27183 }
27184 {
27185 PyThreadState* __tstate = wxPyBeginAllowThreads();
27186 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27187
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 Py_INCREF(Py_None); resultobj = Py_None;
27192 return resultobj;
27193 fail:
27194 return NULL;
27195 }
27196
27197
27198 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27199 PyObject *resultobj;
27200 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27201 double arg2 ;
27202 double arg3 ;
27203 int arg4 = (int) 0 ;
27204 int arg5 = (int) 0 ;
27205 PyObject * obj0 = 0 ;
27206 PyObject * obj1 = 0 ;
27207 PyObject * obj2 = 0 ;
27208 PyObject * obj3 = 0 ;
27209 PyObject * obj4 = 0 ;
27210 char *kwnames[] = {
27211 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27212 };
27213
27214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27217 arg2 = (double) SWIG_AsDouble(obj1);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 arg3 = (double) SWIG_AsDouble(obj2);
27220 if (PyErr_Occurred()) SWIG_fail;
27221 if (obj3) {
27222 arg4 = (int) SWIG_AsInt(obj3);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 if (obj4) {
27226 arg5 = (int) SWIG_AsInt(obj4);
27227 if (PyErr_Occurred()) SWIG_fail;
27228 }
27229 {
27230 PyThreadState* __tstate = wxPyBeginAllowThreads();
27231 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27232
27233 wxPyEndAllowThreads(__tstate);
27234 if (PyErr_Occurred()) SWIG_fail;
27235 }
27236 Py_INCREF(Py_None); resultobj = Py_None;
27237 return resultobj;
27238 fail:
27239 return NULL;
27240 }
27241
27242
27243 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27244 PyObject *resultobj;
27245 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27246 double arg2 ;
27247 double arg3 ;
27248 PyObject * obj0 = 0 ;
27249 PyObject * obj1 = 0 ;
27250 PyObject * obj2 = 0 ;
27251 char *kwnames[] = {
27252 (char *) "self",(char *) "x",(char *) "y", NULL
27253 };
27254
27255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27258 arg2 = (double) SWIG_AsDouble(obj1);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 arg3 = (double) SWIG_AsDouble(obj2);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 {
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
27264 (arg1)->base_OnSize(arg2,arg3);
27265
27266 wxPyEndAllowThreads(__tstate);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 }
27269 Py_INCREF(Py_None); resultobj = Py_None;
27270 return resultobj;
27271 fail:
27272 return NULL;
27273 }
27274
27275
27276 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
27277 PyObject *resultobj;
27278 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27279 wxDC *arg2 = 0 ;
27280 double arg3 ;
27281 double arg4 ;
27282 double arg5 ;
27283 double arg6 ;
27284 bool arg7 = (bool) True ;
27285 bool result;
27286 PyObject * obj0 = 0 ;
27287 PyObject * obj1 = 0 ;
27288 PyObject * obj2 = 0 ;
27289 PyObject * obj3 = 0 ;
27290 PyObject * obj4 = 0 ;
27291 PyObject * obj5 = 0 ;
27292 PyObject * obj6 = 0 ;
27293 char *kwnames[] = {
27294 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27295 };
27296
27297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27301 SWIG_POINTER_EXCEPTION | 0)) == -1)
27302 SWIG_fail;
27303 if (arg2 == NULL) {
27304 PyErr_SetString(PyExc_TypeError,"null reference");
27305 SWIG_fail;
27306 }
27307 arg3 = (double) SWIG_AsDouble(obj2);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 arg4 = (double) SWIG_AsDouble(obj3);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 arg5 = (double) SWIG_AsDouble(obj4);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 arg6 = (double) SWIG_AsDouble(obj5);
27314 if (PyErr_Occurred()) SWIG_fail;
27315 if (obj6) {
27316 arg7 = (bool) SWIG_AsBool(obj6);
27317 if (PyErr_Occurred()) SWIG_fail;
27318 }
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27322
27323 wxPyEndAllowThreads(__tstate);
27324 if (PyErr_Occurred()) SWIG_fail;
27325 }
27326 {
27327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27328 }
27329 return resultobj;
27330 fail:
27331 return NULL;
27332 }
27333
27334
27335 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
27336 PyObject *resultobj;
27337 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27338 wxDC *arg2 = 0 ;
27339 double arg3 ;
27340 double arg4 ;
27341 double arg5 ;
27342 double arg6 ;
27343 bool arg7 = (bool) True ;
27344 PyObject * obj0 = 0 ;
27345 PyObject * obj1 = 0 ;
27346 PyObject * obj2 = 0 ;
27347 PyObject * obj3 = 0 ;
27348 PyObject * obj4 = 0 ;
27349 PyObject * obj5 = 0 ;
27350 PyObject * obj6 = 0 ;
27351 char *kwnames[] = {
27352 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27353 };
27354
27355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27359 SWIG_POINTER_EXCEPTION | 0)) == -1)
27360 SWIG_fail;
27361 if (arg2 == NULL) {
27362 PyErr_SetString(PyExc_TypeError,"null reference");
27363 SWIG_fail;
27364 }
27365 arg3 = (double) SWIG_AsDouble(obj2);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 arg4 = (double) SWIG_AsDouble(obj3);
27368 if (PyErr_Occurred()) SWIG_fail;
27369 arg5 = (double) SWIG_AsDouble(obj4);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 arg6 = (double) SWIG_AsDouble(obj5);
27372 if (PyErr_Occurred()) SWIG_fail;
27373 if (obj6) {
27374 arg7 = (bool) SWIG_AsBool(obj6);
27375 if (PyErr_Occurred()) SWIG_fail;
27376 }
27377 {
27378 PyThreadState* __tstate = wxPyBeginAllowThreads();
27379 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27380
27381 wxPyEndAllowThreads(__tstate);
27382 if (PyErr_Occurred()) SWIG_fail;
27383 }
27384 Py_INCREF(Py_None); resultobj = Py_None;
27385 return resultobj;
27386 fail:
27387 return NULL;
27388 }
27389
27390
27391 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27392 PyObject *resultobj;
27393 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27394 bool arg2 ;
27395 double arg3 ;
27396 double arg4 ;
27397 int arg5 = (int) 0 ;
27398 int arg6 = (int) 0 ;
27399 PyObject * obj0 = 0 ;
27400 PyObject * obj1 = 0 ;
27401 PyObject * obj2 = 0 ;
27402 PyObject * obj3 = 0 ;
27403 PyObject * obj4 = 0 ;
27404 PyObject * obj5 = 0 ;
27405 char *kwnames[] = {
27406 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27407 };
27408
27409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27412 arg2 = (bool) SWIG_AsBool(obj1);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 arg3 = (double) SWIG_AsDouble(obj2);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 arg4 = (double) SWIG_AsDouble(obj3);
27417 if (PyErr_Occurred()) SWIG_fail;
27418 if (obj4) {
27419 arg5 = (int) SWIG_AsInt(obj4);
27420 if (PyErr_Occurred()) SWIG_fail;
27421 }
27422 if (obj5) {
27423 arg6 = (int) SWIG_AsInt(obj5);
27424 if (PyErr_Occurred()) SWIG_fail;
27425 }
27426 {
27427 PyThreadState* __tstate = wxPyBeginAllowThreads();
27428 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27429
27430 wxPyEndAllowThreads(__tstate);
27431 if (PyErr_Occurred()) SWIG_fail;
27432 }
27433 Py_INCREF(Py_None); resultobj = Py_None;
27434 return resultobj;
27435 fail:
27436 return NULL;
27437 }
27438
27439
27440 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27441 PyObject *resultobj;
27442 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27443 double arg2 ;
27444 double arg3 ;
27445 int arg4 = (int) 0 ;
27446 int arg5 = (int) 0 ;
27447 PyObject * obj0 = 0 ;
27448 PyObject * obj1 = 0 ;
27449 PyObject * obj2 = 0 ;
27450 PyObject * obj3 = 0 ;
27451 PyObject * obj4 = 0 ;
27452 char *kwnames[] = {
27453 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27454 };
27455
27456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27459 arg2 = (double) SWIG_AsDouble(obj1);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 arg3 = (double) SWIG_AsDouble(obj2);
27462 if (PyErr_Occurred()) SWIG_fail;
27463 if (obj3) {
27464 arg4 = (int) SWIG_AsInt(obj3);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 if (obj4) {
27468 arg5 = (int) SWIG_AsInt(obj4);
27469 if (PyErr_Occurred()) SWIG_fail;
27470 }
27471 {
27472 PyThreadState* __tstate = wxPyBeginAllowThreads();
27473 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27474
27475 wxPyEndAllowThreads(__tstate);
27476 if (PyErr_Occurred()) SWIG_fail;
27477 }
27478 Py_INCREF(Py_None); resultobj = Py_None;
27479 return resultobj;
27480 fail:
27481 return NULL;
27482 }
27483
27484
27485 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27486 PyObject *resultobj;
27487 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27488 double arg2 ;
27489 double arg3 ;
27490 int arg4 = (int) 0 ;
27491 int arg5 = (int) 0 ;
27492 PyObject * obj0 = 0 ;
27493 PyObject * obj1 = 0 ;
27494 PyObject * obj2 = 0 ;
27495 PyObject * obj3 = 0 ;
27496 PyObject * obj4 = 0 ;
27497 char *kwnames[] = {
27498 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27499 };
27500
27501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27504 arg2 = (double) SWIG_AsDouble(obj1);
27505 if (PyErr_Occurred()) SWIG_fail;
27506 arg3 = (double) SWIG_AsDouble(obj2);
27507 if (PyErr_Occurred()) SWIG_fail;
27508 if (obj3) {
27509 arg4 = (int) SWIG_AsInt(obj3);
27510 if (PyErr_Occurred()) SWIG_fail;
27511 }
27512 if (obj4) {
27513 arg5 = (int) SWIG_AsInt(obj4);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 {
27517 PyThreadState* __tstate = wxPyBeginAllowThreads();
27518 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27519
27520 wxPyEndAllowThreads(__tstate);
27521 if (PyErr_Occurred()) SWIG_fail;
27522 }
27523 Py_INCREF(Py_None); resultobj = Py_None;
27524 return resultobj;
27525 fail:
27526 return NULL;
27527 }
27528
27529
27530 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27531 PyObject *resultobj;
27532 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27533 bool arg2 ;
27534 double arg3 ;
27535 double arg4 ;
27536 int arg5 = (int) 0 ;
27537 int arg6 = (int) 0 ;
27538 PyObject * obj0 = 0 ;
27539 PyObject * obj1 = 0 ;
27540 PyObject * obj2 = 0 ;
27541 PyObject * obj3 = 0 ;
27542 PyObject * obj4 = 0 ;
27543 PyObject * obj5 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27551 arg2 = (bool) SWIG_AsBool(obj1);
27552 if (PyErr_Occurred()) SWIG_fail;
27553 arg3 = (double) SWIG_AsDouble(obj2);
27554 if (PyErr_Occurred()) SWIG_fail;
27555 arg4 = (double) SWIG_AsDouble(obj3);
27556 if (PyErr_Occurred()) SWIG_fail;
27557 if (obj4) {
27558 arg5 = (int) SWIG_AsInt(obj4);
27559 if (PyErr_Occurred()) SWIG_fail;
27560 }
27561 if (obj5) {
27562 arg6 = (int) SWIG_AsInt(obj5);
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 Py_INCREF(Py_None); resultobj = Py_None;
27573 return resultobj;
27574 fail:
27575 return NULL;
27576 }
27577
27578
27579 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27580 PyObject *resultobj;
27581 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27582 double arg2 ;
27583 double arg3 ;
27584 int arg4 = (int) 0 ;
27585 int arg5 = (int) 0 ;
27586 PyObject * obj0 = 0 ;
27587 PyObject * obj1 = 0 ;
27588 PyObject * obj2 = 0 ;
27589 PyObject * obj3 = 0 ;
27590 PyObject * obj4 = 0 ;
27591 char *kwnames[] = {
27592 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27593 };
27594
27595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27598 arg2 = (double) SWIG_AsDouble(obj1);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 arg3 = (double) SWIG_AsDouble(obj2);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 if (obj3) {
27603 arg4 = (int) SWIG_AsInt(obj3);
27604 if (PyErr_Occurred()) SWIG_fail;
27605 }
27606 if (obj4) {
27607 arg5 = (int) SWIG_AsInt(obj4);
27608 if (PyErr_Occurred()) SWIG_fail;
27609 }
27610 {
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27613
27614 wxPyEndAllowThreads(__tstate);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 }
27617 Py_INCREF(Py_None); resultobj = Py_None;
27618 return resultobj;
27619 fail:
27620 return NULL;
27621 }
27622
27623
27624 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27625 PyObject *resultobj;
27626 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27627 double arg2 ;
27628 double arg3 ;
27629 int arg4 = (int) 0 ;
27630 int arg5 = (int) 0 ;
27631 PyObject * obj0 = 0 ;
27632 PyObject * obj1 = 0 ;
27633 PyObject * obj2 = 0 ;
27634 PyObject * obj3 = 0 ;
27635 PyObject * obj4 = 0 ;
27636 char *kwnames[] = {
27637 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27638 };
27639
27640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27643 arg2 = (double) SWIG_AsDouble(obj1);
27644 if (PyErr_Occurred()) SWIG_fail;
27645 arg3 = (double) SWIG_AsDouble(obj2);
27646 if (PyErr_Occurred()) SWIG_fail;
27647 if (obj3) {
27648 arg4 = (int) SWIG_AsInt(obj3);
27649 if (PyErr_Occurred()) SWIG_fail;
27650 }
27651 if (obj4) {
27652 arg5 = (int) SWIG_AsInt(obj4);
27653 if (PyErr_Occurred()) SWIG_fail;
27654 }
27655 {
27656 PyThreadState* __tstate = wxPyBeginAllowThreads();
27657 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27658
27659 wxPyEndAllowThreads(__tstate);
27660 if (PyErr_Occurred()) SWIG_fail;
27661 }
27662 Py_INCREF(Py_None); resultobj = Py_None;
27663 return resultobj;
27664 fail:
27665 return NULL;
27666 }
27667
27668
27669 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
27670 PyObject *resultobj;
27671 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27672 wxDC *arg2 = 0 ;
27673 double arg3 ;
27674 double arg4 ;
27675 double arg5 ;
27676 double arg6 ;
27677 PyObject * obj0 = 0 ;
27678 PyObject * obj1 = 0 ;
27679 PyObject * obj2 = 0 ;
27680 PyObject * obj3 = 0 ;
27681 PyObject * obj4 = 0 ;
27682 PyObject * obj5 = 0 ;
27683 char *kwnames[] = {
27684 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27685 };
27686
27687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27691 SWIG_POINTER_EXCEPTION | 0)) == -1)
27692 SWIG_fail;
27693 if (arg2 == NULL) {
27694 PyErr_SetString(PyExc_TypeError,"null reference");
27695 SWIG_fail;
27696 }
27697 arg3 = (double) SWIG_AsDouble(obj2);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 arg4 = (double) SWIG_AsDouble(obj3);
27700 if (PyErr_Occurred()) SWIG_fail;
27701 arg5 = (double) SWIG_AsDouble(obj4);
27702 if (PyErr_Occurred()) SWIG_fail;
27703 arg6 = (double) SWIG_AsDouble(obj5);
27704 if (PyErr_Occurred()) SWIG_fail;
27705 {
27706 PyThreadState* __tstate = wxPyBeginAllowThreads();
27707 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27708
27709 wxPyEndAllowThreads(__tstate);
27710 if (PyErr_Occurred()) SWIG_fail;
27711 }
27712 Py_INCREF(Py_None); resultobj = Py_None;
27713 return resultobj;
27714 fail:
27715 return NULL;
27716 }
27717
27718
27719 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27720 PyObject *resultobj;
27721 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27722 wxDC *arg2 = 0 ;
27723 PyObject * obj0 = 0 ;
27724 PyObject * obj1 = 0 ;
27725 char *kwnames[] = {
27726 (char *) "self",(char *) "dc", NULL
27727 };
27728
27729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
27730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27733 SWIG_POINTER_EXCEPTION | 0)) == -1)
27734 SWIG_fail;
27735 if (arg2 == NULL) {
27736 PyErr_SetString(PyExc_TypeError,"null reference");
27737 SWIG_fail;
27738 }
27739 {
27740 PyThreadState* __tstate = wxPyBeginAllowThreads();
27741 (arg1)->base_OnDrawControlPoints(*arg2);
27742
27743 wxPyEndAllowThreads(__tstate);
27744 if (PyErr_Occurred()) SWIG_fail;
27745 }
27746 Py_INCREF(Py_None); resultobj = Py_None;
27747 return resultobj;
27748 fail:
27749 return NULL;
27750 }
27751
27752
27753 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27754 PyObject *resultobj;
27755 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27756 wxDC *arg2 = 0 ;
27757 PyObject * obj0 = 0 ;
27758 PyObject * obj1 = 0 ;
27759 char *kwnames[] = {
27760 (char *) "self",(char *) "dc", NULL
27761 };
27762
27763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
27764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27767 SWIG_POINTER_EXCEPTION | 0)) == -1)
27768 SWIG_fail;
27769 if (arg2 == NULL) {
27770 PyErr_SetString(PyExc_TypeError,"null reference");
27771 SWIG_fail;
27772 }
27773 {
27774 PyThreadState* __tstate = wxPyBeginAllowThreads();
27775 (arg1)->base_OnEraseControlPoints(*arg2);
27776
27777 wxPyEndAllowThreads(__tstate);
27778 if (PyErr_Occurred()) SWIG_fail;
27779 }
27780 Py_INCREF(Py_None); resultobj = Py_None;
27781 return resultobj;
27782 fail:
27783 return NULL;
27784 }
27785
27786
27787 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27788 PyObject *resultobj;
27789 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27790 wxDC *arg2 = 0 ;
27791 bool arg3 = (bool) True ;
27792 PyObject * obj0 = 0 ;
27793 PyObject * obj1 = 0 ;
27794 PyObject * obj2 = 0 ;
27795 char *kwnames[] = {
27796 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27797 };
27798
27799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
27800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27803 SWIG_POINTER_EXCEPTION | 0)) == -1)
27804 SWIG_fail;
27805 if (arg2 == NULL) {
27806 PyErr_SetString(PyExc_TypeError,"null reference");
27807 SWIG_fail;
27808 }
27809 if (obj2) {
27810 arg3 = (bool) SWIG_AsBool(obj2);
27811 if (PyErr_Occurred()) SWIG_fail;
27812 }
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
27815 (arg1)->base_OnMoveLink(*arg2,arg3);
27816
27817 wxPyEndAllowThreads(__tstate);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 Py_INCREF(Py_None); resultobj = Py_None;
27821 return resultobj;
27822 fail:
27823 return NULL;
27824 }
27825
27826
27827 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27828 PyObject *resultobj;
27829 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27830 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27831 bool arg3 ;
27832 double arg4 ;
27833 double arg5 ;
27834 int arg6 = (int) 0 ;
27835 int arg7 = (int) 0 ;
27836 PyObject * obj0 = 0 ;
27837 PyObject * obj1 = 0 ;
27838 PyObject * obj2 = 0 ;
27839 PyObject * obj3 = 0 ;
27840 PyObject * obj4 = 0 ;
27841 PyObject * obj5 = 0 ;
27842 PyObject * obj6 = 0 ;
27843 char *kwnames[] = {
27844 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27845 };
27846
27847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27850 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27852 arg3 = (bool) SWIG_AsBool(obj2);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 arg4 = (double) SWIG_AsDouble(obj3);
27855 if (PyErr_Occurred()) SWIG_fail;
27856 arg5 = (double) SWIG_AsDouble(obj4);
27857 if (PyErr_Occurred()) SWIG_fail;
27858 if (obj5) {
27859 arg6 = (int) SWIG_AsInt(obj5);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 if (obj6) {
27863 arg7 = (int) SWIG_AsInt(obj6);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
27869
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
27873 Py_INCREF(Py_None); resultobj = Py_None;
27874 return resultobj;
27875 fail:
27876 return NULL;
27877 }
27878
27879
27880 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27881 PyObject *resultobj;
27882 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27883 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27884 double arg3 ;
27885 double arg4 ;
27886 int arg5 = (int) 0 ;
27887 int arg6 = (int) 0 ;
27888 PyObject * obj0 = 0 ;
27889 PyObject * obj1 = 0 ;
27890 PyObject * obj2 = 0 ;
27891 PyObject * obj3 = 0 ;
27892 PyObject * obj4 = 0 ;
27893 PyObject * obj5 = 0 ;
27894 char *kwnames[] = {
27895 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27896 };
27897
27898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27903 arg3 = (double) SWIG_AsDouble(obj2);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 arg4 = (double) SWIG_AsDouble(obj3);
27906 if (PyErr_Occurred()) SWIG_fail;
27907 if (obj4) {
27908 arg5 = (int) SWIG_AsInt(obj4);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 if (obj5) {
27912 arg6 = (int) SWIG_AsInt(obj5);
27913 if (PyErr_Occurred()) SWIG_fail;
27914 }
27915 {
27916 PyThreadState* __tstate = wxPyBeginAllowThreads();
27917 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
27918
27919 wxPyEndAllowThreads(__tstate);
27920 if (PyErr_Occurred()) SWIG_fail;
27921 }
27922 Py_INCREF(Py_None); resultobj = Py_None;
27923 return resultobj;
27924 fail:
27925 return NULL;
27926 }
27927
27928
27929 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27930 PyObject *resultobj;
27931 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27932 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27933 double arg3 ;
27934 double arg4 ;
27935 int arg5 = (int) 0 ;
27936 int arg6 = (int) 0 ;
27937 PyObject * obj0 = 0 ;
27938 PyObject * obj1 = 0 ;
27939 PyObject * obj2 = 0 ;
27940 PyObject * obj3 = 0 ;
27941 PyObject * obj4 = 0 ;
27942 PyObject * obj5 = 0 ;
27943 char *kwnames[] = {
27944 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27945 };
27946
27947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27952 arg3 = (double) SWIG_AsDouble(obj2);
27953 if (PyErr_Occurred()) SWIG_fail;
27954 arg4 = (double) SWIG_AsDouble(obj3);
27955 if (PyErr_Occurred()) SWIG_fail;
27956 if (obj4) {
27957 arg5 = (int) SWIG_AsInt(obj4);
27958 if (PyErr_Occurred()) SWIG_fail;
27959 }
27960 if (obj5) {
27961 arg6 = (int) SWIG_AsInt(obj5);
27962 if (PyErr_Occurred()) SWIG_fail;
27963 }
27964 {
27965 PyThreadState* __tstate = wxPyBeginAllowThreads();
27966 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
27967
27968 wxPyEndAllowThreads(__tstate);
27969 if (PyErr_Occurred()) SWIG_fail;
27970 }
27971 Py_INCREF(Py_None); resultobj = Py_None;
27972 return resultobj;
27973 fail:
27974 return NULL;
27975 }
27976
27977
27978 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27979 PyObject *resultobj;
27980 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27981 double arg2 ;
27982 double arg3 ;
27983 PyObject * obj0 = 0 ;
27984 PyObject * obj1 = 0 ;
27985 PyObject * obj2 = 0 ;
27986 char *kwnames[] = {
27987 (char *) "self",(char *) "w",(char *) "h", NULL
27988 };
27989
27990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27993 arg2 = (double) SWIG_AsDouble(obj1);
27994 if (PyErr_Occurred()) SWIG_fail;
27995 arg3 = (double) SWIG_AsDouble(obj2);
27996 if (PyErr_Occurred()) SWIG_fail;
27997 {
27998 PyThreadState* __tstate = wxPyBeginAllowThreads();
27999 (arg1)->base_OnBeginSize(arg2,arg3);
28000
28001 wxPyEndAllowThreads(__tstate);
28002 if (PyErr_Occurred()) SWIG_fail;
28003 }
28004 Py_INCREF(Py_None); resultobj = Py_None;
28005 return resultobj;
28006 fail:
28007 return NULL;
28008 }
28009
28010
28011 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28012 PyObject *resultobj;
28013 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28014 double arg2 ;
28015 double arg3 ;
28016 PyObject * obj0 = 0 ;
28017 PyObject * obj1 = 0 ;
28018 PyObject * obj2 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self",(char *) "w",(char *) "h", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28026 arg2 = (double) SWIG_AsDouble(obj1);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 arg3 = (double) SWIG_AsDouble(obj2);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 {
28031 PyThreadState* __tstate = wxPyBeginAllowThreads();
28032 (arg1)->base_OnEndSize(arg2,arg3);
28033
28034 wxPyEndAllowThreads(__tstate);
28035 if (PyErr_Occurred()) SWIG_fail;
28036 }
28037 Py_INCREF(Py_None); resultobj = Py_None;
28038 return resultobj;
28039 fail:
28040 return NULL;
28041 }
28042
28043
28044 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
28045 PyObject *obj;
28046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28047 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
28048 Py_INCREF(obj);
28049 return Py_BuildValue((char *)"");
28050 }
28051 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
28052 PyObject *resultobj;
28053 wxPyPolygonShape *result;
28054 char *kwnames[] = {
28055 NULL
28056 };
28057
28058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
28059 {
28060 PyThreadState* __tstate = wxPyBeginAllowThreads();
28061 result = (wxPyPolygonShape *)new wxPyPolygonShape();
28062
28063 wxPyEndAllowThreads(__tstate);
28064 if (PyErr_Occurred()) SWIG_fail;
28065 }
28066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
28067 return resultobj;
28068 fail:
28069 return NULL;
28070 }
28071
28072
28073 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28074 PyObject *resultobj;
28075 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28076 PyObject *arg2 = (PyObject *) 0 ;
28077 PyObject *arg3 = (PyObject *) 0 ;
28078 PyObject * obj0 = 0 ;
28079 PyObject * obj1 = 0 ;
28080 PyObject * obj2 = 0 ;
28081 char *kwnames[] = {
28082 (char *) "self",(char *) "self",(char *) "_class", NULL
28083 };
28084
28085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28088 arg2 = obj1;
28089 arg3 = obj2;
28090 {
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 (arg1)->_setCallbackInfo(arg2,arg3);
28093
28094 wxPyEndAllowThreads(__tstate);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 }
28097 Py_INCREF(Py_None); resultobj = Py_None;
28098 return resultobj;
28099 fail:
28100 return NULL;
28101 }
28102
28103
28104 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28105 PyObject *resultobj;
28106 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28107 PyObject *arg2 = (PyObject *) 0 ;
28108 PyObject *result;
28109 PyObject * obj0 = 0 ;
28110 PyObject * obj1 = 0 ;
28111 char *kwnames[] = {
28112 (char *) "self",(char *) "points", NULL
28113 };
28114
28115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
28116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28118 arg2 = obj1;
28119 {
28120 PyThreadState* __tstate = wxPyBeginAllowThreads();
28121 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28122
28123 wxPyEndAllowThreads(__tstate);
28124 if (PyErr_Occurred()) SWIG_fail;
28125 }
28126 resultobj = result;
28127 return resultobj;
28128 fail:
28129 return NULL;
28130 }
28131
28132
28133 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28134 PyObject *resultobj;
28135 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28136 int arg2 = (int) 0 ;
28137 PyObject * obj0 = 0 ;
28138 PyObject * obj1 = 0 ;
28139 char *kwnames[] = {
28140 (char *) "self",(char *) "pos", NULL
28141 };
28142
28143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28146 if (obj1) {
28147 arg2 = (int) SWIG_AsInt(obj1);
28148 if (PyErr_Occurred()) SWIG_fail;
28149 }
28150 {
28151 PyThreadState* __tstate = wxPyBeginAllowThreads();
28152 (arg1)->AddPolygonPoint(arg2);
28153
28154 wxPyEndAllowThreads(__tstate);
28155 if (PyErr_Occurred()) SWIG_fail;
28156 }
28157 Py_INCREF(Py_None); resultobj = Py_None;
28158 return resultobj;
28159 fail:
28160 return NULL;
28161 }
28162
28163
28164 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
28165 PyObject *resultobj;
28166 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28167 PyObject * obj0 = 0 ;
28168 char *kwnames[] = {
28169 (char *) "self", NULL
28170 };
28171
28172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
28173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28175 {
28176 PyThreadState* __tstate = wxPyBeginAllowThreads();
28177 (arg1)->CalculatePolygonCentre();
28178
28179 wxPyEndAllowThreads(__tstate);
28180 if (PyErr_Occurred()) SWIG_fail;
28181 }
28182 Py_INCREF(Py_None); resultobj = Py_None;
28183 return resultobj;
28184 fail:
28185 return NULL;
28186 }
28187
28188
28189 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28190 PyObject *resultobj;
28191 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28192 int arg2 = (int) 0 ;
28193 PyObject * obj0 = 0 ;
28194 PyObject * obj1 = 0 ;
28195 char *kwnames[] = {
28196 (char *) "self",(char *) "pos", NULL
28197 };
28198
28199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28202 if (obj1) {
28203 arg2 = (int) SWIG_AsInt(obj1);
28204 if (PyErr_Occurred()) SWIG_fail;
28205 }
28206 {
28207 PyThreadState* __tstate = wxPyBeginAllowThreads();
28208 (arg1)->DeletePolygonPoint(arg2);
28209
28210 wxPyEndAllowThreads(__tstate);
28211 if (PyErr_Occurred()) SWIG_fail;
28212 }
28213 Py_INCREF(Py_None); resultobj = Py_None;
28214 return resultobj;
28215 fail:
28216 return NULL;
28217 }
28218
28219
28220 static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28221 PyObject *resultobj;
28222 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28223 PyObject *result;
28224 PyObject * obj0 = 0 ;
28225 char *kwnames[] = {
28226 (char *) "self", NULL
28227 };
28228
28229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
28230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28232 {
28233 PyThreadState* __tstate = wxPyBeginAllowThreads();
28234 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28235
28236 wxPyEndAllowThreads(__tstate);
28237 if (PyErr_Occurred()) SWIG_fail;
28238 }
28239 resultobj = result;
28240 return resultobj;
28241 fail:
28242 return NULL;
28243 }
28244
28245
28246 static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28247 PyObject *resultobj;
28248 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28249 PyObject *result;
28250 PyObject * obj0 = 0 ;
28251 char *kwnames[] = {
28252 (char *) "self", NULL
28253 };
28254
28255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
28256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28258 {
28259 PyThreadState* __tstate = wxPyBeginAllowThreads();
28260 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28261
28262 wxPyEndAllowThreads(__tstate);
28263 if (PyErr_Occurred()) SWIG_fail;
28264 }
28265 resultobj = result;
28266 return resultobj;
28267 fail:
28268 return NULL;
28269 }
28270
28271
28272 static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28273 PyObject *resultobj;
28274 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28275 double result;
28276 PyObject * obj0 = 0 ;
28277 char *kwnames[] = {
28278 (char *) "self", NULL
28279 };
28280
28281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
28282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28284 {
28285 PyThreadState* __tstate = wxPyBeginAllowThreads();
28286 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28287
28288 wxPyEndAllowThreads(__tstate);
28289 if (PyErr_Occurred()) SWIG_fail;
28290 }
28291 resultobj = SWIG_FromDouble((double)result);
28292 return resultobj;
28293 fail:
28294 return NULL;
28295 }
28296
28297
28298 static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28299 PyObject *resultobj;
28300 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28301 double result;
28302 PyObject * obj0 = 0 ;
28303 char *kwnames[] = {
28304 (char *) "self", NULL
28305 };
28306
28307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
28308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28313
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 resultobj = SWIG_FromDouble((double)result);
28318 return resultobj;
28319 fail:
28320 return NULL;
28321 }
28322
28323
28324 static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28325 PyObject *resultobj;
28326 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28327 double arg2 ;
28328 PyObject * obj0 = 0 ;
28329 PyObject * obj1 = 0 ;
28330 char *kwnames[] = {
28331 (char *) "self",(char *) "w", NULL
28332 };
28333
28334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
28335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28337 arg2 = (double) SWIG_AsDouble(obj1);
28338 if (PyErr_Occurred()) SWIG_fail;
28339 {
28340 PyThreadState* __tstate = wxPyBeginAllowThreads();
28341 (arg1)->SetOriginalWidth(arg2);
28342
28343 wxPyEndAllowThreads(__tstate);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
28346 Py_INCREF(Py_None); resultobj = Py_None;
28347 return resultobj;
28348 fail:
28349 return NULL;
28350 }
28351
28352
28353 static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28354 PyObject *resultobj;
28355 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28356 double arg2 ;
28357 PyObject * obj0 = 0 ;
28358 PyObject * obj1 = 0 ;
28359 char *kwnames[] = {
28360 (char *) "self",(char *) "h", NULL
28361 };
28362
28363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
28364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28366 arg2 = (double) SWIG_AsDouble(obj1);
28367 if (PyErr_Occurred()) SWIG_fail;
28368 {
28369 PyThreadState* __tstate = wxPyBeginAllowThreads();
28370 (arg1)->SetOriginalHeight(arg2);
28371
28372 wxPyEndAllowThreads(__tstate);
28373 if (PyErr_Occurred()) SWIG_fail;
28374 }
28375 Py_INCREF(Py_None); resultobj = Py_None;
28376 return resultobj;
28377 fail:
28378 return NULL;
28379 }
28380
28381
28382 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28383 PyObject *resultobj;
28384 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28385 PyObject * obj0 = 0 ;
28386 char *kwnames[] = {
28387 (char *) "self", NULL
28388 };
28389
28390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
28391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28393 {
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
28395 (arg1)->UpdateOriginalPoints();
28396
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
28400 Py_INCREF(Py_None); resultobj = Py_None;
28401 return resultobj;
28402 fail:
28403 return NULL;
28404 }
28405
28406
28407 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
28408 PyObject *resultobj;
28409 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28410 wxDC *arg2 = 0 ;
28411 PyObject * obj0 = 0 ;
28412 PyObject * obj1 = 0 ;
28413 char *kwnames[] = {
28414 (char *) "self",(char *) "dc", NULL
28415 };
28416
28417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
28418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28421 SWIG_POINTER_EXCEPTION | 0)) == -1)
28422 SWIG_fail;
28423 if (arg2 == NULL) {
28424 PyErr_SetString(PyExc_TypeError,"null reference");
28425 SWIG_fail;
28426 }
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 (arg1)->base_OnDraw(*arg2);
28430
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 Py_INCREF(Py_None); resultobj = Py_None;
28435 return resultobj;
28436 fail:
28437 return NULL;
28438 }
28439
28440
28441 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28442 PyObject *resultobj;
28443 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28444 wxDC *arg2 = 0 ;
28445 PyObject * obj0 = 0 ;
28446 PyObject * obj1 = 0 ;
28447 char *kwnames[] = {
28448 (char *) "self",(char *) "dc", NULL
28449 };
28450
28451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
28452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28455 SWIG_POINTER_EXCEPTION | 0)) == -1)
28456 SWIG_fail;
28457 if (arg2 == NULL) {
28458 PyErr_SetString(PyExc_TypeError,"null reference");
28459 SWIG_fail;
28460 }
28461 {
28462 PyThreadState* __tstate = wxPyBeginAllowThreads();
28463 (arg1)->base_OnDrawContents(*arg2);
28464
28465 wxPyEndAllowThreads(__tstate);
28466 if (PyErr_Occurred()) SWIG_fail;
28467 }
28468 Py_INCREF(Py_None); resultobj = Py_None;
28469 return resultobj;
28470 fail:
28471 return NULL;
28472 }
28473
28474
28475 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
28476 PyObject *resultobj;
28477 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28478 wxDC *arg2 = 0 ;
28479 bool arg3 = (bool) FALSE ;
28480 PyObject * obj0 = 0 ;
28481 PyObject * obj1 = 0 ;
28482 PyObject * obj2 = 0 ;
28483 char *kwnames[] = {
28484 (char *) "self",(char *) "dc",(char *) "erase", NULL
28485 };
28486
28487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
28488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28491 SWIG_POINTER_EXCEPTION | 0)) == -1)
28492 SWIG_fail;
28493 if (arg2 == NULL) {
28494 PyErr_SetString(PyExc_TypeError,"null reference");
28495 SWIG_fail;
28496 }
28497 if (obj2) {
28498 arg3 = (bool) SWIG_AsBool(obj2);
28499 if (PyErr_Occurred()) SWIG_fail;
28500 }
28501 {
28502 PyThreadState* __tstate = wxPyBeginAllowThreads();
28503 (arg1)->base_OnDrawBranches(*arg2,arg3);
28504
28505 wxPyEndAllowThreads(__tstate);
28506 if (PyErr_Occurred()) SWIG_fail;
28507 }
28508 Py_INCREF(Py_None); resultobj = Py_None;
28509 return resultobj;
28510 fail:
28511 return NULL;
28512 }
28513
28514
28515 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
28516 PyObject *resultobj;
28517 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28518 wxDC *arg2 = 0 ;
28519 PyObject * obj0 = 0 ;
28520 PyObject * obj1 = 0 ;
28521 char *kwnames[] = {
28522 (char *) "self",(char *) "dc", NULL
28523 };
28524
28525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
28526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28529 SWIG_POINTER_EXCEPTION | 0)) == -1)
28530 SWIG_fail;
28531 if (arg2 == NULL) {
28532 PyErr_SetString(PyExc_TypeError,"null reference");
28533 SWIG_fail;
28534 }
28535 {
28536 PyThreadState* __tstate = wxPyBeginAllowThreads();
28537 (arg1)->base_OnMoveLinks(*arg2);
28538
28539 wxPyEndAllowThreads(__tstate);
28540 if (PyErr_Occurred()) SWIG_fail;
28541 }
28542 Py_INCREF(Py_None); resultobj = Py_None;
28543 return resultobj;
28544 fail:
28545 return NULL;
28546 }
28547
28548
28549 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
28550 PyObject *resultobj;
28551 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28552 wxDC *arg2 = 0 ;
28553 PyObject * obj0 = 0 ;
28554 PyObject * obj1 = 0 ;
28555 char *kwnames[] = {
28556 (char *) "self",(char *) "dc", NULL
28557 };
28558
28559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
28560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28563 SWIG_POINTER_EXCEPTION | 0)) == -1)
28564 SWIG_fail;
28565 if (arg2 == NULL) {
28566 PyErr_SetString(PyExc_TypeError,"null reference");
28567 SWIG_fail;
28568 }
28569 {
28570 PyThreadState* __tstate = wxPyBeginAllowThreads();
28571 (arg1)->base_OnErase(*arg2);
28572
28573 wxPyEndAllowThreads(__tstate);
28574 if (PyErr_Occurred()) SWIG_fail;
28575 }
28576 Py_INCREF(Py_None); resultobj = Py_None;
28577 return resultobj;
28578 fail:
28579 return NULL;
28580 }
28581
28582
28583 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28584 PyObject *resultobj;
28585 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28586 wxDC *arg2 = 0 ;
28587 PyObject * obj0 = 0 ;
28588 PyObject * obj1 = 0 ;
28589 char *kwnames[] = {
28590 (char *) "self",(char *) "dc", NULL
28591 };
28592
28593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
28594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28597 SWIG_POINTER_EXCEPTION | 0)) == -1)
28598 SWIG_fail;
28599 if (arg2 == NULL) {
28600 PyErr_SetString(PyExc_TypeError,"null reference");
28601 SWIG_fail;
28602 }
28603 {
28604 PyThreadState* __tstate = wxPyBeginAllowThreads();
28605 (arg1)->base_OnEraseContents(*arg2);
28606
28607 wxPyEndAllowThreads(__tstate);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 Py_INCREF(Py_None); resultobj = Py_None;
28611 return resultobj;
28612 fail:
28613 return NULL;
28614 }
28615
28616
28617 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
28618 PyObject *resultobj;
28619 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28620 wxDC *arg2 = 0 ;
28621 PyObject * obj0 = 0 ;
28622 PyObject * obj1 = 0 ;
28623 char *kwnames[] = {
28624 (char *) "self",(char *) "dc", NULL
28625 };
28626
28627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
28628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28631 SWIG_POINTER_EXCEPTION | 0)) == -1)
28632 SWIG_fail;
28633 if (arg2 == NULL) {
28634 PyErr_SetString(PyExc_TypeError,"null reference");
28635 SWIG_fail;
28636 }
28637 {
28638 PyThreadState* __tstate = wxPyBeginAllowThreads();
28639 (arg1)->base_OnHighlight(*arg2);
28640
28641 wxPyEndAllowThreads(__tstate);
28642 if (PyErr_Occurred()) SWIG_fail;
28643 }
28644 Py_INCREF(Py_None); resultobj = Py_None;
28645 return resultobj;
28646 fail:
28647 return NULL;
28648 }
28649
28650
28651 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28652 PyObject *resultobj;
28653 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28654 double arg2 ;
28655 double arg3 ;
28656 int arg4 = (int) 0 ;
28657 int arg5 = (int) 0 ;
28658 PyObject * obj0 = 0 ;
28659 PyObject * obj1 = 0 ;
28660 PyObject * obj2 = 0 ;
28661 PyObject * obj3 = 0 ;
28662 PyObject * obj4 = 0 ;
28663 char *kwnames[] = {
28664 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28665 };
28666
28667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28670 arg2 = (double) SWIG_AsDouble(obj1);
28671 if (PyErr_Occurred()) SWIG_fail;
28672 arg3 = (double) SWIG_AsDouble(obj2);
28673 if (PyErr_Occurred()) SWIG_fail;
28674 if (obj3) {
28675 arg4 = (int) SWIG_AsInt(obj3);
28676 if (PyErr_Occurred()) SWIG_fail;
28677 }
28678 if (obj4) {
28679 arg5 = (int) SWIG_AsInt(obj4);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 {
28683 PyThreadState* __tstate = wxPyBeginAllowThreads();
28684 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
28685
28686 wxPyEndAllowThreads(__tstate);
28687 if (PyErr_Occurred()) SWIG_fail;
28688 }
28689 Py_INCREF(Py_None); resultobj = Py_None;
28690 return resultobj;
28691 fail:
28692 return NULL;
28693 }
28694
28695
28696 static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28697 PyObject *resultobj;
28698 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28699 double arg2 ;
28700 double arg3 ;
28701 int arg4 = (int) 0 ;
28702 int arg5 = (int) 0 ;
28703 PyObject * obj0 = 0 ;
28704 PyObject * obj1 = 0 ;
28705 PyObject * obj2 = 0 ;
28706 PyObject * obj3 = 0 ;
28707 PyObject * obj4 = 0 ;
28708 char *kwnames[] = {
28709 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28710 };
28711
28712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28715 arg2 = (double) SWIG_AsDouble(obj1);
28716 if (PyErr_Occurred()) SWIG_fail;
28717 arg3 = (double) SWIG_AsDouble(obj2);
28718 if (PyErr_Occurred()) SWIG_fail;
28719 if (obj3) {
28720 arg4 = (int) SWIG_AsInt(obj3);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 if (obj4) {
28724 arg5 = (int) SWIG_AsInt(obj4);
28725 if (PyErr_Occurred()) SWIG_fail;
28726 }
28727 {
28728 PyThreadState* __tstate = wxPyBeginAllowThreads();
28729 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
28730
28731 wxPyEndAllowThreads(__tstate);
28732 if (PyErr_Occurred()) SWIG_fail;
28733 }
28734 Py_INCREF(Py_None); resultobj = Py_None;
28735 return resultobj;
28736 fail:
28737 return NULL;
28738 }
28739
28740
28741 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28742 PyObject *resultobj;
28743 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28744 double arg2 ;
28745 double arg3 ;
28746 int arg4 = (int) 0 ;
28747 int arg5 = (int) 0 ;
28748 PyObject * obj0 = 0 ;
28749 PyObject * obj1 = 0 ;
28750 PyObject * obj2 = 0 ;
28751 PyObject * obj3 = 0 ;
28752 PyObject * obj4 = 0 ;
28753 char *kwnames[] = {
28754 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28755 };
28756
28757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28760 arg2 = (double) SWIG_AsDouble(obj1);
28761 if (PyErr_Occurred()) SWIG_fail;
28762 arg3 = (double) SWIG_AsDouble(obj2);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 if (obj3) {
28765 arg4 = (int) SWIG_AsInt(obj3);
28766 if (PyErr_Occurred()) SWIG_fail;
28767 }
28768 if (obj4) {
28769 arg5 = (int) SWIG_AsInt(obj4);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 {
28773 PyThreadState* __tstate = wxPyBeginAllowThreads();
28774 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
28775
28776 wxPyEndAllowThreads(__tstate);
28777 if (PyErr_Occurred()) SWIG_fail;
28778 }
28779 Py_INCREF(Py_None); resultobj = Py_None;
28780 return resultobj;
28781 fail:
28782 return NULL;
28783 }
28784
28785
28786 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28787 PyObject *resultobj;
28788 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28789 double arg2 ;
28790 double arg3 ;
28791 PyObject * obj0 = 0 ;
28792 PyObject * obj1 = 0 ;
28793 PyObject * obj2 = 0 ;
28794 char *kwnames[] = {
28795 (char *) "self",(char *) "x",(char *) "y", NULL
28796 };
28797
28798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28801 arg2 = (double) SWIG_AsDouble(obj1);
28802 if (PyErr_Occurred()) SWIG_fail;
28803 arg3 = (double) SWIG_AsDouble(obj2);
28804 if (PyErr_Occurred()) SWIG_fail;
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 (arg1)->base_OnSize(arg2,arg3);
28808
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 Py_INCREF(Py_None); resultobj = Py_None;
28813 return resultobj;
28814 fail:
28815 return NULL;
28816 }
28817
28818
28819 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
28820 PyObject *resultobj;
28821 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28822 wxDC *arg2 = 0 ;
28823 double arg3 ;
28824 double arg4 ;
28825 double arg5 ;
28826 double arg6 ;
28827 bool arg7 = (bool) True ;
28828 bool result;
28829 PyObject * obj0 = 0 ;
28830 PyObject * obj1 = 0 ;
28831 PyObject * obj2 = 0 ;
28832 PyObject * obj3 = 0 ;
28833 PyObject * obj4 = 0 ;
28834 PyObject * obj5 = 0 ;
28835 PyObject * obj6 = 0 ;
28836 char *kwnames[] = {
28837 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28838 };
28839
28840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28844 SWIG_POINTER_EXCEPTION | 0)) == -1)
28845 SWIG_fail;
28846 if (arg2 == NULL) {
28847 PyErr_SetString(PyExc_TypeError,"null reference");
28848 SWIG_fail;
28849 }
28850 arg3 = (double) SWIG_AsDouble(obj2);
28851 if (PyErr_Occurred()) SWIG_fail;
28852 arg4 = (double) SWIG_AsDouble(obj3);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 arg5 = (double) SWIG_AsDouble(obj4);
28855 if (PyErr_Occurred()) SWIG_fail;
28856 arg6 = (double) SWIG_AsDouble(obj5);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 if (obj6) {
28859 arg7 = (bool) SWIG_AsBool(obj6);
28860 if (PyErr_Occurred()) SWIG_fail;
28861 }
28862 {
28863 PyThreadState* __tstate = wxPyBeginAllowThreads();
28864 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
28865
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 {
28870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28871 }
28872 return resultobj;
28873 fail:
28874 return NULL;
28875 }
28876
28877
28878 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
28879 PyObject *resultobj;
28880 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28881 wxDC *arg2 = 0 ;
28882 double arg3 ;
28883 double arg4 ;
28884 double arg5 ;
28885 double arg6 ;
28886 bool arg7 = (bool) True ;
28887 PyObject * obj0 = 0 ;
28888 PyObject * obj1 = 0 ;
28889 PyObject * obj2 = 0 ;
28890 PyObject * obj3 = 0 ;
28891 PyObject * obj4 = 0 ;
28892 PyObject * obj5 = 0 ;
28893 PyObject * obj6 = 0 ;
28894 char *kwnames[] = {
28895 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28896 };
28897
28898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28902 SWIG_POINTER_EXCEPTION | 0)) == -1)
28903 SWIG_fail;
28904 if (arg2 == NULL) {
28905 PyErr_SetString(PyExc_TypeError,"null reference");
28906 SWIG_fail;
28907 }
28908 arg3 = (double) SWIG_AsDouble(obj2);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 arg4 = (double) SWIG_AsDouble(obj3);
28911 if (PyErr_Occurred()) SWIG_fail;
28912 arg5 = (double) SWIG_AsDouble(obj4);
28913 if (PyErr_Occurred()) SWIG_fail;
28914 arg6 = (double) SWIG_AsDouble(obj5);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 if (obj6) {
28917 arg7 = (bool) SWIG_AsBool(obj6);
28918 if (PyErr_Occurred()) SWIG_fail;
28919 }
28920 {
28921 PyThreadState* __tstate = wxPyBeginAllowThreads();
28922 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
28923
28924 wxPyEndAllowThreads(__tstate);
28925 if (PyErr_Occurred()) SWIG_fail;
28926 }
28927 Py_INCREF(Py_None); resultobj = Py_None;
28928 return resultobj;
28929 fail:
28930 return NULL;
28931 }
28932
28933
28934 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28935 PyObject *resultobj;
28936 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28937 bool arg2 ;
28938 double arg3 ;
28939 double arg4 ;
28940 int arg5 = (int) 0 ;
28941 int arg6 = (int) 0 ;
28942 PyObject * obj0 = 0 ;
28943 PyObject * obj1 = 0 ;
28944 PyObject * obj2 = 0 ;
28945 PyObject * obj3 = 0 ;
28946 PyObject * obj4 = 0 ;
28947 PyObject * obj5 = 0 ;
28948 char *kwnames[] = {
28949 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28950 };
28951
28952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28955 arg2 = (bool) SWIG_AsBool(obj1);
28956 if (PyErr_Occurred()) SWIG_fail;
28957 arg3 = (double) SWIG_AsDouble(obj2);
28958 if (PyErr_Occurred()) SWIG_fail;
28959 arg4 = (double) SWIG_AsDouble(obj3);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 if (obj4) {
28962 arg5 = (int) SWIG_AsInt(obj4);
28963 if (PyErr_Occurred()) SWIG_fail;
28964 }
28965 if (obj5) {
28966 arg6 = (int) SWIG_AsInt(obj5);
28967 if (PyErr_Occurred()) SWIG_fail;
28968 }
28969 {
28970 PyThreadState* __tstate = wxPyBeginAllowThreads();
28971 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
28972
28973 wxPyEndAllowThreads(__tstate);
28974 if (PyErr_Occurred()) SWIG_fail;
28975 }
28976 Py_INCREF(Py_None); resultobj = Py_None;
28977 return resultobj;
28978 fail:
28979 return NULL;
28980 }
28981
28982
28983 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28984 PyObject *resultobj;
28985 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28986 double arg2 ;
28987 double arg3 ;
28988 int arg4 = (int) 0 ;
28989 int arg5 = (int) 0 ;
28990 PyObject * obj0 = 0 ;
28991 PyObject * obj1 = 0 ;
28992 PyObject * obj2 = 0 ;
28993 PyObject * obj3 = 0 ;
28994 PyObject * obj4 = 0 ;
28995 char *kwnames[] = {
28996 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28997 };
28998
28999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29002 arg2 = (double) SWIG_AsDouble(obj1);
29003 if (PyErr_Occurred()) SWIG_fail;
29004 arg3 = (double) SWIG_AsDouble(obj2);
29005 if (PyErr_Occurred()) SWIG_fail;
29006 if (obj3) {
29007 arg4 = (int) SWIG_AsInt(obj3);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 if (obj4) {
29011 arg5 = (int) SWIG_AsInt(obj4);
29012 if (PyErr_Occurred()) SWIG_fail;
29013 }
29014 {
29015 PyThreadState* __tstate = wxPyBeginAllowThreads();
29016 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
29017
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 Py_INCREF(Py_None); resultobj = Py_None;
29022 return resultobj;
29023 fail:
29024 return NULL;
29025 }
29026
29027
29028 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29029 PyObject *resultobj;
29030 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29031 double arg2 ;
29032 double arg3 ;
29033 int arg4 = (int) 0 ;
29034 int arg5 = (int) 0 ;
29035 PyObject * obj0 = 0 ;
29036 PyObject * obj1 = 0 ;
29037 PyObject * obj2 = 0 ;
29038 PyObject * obj3 = 0 ;
29039 PyObject * obj4 = 0 ;
29040 char *kwnames[] = {
29041 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29042 };
29043
29044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29047 arg2 = (double) SWIG_AsDouble(obj1);
29048 if (PyErr_Occurred()) SWIG_fail;
29049 arg3 = (double) SWIG_AsDouble(obj2);
29050 if (PyErr_Occurred()) SWIG_fail;
29051 if (obj3) {
29052 arg4 = (int) SWIG_AsInt(obj3);
29053 if (PyErr_Occurred()) SWIG_fail;
29054 }
29055 if (obj4) {
29056 arg5 = (int) SWIG_AsInt(obj4);
29057 if (PyErr_Occurred()) SWIG_fail;
29058 }
29059 {
29060 PyThreadState* __tstate = wxPyBeginAllowThreads();
29061 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
29062
29063 wxPyEndAllowThreads(__tstate);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 }
29066 Py_INCREF(Py_None); resultobj = Py_None;
29067 return resultobj;
29068 fail:
29069 return NULL;
29070 }
29071
29072
29073 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29074 PyObject *resultobj;
29075 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29076 bool arg2 ;
29077 double arg3 ;
29078 double arg4 ;
29079 int arg5 = (int) 0 ;
29080 int arg6 = (int) 0 ;
29081 PyObject * obj0 = 0 ;
29082 PyObject * obj1 = 0 ;
29083 PyObject * obj2 = 0 ;
29084 PyObject * obj3 = 0 ;
29085 PyObject * obj4 = 0 ;
29086 PyObject * obj5 = 0 ;
29087 char *kwnames[] = {
29088 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29089 };
29090
29091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29094 arg2 = (bool) SWIG_AsBool(obj1);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 arg3 = (double) SWIG_AsDouble(obj2);
29097 if (PyErr_Occurred()) SWIG_fail;
29098 arg4 = (double) SWIG_AsDouble(obj3);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 if (obj4) {
29101 arg5 = (int) SWIG_AsInt(obj4);
29102 if (PyErr_Occurred()) SWIG_fail;
29103 }
29104 if (obj5) {
29105 arg6 = (int) SWIG_AsInt(obj5);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 {
29109 PyThreadState* __tstate = wxPyBeginAllowThreads();
29110 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29111
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 Py_INCREF(Py_None); resultobj = Py_None;
29116 return resultobj;
29117 fail:
29118 return NULL;
29119 }
29120
29121
29122 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29123 PyObject *resultobj;
29124 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29125 double arg2 ;
29126 double arg3 ;
29127 int arg4 = (int) 0 ;
29128 int arg5 = (int) 0 ;
29129 PyObject * obj0 = 0 ;
29130 PyObject * obj1 = 0 ;
29131 PyObject * obj2 = 0 ;
29132 PyObject * obj3 = 0 ;
29133 PyObject * obj4 = 0 ;
29134 char *kwnames[] = {
29135 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29136 };
29137
29138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29141 arg2 = (double) SWIG_AsDouble(obj1);
29142 if (PyErr_Occurred()) SWIG_fail;
29143 arg3 = (double) SWIG_AsDouble(obj2);
29144 if (PyErr_Occurred()) SWIG_fail;
29145 if (obj3) {
29146 arg4 = (int) SWIG_AsInt(obj3);
29147 if (PyErr_Occurred()) SWIG_fail;
29148 }
29149 if (obj4) {
29150 arg5 = (int) SWIG_AsInt(obj4);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 {
29154 PyThreadState* __tstate = wxPyBeginAllowThreads();
29155 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29156
29157 wxPyEndAllowThreads(__tstate);
29158 if (PyErr_Occurred()) SWIG_fail;
29159 }
29160 Py_INCREF(Py_None); resultobj = Py_None;
29161 return resultobj;
29162 fail:
29163 return NULL;
29164 }
29165
29166
29167 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29168 PyObject *resultobj;
29169 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29170 double arg2 ;
29171 double arg3 ;
29172 int arg4 = (int) 0 ;
29173 int arg5 = (int) 0 ;
29174 PyObject * obj0 = 0 ;
29175 PyObject * obj1 = 0 ;
29176 PyObject * obj2 = 0 ;
29177 PyObject * obj3 = 0 ;
29178 PyObject * obj4 = 0 ;
29179 char *kwnames[] = {
29180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29181 };
29182
29183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29186 arg2 = (double) SWIG_AsDouble(obj1);
29187 if (PyErr_Occurred()) SWIG_fail;
29188 arg3 = (double) SWIG_AsDouble(obj2);
29189 if (PyErr_Occurred()) SWIG_fail;
29190 if (obj3) {
29191 arg4 = (int) SWIG_AsInt(obj3);
29192 if (PyErr_Occurred()) SWIG_fail;
29193 }
29194 if (obj4) {
29195 arg5 = (int) SWIG_AsInt(obj4);
29196 if (PyErr_Occurred()) SWIG_fail;
29197 }
29198 {
29199 PyThreadState* __tstate = wxPyBeginAllowThreads();
29200 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29201
29202 wxPyEndAllowThreads(__tstate);
29203 if (PyErr_Occurred()) SWIG_fail;
29204 }
29205 Py_INCREF(Py_None); resultobj = Py_None;
29206 return resultobj;
29207 fail:
29208 return NULL;
29209 }
29210
29211
29212 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
29213 PyObject *resultobj;
29214 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29215 wxDC *arg2 = 0 ;
29216 double arg3 ;
29217 double arg4 ;
29218 double arg5 ;
29219 double arg6 ;
29220 PyObject * obj0 = 0 ;
29221 PyObject * obj1 = 0 ;
29222 PyObject * obj2 = 0 ;
29223 PyObject * obj3 = 0 ;
29224 PyObject * obj4 = 0 ;
29225 PyObject * obj5 = 0 ;
29226 char *kwnames[] = {
29227 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29228 };
29229
29230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29234 SWIG_POINTER_EXCEPTION | 0)) == -1)
29235 SWIG_fail;
29236 if (arg2 == NULL) {
29237 PyErr_SetString(PyExc_TypeError,"null reference");
29238 SWIG_fail;
29239 }
29240 arg3 = (double) SWIG_AsDouble(obj2);
29241 if (PyErr_Occurred()) SWIG_fail;
29242 arg4 = (double) SWIG_AsDouble(obj3);
29243 if (PyErr_Occurred()) SWIG_fail;
29244 arg5 = (double) SWIG_AsDouble(obj4);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 arg6 = (double) SWIG_AsDouble(obj5);
29247 if (PyErr_Occurred()) SWIG_fail;
29248 {
29249 PyThreadState* __tstate = wxPyBeginAllowThreads();
29250 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29251
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
29255 Py_INCREF(Py_None); resultobj = Py_None;
29256 return resultobj;
29257 fail:
29258 return NULL;
29259 }
29260
29261
29262 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29263 PyObject *resultobj;
29264 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29265 wxDC *arg2 = 0 ;
29266 PyObject * obj0 = 0 ;
29267 PyObject * obj1 = 0 ;
29268 char *kwnames[] = {
29269 (char *) "self",(char *) "dc", NULL
29270 };
29271
29272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
29273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29276 SWIG_POINTER_EXCEPTION | 0)) == -1)
29277 SWIG_fail;
29278 if (arg2 == NULL) {
29279 PyErr_SetString(PyExc_TypeError,"null reference");
29280 SWIG_fail;
29281 }
29282 {
29283 PyThreadState* __tstate = wxPyBeginAllowThreads();
29284 (arg1)->base_OnDrawControlPoints(*arg2);
29285
29286 wxPyEndAllowThreads(__tstate);
29287 if (PyErr_Occurred()) SWIG_fail;
29288 }
29289 Py_INCREF(Py_None); resultobj = Py_None;
29290 return resultobj;
29291 fail:
29292 return NULL;
29293 }
29294
29295
29296 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29297 PyObject *resultobj;
29298 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29299 wxDC *arg2 = 0 ;
29300 PyObject * obj0 = 0 ;
29301 PyObject * obj1 = 0 ;
29302 char *kwnames[] = {
29303 (char *) "self",(char *) "dc", NULL
29304 };
29305
29306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
29307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29310 SWIG_POINTER_EXCEPTION | 0)) == -1)
29311 SWIG_fail;
29312 if (arg2 == NULL) {
29313 PyErr_SetString(PyExc_TypeError,"null reference");
29314 SWIG_fail;
29315 }
29316 {
29317 PyThreadState* __tstate = wxPyBeginAllowThreads();
29318 (arg1)->base_OnEraseControlPoints(*arg2);
29319
29320 wxPyEndAllowThreads(__tstate);
29321 if (PyErr_Occurred()) SWIG_fail;
29322 }
29323 Py_INCREF(Py_None); resultobj = Py_None;
29324 return resultobj;
29325 fail:
29326 return NULL;
29327 }
29328
29329
29330 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29331 PyObject *resultobj;
29332 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29333 wxDC *arg2 = 0 ;
29334 bool arg3 = (bool) True ;
29335 PyObject * obj0 = 0 ;
29336 PyObject * obj1 = 0 ;
29337 PyObject * obj2 = 0 ;
29338 char *kwnames[] = {
29339 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29340 };
29341
29342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
29343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29346 SWIG_POINTER_EXCEPTION | 0)) == -1)
29347 SWIG_fail;
29348 if (arg2 == NULL) {
29349 PyErr_SetString(PyExc_TypeError,"null reference");
29350 SWIG_fail;
29351 }
29352 if (obj2) {
29353 arg3 = (bool) SWIG_AsBool(obj2);
29354 if (PyErr_Occurred()) SWIG_fail;
29355 }
29356 {
29357 PyThreadState* __tstate = wxPyBeginAllowThreads();
29358 (arg1)->base_OnMoveLink(*arg2,arg3);
29359
29360 wxPyEndAllowThreads(__tstate);
29361 if (PyErr_Occurred()) SWIG_fail;
29362 }
29363 Py_INCREF(Py_None); resultobj = Py_None;
29364 return resultobj;
29365 fail:
29366 return NULL;
29367 }
29368
29369
29370 static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29371 PyObject *resultobj;
29372 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29373 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29374 bool arg3 ;
29375 double arg4 ;
29376 double arg5 ;
29377 int arg6 = (int) 0 ;
29378 int arg7 = (int) 0 ;
29379 PyObject * obj0 = 0 ;
29380 PyObject * obj1 = 0 ;
29381 PyObject * obj2 = 0 ;
29382 PyObject * obj3 = 0 ;
29383 PyObject * obj4 = 0 ;
29384 PyObject * obj5 = 0 ;
29385 PyObject * obj6 = 0 ;
29386 char *kwnames[] = {
29387 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29388 };
29389
29390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29395 arg3 = (bool) SWIG_AsBool(obj2);
29396 if (PyErr_Occurred()) SWIG_fail;
29397 arg4 = (double) SWIG_AsDouble(obj3);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 arg5 = (double) SWIG_AsDouble(obj4);
29400 if (PyErr_Occurred()) SWIG_fail;
29401 if (obj5) {
29402 arg6 = (int) SWIG_AsInt(obj5);
29403 if (PyErr_Occurred()) SWIG_fail;
29404 }
29405 if (obj6) {
29406 arg7 = (int) SWIG_AsInt(obj6);
29407 if (PyErr_Occurred()) SWIG_fail;
29408 }
29409 {
29410 PyThreadState* __tstate = wxPyBeginAllowThreads();
29411 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
29412
29413 wxPyEndAllowThreads(__tstate);
29414 if (PyErr_Occurred()) SWIG_fail;
29415 }
29416 Py_INCREF(Py_None); resultobj = Py_None;
29417 return resultobj;
29418 fail:
29419 return NULL;
29420 }
29421
29422
29423 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29424 PyObject *resultobj;
29425 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29426 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29427 double arg3 ;
29428 double arg4 ;
29429 int arg5 = (int) 0 ;
29430 int arg6 = (int) 0 ;
29431 PyObject * obj0 = 0 ;
29432 PyObject * obj1 = 0 ;
29433 PyObject * obj2 = 0 ;
29434 PyObject * obj3 = 0 ;
29435 PyObject * obj4 = 0 ;
29436 PyObject * obj5 = 0 ;
29437 char *kwnames[] = {
29438 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29439 };
29440
29441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29446 arg3 = (double) SWIG_AsDouble(obj2);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 arg4 = (double) SWIG_AsDouble(obj3);
29449 if (PyErr_Occurred()) SWIG_fail;
29450 if (obj4) {
29451 arg5 = (int) SWIG_AsInt(obj4);
29452 if (PyErr_Occurred()) SWIG_fail;
29453 }
29454 if (obj5) {
29455 arg6 = (int) SWIG_AsInt(obj5);
29456 if (PyErr_Occurred()) SWIG_fail;
29457 }
29458 {
29459 PyThreadState* __tstate = wxPyBeginAllowThreads();
29460 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
29461
29462 wxPyEndAllowThreads(__tstate);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 Py_INCREF(Py_None); resultobj = Py_None;
29466 return resultobj;
29467 fail:
29468 return NULL;
29469 }
29470
29471
29472 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29473 PyObject *resultobj;
29474 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29475 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29476 double arg3 ;
29477 double arg4 ;
29478 int arg5 = (int) 0 ;
29479 int arg6 = (int) 0 ;
29480 PyObject * obj0 = 0 ;
29481 PyObject * obj1 = 0 ;
29482 PyObject * obj2 = 0 ;
29483 PyObject * obj3 = 0 ;
29484 PyObject * obj4 = 0 ;
29485 PyObject * obj5 = 0 ;
29486 char *kwnames[] = {
29487 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29488 };
29489
29490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29495 arg3 = (double) SWIG_AsDouble(obj2);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 arg4 = (double) SWIG_AsDouble(obj3);
29498 if (PyErr_Occurred()) SWIG_fail;
29499 if (obj4) {
29500 arg5 = (int) SWIG_AsInt(obj4);
29501 if (PyErr_Occurred()) SWIG_fail;
29502 }
29503 if (obj5) {
29504 arg6 = (int) SWIG_AsInt(obj5);
29505 if (PyErr_Occurred()) SWIG_fail;
29506 }
29507 {
29508 PyThreadState* __tstate = wxPyBeginAllowThreads();
29509 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
29510
29511 wxPyEndAllowThreads(__tstate);
29512 if (PyErr_Occurred()) SWIG_fail;
29513 }
29514 Py_INCREF(Py_None); resultobj = Py_None;
29515 return resultobj;
29516 fail:
29517 return NULL;
29518 }
29519
29520
29521 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29522 PyObject *resultobj;
29523 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29524 double arg2 ;
29525 double arg3 ;
29526 PyObject * obj0 = 0 ;
29527 PyObject * obj1 = 0 ;
29528 PyObject * obj2 = 0 ;
29529 char *kwnames[] = {
29530 (char *) "self",(char *) "w",(char *) "h", NULL
29531 };
29532
29533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29536 arg2 = (double) SWIG_AsDouble(obj1);
29537 if (PyErr_Occurred()) SWIG_fail;
29538 arg3 = (double) SWIG_AsDouble(obj2);
29539 if (PyErr_Occurred()) SWIG_fail;
29540 {
29541 PyThreadState* __tstate = wxPyBeginAllowThreads();
29542 (arg1)->base_OnBeginSize(arg2,arg3);
29543
29544 wxPyEndAllowThreads(__tstate);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 }
29547 Py_INCREF(Py_None); resultobj = Py_None;
29548 return resultobj;
29549 fail:
29550 return NULL;
29551 }
29552
29553
29554 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29555 PyObject *resultobj;
29556 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29557 double arg2 ;
29558 double arg3 ;
29559 PyObject * obj0 = 0 ;
29560 PyObject * obj1 = 0 ;
29561 PyObject * obj2 = 0 ;
29562 char *kwnames[] = {
29563 (char *) "self",(char *) "w",(char *) "h", NULL
29564 };
29565
29566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29569 arg2 = (double) SWIG_AsDouble(obj1);
29570 if (PyErr_Occurred()) SWIG_fail;
29571 arg3 = (double) SWIG_AsDouble(obj2);
29572 if (PyErr_Occurred()) SWIG_fail;
29573 {
29574 PyThreadState* __tstate = wxPyBeginAllowThreads();
29575 (arg1)->base_OnEndSize(arg2,arg3);
29576
29577 wxPyEndAllowThreads(__tstate);
29578 if (PyErr_Occurred()) SWIG_fail;
29579 }
29580 Py_INCREF(Py_None); resultobj = Py_None;
29581 return resultobj;
29582 fail:
29583 return NULL;
29584 }
29585
29586
29587 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
29588 PyObject *obj;
29589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29590 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
29591 Py_INCREF(obj);
29592 return Py_BuildValue((char *)"");
29593 }
29594 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
29595 PyObject *resultobj;
29596 double arg1 = (double) 0.0 ;
29597 double arg2 = (double) 0.0 ;
29598 wxPyTextShape *result;
29599 PyObject * obj0 = 0 ;
29600 PyObject * obj1 = 0 ;
29601 char *kwnames[] = {
29602 (char *) "width",(char *) "height", NULL
29603 };
29604
29605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
29606 if (obj0) {
29607 arg1 = (double) SWIG_AsDouble(obj0);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
29610 if (obj1) {
29611 arg2 = (double) SWIG_AsDouble(obj1);
29612 if (PyErr_Occurred()) SWIG_fail;
29613 }
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
29617
29618 wxPyEndAllowThreads(__tstate);
29619 if (PyErr_Occurred()) SWIG_fail;
29620 }
29621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
29622 return resultobj;
29623 fail:
29624 return NULL;
29625 }
29626
29627
29628 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29629 PyObject *resultobj;
29630 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29631 PyObject *arg2 = (PyObject *) 0 ;
29632 PyObject *arg3 = (PyObject *) 0 ;
29633 PyObject * obj0 = 0 ;
29634 PyObject * obj1 = 0 ;
29635 PyObject * obj2 = 0 ;
29636 char *kwnames[] = {
29637 (char *) "self",(char *) "self",(char *) "_class", NULL
29638 };
29639
29640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29643 arg2 = obj1;
29644 arg3 = obj2;
29645 {
29646 PyThreadState* __tstate = wxPyBeginAllowThreads();
29647 (arg1)->_setCallbackInfo(arg2,arg3);
29648
29649 wxPyEndAllowThreads(__tstate);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
29652 Py_INCREF(Py_None); resultobj = Py_None;
29653 return resultobj;
29654 fail:
29655 return NULL;
29656 }
29657
29658
29659 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
29660 PyObject *resultobj;
29661 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29662 PyObject * obj0 = 0 ;
29663 char *kwnames[] = {
29664 (char *) "self", NULL
29665 };
29666
29667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
29668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29670 {
29671 PyThreadState* __tstate = wxPyBeginAllowThreads();
29672 (arg1)->base_OnDelete();
29673
29674 wxPyEndAllowThreads(__tstate);
29675 if (PyErr_Occurred()) SWIG_fail;
29676 }
29677 Py_INCREF(Py_None); resultobj = Py_None;
29678 return resultobj;
29679 fail:
29680 return NULL;
29681 }
29682
29683
29684 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
29685 PyObject *resultobj;
29686 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29687 wxDC *arg2 = 0 ;
29688 PyObject * obj0 = 0 ;
29689 PyObject * obj1 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self",(char *) "dc", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
29695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29698 SWIG_POINTER_EXCEPTION | 0)) == -1)
29699 SWIG_fail;
29700 if (arg2 == NULL) {
29701 PyErr_SetString(PyExc_TypeError,"null reference");
29702 SWIG_fail;
29703 }
29704 {
29705 PyThreadState* __tstate = wxPyBeginAllowThreads();
29706 (arg1)->base_OnDraw(*arg2);
29707
29708 wxPyEndAllowThreads(__tstate);
29709 if (PyErr_Occurred()) SWIG_fail;
29710 }
29711 Py_INCREF(Py_None); resultobj = Py_None;
29712 return resultobj;
29713 fail:
29714 return NULL;
29715 }
29716
29717
29718 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29719 PyObject *resultobj;
29720 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29721 wxDC *arg2 = 0 ;
29722 PyObject * obj0 = 0 ;
29723 PyObject * obj1 = 0 ;
29724 char *kwnames[] = {
29725 (char *) "self",(char *) "dc", NULL
29726 };
29727
29728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
29729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29732 SWIG_POINTER_EXCEPTION | 0)) == -1)
29733 SWIG_fail;
29734 if (arg2 == NULL) {
29735 PyErr_SetString(PyExc_TypeError,"null reference");
29736 SWIG_fail;
29737 }
29738 {
29739 PyThreadState* __tstate = wxPyBeginAllowThreads();
29740 (arg1)->base_OnDrawContents(*arg2);
29741
29742 wxPyEndAllowThreads(__tstate);
29743 if (PyErr_Occurred()) SWIG_fail;
29744 }
29745 Py_INCREF(Py_None); resultobj = Py_None;
29746 return resultobj;
29747 fail:
29748 return NULL;
29749 }
29750
29751
29752 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
29753 PyObject *resultobj;
29754 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29755 wxDC *arg2 = 0 ;
29756 bool arg3 = (bool) FALSE ;
29757 PyObject * obj0 = 0 ;
29758 PyObject * obj1 = 0 ;
29759 PyObject * obj2 = 0 ;
29760 char *kwnames[] = {
29761 (char *) "self",(char *) "dc",(char *) "erase", NULL
29762 };
29763
29764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
29765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29768 SWIG_POINTER_EXCEPTION | 0)) == -1)
29769 SWIG_fail;
29770 if (arg2 == NULL) {
29771 PyErr_SetString(PyExc_TypeError,"null reference");
29772 SWIG_fail;
29773 }
29774 if (obj2) {
29775 arg3 = (bool) SWIG_AsBool(obj2);
29776 if (PyErr_Occurred()) SWIG_fail;
29777 }
29778 {
29779 PyThreadState* __tstate = wxPyBeginAllowThreads();
29780 (arg1)->base_OnDrawBranches(*arg2,arg3);
29781
29782 wxPyEndAllowThreads(__tstate);
29783 if (PyErr_Occurred()) SWIG_fail;
29784 }
29785 Py_INCREF(Py_None); resultobj = Py_None;
29786 return resultobj;
29787 fail:
29788 return NULL;
29789 }
29790
29791
29792 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
29793 PyObject *resultobj;
29794 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29795 wxDC *arg2 = 0 ;
29796 PyObject * obj0 = 0 ;
29797 PyObject * obj1 = 0 ;
29798 char *kwnames[] = {
29799 (char *) "self",(char *) "dc", NULL
29800 };
29801
29802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
29803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29806 SWIG_POINTER_EXCEPTION | 0)) == -1)
29807 SWIG_fail;
29808 if (arg2 == NULL) {
29809 PyErr_SetString(PyExc_TypeError,"null reference");
29810 SWIG_fail;
29811 }
29812 {
29813 PyThreadState* __tstate = wxPyBeginAllowThreads();
29814 (arg1)->base_OnMoveLinks(*arg2);
29815
29816 wxPyEndAllowThreads(__tstate);
29817 if (PyErr_Occurred()) SWIG_fail;
29818 }
29819 Py_INCREF(Py_None); resultobj = Py_None;
29820 return resultobj;
29821 fail:
29822 return NULL;
29823 }
29824
29825
29826 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
29827 PyObject *resultobj;
29828 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29829 wxDC *arg2 = 0 ;
29830 PyObject * obj0 = 0 ;
29831 PyObject * obj1 = 0 ;
29832 char *kwnames[] = {
29833 (char *) "self",(char *) "dc", NULL
29834 };
29835
29836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
29837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29840 SWIG_POINTER_EXCEPTION | 0)) == -1)
29841 SWIG_fail;
29842 if (arg2 == NULL) {
29843 PyErr_SetString(PyExc_TypeError,"null reference");
29844 SWIG_fail;
29845 }
29846 {
29847 PyThreadState* __tstate = wxPyBeginAllowThreads();
29848 (arg1)->base_OnErase(*arg2);
29849
29850 wxPyEndAllowThreads(__tstate);
29851 if (PyErr_Occurred()) SWIG_fail;
29852 }
29853 Py_INCREF(Py_None); resultobj = Py_None;
29854 return resultobj;
29855 fail:
29856 return NULL;
29857 }
29858
29859
29860 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29861 PyObject *resultobj;
29862 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29863 wxDC *arg2 = 0 ;
29864 PyObject * obj0 = 0 ;
29865 PyObject * obj1 = 0 ;
29866 char *kwnames[] = {
29867 (char *) "self",(char *) "dc", NULL
29868 };
29869
29870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
29871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29874 SWIG_POINTER_EXCEPTION | 0)) == -1)
29875 SWIG_fail;
29876 if (arg2 == NULL) {
29877 PyErr_SetString(PyExc_TypeError,"null reference");
29878 SWIG_fail;
29879 }
29880 {
29881 PyThreadState* __tstate = wxPyBeginAllowThreads();
29882 (arg1)->base_OnEraseContents(*arg2);
29883
29884 wxPyEndAllowThreads(__tstate);
29885 if (PyErr_Occurred()) SWIG_fail;
29886 }
29887 Py_INCREF(Py_None); resultobj = Py_None;
29888 return resultobj;
29889 fail:
29890 return NULL;
29891 }
29892
29893
29894 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
29895 PyObject *resultobj;
29896 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29897 wxDC *arg2 = 0 ;
29898 PyObject * obj0 = 0 ;
29899 PyObject * obj1 = 0 ;
29900 char *kwnames[] = {
29901 (char *) "self",(char *) "dc", NULL
29902 };
29903
29904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
29905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29908 SWIG_POINTER_EXCEPTION | 0)) == -1)
29909 SWIG_fail;
29910 if (arg2 == NULL) {
29911 PyErr_SetString(PyExc_TypeError,"null reference");
29912 SWIG_fail;
29913 }
29914 {
29915 PyThreadState* __tstate = wxPyBeginAllowThreads();
29916 (arg1)->base_OnHighlight(*arg2);
29917
29918 wxPyEndAllowThreads(__tstate);
29919 if (PyErr_Occurred()) SWIG_fail;
29920 }
29921 Py_INCREF(Py_None); resultobj = Py_None;
29922 return resultobj;
29923 fail:
29924 return NULL;
29925 }
29926
29927
29928 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29929 PyObject *resultobj;
29930 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29931 double arg2 ;
29932 double arg3 ;
29933 int arg4 = (int) 0 ;
29934 int arg5 = (int) 0 ;
29935 PyObject * obj0 = 0 ;
29936 PyObject * obj1 = 0 ;
29937 PyObject * obj2 = 0 ;
29938 PyObject * obj3 = 0 ;
29939 PyObject * obj4 = 0 ;
29940 char *kwnames[] = {
29941 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29942 };
29943
29944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29947 arg2 = (double) SWIG_AsDouble(obj1);
29948 if (PyErr_Occurred()) SWIG_fail;
29949 arg3 = (double) SWIG_AsDouble(obj2);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 if (obj3) {
29952 arg4 = (int) SWIG_AsInt(obj3);
29953 if (PyErr_Occurred()) SWIG_fail;
29954 }
29955 if (obj4) {
29956 arg5 = (int) SWIG_AsInt(obj4);
29957 if (PyErr_Occurred()) SWIG_fail;
29958 }
29959 {
29960 PyThreadState* __tstate = wxPyBeginAllowThreads();
29961 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
29962
29963 wxPyEndAllowThreads(__tstate);
29964 if (PyErr_Occurred()) SWIG_fail;
29965 }
29966 Py_INCREF(Py_None); resultobj = Py_None;
29967 return resultobj;
29968 fail:
29969 return NULL;
29970 }
29971
29972
29973 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29974 PyObject *resultobj;
29975 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29976 double arg2 ;
29977 double arg3 ;
29978 int arg4 = (int) 0 ;
29979 int arg5 = (int) 0 ;
29980 PyObject * obj0 = 0 ;
29981 PyObject * obj1 = 0 ;
29982 PyObject * obj2 = 0 ;
29983 PyObject * obj3 = 0 ;
29984 PyObject * obj4 = 0 ;
29985 char *kwnames[] = {
29986 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29987 };
29988
29989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29992 arg2 = (double) SWIG_AsDouble(obj1);
29993 if (PyErr_Occurred()) SWIG_fail;
29994 arg3 = (double) SWIG_AsDouble(obj2);
29995 if (PyErr_Occurred()) SWIG_fail;
29996 if (obj3) {
29997 arg4 = (int) SWIG_AsInt(obj3);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 if (obj4) {
30001 arg5 = (int) SWIG_AsInt(obj4);
30002 if (PyErr_Occurred()) SWIG_fail;
30003 }
30004 {
30005 PyThreadState* __tstate = wxPyBeginAllowThreads();
30006 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30007
30008 wxPyEndAllowThreads(__tstate);
30009 if (PyErr_Occurred()) SWIG_fail;
30010 }
30011 Py_INCREF(Py_None); resultobj = Py_None;
30012 return resultobj;
30013 fail:
30014 return NULL;
30015 }
30016
30017
30018 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30019 PyObject *resultobj;
30020 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30021 double arg2 ;
30022 double arg3 ;
30023 int arg4 = (int) 0 ;
30024 int arg5 = (int) 0 ;
30025 PyObject * obj0 = 0 ;
30026 PyObject * obj1 = 0 ;
30027 PyObject * obj2 = 0 ;
30028 PyObject * obj3 = 0 ;
30029 PyObject * obj4 = 0 ;
30030 char *kwnames[] = {
30031 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30032 };
30033
30034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30037 arg2 = (double) SWIG_AsDouble(obj1);
30038 if (PyErr_Occurred()) SWIG_fail;
30039 arg3 = (double) SWIG_AsDouble(obj2);
30040 if (PyErr_Occurred()) SWIG_fail;
30041 if (obj3) {
30042 arg4 = (int) SWIG_AsInt(obj3);
30043 if (PyErr_Occurred()) SWIG_fail;
30044 }
30045 if (obj4) {
30046 arg5 = (int) SWIG_AsInt(obj4);
30047 if (PyErr_Occurred()) SWIG_fail;
30048 }
30049 {
30050 PyThreadState* __tstate = wxPyBeginAllowThreads();
30051 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30052
30053 wxPyEndAllowThreads(__tstate);
30054 if (PyErr_Occurred()) SWIG_fail;
30055 }
30056 Py_INCREF(Py_None); resultobj = Py_None;
30057 return resultobj;
30058 fail:
30059 return NULL;
30060 }
30061
30062
30063 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30064 PyObject *resultobj;
30065 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30066 double arg2 ;
30067 double arg3 ;
30068 PyObject * obj0 = 0 ;
30069 PyObject * obj1 = 0 ;
30070 PyObject * obj2 = 0 ;
30071 char *kwnames[] = {
30072 (char *) "self",(char *) "x",(char *) "y", NULL
30073 };
30074
30075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30078 arg2 = (double) SWIG_AsDouble(obj1);
30079 if (PyErr_Occurred()) SWIG_fail;
30080 arg3 = (double) SWIG_AsDouble(obj2);
30081 if (PyErr_Occurred()) SWIG_fail;
30082 {
30083 PyThreadState* __tstate = wxPyBeginAllowThreads();
30084 (arg1)->base_OnSize(arg2,arg3);
30085
30086 wxPyEndAllowThreads(__tstate);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 Py_INCREF(Py_None); resultobj = Py_None;
30090 return resultobj;
30091 fail:
30092 return NULL;
30093 }
30094
30095
30096 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
30097 PyObject *resultobj;
30098 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30099 wxDC *arg2 = 0 ;
30100 double arg3 ;
30101 double arg4 ;
30102 double arg5 ;
30103 double arg6 ;
30104 bool arg7 = (bool) True ;
30105 bool result;
30106 PyObject * obj0 = 0 ;
30107 PyObject * obj1 = 0 ;
30108 PyObject * obj2 = 0 ;
30109 PyObject * obj3 = 0 ;
30110 PyObject * obj4 = 0 ;
30111 PyObject * obj5 = 0 ;
30112 PyObject * obj6 = 0 ;
30113 char *kwnames[] = {
30114 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30115 };
30116
30117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30121 SWIG_POINTER_EXCEPTION | 0)) == -1)
30122 SWIG_fail;
30123 if (arg2 == NULL) {
30124 PyErr_SetString(PyExc_TypeError,"null reference");
30125 SWIG_fail;
30126 }
30127 arg3 = (double) SWIG_AsDouble(obj2);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 arg4 = (double) SWIG_AsDouble(obj3);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 arg5 = (double) SWIG_AsDouble(obj4);
30132 if (PyErr_Occurred()) SWIG_fail;
30133 arg6 = (double) SWIG_AsDouble(obj5);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 if (obj6) {
30136 arg7 = (bool) SWIG_AsBool(obj6);
30137 if (PyErr_Occurred()) SWIG_fail;
30138 }
30139 {
30140 PyThreadState* __tstate = wxPyBeginAllowThreads();
30141 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30142
30143 wxPyEndAllowThreads(__tstate);
30144 if (PyErr_Occurred()) SWIG_fail;
30145 }
30146 {
30147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30148 }
30149 return resultobj;
30150 fail:
30151 return NULL;
30152 }
30153
30154
30155 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
30156 PyObject *resultobj;
30157 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30158 wxDC *arg2 = 0 ;
30159 double arg3 ;
30160 double arg4 ;
30161 double arg5 ;
30162 double arg6 ;
30163 bool arg7 = (bool) True ;
30164 PyObject * obj0 = 0 ;
30165 PyObject * obj1 = 0 ;
30166 PyObject * obj2 = 0 ;
30167 PyObject * obj3 = 0 ;
30168 PyObject * obj4 = 0 ;
30169 PyObject * obj5 = 0 ;
30170 PyObject * obj6 = 0 ;
30171 char *kwnames[] = {
30172 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30173 };
30174
30175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30179 SWIG_POINTER_EXCEPTION | 0)) == -1)
30180 SWIG_fail;
30181 if (arg2 == NULL) {
30182 PyErr_SetString(PyExc_TypeError,"null reference");
30183 SWIG_fail;
30184 }
30185 arg3 = (double) SWIG_AsDouble(obj2);
30186 if (PyErr_Occurred()) SWIG_fail;
30187 arg4 = (double) SWIG_AsDouble(obj3);
30188 if (PyErr_Occurred()) SWIG_fail;
30189 arg5 = (double) SWIG_AsDouble(obj4);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 arg6 = (double) SWIG_AsDouble(obj5);
30192 if (PyErr_Occurred()) SWIG_fail;
30193 if (obj6) {
30194 arg7 = (bool) SWIG_AsBool(obj6);
30195 if (PyErr_Occurred()) SWIG_fail;
30196 }
30197 {
30198 PyThreadState* __tstate = wxPyBeginAllowThreads();
30199 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30200
30201 wxPyEndAllowThreads(__tstate);
30202 if (PyErr_Occurred()) SWIG_fail;
30203 }
30204 Py_INCREF(Py_None); resultobj = Py_None;
30205 return resultobj;
30206 fail:
30207 return NULL;
30208 }
30209
30210
30211 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30212 PyObject *resultobj;
30213 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30214 bool arg2 ;
30215 double arg3 ;
30216 double arg4 ;
30217 int arg5 = (int) 0 ;
30218 int arg6 = (int) 0 ;
30219 PyObject * obj0 = 0 ;
30220 PyObject * obj1 = 0 ;
30221 PyObject * obj2 = 0 ;
30222 PyObject * obj3 = 0 ;
30223 PyObject * obj4 = 0 ;
30224 PyObject * obj5 = 0 ;
30225 char *kwnames[] = {
30226 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30227 };
30228
30229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30232 arg2 = (bool) SWIG_AsBool(obj1);
30233 if (PyErr_Occurred()) SWIG_fail;
30234 arg3 = (double) SWIG_AsDouble(obj2);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 arg4 = (double) SWIG_AsDouble(obj3);
30237 if (PyErr_Occurred()) SWIG_fail;
30238 if (obj4) {
30239 arg5 = (int) SWIG_AsInt(obj4);
30240 if (PyErr_Occurred()) SWIG_fail;
30241 }
30242 if (obj5) {
30243 arg6 = (int) SWIG_AsInt(obj5);
30244 if (PyErr_Occurred()) SWIG_fail;
30245 }
30246 {
30247 PyThreadState* __tstate = wxPyBeginAllowThreads();
30248 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
30249
30250 wxPyEndAllowThreads(__tstate);
30251 if (PyErr_Occurred()) SWIG_fail;
30252 }
30253 Py_INCREF(Py_None); resultobj = Py_None;
30254 return resultobj;
30255 fail:
30256 return NULL;
30257 }
30258
30259
30260 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30261 PyObject *resultobj;
30262 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30263 double arg2 ;
30264 double arg3 ;
30265 int arg4 = (int) 0 ;
30266 int arg5 = (int) 0 ;
30267 PyObject * obj0 = 0 ;
30268 PyObject * obj1 = 0 ;
30269 PyObject * obj2 = 0 ;
30270 PyObject * obj3 = 0 ;
30271 PyObject * obj4 = 0 ;
30272 char *kwnames[] = {
30273 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30274 };
30275
30276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30279 arg2 = (double) SWIG_AsDouble(obj1);
30280 if (PyErr_Occurred()) SWIG_fail;
30281 arg3 = (double) SWIG_AsDouble(obj2);
30282 if (PyErr_Occurred()) SWIG_fail;
30283 if (obj3) {
30284 arg4 = (int) SWIG_AsInt(obj3);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 if (obj4) {
30288 arg5 = (int) SWIG_AsInt(obj4);
30289 if (PyErr_Occurred()) SWIG_fail;
30290 }
30291 {
30292 PyThreadState* __tstate = wxPyBeginAllowThreads();
30293 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
30294
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 Py_INCREF(Py_None); resultobj = Py_None;
30299 return resultobj;
30300 fail:
30301 return NULL;
30302 }
30303
30304
30305 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30306 PyObject *resultobj;
30307 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30308 double arg2 ;
30309 double arg3 ;
30310 int arg4 = (int) 0 ;
30311 int arg5 = (int) 0 ;
30312 PyObject * obj0 = 0 ;
30313 PyObject * obj1 = 0 ;
30314 PyObject * obj2 = 0 ;
30315 PyObject * obj3 = 0 ;
30316 PyObject * obj4 = 0 ;
30317 char *kwnames[] = {
30318 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30319 };
30320
30321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30324 arg2 = (double) SWIG_AsDouble(obj1);
30325 if (PyErr_Occurred()) SWIG_fail;
30326 arg3 = (double) SWIG_AsDouble(obj2);
30327 if (PyErr_Occurred()) SWIG_fail;
30328 if (obj3) {
30329 arg4 = (int) SWIG_AsInt(obj3);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 if (obj4) {
30333 arg5 = (int) SWIG_AsInt(obj4);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
30336 {
30337 PyThreadState* __tstate = wxPyBeginAllowThreads();
30338 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
30339
30340 wxPyEndAllowThreads(__tstate);
30341 if (PyErr_Occurred()) SWIG_fail;
30342 }
30343 Py_INCREF(Py_None); resultobj = Py_None;
30344 return resultobj;
30345 fail:
30346 return NULL;
30347 }
30348
30349
30350 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30351 PyObject *resultobj;
30352 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30353 bool arg2 ;
30354 double arg3 ;
30355 double arg4 ;
30356 int arg5 = (int) 0 ;
30357 int arg6 = (int) 0 ;
30358 PyObject * obj0 = 0 ;
30359 PyObject * obj1 = 0 ;
30360 PyObject * obj2 = 0 ;
30361 PyObject * obj3 = 0 ;
30362 PyObject * obj4 = 0 ;
30363 PyObject * obj5 = 0 ;
30364 char *kwnames[] = {
30365 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30366 };
30367
30368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30371 arg2 = (bool) SWIG_AsBool(obj1);
30372 if (PyErr_Occurred()) SWIG_fail;
30373 arg3 = (double) SWIG_AsDouble(obj2);
30374 if (PyErr_Occurred()) SWIG_fail;
30375 arg4 = (double) SWIG_AsDouble(obj3);
30376 if (PyErr_Occurred()) SWIG_fail;
30377 if (obj4) {
30378 arg5 = (int) SWIG_AsInt(obj4);
30379 if (PyErr_Occurred()) SWIG_fail;
30380 }
30381 if (obj5) {
30382 arg6 = (int) SWIG_AsInt(obj5);
30383 if (PyErr_Occurred()) SWIG_fail;
30384 }
30385 {
30386 PyThreadState* __tstate = wxPyBeginAllowThreads();
30387 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
30388
30389 wxPyEndAllowThreads(__tstate);
30390 if (PyErr_Occurred()) SWIG_fail;
30391 }
30392 Py_INCREF(Py_None); resultobj = Py_None;
30393 return resultobj;
30394 fail:
30395 return NULL;
30396 }
30397
30398
30399 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30400 PyObject *resultobj;
30401 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30402 double arg2 ;
30403 double arg3 ;
30404 int arg4 = (int) 0 ;
30405 int arg5 = (int) 0 ;
30406 PyObject * obj0 = 0 ;
30407 PyObject * obj1 = 0 ;
30408 PyObject * obj2 = 0 ;
30409 PyObject * obj3 = 0 ;
30410 PyObject * obj4 = 0 ;
30411 char *kwnames[] = {
30412 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30413 };
30414
30415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30418 arg2 = (double) SWIG_AsDouble(obj1);
30419 if (PyErr_Occurred()) SWIG_fail;
30420 arg3 = (double) SWIG_AsDouble(obj2);
30421 if (PyErr_Occurred()) SWIG_fail;
30422 if (obj3) {
30423 arg4 = (int) SWIG_AsInt(obj3);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 if (obj4) {
30427 arg5 = (int) SWIG_AsInt(obj4);
30428 if (PyErr_Occurred()) SWIG_fail;
30429 }
30430 {
30431 PyThreadState* __tstate = wxPyBeginAllowThreads();
30432 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
30433
30434 wxPyEndAllowThreads(__tstate);
30435 if (PyErr_Occurred()) SWIG_fail;
30436 }
30437 Py_INCREF(Py_None); resultobj = Py_None;
30438 return resultobj;
30439 fail:
30440 return NULL;
30441 }
30442
30443
30444 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30445 PyObject *resultobj;
30446 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30447 double arg2 ;
30448 double arg3 ;
30449 int arg4 = (int) 0 ;
30450 int arg5 = (int) 0 ;
30451 PyObject * obj0 = 0 ;
30452 PyObject * obj1 = 0 ;
30453 PyObject * obj2 = 0 ;
30454 PyObject * obj3 = 0 ;
30455 PyObject * obj4 = 0 ;
30456 char *kwnames[] = {
30457 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30458 };
30459
30460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30463 arg2 = (double) SWIG_AsDouble(obj1);
30464 if (PyErr_Occurred()) SWIG_fail;
30465 arg3 = (double) SWIG_AsDouble(obj2);
30466 if (PyErr_Occurred()) SWIG_fail;
30467 if (obj3) {
30468 arg4 = (int) SWIG_AsInt(obj3);
30469 if (PyErr_Occurred()) SWIG_fail;
30470 }
30471 if (obj4) {
30472 arg5 = (int) SWIG_AsInt(obj4);
30473 if (PyErr_Occurred()) SWIG_fail;
30474 }
30475 {
30476 PyThreadState* __tstate = wxPyBeginAllowThreads();
30477 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
30478
30479 wxPyEndAllowThreads(__tstate);
30480 if (PyErr_Occurred()) SWIG_fail;
30481 }
30482 Py_INCREF(Py_None); resultobj = Py_None;
30483 return resultobj;
30484 fail:
30485 return NULL;
30486 }
30487
30488
30489 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30490 PyObject *resultobj;
30491 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30492 wxDC *arg2 = 0 ;
30493 double arg3 ;
30494 double arg4 ;
30495 double arg5 ;
30496 double arg6 ;
30497 PyObject * obj0 = 0 ;
30498 PyObject * obj1 = 0 ;
30499 PyObject * obj2 = 0 ;
30500 PyObject * obj3 = 0 ;
30501 PyObject * obj4 = 0 ;
30502 PyObject * obj5 = 0 ;
30503 char *kwnames[] = {
30504 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30505 };
30506
30507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30511 SWIG_POINTER_EXCEPTION | 0)) == -1)
30512 SWIG_fail;
30513 if (arg2 == NULL) {
30514 PyErr_SetString(PyExc_TypeError,"null reference");
30515 SWIG_fail;
30516 }
30517 arg3 = (double) SWIG_AsDouble(obj2);
30518 if (PyErr_Occurred()) SWIG_fail;
30519 arg4 = (double) SWIG_AsDouble(obj3);
30520 if (PyErr_Occurred()) SWIG_fail;
30521 arg5 = (double) SWIG_AsDouble(obj4);
30522 if (PyErr_Occurred()) SWIG_fail;
30523 arg6 = (double) SWIG_AsDouble(obj5);
30524 if (PyErr_Occurred()) SWIG_fail;
30525 {
30526 PyThreadState* __tstate = wxPyBeginAllowThreads();
30527 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
30528
30529 wxPyEndAllowThreads(__tstate);
30530 if (PyErr_Occurred()) SWIG_fail;
30531 }
30532 Py_INCREF(Py_None); resultobj = Py_None;
30533 return resultobj;
30534 fail:
30535 return NULL;
30536 }
30537
30538
30539 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30540 PyObject *resultobj;
30541 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30542 wxDC *arg2 = 0 ;
30543 PyObject * obj0 = 0 ;
30544 PyObject * obj1 = 0 ;
30545 char *kwnames[] = {
30546 (char *) "self",(char *) "dc", NULL
30547 };
30548
30549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
30550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30553 SWIG_POINTER_EXCEPTION | 0)) == -1)
30554 SWIG_fail;
30555 if (arg2 == NULL) {
30556 PyErr_SetString(PyExc_TypeError,"null reference");
30557 SWIG_fail;
30558 }
30559 {
30560 PyThreadState* __tstate = wxPyBeginAllowThreads();
30561 (arg1)->base_OnDrawControlPoints(*arg2);
30562
30563 wxPyEndAllowThreads(__tstate);
30564 if (PyErr_Occurred()) SWIG_fail;
30565 }
30566 Py_INCREF(Py_None); resultobj = Py_None;
30567 return resultobj;
30568 fail:
30569 return NULL;
30570 }
30571
30572
30573 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30574 PyObject *resultobj;
30575 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30576 wxDC *arg2 = 0 ;
30577 PyObject * obj0 = 0 ;
30578 PyObject * obj1 = 0 ;
30579 char *kwnames[] = {
30580 (char *) "self",(char *) "dc", NULL
30581 };
30582
30583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
30584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30587 SWIG_POINTER_EXCEPTION | 0)) == -1)
30588 SWIG_fail;
30589 if (arg2 == NULL) {
30590 PyErr_SetString(PyExc_TypeError,"null reference");
30591 SWIG_fail;
30592 }
30593 {
30594 PyThreadState* __tstate = wxPyBeginAllowThreads();
30595 (arg1)->base_OnEraseControlPoints(*arg2);
30596
30597 wxPyEndAllowThreads(__tstate);
30598 if (PyErr_Occurred()) SWIG_fail;
30599 }
30600 Py_INCREF(Py_None); resultobj = Py_None;
30601 return resultobj;
30602 fail:
30603 return NULL;
30604 }
30605
30606
30607 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30608 PyObject *resultobj;
30609 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30610 wxDC *arg2 = 0 ;
30611 bool arg3 = (bool) True ;
30612 PyObject * obj0 = 0 ;
30613 PyObject * obj1 = 0 ;
30614 PyObject * obj2 = 0 ;
30615 char *kwnames[] = {
30616 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30617 };
30618
30619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
30620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30623 SWIG_POINTER_EXCEPTION | 0)) == -1)
30624 SWIG_fail;
30625 if (arg2 == NULL) {
30626 PyErr_SetString(PyExc_TypeError,"null reference");
30627 SWIG_fail;
30628 }
30629 if (obj2) {
30630 arg3 = (bool) SWIG_AsBool(obj2);
30631 if (PyErr_Occurred()) SWIG_fail;
30632 }
30633 {
30634 PyThreadState* __tstate = wxPyBeginAllowThreads();
30635 (arg1)->base_OnMoveLink(*arg2,arg3);
30636
30637 wxPyEndAllowThreads(__tstate);
30638 if (PyErr_Occurred()) SWIG_fail;
30639 }
30640 Py_INCREF(Py_None); resultobj = Py_None;
30641 return resultobj;
30642 fail:
30643 return NULL;
30644 }
30645
30646
30647 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30648 PyObject *resultobj;
30649 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30650 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30651 bool arg3 ;
30652 double arg4 ;
30653 double arg5 ;
30654 int arg6 = (int) 0 ;
30655 int arg7 = (int) 0 ;
30656 PyObject * obj0 = 0 ;
30657 PyObject * obj1 = 0 ;
30658 PyObject * obj2 = 0 ;
30659 PyObject * obj3 = 0 ;
30660 PyObject * obj4 = 0 ;
30661 PyObject * obj5 = 0 ;
30662 PyObject * obj6 = 0 ;
30663 char *kwnames[] = {
30664 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30665 };
30666
30667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30672 arg3 = (bool) SWIG_AsBool(obj2);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 arg4 = (double) SWIG_AsDouble(obj3);
30675 if (PyErr_Occurred()) SWIG_fail;
30676 arg5 = (double) SWIG_AsDouble(obj4);
30677 if (PyErr_Occurred()) SWIG_fail;
30678 if (obj5) {
30679 arg6 = (int) SWIG_AsInt(obj5);
30680 if (PyErr_Occurred()) SWIG_fail;
30681 }
30682 if (obj6) {
30683 arg7 = (int) SWIG_AsInt(obj6);
30684 if (PyErr_Occurred()) SWIG_fail;
30685 }
30686 {
30687 PyThreadState* __tstate = wxPyBeginAllowThreads();
30688 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30689
30690 wxPyEndAllowThreads(__tstate);
30691 if (PyErr_Occurred()) SWIG_fail;
30692 }
30693 Py_INCREF(Py_None); resultobj = Py_None;
30694 return resultobj;
30695 fail:
30696 return NULL;
30697 }
30698
30699
30700 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30701 PyObject *resultobj;
30702 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30703 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30704 double arg3 ;
30705 double arg4 ;
30706 int arg5 = (int) 0 ;
30707 int arg6 = (int) 0 ;
30708 PyObject * obj0 = 0 ;
30709 PyObject * obj1 = 0 ;
30710 PyObject * obj2 = 0 ;
30711 PyObject * obj3 = 0 ;
30712 PyObject * obj4 = 0 ;
30713 PyObject * obj5 = 0 ;
30714 char *kwnames[] = {
30715 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30716 };
30717
30718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30723 arg3 = (double) SWIG_AsDouble(obj2);
30724 if (PyErr_Occurred()) SWIG_fail;
30725 arg4 = (double) SWIG_AsDouble(obj3);
30726 if (PyErr_Occurred()) SWIG_fail;
30727 if (obj4) {
30728 arg5 = (int) SWIG_AsInt(obj4);
30729 if (PyErr_Occurred()) SWIG_fail;
30730 }
30731 if (obj5) {
30732 arg6 = (int) SWIG_AsInt(obj5);
30733 if (PyErr_Occurred()) SWIG_fail;
30734 }
30735 {
30736 PyThreadState* __tstate = wxPyBeginAllowThreads();
30737 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30738
30739 wxPyEndAllowThreads(__tstate);
30740 if (PyErr_Occurred()) SWIG_fail;
30741 }
30742 Py_INCREF(Py_None); resultobj = Py_None;
30743 return resultobj;
30744 fail:
30745 return NULL;
30746 }
30747
30748
30749 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30750 PyObject *resultobj;
30751 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30752 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30753 double arg3 ;
30754 double arg4 ;
30755 int arg5 = (int) 0 ;
30756 int arg6 = (int) 0 ;
30757 PyObject * obj0 = 0 ;
30758 PyObject * obj1 = 0 ;
30759 PyObject * obj2 = 0 ;
30760 PyObject * obj3 = 0 ;
30761 PyObject * obj4 = 0 ;
30762 PyObject * obj5 = 0 ;
30763 char *kwnames[] = {
30764 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30765 };
30766
30767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30772 arg3 = (double) SWIG_AsDouble(obj2);
30773 if (PyErr_Occurred()) SWIG_fail;
30774 arg4 = (double) SWIG_AsDouble(obj3);
30775 if (PyErr_Occurred()) SWIG_fail;
30776 if (obj4) {
30777 arg5 = (int) SWIG_AsInt(obj4);
30778 if (PyErr_Occurred()) SWIG_fail;
30779 }
30780 if (obj5) {
30781 arg6 = (int) SWIG_AsInt(obj5);
30782 if (PyErr_Occurred()) SWIG_fail;
30783 }
30784 {
30785 PyThreadState* __tstate = wxPyBeginAllowThreads();
30786 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30787
30788 wxPyEndAllowThreads(__tstate);
30789 if (PyErr_Occurred()) SWIG_fail;
30790 }
30791 Py_INCREF(Py_None); resultobj = Py_None;
30792 return resultobj;
30793 fail:
30794 return NULL;
30795 }
30796
30797
30798 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30799 PyObject *resultobj;
30800 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30801 double arg2 ;
30802 double arg3 ;
30803 PyObject * obj0 = 0 ;
30804 PyObject * obj1 = 0 ;
30805 PyObject * obj2 = 0 ;
30806 char *kwnames[] = {
30807 (char *) "self",(char *) "w",(char *) "h", NULL
30808 };
30809
30810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30813 arg2 = (double) SWIG_AsDouble(obj1);
30814 if (PyErr_Occurred()) SWIG_fail;
30815 arg3 = (double) SWIG_AsDouble(obj2);
30816 if (PyErr_Occurred()) SWIG_fail;
30817 {
30818 PyThreadState* __tstate = wxPyBeginAllowThreads();
30819 (arg1)->base_OnBeginSize(arg2,arg3);
30820
30821 wxPyEndAllowThreads(__tstate);
30822 if (PyErr_Occurred()) SWIG_fail;
30823 }
30824 Py_INCREF(Py_None); resultobj = Py_None;
30825 return resultobj;
30826 fail:
30827 return NULL;
30828 }
30829
30830
30831 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30832 PyObject *resultobj;
30833 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30834 double arg2 ;
30835 double arg3 ;
30836 PyObject * obj0 = 0 ;
30837 PyObject * obj1 = 0 ;
30838 PyObject * obj2 = 0 ;
30839 char *kwnames[] = {
30840 (char *) "self",(char *) "w",(char *) "h", NULL
30841 };
30842
30843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30846 arg2 = (double) SWIG_AsDouble(obj1);
30847 if (PyErr_Occurred()) SWIG_fail;
30848 arg3 = (double) SWIG_AsDouble(obj2);
30849 if (PyErr_Occurred()) SWIG_fail;
30850 {
30851 PyThreadState* __tstate = wxPyBeginAllowThreads();
30852 (arg1)->base_OnEndSize(arg2,arg3);
30853
30854 wxPyEndAllowThreads(__tstate);
30855 if (PyErr_Occurred()) SWIG_fail;
30856 }
30857 Py_INCREF(Py_None); resultobj = Py_None;
30858 return resultobj;
30859 fail:
30860 return NULL;
30861 }
30862
30863
30864 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
30865 PyObject *obj;
30866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30867 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
30868 Py_INCREF(obj);
30869 return Py_BuildValue((char *)"");
30870 }
30871 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
30872 PyObject *resultobj;
30873 wxDiagram *result;
30874 char *kwnames[] = {
30875 NULL
30876 };
30877
30878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
30879 {
30880 PyThreadState* __tstate = wxPyBeginAllowThreads();
30881 result = (wxDiagram *)new wxDiagram();
30882
30883 wxPyEndAllowThreads(__tstate);
30884 if (PyErr_Occurred()) SWIG_fail;
30885 }
30886 {
30887 resultobj = wxPyMake_wxObject(result);
30888 }
30889 return resultobj;
30890 fail:
30891 return NULL;
30892 }
30893
30894
30895 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30896 PyObject *resultobj;
30897 wxDiagram *arg1 = (wxDiagram *) 0 ;
30898 wxPyShape *arg2 = (wxPyShape *) 0 ;
30899 wxPyShape *arg3 = (wxPyShape *) NULL ;
30900 PyObject * obj0 = 0 ;
30901 PyObject * obj1 = 0 ;
30902 PyObject * obj2 = 0 ;
30903 char *kwnames[] = {
30904 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30905 };
30906
30907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
30908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
30911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30912 if (obj2) {
30913 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
30914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30915 }
30916 {
30917 PyThreadState* __tstate = wxPyBeginAllowThreads();
30918 (arg1)->AddShape(arg2,arg3);
30919
30920 wxPyEndAllowThreads(__tstate);
30921 if (PyErr_Occurred()) SWIG_fail;
30922 }
30923 Py_INCREF(Py_None); resultobj = Py_None;
30924 return resultobj;
30925 fail:
30926 return NULL;
30927 }
30928
30929
30930 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30931 PyObject *resultobj;
30932 wxDiagram *arg1 = (wxDiagram *) 0 ;
30933 wxDC *arg2 = 0 ;
30934 PyObject * obj0 = 0 ;
30935 PyObject * obj1 = 0 ;
30936 char *kwnames[] = {
30937 (char *) "self",(char *) "dc", NULL
30938 };
30939
30940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
30941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30944 SWIG_POINTER_EXCEPTION | 0)) == -1)
30945 SWIG_fail;
30946 if (arg2 == NULL) {
30947 PyErr_SetString(PyExc_TypeError,"null reference");
30948 SWIG_fail;
30949 }
30950 {
30951 PyThreadState* __tstate = wxPyBeginAllowThreads();
30952 (arg1)->Clear(*arg2);
30953
30954 wxPyEndAllowThreads(__tstate);
30955 if (PyErr_Occurred()) SWIG_fail;
30956 }
30957 Py_INCREF(Py_None); resultobj = Py_None;
30958 return resultobj;
30959 fail:
30960 return NULL;
30961 }
30962
30963
30964 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
30965 PyObject *resultobj;
30966 wxDiagram *arg1 = (wxDiagram *) 0 ;
30967 PyObject * obj0 = 0 ;
30968 char *kwnames[] = {
30969 (char *) "self", NULL
30970 };
30971
30972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
30973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30975 {
30976 PyThreadState* __tstate = wxPyBeginAllowThreads();
30977 (arg1)->DeleteAllShapes();
30978
30979 wxPyEndAllowThreads(__tstate);
30980 if (PyErr_Occurred()) SWIG_fail;
30981 }
30982 Py_INCREF(Py_None); resultobj = Py_None;
30983 return resultobj;
30984 fail:
30985 return NULL;
30986 }
30987
30988
30989 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30990 PyObject *resultobj;
30991 wxDiagram *arg1 = (wxDiagram *) 0 ;
30992 wxDC *arg2 = 0 ;
30993 double arg3 ;
30994 double arg4 ;
30995 double arg5 ;
30996 double arg6 ;
30997 PyObject * obj0 = 0 ;
30998 PyObject * obj1 = 0 ;
30999 PyObject * obj2 = 0 ;
31000 PyObject * obj3 = 0 ;
31001 PyObject * obj4 = 0 ;
31002 PyObject * obj5 = 0 ;
31003 char *kwnames[] = {
31004 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31005 };
31006
31007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31011 SWIG_POINTER_EXCEPTION | 0)) == -1)
31012 SWIG_fail;
31013 if (arg2 == NULL) {
31014 PyErr_SetString(PyExc_TypeError,"null reference");
31015 SWIG_fail;
31016 }
31017 arg3 = (double) SWIG_AsDouble(obj2);
31018 if (PyErr_Occurred()) SWIG_fail;
31019 arg4 = (double) SWIG_AsDouble(obj3);
31020 if (PyErr_Occurred()) SWIG_fail;
31021 arg5 = (double) SWIG_AsDouble(obj4);
31022 if (PyErr_Occurred()) SWIG_fail;
31023 arg6 = (double) SWIG_AsDouble(obj5);
31024 if (PyErr_Occurred()) SWIG_fail;
31025 {
31026 PyThreadState* __tstate = wxPyBeginAllowThreads();
31027 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
31028
31029 wxPyEndAllowThreads(__tstate);
31030 if (PyErr_Occurred()) SWIG_fail;
31031 }
31032 Py_INCREF(Py_None); resultobj = Py_None;
31033 return resultobj;
31034 fail:
31035 return NULL;
31036 }
31037
31038
31039 static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31040 PyObject *resultobj;
31041 wxDiagram *arg1 = (wxDiagram *) 0 ;
31042 long arg2 ;
31043 wxPyShape *result;
31044 PyObject * obj0 = 0 ;
31045 PyObject * obj1 = 0 ;
31046 char *kwnames[] = {
31047 (char *) "self",(char *) "id", NULL
31048 };
31049
31050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
31051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31053 arg2 = (long) SWIG_AsLong(obj1);
31054 if (PyErr_Occurred()) SWIG_fail;
31055 {
31056 PyThreadState* __tstate = wxPyBeginAllowThreads();
31057 result = (wxPyShape *)(arg1)->FindShape(arg2);
31058
31059 wxPyEndAllowThreads(__tstate);
31060 if (PyErr_Occurred()) SWIG_fail;
31061 }
31062 {
31063 resultobj = wxPyMake_wxShapeEvtHandler(result);
31064 }
31065 return resultobj;
31066 fail:
31067 return NULL;
31068 }
31069
31070
31071 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31072 PyObject *resultobj;
31073 wxDiagram *arg1 = (wxDiagram *) 0 ;
31074 wxPyShapeCanvas *result;
31075 PyObject * obj0 = 0 ;
31076 char *kwnames[] = {
31077 (char *) "self", NULL
31078 };
31079
31080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
31081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31083 {
31084 PyThreadState* __tstate = wxPyBeginAllowThreads();
31085 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
31086
31087 wxPyEndAllowThreads(__tstate);
31088 if (PyErr_Occurred()) SWIG_fail;
31089 }
31090 {
31091 resultobj = wxPyMake_wxObject(result);
31092 }
31093 return resultobj;
31094 fail:
31095 return NULL;
31096 }
31097
31098
31099 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
31100 PyObject *resultobj;
31101 wxDiagram *arg1 = (wxDiagram *) 0 ;
31102 int result;
31103 PyObject * obj0 = 0 ;
31104 char *kwnames[] = {
31105 (char *) "self", NULL
31106 };
31107
31108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
31109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31111 {
31112 PyThreadState* __tstate = wxPyBeginAllowThreads();
31113 result = (int)(arg1)->GetCount();
31114
31115 wxPyEndAllowThreads(__tstate);
31116 if (PyErr_Occurred()) SWIG_fail;
31117 }
31118 resultobj = SWIG_FromInt((int)result);
31119 return resultobj;
31120 fail:
31121 return NULL;
31122 }
31123
31124
31125 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31126 PyObject *resultobj;
31127 wxDiagram *arg1 = (wxDiagram *) 0 ;
31128 double result;
31129 PyObject * obj0 = 0 ;
31130 char *kwnames[] = {
31131 (char *) "self", NULL
31132 };
31133
31134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
31135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31137 {
31138 PyThreadState* __tstate = wxPyBeginAllowThreads();
31139 result = (double)(arg1)->GetGridSpacing();
31140
31141 wxPyEndAllowThreads(__tstate);
31142 if (PyErr_Occurred()) SWIG_fail;
31143 }
31144 resultobj = SWIG_FromDouble((double)result);
31145 return resultobj;
31146 fail:
31147 return NULL;
31148 }
31149
31150
31151 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31152 PyObject *resultobj;
31153 wxDiagram *arg1 = (wxDiagram *) 0 ;
31154 int result;
31155 PyObject * obj0 = 0 ;
31156 char *kwnames[] = {
31157 (char *) "self", NULL
31158 };
31159
31160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
31161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31163 {
31164 PyThreadState* __tstate = wxPyBeginAllowThreads();
31165 result = (int)(arg1)->GetMouseTolerance();
31166
31167 wxPyEndAllowThreads(__tstate);
31168 if (PyErr_Occurred()) SWIG_fail;
31169 }
31170 resultobj = SWIG_FromInt((int)result);
31171 return resultobj;
31172 fail:
31173 return NULL;
31174 }
31175
31176
31177 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
31178 PyObject *resultobj;
31179 wxDiagram *arg1 = (wxDiagram *) 0 ;
31180 PyObject *result;
31181 PyObject * obj0 = 0 ;
31182 char *kwnames[] = {
31183 (char *) "self", NULL
31184 };
31185
31186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
31187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31189 {
31190 PyThreadState* __tstate = wxPyBeginAllowThreads();
31191 result = (PyObject *)wxDiagram_GetShapeList(arg1);
31192
31193 wxPyEndAllowThreads(__tstate);
31194 if (PyErr_Occurred()) SWIG_fail;
31195 }
31196 resultobj = result;
31197 return resultobj;
31198 fail:
31199 return NULL;
31200 }
31201
31202
31203 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31204 PyObject *resultobj;
31205 wxDiagram *arg1 = (wxDiagram *) 0 ;
31206 bool result;
31207 PyObject * obj0 = 0 ;
31208 char *kwnames[] = {
31209 (char *) "self", NULL
31210 };
31211
31212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
31213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31215 {
31216 PyThreadState* __tstate = wxPyBeginAllowThreads();
31217 result = (bool)(arg1)->GetQuickEditMode();
31218
31219 wxPyEndAllowThreads(__tstate);
31220 if (PyErr_Occurred()) SWIG_fail;
31221 }
31222 {
31223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31224 }
31225 return resultobj;
31226 fail:
31227 return NULL;
31228 }
31229
31230
31231 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31232 PyObject *resultobj;
31233 wxDiagram *arg1 = (wxDiagram *) 0 ;
31234 bool result;
31235 PyObject * obj0 = 0 ;
31236 char *kwnames[] = {
31237 (char *) "self", NULL
31238 };
31239
31240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
31241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31243 {
31244 PyThreadState* __tstate = wxPyBeginAllowThreads();
31245 result = (bool)(arg1)->GetSnapToGrid();
31246
31247 wxPyEndAllowThreads(__tstate);
31248 if (PyErr_Occurred()) SWIG_fail;
31249 }
31250 {
31251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31252 }
31253 return resultobj;
31254 fail:
31255 return NULL;
31256 }
31257
31258
31259 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31260 PyObject *resultobj;
31261 wxDiagram *arg1 = (wxDiagram *) 0 ;
31262 wxPyShape *arg2 = (wxPyShape *) 0 ;
31263 PyObject * obj0 = 0 ;
31264 PyObject * obj1 = 0 ;
31265 char *kwnames[] = {
31266 (char *) "self",(char *) "shape", NULL
31267 };
31268
31269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31274 {
31275 PyThreadState* __tstate = wxPyBeginAllowThreads();
31276 (arg1)->InsertShape(arg2);
31277
31278 wxPyEndAllowThreads(__tstate);
31279 if (PyErr_Occurred()) SWIG_fail;
31280 }
31281 Py_INCREF(Py_None); resultobj = Py_None;
31282 return resultobj;
31283 fail:
31284 return NULL;
31285 }
31286
31287
31288 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31289 PyObject *resultobj;
31290 wxDiagram *arg1 = (wxDiagram *) 0 ;
31291 wxDC *arg2 = 0 ;
31292 PyObject * obj0 = 0 ;
31293 PyObject * obj1 = 0 ;
31294 char *kwnames[] = {
31295 (char *) "self",(char *) "dc", NULL
31296 };
31297
31298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
31299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31302 SWIG_POINTER_EXCEPTION | 0)) == -1)
31303 SWIG_fail;
31304 if (arg2 == NULL) {
31305 PyErr_SetString(PyExc_TypeError,"null reference");
31306 SWIG_fail;
31307 }
31308 {
31309 PyThreadState* __tstate = wxPyBeginAllowThreads();
31310 (arg1)->RecentreAll(*arg2);
31311
31312 wxPyEndAllowThreads(__tstate);
31313 if (PyErr_Occurred()) SWIG_fail;
31314 }
31315 Py_INCREF(Py_None); resultobj = Py_None;
31316 return resultobj;
31317 fail:
31318 return NULL;
31319 }
31320
31321
31322 static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
31323 PyObject *resultobj;
31324 wxDiagram *arg1 = (wxDiagram *) 0 ;
31325 wxDC *arg2 = 0 ;
31326 PyObject * obj0 = 0 ;
31327 PyObject * obj1 = 0 ;
31328 char *kwnames[] = {
31329 (char *) "self",(char *) "dc", NULL
31330 };
31331
31332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
31333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31336 SWIG_POINTER_EXCEPTION | 0)) == -1)
31337 SWIG_fail;
31338 if (arg2 == NULL) {
31339 PyErr_SetString(PyExc_TypeError,"null reference");
31340 SWIG_fail;
31341 }
31342 {
31343 PyThreadState* __tstate = wxPyBeginAllowThreads();
31344 (arg1)->Redraw(*arg2);
31345
31346 wxPyEndAllowThreads(__tstate);
31347 if (PyErr_Occurred()) SWIG_fail;
31348 }
31349 Py_INCREF(Py_None); resultobj = Py_None;
31350 return resultobj;
31351 fail:
31352 return NULL;
31353 }
31354
31355
31356 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
31357 PyObject *resultobj;
31358 wxDiagram *arg1 = (wxDiagram *) 0 ;
31359 PyObject * obj0 = 0 ;
31360 char *kwnames[] = {
31361 (char *) "self", NULL
31362 };
31363
31364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
31365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31367 {
31368 PyThreadState* __tstate = wxPyBeginAllowThreads();
31369 (arg1)->RemoveAllShapes();
31370
31371 wxPyEndAllowThreads(__tstate);
31372 if (PyErr_Occurred()) SWIG_fail;
31373 }
31374 Py_INCREF(Py_None); resultobj = Py_None;
31375 return resultobj;
31376 fail:
31377 return NULL;
31378 }
31379
31380
31381 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31382 PyObject *resultobj;
31383 wxDiagram *arg1 = (wxDiagram *) 0 ;
31384 wxPyShape *arg2 = (wxPyShape *) 0 ;
31385 PyObject * obj0 = 0 ;
31386 PyObject * obj1 = 0 ;
31387 char *kwnames[] = {
31388 (char *) "self",(char *) "shape", NULL
31389 };
31390
31391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
31392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31396 {
31397 PyThreadState* __tstate = wxPyBeginAllowThreads();
31398 (arg1)->RemoveShape(arg2);
31399
31400 wxPyEndAllowThreads(__tstate);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 }
31403 Py_INCREF(Py_None); resultobj = Py_None;
31404 return resultobj;
31405 fail:
31406 return NULL;
31407 }
31408
31409
31410 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31411 PyObject *resultobj;
31412 wxDiagram *arg1 = (wxDiagram *) 0 ;
31413 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
31414 PyObject * obj0 = 0 ;
31415 PyObject * obj1 = 0 ;
31416 char *kwnames[] = {
31417 (char *) "self",(char *) "canvas", NULL
31418 };
31419
31420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
31421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
31424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31425 {
31426 PyThreadState* __tstate = wxPyBeginAllowThreads();
31427 (arg1)->SetCanvas(arg2);
31428
31429 wxPyEndAllowThreads(__tstate);
31430 if (PyErr_Occurred()) SWIG_fail;
31431 }
31432 Py_INCREF(Py_None); resultobj = Py_None;
31433 return resultobj;
31434 fail:
31435 return NULL;
31436 }
31437
31438
31439 static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31440 PyObject *resultobj;
31441 wxDiagram *arg1 = (wxDiagram *) 0 ;
31442 double arg2 ;
31443 PyObject * obj0 = 0 ;
31444 PyObject * obj1 = 0 ;
31445 char *kwnames[] = {
31446 (char *) "self",(char *) "spacing", NULL
31447 };
31448
31449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
31450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31452 arg2 = (double) SWIG_AsDouble(obj1);
31453 if (PyErr_Occurred()) SWIG_fail;
31454 {
31455 PyThreadState* __tstate = wxPyBeginAllowThreads();
31456 (arg1)->SetGridSpacing(arg2);
31457
31458 wxPyEndAllowThreads(__tstate);
31459 if (PyErr_Occurred()) SWIG_fail;
31460 }
31461 Py_INCREF(Py_None); resultobj = Py_None;
31462 return resultobj;
31463 fail:
31464 return NULL;
31465 }
31466
31467
31468 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31469 PyObject *resultobj;
31470 wxDiagram *arg1 = (wxDiagram *) 0 ;
31471 int arg2 ;
31472 PyObject * obj0 = 0 ;
31473 PyObject * obj1 = 0 ;
31474 char *kwnames[] = {
31475 (char *) "self",(char *) "tolerance", NULL
31476 };
31477
31478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
31479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31481 arg2 = (int) SWIG_AsInt(obj1);
31482 if (PyErr_Occurred()) SWIG_fail;
31483 {
31484 PyThreadState* __tstate = wxPyBeginAllowThreads();
31485 (arg1)->SetMouseTolerance(arg2);
31486
31487 wxPyEndAllowThreads(__tstate);
31488 if (PyErr_Occurred()) SWIG_fail;
31489 }
31490 Py_INCREF(Py_None); resultobj = Py_None;
31491 return resultobj;
31492 fail:
31493 return NULL;
31494 }
31495
31496
31497 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31498 PyObject *resultobj;
31499 wxDiagram *arg1 = (wxDiagram *) 0 ;
31500 bool arg2 ;
31501 PyObject * obj0 = 0 ;
31502 PyObject * obj1 = 0 ;
31503 char *kwnames[] = {
31504 (char *) "self",(char *) "mode", NULL
31505 };
31506
31507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
31508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31510 arg2 = (bool) SWIG_AsBool(obj1);
31511 if (PyErr_Occurred()) SWIG_fail;
31512 {
31513 PyThreadState* __tstate = wxPyBeginAllowThreads();
31514 (arg1)->SetQuickEditMode(arg2);
31515
31516 wxPyEndAllowThreads(__tstate);
31517 if (PyErr_Occurred()) SWIG_fail;
31518 }
31519 Py_INCREF(Py_None); resultobj = Py_None;
31520 return resultobj;
31521 fail:
31522 return NULL;
31523 }
31524
31525
31526 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31527 PyObject *resultobj;
31528 wxDiagram *arg1 = (wxDiagram *) 0 ;
31529 bool arg2 ;
31530 PyObject * obj0 = 0 ;
31531 PyObject * obj1 = 0 ;
31532 char *kwnames[] = {
31533 (char *) "self",(char *) "snap", NULL
31534 };
31535
31536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
31537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31539 arg2 = (bool) SWIG_AsBool(obj1);
31540 if (PyErr_Occurred()) SWIG_fail;
31541 {
31542 PyThreadState* __tstate = wxPyBeginAllowThreads();
31543 (arg1)->SetSnapToGrid(arg2);
31544
31545 wxPyEndAllowThreads(__tstate);
31546 if (PyErr_Occurred()) SWIG_fail;
31547 }
31548 Py_INCREF(Py_None); resultobj = Py_None;
31549 return resultobj;
31550 fail:
31551 return NULL;
31552 }
31553
31554
31555 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31556 PyObject *resultobj;
31557 wxDiagram *arg1 = (wxDiagram *) 0 ;
31558 bool arg2 ;
31559 PyObject * obj0 = 0 ;
31560 PyObject * obj1 = 0 ;
31561 char *kwnames[] = {
31562 (char *) "self",(char *) "show", NULL
31563 };
31564
31565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
31566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31568 arg2 = (bool) SWIG_AsBool(obj1);
31569 if (PyErr_Occurred()) SWIG_fail;
31570 {
31571 PyThreadState* __tstate = wxPyBeginAllowThreads();
31572 (arg1)->ShowAll(arg2);
31573
31574 wxPyEndAllowThreads(__tstate);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 }
31577 Py_INCREF(Py_None); resultobj = Py_None;
31578 return resultobj;
31579 fail:
31580 return NULL;
31581 }
31582
31583
31584 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
31585 PyObject *resultobj;
31586 wxDiagram *arg1 = (wxDiagram *) 0 ;
31587 double *arg2 = (double *) 0 ;
31588 double *arg3 = (double *) 0 ;
31589 double temp2 ;
31590 double temp3 ;
31591 PyObject * obj0 = 0 ;
31592 PyObject * obj1 = 0 ;
31593 PyObject * obj2 = 0 ;
31594 char *kwnames[] = {
31595 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31596 };
31597
31598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
31599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31601 {
31602 temp2 = PyFloat_AsDouble(obj1);
31603 if (PyErr_Occurred()) SWIG_fail;
31604 arg2 = &temp2;
31605 }
31606 {
31607 temp3 = PyFloat_AsDouble(obj2);
31608 if (PyErr_Occurred()) SWIG_fail;
31609 arg3 = &temp3;
31610 }
31611 {
31612 PyThreadState* __tstate = wxPyBeginAllowThreads();
31613 (arg1)->Snap(arg2,arg3);
31614
31615 wxPyEndAllowThreads(__tstate);
31616 if (PyErr_Occurred()) SWIG_fail;
31617 }
31618 Py_INCREF(Py_None); resultobj = Py_None;
31619 {
31620 PyObject *o = PyFloat_FromDouble((double) (*arg2));
31621 resultobj = t_output_helper(resultobj,o);
31622 }
31623 {
31624 PyObject *o = PyFloat_FromDouble((double) (*arg3));
31625 resultobj = t_output_helper(resultobj,o);
31626 }
31627 return resultobj;
31628 fail:
31629 return NULL;
31630 }
31631
31632
31633 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
31634 PyObject *obj;
31635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31636 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
31637 Py_INCREF(obj);
31638 return Py_BuildValue((char *)"");
31639 }
31640 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31641 PyObject *resultobj;
31642 wxWindow *arg1 = (wxWindow *) NULL ;
31643 int arg2 = (int) -1 ;
31644 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31645 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31646 wxSize const &arg4_defvalue = wxDefaultSize ;
31647 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31648 long arg5 = (long) wxBORDER ;
31649 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
31650 wxString *arg6 = (wxString *) &arg6_defvalue ;
31651 wxPyShapeCanvas *result;
31652 wxPoint temp3 ;
31653 wxSize temp4 ;
31654 bool temp6 = False ;
31655 PyObject * obj0 = 0 ;
31656 PyObject * obj1 = 0 ;
31657 PyObject * obj2 = 0 ;
31658 PyObject * obj3 = 0 ;
31659 PyObject * obj4 = 0 ;
31660 PyObject * obj5 = 0 ;
31661 char *kwnames[] = {
31662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31663 };
31664
31665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31666 if (obj0) {
31667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31669 }
31670 if (obj1) {
31671 arg2 = (int) SWIG_AsInt(obj1);
31672 if (PyErr_Occurred()) SWIG_fail;
31673 }
31674 if (obj2) {
31675 {
31676 arg3 = &temp3;
31677 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31678 }
31679 }
31680 if (obj3) {
31681 {
31682 arg4 = &temp4;
31683 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31684 }
31685 }
31686 if (obj4) {
31687 arg5 = (long) SWIG_AsLong(obj4);
31688 if (PyErr_Occurred()) SWIG_fail;
31689 }
31690 if (obj5) {
31691 {
31692 arg6 = wxString_in_helper(obj5);
31693 if (arg6 == NULL) SWIG_fail;
31694 temp6 = True;
31695 }
31696 }
31697 {
31698 PyThreadState* __tstate = wxPyBeginAllowThreads();
31699 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31700
31701 wxPyEndAllowThreads(__tstate);
31702 if (PyErr_Occurred()) SWIG_fail;
31703 }
31704 {
31705 resultobj = wxPyMake_wxObject(result);
31706 }
31707 {
31708 if (temp6)
31709 delete arg6;
31710 }
31711 return resultobj;
31712 fail:
31713 {
31714 if (temp6)
31715 delete arg6;
31716 }
31717 return NULL;
31718 }
31719
31720
31721 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31722 PyObject *resultobj;
31723 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31724 PyObject *arg2 = (PyObject *) 0 ;
31725 PyObject *arg3 = (PyObject *) 0 ;
31726 PyObject * obj0 = 0 ;
31727 PyObject * obj1 = 0 ;
31728 PyObject * obj2 = 0 ;
31729 char *kwnames[] = {
31730 (char *) "self",(char *) "self",(char *) "_class", NULL
31731 };
31732
31733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31736 arg2 = obj1;
31737 arg3 = obj2;
31738 {
31739 PyThreadState* __tstate = wxPyBeginAllowThreads();
31740 (arg1)->_setCallbackInfo(arg2,arg3);
31741
31742 wxPyEndAllowThreads(__tstate);
31743 if (PyErr_Occurred()) SWIG_fail;
31744 }
31745 Py_INCREF(Py_None); resultobj = Py_None;
31746 return resultobj;
31747 fail:
31748 return NULL;
31749 }
31750
31751
31752 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31753 PyObject *resultobj;
31754 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31755 wxPyShape *arg2 = (wxPyShape *) 0 ;
31756 wxPyShape *arg3 = (wxPyShape *) NULL ;
31757 PyObject * obj0 = 0 ;
31758 PyObject * obj1 = 0 ;
31759 PyObject * obj2 = 0 ;
31760 char *kwnames[] = {
31761 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31762 };
31763
31764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
31765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31769 if (obj2) {
31770 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31772 }
31773 {
31774 PyThreadState* __tstate = wxPyBeginAllowThreads();
31775 (arg1)->AddShape(arg2,arg3);
31776
31777 wxPyEndAllowThreads(__tstate);
31778 if (PyErr_Occurred()) SWIG_fail;
31779 }
31780 Py_INCREF(Py_None); resultobj = Py_None;
31781 return resultobj;
31782 fail:
31783 return NULL;
31784 }
31785
31786
31787 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31788 PyObject *resultobj;
31789 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31790 double arg2 ;
31791 double arg3 ;
31792 int *arg4 = (int *) 0 ;
31793 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
31794 wxPyShape *arg6 = (wxPyShape *) NULL ;
31795 wxPyShape *result;
31796 int temp4 ;
31797 PyObject * obj0 = 0 ;
31798 PyObject * obj1 = 0 ;
31799 PyObject * obj2 = 0 ;
31800 PyObject * obj3 = 0 ;
31801 PyObject * obj4 = 0 ;
31802 char *kwnames[] = {
31803 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31804 };
31805
31806 arg4 = &temp4;
31807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31810 arg2 = (double) SWIG_AsDouble(obj1);
31811 if (PyErr_Occurred()) SWIG_fail;
31812 arg3 = (double) SWIG_AsDouble(obj2);
31813 if (PyErr_Occurred()) SWIG_fail;
31814 if (obj3) {
31815 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
31816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31817 }
31818 if (obj4) {
31819 if ((SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_wxPyShape,
31820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31821 }
31822 {
31823 PyThreadState* __tstate = wxPyBeginAllowThreads();
31824 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
31825
31826 wxPyEndAllowThreads(__tstate);
31827 if (PyErr_Occurred()) SWIG_fail;
31828 }
31829 {
31830 resultobj = wxPyMake_wxShapeEvtHandler(result);
31831 }
31832 {
31833 PyObject *o = PyInt_FromLong((long) (*arg4));
31834 resultobj = t_output_helper(resultobj,o);
31835 }
31836 return resultobj;
31837 fail:
31838 return NULL;
31839 }
31840
31841
31842 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31843 PyObject *resultobj;
31844 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31845 double arg2 ;
31846 double arg3 ;
31847 int *arg4 = (int *) 0 ;
31848 int arg5 ;
31849 wxPyShape *result;
31850 int temp4 ;
31851 PyObject * obj0 = 0 ;
31852 PyObject * obj1 = 0 ;
31853 PyObject * obj2 = 0 ;
31854 PyObject * obj3 = 0 ;
31855 char *kwnames[] = {
31856 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31857 };
31858
31859 arg4 = &temp4;
31860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31863 arg2 = (double) SWIG_AsDouble(obj1);
31864 if (PyErr_Occurred()) SWIG_fail;
31865 arg3 = (double) SWIG_AsDouble(obj2);
31866 if (PyErr_Occurred()) SWIG_fail;
31867 arg5 = (int) SWIG_AsInt(obj3);
31868 if (PyErr_Occurred()) SWIG_fail;
31869 {
31870 PyThreadState* __tstate = wxPyBeginAllowThreads();
31871 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
31872
31873 wxPyEndAllowThreads(__tstate);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 }
31876 {
31877 resultobj = wxPyMake_wxShapeEvtHandler(result);
31878 }
31879 {
31880 PyObject *o = PyInt_FromLong((long) (*arg4));
31881 resultobj = t_output_helper(resultobj,o);
31882 }
31883 return resultobj;
31884 fail:
31885 return NULL;
31886 }
31887
31888
31889 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
31890 PyObject *resultobj;
31891 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31892 wxDiagram *result;
31893 PyObject * obj0 = 0 ;
31894 char *kwnames[] = {
31895 (char *) "self", NULL
31896 };
31897
31898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
31899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31901 {
31902 PyThreadState* __tstate = wxPyBeginAllowThreads();
31903 result = (wxDiagram *)(arg1)->GetDiagram();
31904
31905 wxPyEndAllowThreads(__tstate);
31906 if (PyErr_Occurred()) SWIG_fail;
31907 }
31908 {
31909 resultobj = wxPyMake_wxObject(result);
31910 }
31911 return resultobj;
31912 fail:
31913 return NULL;
31914 }
31915
31916
31917 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31918 PyObject *resultobj;
31919 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31920 bool result;
31921 PyObject * obj0 = 0 ;
31922 char *kwnames[] = {
31923 (char *) "self", NULL
31924 };
31925
31926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
31927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31929 {
31930 PyThreadState* __tstate = wxPyBeginAllowThreads();
31931 result = (bool)(arg1)->GetQuickEditMode();
31932
31933 wxPyEndAllowThreads(__tstate);
31934 if (PyErr_Occurred()) SWIG_fail;
31935 }
31936 {
31937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31938 }
31939 return resultobj;
31940 fail:
31941 return NULL;
31942 }
31943
31944
31945 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31946 PyObject *resultobj;
31947 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31948 wxPyShape *arg2 = (wxPyShape *) 0 ;
31949 PyObject * obj0 = 0 ;
31950 PyObject * obj1 = 0 ;
31951 char *kwnames[] = {
31952 (char *) "self",(char *) "shape", NULL
31953 };
31954
31955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31960 {
31961 PyThreadState* __tstate = wxPyBeginAllowThreads();
31962 (arg1)->InsertShape(arg2);
31963
31964 wxPyEndAllowThreads(__tstate);
31965 if (PyErr_Occurred()) SWIG_fail;
31966 }
31967 Py_INCREF(Py_None); resultobj = Py_None;
31968 return resultobj;
31969 fail:
31970 return NULL;
31971 }
31972
31973
31974 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31975 PyObject *resultobj;
31976 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31977 double arg2 ;
31978 double arg3 ;
31979 int arg4 = (int) 0 ;
31980 PyObject * obj0 = 0 ;
31981 PyObject * obj1 = 0 ;
31982 PyObject * obj2 = 0 ;
31983 PyObject * obj3 = 0 ;
31984 char *kwnames[] = {
31985 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31986 };
31987
31988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31991 arg2 = (double) SWIG_AsDouble(obj1);
31992 if (PyErr_Occurred()) SWIG_fail;
31993 arg3 = (double) SWIG_AsDouble(obj2);
31994 if (PyErr_Occurred()) SWIG_fail;
31995 if (obj3) {
31996 arg4 = (int) SWIG_AsInt(obj3);
31997 if (PyErr_Occurred()) SWIG_fail;
31998 }
31999 {
32000 PyThreadState* __tstate = wxPyBeginAllowThreads();
32001 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
32002
32003 wxPyEndAllowThreads(__tstate);
32004 if (PyErr_Occurred()) SWIG_fail;
32005 }
32006 Py_INCREF(Py_None); resultobj = Py_None;
32007 return resultobj;
32008 fail:
32009 return NULL;
32010 }
32011
32012
32013 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32014 PyObject *resultobj;
32015 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32016 double arg2 ;
32017 double arg3 ;
32018 int arg4 = (int) 0 ;
32019 PyObject * obj0 = 0 ;
32020 PyObject * obj1 = 0 ;
32021 PyObject * obj2 = 0 ;
32022 PyObject * obj3 = 0 ;
32023 char *kwnames[] = {
32024 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32025 };
32026
32027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32030 arg2 = (double) SWIG_AsDouble(obj1);
32031 if (PyErr_Occurred()) SWIG_fail;
32032 arg3 = (double) SWIG_AsDouble(obj2);
32033 if (PyErr_Occurred()) SWIG_fail;
32034 if (obj3) {
32035 arg4 = (int) SWIG_AsInt(obj3);
32036 if (PyErr_Occurred()) SWIG_fail;
32037 }
32038 {
32039 PyThreadState* __tstate = wxPyBeginAllowThreads();
32040 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
32041
32042 wxPyEndAllowThreads(__tstate);
32043 if (PyErr_Occurred()) SWIG_fail;
32044 }
32045 Py_INCREF(Py_None); resultobj = Py_None;
32046 return resultobj;
32047 fail:
32048 return NULL;
32049 }
32050
32051
32052 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32053 PyObject *resultobj;
32054 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32055 double arg2 ;
32056 double arg3 ;
32057 int arg4 = (int) 0 ;
32058 PyObject * obj0 = 0 ;
32059 PyObject * obj1 = 0 ;
32060 PyObject * obj2 = 0 ;
32061 PyObject * obj3 = 0 ;
32062 char *kwnames[] = {
32063 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32064 };
32065
32066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32069 arg2 = (double) SWIG_AsDouble(obj1);
32070 if (PyErr_Occurred()) SWIG_fail;
32071 arg3 = (double) SWIG_AsDouble(obj2);
32072 if (PyErr_Occurred()) SWIG_fail;
32073 if (obj3) {
32074 arg4 = (int) SWIG_AsInt(obj3);
32075 if (PyErr_Occurred()) SWIG_fail;
32076 }
32077 {
32078 PyThreadState* __tstate = wxPyBeginAllowThreads();
32079 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
32080
32081 wxPyEndAllowThreads(__tstate);
32082 if (PyErr_Occurred()) SWIG_fail;
32083 }
32084 Py_INCREF(Py_None); resultobj = Py_None;
32085 return resultobj;
32086 fail:
32087 return NULL;
32088 }
32089
32090
32091 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32092 PyObject *resultobj;
32093 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32094 double arg2 ;
32095 double arg3 ;
32096 int arg4 = (int) 0 ;
32097 PyObject * obj0 = 0 ;
32098 PyObject * obj1 = 0 ;
32099 PyObject * obj2 = 0 ;
32100 PyObject * obj3 = 0 ;
32101 char *kwnames[] = {
32102 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32103 };
32104
32105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32108 arg2 = (double) SWIG_AsDouble(obj1);
32109 if (PyErr_Occurred()) SWIG_fail;
32110 arg3 = (double) SWIG_AsDouble(obj2);
32111 if (PyErr_Occurred()) SWIG_fail;
32112 if (obj3) {
32113 arg4 = (int) SWIG_AsInt(obj3);
32114 if (PyErr_Occurred()) SWIG_fail;
32115 }
32116 {
32117 PyThreadState* __tstate = wxPyBeginAllowThreads();
32118 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32119
32120 wxPyEndAllowThreads(__tstate);
32121 if (PyErr_Occurred()) SWIG_fail;
32122 }
32123 Py_INCREF(Py_None); resultobj = Py_None;
32124 return resultobj;
32125 fail:
32126 return NULL;
32127 }
32128
32129
32130 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32131 PyObject *resultobj;
32132 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32133 bool arg2 ;
32134 double arg3 ;
32135 double arg4 ;
32136 int arg5 = (int) 0 ;
32137 PyObject * obj0 = 0 ;
32138 PyObject * obj1 = 0 ;
32139 PyObject * obj2 = 0 ;
32140 PyObject * obj3 = 0 ;
32141 PyObject * obj4 = 0 ;
32142 char *kwnames[] = {
32143 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32144 };
32145
32146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32149 arg2 = (bool) SWIG_AsBool(obj1);
32150 if (PyErr_Occurred()) SWIG_fail;
32151 arg3 = (double) SWIG_AsDouble(obj2);
32152 if (PyErr_Occurred()) SWIG_fail;
32153 arg4 = (double) SWIG_AsDouble(obj3);
32154 if (PyErr_Occurred()) SWIG_fail;
32155 if (obj4) {
32156 arg5 = (int) SWIG_AsInt(obj4);
32157 if (PyErr_Occurred()) SWIG_fail;
32158 }
32159 {
32160 PyThreadState* __tstate = wxPyBeginAllowThreads();
32161 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32162
32163 wxPyEndAllowThreads(__tstate);
32164 if (PyErr_Occurred()) SWIG_fail;
32165 }
32166 Py_INCREF(Py_None); resultobj = Py_None;
32167 return resultobj;
32168 fail:
32169 return NULL;
32170 }
32171
32172
32173 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32174 PyObject *resultobj;
32175 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32176 bool arg2 ;
32177 double arg3 ;
32178 double arg4 ;
32179 int arg5 = (int) 0 ;
32180 PyObject * obj0 = 0 ;
32181 PyObject * obj1 = 0 ;
32182 PyObject * obj2 = 0 ;
32183 PyObject * obj3 = 0 ;
32184 PyObject * obj4 = 0 ;
32185 char *kwnames[] = {
32186 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32187 };
32188
32189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32192 arg2 = (bool) SWIG_AsBool(obj1);
32193 if (PyErr_Occurred()) SWIG_fail;
32194 arg3 = (double) SWIG_AsDouble(obj2);
32195 if (PyErr_Occurred()) SWIG_fail;
32196 arg4 = (double) SWIG_AsDouble(obj3);
32197 if (PyErr_Occurred()) SWIG_fail;
32198 if (obj4) {
32199 arg5 = (int) SWIG_AsInt(obj4);
32200 if (PyErr_Occurred()) SWIG_fail;
32201 }
32202 {
32203 PyThreadState* __tstate = wxPyBeginAllowThreads();
32204 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
32205
32206 wxPyEndAllowThreads(__tstate);
32207 if (PyErr_Occurred()) SWIG_fail;
32208 }
32209 Py_INCREF(Py_None); resultobj = Py_None;
32210 return resultobj;
32211 fail:
32212 return NULL;
32213 }
32214
32215
32216 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32217 PyObject *resultobj;
32218 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32219 double arg2 ;
32220 double arg3 ;
32221 int arg4 = (int) 0 ;
32222 PyObject * obj0 = 0 ;
32223 PyObject * obj1 = 0 ;
32224 PyObject * obj2 = 0 ;
32225 PyObject * obj3 = 0 ;
32226 char *kwnames[] = {
32227 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32228 };
32229
32230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32233 arg2 = (double) SWIG_AsDouble(obj1);
32234 if (PyErr_Occurred()) SWIG_fail;
32235 arg3 = (double) SWIG_AsDouble(obj2);
32236 if (PyErr_Occurred()) SWIG_fail;
32237 if (obj3) {
32238 arg4 = (int) SWIG_AsInt(obj3);
32239 if (PyErr_Occurred()) SWIG_fail;
32240 }
32241 {
32242 PyThreadState* __tstate = wxPyBeginAllowThreads();
32243 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
32244
32245 wxPyEndAllowThreads(__tstate);
32246 if (PyErr_Occurred()) SWIG_fail;
32247 }
32248 Py_INCREF(Py_None); resultobj = Py_None;
32249 return resultobj;
32250 fail:
32251 return NULL;
32252 }
32253
32254
32255 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32256 PyObject *resultobj;
32257 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32258 double arg2 ;
32259 double arg3 ;
32260 int arg4 = (int) 0 ;
32261 PyObject * obj0 = 0 ;
32262 PyObject * obj1 = 0 ;
32263 PyObject * obj2 = 0 ;
32264 PyObject * obj3 = 0 ;
32265 char *kwnames[] = {
32266 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32267 };
32268
32269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32272 arg2 = (double) SWIG_AsDouble(obj1);
32273 if (PyErr_Occurred()) SWIG_fail;
32274 arg3 = (double) SWIG_AsDouble(obj2);
32275 if (PyErr_Occurred()) SWIG_fail;
32276 if (obj3) {
32277 arg4 = (int) SWIG_AsInt(obj3);
32278 if (PyErr_Occurred()) SWIG_fail;
32279 }
32280 {
32281 PyThreadState* __tstate = wxPyBeginAllowThreads();
32282 (arg1)->base_OnRightClick(arg2,arg3,arg4);
32283
32284 wxPyEndAllowThreads(__tstate);
32285 if (PyErr_Occurred()) SWIG_fail;
32286 }
32287 Py_INCREF(Py_None); resultobj = Py_None;
32288 return resultobj;
32289 fail:
32290 return NULL;
32291 }
32292
32293
32294 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
32295 PyObject *resultobj;
32296 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32297 wxDC *arg2 = 0 ;
32298 PyObject * obj0 = 0 ;
32299 PyObject * obj1 = 0 ;
32300 char *kwnames[] = {
32301 (char *) "self",(char *) "dc", NULL
32302 };
32303
32304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
32305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
32308 SWIG_POINTER_EXCEPTION | 0)) == -1)
32309 SWIG_fail;
32310 if (arg2 == NULL) {
32311 PyErr_SetString(PyExc_TypeError,"null reference");
32312 SWIG_fail;
32313 }
32314 {
32315 PyThreadState* __tstate = wxPyBeginAllowThreads();
32316 (arg1)->Redraw(*arg2);
32317
32318 wxPyEndAllowThreads(__tstate);
32319 if (PyErr_Occurred()) SWIG_fail;
32320 }
32321 Py_INCREF(Py_None); resultobj = Py_None;
32322 return resultobj;
32323 fail:
32324 return NULL;
32325 }
32326
32327
32328 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32329 PyObject *resultobj;
32330 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32331 wxPyShape *arg2 = (wxPyShape *) 0 ;
32332 PyObject * obj0 = 0 ;
32333 PyObject * obj1 = 0 ;
32334 char *kwnames[] = {
32335 (char *) "self",(char *) "shape", NULL
32336 };
32337
32338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
32339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32343 {
32344 PyThreadState* __tstate = wxPyBeginAllowThreads();
32345 (arg1)->RemoveShape(arg2);
32346
32347 wxPyEndAllowThreads(__tstate);
32348 if (PyErr_Occurred()) SWIG_fail;
32349 }
32350 Py_INCREF(Py_None); resultobj = Py_None;
32351 return resultobj;
32352 fail:
32353 return NULL;
32354 }
32355
32356
32357 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
32358 PyObject *resultobj;
32359 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32360 wxDiagram *arg2 = (wxDiagram *) 0 ;
32361 PyObject * obj0 = 0 ;
32362 PyObject * obj1 = 0 ;
32363 char *kwnames[] = {
32364 (char *) "self",(char *) "diagram", NULL
32365 };
32366
32367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
32368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDiagram,
32371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32372 {
32373 PyThreadState* __tstate = wxPyBeginAllowThreads();
32374 (arg1)->SetDiagram(arg2);
32375
32376 wxPyEndAllowThreads(__tstate);
32377 if (PyErr_Occurred()) SWIG_fail;
32378 }
32379 Py_INCREF(Py_None); resultobj = Py_None;
32380 return resultobj;
32381 fail:
32382 return NULL;
32383 }
32384
32385
32386 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
32387 PyObject *resultobj;
32388 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32389 double *arg2 = (double *) 0 ;
32390 double *arg3 = (double *) 0 ;
32391 double temp2 ;
32392 double temp3 ;
32393 PyObject * obj0 = 0 ;
32394 PyObject * obj1 = 0 ;
32395 PyObject * obj2 = 0 ;
32396 char *kwnames[] = {
32397 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32398 };
32399
32400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
32401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32403 {
32404 temp2 = PyFloat_AsDouble(obj1);
32405 if (PyErr_Occurred()) SWIG_fail;
32406 arg2 = &temp2;
32407 }
32408 {
32409 temp3 = PyFloat_AsDouble(obj2);
32410 if (PyErr_Occurred()) SWIG_fail;
32411 arg3 = &temp3;
32412 }
32413 {
32414 PyThreadState* __tstate = wxPyBeginAllowThreads();
32415 (arg1)->Snap(arg2,arg3);
32416
32417 wxPyEndAllowThreads(__tstate);
32418 if (PyErr_Occurred()) SWIG_fail;
32419 }
32420 Py_INCREF(Py_None); resultobj = Py_None;
32421 {
32422 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32423 resultobj = t_output_helper(resultobj,o);
32424 }
32425 {
32426 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32427 resultobj = t_output_helper(resultobj,o);
32428 }
32429 return resultobj;
32430 fail:
32431 return NULL;
32432 }
32433
32434
32435 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
32436 PyObject *obj;
32437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32438 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
32439 Py_INCREF(obj);
32440 return Py_BuildValue((char *)"");
32441 }
32442 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
32443 PyObject *resultobj;
32444 char *kwnames[] = {
32445 NULL
32446 };
32447
32448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
32449 {
32450 PyThreadState* __tstate = wxPyBeginAllowThreads();
32451 wxOGLInitialize();
32452
32453 wxPyEndAllowThreads(__tstate);
32454 if (PyErr_Occurred()) SWIG_fail;
32455 }
32456 Py_INCREF(Py_None); resultobj = Py_None;
32457 return resultobj;
32458 fail:
32459 return NULL;
32460 }
32461
32462
32463 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
32464 PyObject *resultobj;
32465 char *kwnames[] = {
32466 NULL
32467 };
32468
32469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
32470 {
32471 PyThreadState* __tstate = wxPyBeginAllowThreads();
32472 wxOGLCleanUp();
32473
32474 wxPyEndAllowThreads(__tstate);
32475 if (PyErr_Occurred()) SWIG_fail;
32476 }
32477 Py_INCREF(Py_None); resultobj = Py_None;
32478 return resultobj;
32479 fail:
32480 return NULL;
32481 }
32482
32483
32484 static PyMethodDef SwigMethods[] = {
32485 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
32486 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
32487 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
32488 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
32489 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
32490 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
32491 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
32492 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32493 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
32494 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
32495 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
32496 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
32497 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
32498 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
32499 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
32500 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
32501 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32502 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
32503 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
32504 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
32505 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
32506 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
32507 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
32508 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
32509 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
32510 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
32511 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
32512 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
32513 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
32514 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
32515 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32516 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
32517 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
32518 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
32519 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
32520 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
32521 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
32522 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
32523 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
32524 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32525 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
32526 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
32527 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
32528 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32529 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32530 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32531 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32532 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32533 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32534 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32535 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32536 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32537 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32538 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32539 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32540 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32541 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32542 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32543 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32544 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32545 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32546 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32547 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32548 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32549 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32550 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32551 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32552 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32553 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32554 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32555 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32556 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32557 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32558 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32559 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32560 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
32561 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
32562 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32563 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
32564 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
32565 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
32566 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
32567 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
32568 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
32569 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
32570 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
32571 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
32572 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
32573 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
32574 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
32575 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
32576 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
32577 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
32578 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
32579 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
32580 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32581 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32582 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
32583 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
32584 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
32585 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
32586 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
32587 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32588 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32589 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32590 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32591 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
32592 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
32593 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
32594 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
32595 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
32596 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32597 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32598 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
32599 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
32600 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
32601 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
32602 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
32603 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32604 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32605 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
32606 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
32607 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
32608 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
32609 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
32610 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32611 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32612 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
32613 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32614 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32615 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32616 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32617 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
32618 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
32619 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
32620 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
32621 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
32622 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
32623 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
32624 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
32625 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
32626 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
32627 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
32628 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
32629 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
32630 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
32631 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
32632 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
32633 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
32634 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
32635 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
32636 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
32637 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
32638 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
32639 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
32640 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
32641 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
32642 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32643 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32644 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
32645 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
32646 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32647 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32648 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
32649 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
32650 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
32651 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
32652 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
32653 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
32654 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
32655 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
32656 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
32657 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
32658 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
32659 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
32660 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
32661 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
32662 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
32663 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
32664 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
32665 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
32666 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
32667 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
32668 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
32669 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
32670 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
32671 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
32672 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
32673 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
32674 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32675 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
32676 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32677 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32678 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32679 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32680 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32681 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32682 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32683 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32684 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
32685 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
32686 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
32687 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
32688 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32689 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
32690 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
32691 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32692 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32693 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
32694 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
32695 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
32696 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
32697 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
32698 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
32699 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32700 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32701 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32702 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32703 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32704 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32705 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32706 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32707 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32708 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32709 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32710 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32711 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32712 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32713 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32714 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32715 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32716 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32717 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32718 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32719 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32720 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32721 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32722 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32723 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32724 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32725 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32726 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32727 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32728 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
32729 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32730 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32731 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
32732 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
32733 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
32734 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
32735 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
32736 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
32737 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
32738 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32739 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
32740 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32741 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
32742 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
32743 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
32744 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
32745 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
32746 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32747 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32748 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32749 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32750 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
32751 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
32752 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32753 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32754 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
32755 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32756 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
32757 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32758 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
32759 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
32760 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32761 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32762 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32763 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32764 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
32765 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
32766 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
32767 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32768 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32769 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32770 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
32771 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
32772 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32773 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32774 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32775 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32776 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32777 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32778 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32779 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32780 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32781 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32782 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32783 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32784 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32785 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32786 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32787 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32788 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32789 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32790 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32791 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32792 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32793 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32794 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32795 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32796 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32797 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32798 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32799 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32800 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32801 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32802 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32803 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32804 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
32805 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
32806 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32807 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32808 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32809 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32810 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32811 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32812 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32813 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32814 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32815 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32816 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32817 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32818 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32819 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32820 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32821 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32822 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32823 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32824 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32825 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32826 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32827 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32828 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32829 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32830 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32831 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32832 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32833 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32834 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32835 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32836 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32837 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
32838 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
32839 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32840 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
32841 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
32842 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
32843 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
32844 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32845 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32846 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32847 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32848 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32849 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32850 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32851 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32852 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32853 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32854 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32855 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32856 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32857 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32858 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32859 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32860 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32861 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32862 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32863 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32864 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32865 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32866 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32867 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32868 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32869 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32870 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32871 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32872 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32873 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
32874 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
32875 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32876 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32877 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32878 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
32879 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
32880 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32881 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
32882 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
32883 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32884 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32885 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32886 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32887 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32888 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
32889 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
32890 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
32891 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32892 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32893 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32894 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32895 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32896 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32897 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
32898 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
32899 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
32900 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
32901 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
32902 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
32903 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
32904 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32905 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32906 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32907 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32908 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32909 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32910 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32911 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32912 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32913 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32914 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32915 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32916 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32917 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32918 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32919 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32920 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32921 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32922 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32923 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32924 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32925 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32926 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32927 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32928 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32929 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32930 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32931 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32932 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32933 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
32934 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
32935 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
32936 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
32937 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
32938 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
32939 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
32940 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32941 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
32942 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
32943 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
32944 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
32945 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32946 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
32947 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
32948 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
32949 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
32950 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
32951 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
32952 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
32953 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32954 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32955 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32956 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32957 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32958 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32959 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32960 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32961 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32962 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32963 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32964 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32965 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32966 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32967 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32968 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32969 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32970 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32971 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32972 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32973 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32974 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32975 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32976 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32977 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32978 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32979 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32980 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32981 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32982 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32983 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32984 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
32985 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
32986 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32987 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
32988 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
32989 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32990 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32991 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32992 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32993 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32994 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32995 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32996 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32997 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32998 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32999 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33000 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33001 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33002 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33003 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33004 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33005 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33006 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33007 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33008 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33009 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33010 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33011 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33012 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33013 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33014 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33015 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33016 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33017 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33018 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
33019 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
33020 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33021 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
33022 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
33023 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
33024 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
33025 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
33026 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
33027 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
33028 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
33029 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
33030 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33031 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33032 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
33033 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
33034 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33035 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
33036 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
33037 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
33038 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
33039 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
33040 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33041 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33042 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
33043 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
33044 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
33045 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33046 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33047 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33048 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33049 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33050 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33051 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33052 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33053 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33054 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33055 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33056 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33057 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33058 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33059 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33060 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33061 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33062 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33063 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33064 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33065 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33066 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33067 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33068 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33069 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33070 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33071 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33072 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33073 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33074 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33075 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
33076 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
33077 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33078 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33079 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33080 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33081 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33082 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33083 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33084 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33085 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33086 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33087 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33088 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33089 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33090 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33091 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33092 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33093 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33094 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33095 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33096 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33097 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33098 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33099 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33100 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33101 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33102 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33103 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33104 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33105 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33106 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
33107 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
33108 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33109 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33110 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33111 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33112 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33113 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33114 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33115 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33116 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33117 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33118 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33119 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33120 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33121 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33122 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33123 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33124 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33125 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33126 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33127 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33128 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33129 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33130 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33131 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33132 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33133 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33134 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33135 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33136 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33137 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33138 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33139 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33140 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33141 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33142 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33143 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33144 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33145 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33146 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33147 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33148 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33149 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33150 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33151 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33152 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
33153 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
33154 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
33155 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33156 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
33157 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
33158 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33159 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
33160 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
33161 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
33162 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
33163 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
33164 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33165 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
33166 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33167 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
33168 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
33169 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
33170 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33171 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
33172 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
33173 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
33174 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
33175 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
33176 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33177 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33178 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
33179 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
33180 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
33181 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
33182 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
33183 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
33184 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33185 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
33186 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
33187 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33188 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33189 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33190 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
33191 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33192 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
33193 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
33194 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
33195 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
33196 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
33197 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
33198 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33199 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33200 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33201 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33202 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33203 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
33204 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
33205 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33206 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33207 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33208 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33209 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33210 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33211 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33212 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33213 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33214 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33215 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33216 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33217 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33218 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33219 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33220 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33221 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33222 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33223 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33224 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33225 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33226 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33227 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33228 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33229 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33230 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33231 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33232 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33233 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
33234 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
33235 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33236 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
33237 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
33238 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
33239 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
33240 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
33241 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33242 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33243 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33244 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33245 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33246 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33247 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33248 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33249 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33250 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33251 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33252 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33253 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33254 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33255 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33256 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33257 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33258 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33259 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33260 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33261 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33262 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33263 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33264 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33265 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33266 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33267 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33268 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33269 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33270 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33271 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33272 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33273 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33274 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33275 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
33276 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
33277 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33278 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33279 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33280 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33281 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33282 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33283 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33284 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33285 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33286 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33287 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33288 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33289 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33290 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33291 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33292 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33293 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33294 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33295 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33296 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33297 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33298 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33299 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33300 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33301 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33302 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33303 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33304 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33305 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33306 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33307 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
33308 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
33309 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
33310 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
33311 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
33312 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
33313 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
33314 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33315 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
33316 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33317 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33318 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
33319 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33320 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33321 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
33322 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
33323 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
33324 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
33325 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33326 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33327 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33328 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33329 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33330 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33331 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
33332 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
33333 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
33334 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
33335 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33336 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
33337 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
33338 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
33339 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
33340 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33341 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
33342 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33343 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33344 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33345 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33346 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33347 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33348 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33349 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33350 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
33351 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33352 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
33353 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
33354 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
33355 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
33356 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
33357 { NULL, NULL }
33358 };
33359
33360
33361 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33362
33363 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33364 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33365 }
33366 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33367 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33368 }
33369 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33370 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33371 }
33372 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33373 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33374 }
33375 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33376 return (void *)((wxPanel *) ((wxPyPanel *) x));
33377 }
33378 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33379 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33380 }
33381 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33382 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33383 }
33384 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33385 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33386 }
33387 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
33388 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33389 }
33390 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33391 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33392 }
33393 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
33394 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33395 }
33396 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33397 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33398 }
33399 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33400 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33401 }
33402 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33403 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33404 }
33405 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33406 return (void *)((wxWindow *) ((wxMenuBar *) x));
33407 }
33408 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33410 }
33411 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33413 }
33414 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33415 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33416 }
33417 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33418 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33419 }
33420 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33421 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33422 }
33423 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33424 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33425 }
33426 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33428 }
33429 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33430 return (void *)((wxWindow *) ((wxPanel *) x));
33431 }
33432 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33433 return (void *)((wxWindow *) ((wxStatusBar *) x));
33434 }
33435 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33436 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33437 }
33438 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33439 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33440 }
33441 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33442 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33443 }
33444 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33445 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33446 }
33447 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33448 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33449 }
33450 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33451 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33452 }
33453 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33454 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33455 }
33456 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33457 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33458 }
33459 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33460 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33461 }
33462 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33463 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33464 }
33465 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33466 return (void *)((wxWindow *) ((wxSashWindow *) x));
33467 }
33468 static void *_p_wxControlTo_p_wxWindow(void *x) {
33469 return (void *)((wxWindow *) ((wxControl *) x));
33470 }
33471 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33472 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33473 }
33474 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33475 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33476 }
33477 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33478 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33479 }
33480 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33481 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33482 }
33483 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33484 return (void *)((wxWindow *) ((wxPyWindow *) x));
33485 }
33486 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33487 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33488 }
33489 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
33490 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33491 }
33492 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33493 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33494 }
33495 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33496 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33497 }
33498 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33499 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33500 }
33501 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33502 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33503 }
33504 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33505 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33506 }
33507 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33508 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33509 }
33510 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33511 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33512 }
33513 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33514 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33515 }
33516 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33517 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33518 }
33519 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
33520 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33521 }
33522 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
33523 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33524 }
33525 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33526 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33527 }
33528 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33529 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33530 }
33531 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33532 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33533 }
33534 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
33535 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33536 }
33537 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33539 }
33540 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33542 }
33543 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33544 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33545 }
33546 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33547 return (void *)((wxObject *) ((wxSizerItem *) x));
33548 }
33549 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33551 }
33552 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33553 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33554 }
33555 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
33556 return (void *)((wxObject *) ((wxOGLConstraint *) x));
33557 }
33558 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33559 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33560 }
33561 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33562 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33563 }
33564 static void *_p_wxSizerTo_p_wxObject(void *x) {
33565 return (void *)((wxObject *) ((wxSizer *) x));
33566 }
33567 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
33568 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33569 }
33570 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
33571 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33572 }
33573 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
33574 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
33575 }
33576 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33577 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33578 }
33579 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33580 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33581 }
33582 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
33583 return (void *)((wxObject *) ((wxArrowHead *) x));
33584 }
33585 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33587 }
33588 static void *_p_wxEventTo_p_wxObject(void *x) {
33589 return (void *)((wxObject *) ((wxEvent *) x));
33590 }
33591 static void *_p_wxFontDataTo_p_wxObject(void *x) {
33592 return (void *)((wxObject *) ((wxFontData *) x));
33593 }
33594 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33595 return (void *)((wxObject *) ((wxPrintData *) x));
33596 }
33597 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33598 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33599 }
33600 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33601 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33602 }
33603 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33604 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33605 }
33606 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33607 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33608 }
33609 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
33610 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
33611 }
33612 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33614 }
33615 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33616 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33617 }
33618 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33619 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33620 }
33621 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33622 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33623 }
33624 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33625 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33626 }
33627 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33628 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33629 }
33630 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33631 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33632 }
33633 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33635 }
33636 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
33637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33638 }
33639 static void *_p_wxControlTo_p_wxObject(void *x) {
33640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33641 }
33642 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
33643 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
33644 }
33645 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33646 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33647 }
33648 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33650 }
33651 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33652 return (void *)((wxObject *) ((wxFSFile *) x));
33653 }
33654 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33655 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33656 }
33657 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
33658 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33659 }
33660 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33661 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33662 }
33663 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33665 }
33666 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33667 return (void *)((wxObject *) ((wxColourData *) x));
33668 }
33669 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33670 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33671 }
33672 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33673 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33674 }
33675 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33677 }
33678 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33680 }
33681 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33683 }
33684 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33686 }
33687 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33689 }
33690 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33692 }
33693 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33695 }
33696 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33698 }
33699 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33701 }
33702 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33703 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33704 }
33705 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33706 return (void *)((wxObject *) ((wxPrinter *) x));
33707 }
33708 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33709 return (void *)((wxObject *) ((wxMenuItem *) x));
33710 }
33711 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33712 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33713 }
33714 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33715 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33716 }
33717 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33718 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33719 }
33720 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33721 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33722 }
33723 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33724 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33725 }
33726 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33727 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33728 }
33729 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33730 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33731 }
33732 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33733 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33734 }
33735 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33736 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33737 }
33738 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33739 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33740 }
33741 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33742 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33743 }
33744 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33745 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33746 }
33747 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33748 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33749 }
33750 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33751 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33752 }
33753 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33754 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33755 }
33756 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33757 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33758 }
33759 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33760 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33761 }
33762 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33763 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33764 }
33765 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33766 return (void *)((wxObject *) ((wxImageHandler *) x));
33767 }
33768 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33769 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33770 }
33771 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33772 return (void *)((wxObject *) ((wxEvtHandler *) x));
33773 }
33774 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33775 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33776 }
33777 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
33778 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
33779 }
33780 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33782 }
33783 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33785 }
33786 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
33787 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33788 }
33789 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33790 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33791 }
33792 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
33793 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33794 }
33795 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33797 }
33798 static void *_p_wxImageTo_p_wxObject(void *x) {
33799 return (void *)((wxObject *) ((wxImage *) x));
33800 }
33801 static void *_p_wxFrameTo_p_wxObject(void *x) {
33802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33803 }
33804 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33805 return (void *)((wxObject *) ((wxPyPrintout *) x));
33806 }
33807 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33808 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33809 }
33810 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33811 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33812 }
33813 static void *_p_wxDiagramTo_p_wxObject(void *x) {
33814 return (void *)((wxObject *) ((wxDiagram *) x));
33815 }
33816 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33818 }
33819 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33821 }
33822 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33824 }
33825 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33826 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33827 }
33828 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33829 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33830 }
33831 static void *_p_wxWindowTo_p_wxObject(void *x) {
33832 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33833 }
33834 static void *_p_wxMenuTo_p_wxObject(void *x) {
33835 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33836 }
33837 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33839 }
33840 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33842 }
33843 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33845 }
33846 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33848 }
33849 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33851 }
33852 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33854 }
33855 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33857 }
33858 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33860 }
33861 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33863 }
33864 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33866 }
33867 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33869 }
33870 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33872 }
33873 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33874 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33875 }
33876 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33877 return (void *)((wxObject *) ((wxPrintPreview *) x));
33878 }
33879 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33880 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33881 }
33882 static void *_p_wxPanelTo_p_wxObject(void *x) {
33883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33884 }
33885 static void *_p_wxDialogTo_p_wxObject(void *x) {
33886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33887 }
33888 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33890 }
33891 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33893 }
33894 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33896 }
33897 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33899 }
33900 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33902 }
33903 static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
33904 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
33905 }
33906 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
33907 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
33908 }
33909 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33910 return (void *)((wxObject *) ((wxFileSystem *) x));
33911 }
33912 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33914 }
33915 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33916 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33917 }
33918 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33919 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33920 }
33921 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33922 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33923 }
33924 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33925 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33926 }
33927 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33928 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33929 }
33930 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33932 }
33933 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33934 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33935 }
33936 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33938 }
33939 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33941 }
33942 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33943 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33944 }
33945 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33946 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33947 }
33948 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33949 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33950 }
33951 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
33952 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
33953 }
33954 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
33955 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
33956 }
33957 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
33958 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
33959 }
33960 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
33961 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
33962 }
33963 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
33964 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
33965 }
33966 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33968 }
33969 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33970 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33971 }
33972 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33973 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33974 }
33975 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33976 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33977 }
33978 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33979 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33980 }
33981 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
33982 return (void *)((wxObject *) ((wxShapeRegion *) x));
33983 }
33984 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
33985 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
33986 }
33987 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
33988 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33989 }
33990 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
33991 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
33992 }
33993 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
33994 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
33995 }
33996 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
33997 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
33998 }
33999 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
34000 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34001 }
34002 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
34003 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34004 }
34005 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
34006 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34007 }
34008 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
34009 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34010 }
34011 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
34012 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
34013 }
34014 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
34015 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34016 }
34017 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
34018 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
34019 }
34020 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
34021 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
34022 }
34023 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34024 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34025 }
34026 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34027 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34028 }
34029 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34030 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34031 }
34032 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34033 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34034 }
34035 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34036 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34037 }
34038 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34039 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34040 }
34041 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34042 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34043 }
34044 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34046 }
34047 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34049 }
34050 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34052 }
34053 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34055 }
34056 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34058 }
34059 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34060 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34061 }
34062 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34063 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34064 }
34065 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34066 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34067 }
34068 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34069 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34070 }
34071 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34072 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34073 }
34074 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34075 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34076 }
34077 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34078 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34079 }
34080 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34081 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34082 }
34083 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34084 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34085 }
34086 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34087 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34088 }
34089 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34090 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34091 }
34092 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34093 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34094 }
34095 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34096 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34097 }
34098 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34099 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34100 }
34101 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34102 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34103 }
34104 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34105 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34106 }
34107 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34108 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34109 }
34110 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34112 }
34113 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34115 }
34116 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34117 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34118 }
34119 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34120 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34121 }
34122 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34123 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34124 }
34125 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34126 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34127 }
34128 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34129 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34130 }
34131 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34132 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34133 }
34134 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34135 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34136 }
34137 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34138 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34139 }
34140 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34141 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34142 }
34143 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34144 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34145 }
34146 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34147 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34148 }
34149 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34151 }
34152 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34153 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34154 }
34155 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34156 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34157 }
34158 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34159 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34160 }
34161 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34162 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34163 }
34164 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
34165 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34166 }
34167 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
34168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34169 }
34170 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34172 }
34173 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
34174 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
34175 }
34176 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
34177 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
34178 }
34179 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
34180 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34181 }
34182 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
34183 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34184 }
34185 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
34186 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
34187 }
34188 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
34189 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
34190 }
34191 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
34192 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
34193 }
34194 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
34195 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
34196 }
34197 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
34198 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34199 }
34200 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
34201 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34202 }
34203 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
34204 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
34205 }
34206 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
34207 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
34208 }
34209 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
34210 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
34211 }
34212 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
34213 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34214 }
34215 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
34216 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34217 }
34218 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
34219 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
34220 }
34221 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
34222 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
34223 }
34224 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
34225 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34226 }
34227 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
34228 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34229 }
34230 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
34231 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
34232 }
34233 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
34234 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34235 }
34236 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}};
34237 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}};
34238 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}};
34239 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}};
34240 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}};
34241 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}};
34242 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}};
34243 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}};
34244 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}};
34245 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}};
34246 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_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}};
34247 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}};
34248 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}};
34249 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}};
34250 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 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}};
34251 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_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}};
34252 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}};
34253 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}};
34254 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}};
34255 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}};
34256 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}};
34257 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_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}};
34258 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}};
34259 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}};
34260 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_wxTipWindow", _p_wxTipWindowTo_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_wxScrolledWindow", _p_wxScrolledWindowTo_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}};
34261 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}};
34262 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}};
34263 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}};
34264 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}};
34265 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}};
34266 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}};
34267 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}};
34268 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}};
34269 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}};
34270 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}};
34271 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}};
34272 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}};
34273 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}};
34274 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}};
34275 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}};
34276 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}};
34277
34278 static swig_type_info *swig_types_initial[] = {
34279 _swigt__p_wxOGLConstraint,
34280 _swigt__p_wxBrush,
34281 _swigt__p_wxColour,
34282 _swigt__p_wxShapeRegion,
34283 _swigt__p_wxDC,
34284 _swigt__p_wxRealPoint,
34285 _swigt__p_wxPyControlPoint,
34286 _swigt__p_wxArrowHead,
34287 _swigt__p_char,
34288 _swigt__p_wxStringList,
34289 _swigt__p_wxPanel,
34290 _swigt__p_bool,
34291 _swigt__p_wxList,
34292 _swigt__p_wxFont,
34293 _swigt__p_wxScrolledWindow,
34294 _swigt__p_wxWindow,
34295 _swigt__p_double,
34296 _swigt__p_wxPyDivisionShape,
34297 _swigt__p_wxPyDrawnShape,
34298 _swigt__p_wxPyPolygonShape,
34299 _swigt__p_wxBitmap,
34300 _swigt__p_wxObject,
34301 _swigt__p_wxPyBitmapShape,
34302 _swigt__p_wxPyShapeEvtHandler,
34303 _swigt__p_wxEvtHandler,
34304 _swigt__p_wxPyEllipseShape,
34305 _swigt__p_wxPyShapeCanvas,
34306 _swigt__p_wxPoint,
34307 _swigt__p_wxDiagram,
34308 _swigt__p_wxPyShape,
34309 _swigt__p_wxAttachmentPoint,
34310 _swigt__p_wxClassInfo,
34311 _swigt__p_wxPyLineShape,
34312 _swigt__p_wxPyRectangleShape,
34313 _swigt__p_wxPyCompositeShape,
34314 _swigt__p_wxPyCircleShape,
34315 _swigt__p_wxPen,
34316 _swigt__p_int,
34317 _swigt__p_wxPseudoMetaFile,
34318 _swigt__p_wxPyTextShape,
34319 _swigt__p_wxPyDividedShape,
34320 0
34321 };
34322
34323
34324 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34325
34326 static swig_const_info swig_const_table[] = {
34327 {0}};
34328
34329 #ifdef __cplusplus
34330 }
34331 #endif
34332
34333 #ifdef __cplusplus
34334 extern "C"
34335 #endif
34336 SWIGEXPORT(void) SWIG_init(void) {
34337 static PyObject *SWIG_globals = 0;
34338 static int typeinit = 0;
34339 PyObject *m, *d;
34340 int i;
34341 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34342 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34343 d = PyModule_GetDict(m);
34344
34345 if (!typeinit) {
34346 for (i = 0; swig_types_initial[i]; i++) {
34347 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34348 }
34349 typeinit = 1;
34350 }
34351 SWIG_InstallConstants(d,swig_const_table);
34352
34353 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE));
34354 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
34355 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT));
34356 PyDict_SetItemString(d,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL));
34357 PyDict_SetItemString(d,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE));
34358 PyDict_SetItemString(d,"ARROW_END", SWIG_FromInt((int)ARROW_END));
34359 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH));
34360 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE));
34361 PyDict_SetItemString(d,"ARROW_START", SWIG_FromInt((int)ARROW_START));
34362 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE));
34363 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE));
34364 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW));
34365 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE));
34366 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE));
34367 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE));
34368 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END));
34369 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START));
34370 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL));
34371 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL));
34372 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL));
34373 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
34374 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
34375 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE));
34376 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE));
34377 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ));
34378 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT));
34379 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
34380 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ));
34381 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT));
34382 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
34383 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE));
34384 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE));
34385 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT));
34386 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT));
34387 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT));
34388 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT));
34389 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT));
34390 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT));
34391 PyDict_SetItemString(d,"OP_ALL", SWIG_FromInt((int)OP_ALL));
34392 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE));
34393 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE));
34394 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING));
34395 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
34396 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
34397 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
34398 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
34399 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
34400 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF));
34401 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF));
34402 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE));
34403 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW));
34404 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
34405 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
34406 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
34407 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
34408 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
34409 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
34410 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
34411 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
34412 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE));
34413 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT));
34414 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP));
34415 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT));
34416 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM));
34417
34418
34419 // initoglbasicc();
34420 // initoglshapesc();
34421 // initoglshapes2c();
34422 // initoglcanvasc();
34423
34424
34425 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34426 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34427 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34428 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34429 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34430 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34431 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34432 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34433 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34434 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34435 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34436 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34437 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34438 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
34439
34440
34441 }
34442